on 10-09-2012 8:51 PM
Hello all,
I am developing an SD report similar to SDO1 report. I need to join tables VBAK,VBAP,LIKP,LIPS,MSEG,MKPF,VBUK,VTTK,VTTP for sales order, delivery,post goods issue,shipment fields. I can join VBAK,VBAP,LIKP,LIPS,VTTK,VTTP.
Could anyone tell me how to join MSEG,MKPF,VBUK table with these table?
Thanks,
Gokul
How about utilizing a logical database first for your infoset? For example VAV to capture much of your requirement. Then work to logical make joins for the balance where need be. This should mitigate the performance issues that will definitely arise by making so many joins ...
Thanks,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MSEG | MKPF- MBLNR = MSEG- MBLNR |
MKPF | LIPK- VBELN = MKPF - LE_VBELN |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed with Alan Love. Another option is that you can select any field from MSEG or MKPF by creating one additional field. For this you have to create additional field with its logic in SQ02. You can add coding of tw lines for selecting any field. For document flow you must consider VBFA and VBTYP_N field in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to consider VBFA join with VBAP. There is delivery documnet, Material document to join base on each selected subsequent category. You can then join VBFA with MKPF and then MSEG. For VBUK, depends on whether you are looking at sales order or delivery document in VBUK, you can either join VBAK with VBUK or LIKP with VBUK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
dear,
looking at your question
"Could anyone tell me how to join MSEG,MKPF,VBUK table with these table?"
it seems like you will simply crush the process getting runtime error (mseg will be impacted)
you would have 2 options:
-try to find out the existing standard or custom report which will meet (or mostly meet) your requirement;
-search the ABAP forum looking at right technic and writhe new report based on correct logic
good luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.