07-02-2007 8:09 PM
Hi!
how to retrieve table-field for segments of Idoc? I have an Idoc created and I want to know from which table-field it takes the information, is it possible?
I tried it by pressing F1 on the needed line of the segment and choosing "tool box" in the opened window, but this does not help, because it always gives the name of the structure for all segments...
I need to know what is the table-field for E1EDP02-DATUM and E1EDP02-BELNR.
Will reward,
Mindaugas
07-02-2007 8:35 PM
It depends on the EDI_QUALFR field of this segment. Please first find out which qualifier are you interested in and then based on that you can find out from which table these fields are filled-in from. You have to look at the corresponding outbound function module to see which tables they come from.
Take a look at FORM FUELLEN_IDOC_INTTAB of function module IDOC_OUTPUT_ORDERS. Look for this "int_edidd-segnam = 'E1EDP02'." statement in this subroutine, you will know where it is coming from.
07-02-2007 8:15 PM
07-02-2007 8:35 PM
It depends on the EDI_QUALFR field of this segment. Please first find out which qualifier are you interested in and then based on that you can find out from which table these fields are filled-in from. You have to look at the corresponding outbound function module to see which tables they come from.
Take a look at FORM FUELLEN_IDOC_INTTAB of function module IDOC_OUTPUT_ORDERS. Look for this "int_edidd-segnam = 'E1EDP02'." statement in this subroutine, you will know where it is coming from.
07-03-2007 3:37 PM
qualifier is '008' Last purchase order number (SPEC2000 Acknowl.)
The thing is that I have BELNR in few places of the Idoc, but in this segment it should be some other BELNR and I can find the source of this BELNR...
Any ideas?
Will reward,
Mindaugas
07-03-2007 3:50 PM
Hi Mindaugas,
Table BELNR - BKPF-BELNR
DATUM - BKPF-LFDAT.
Function module use VBDKR Structure - it will have all the details and it will update into BKPF Table.
Thanks
Seshu
07-02-2007 8:53 PM
GOTO SE37 ->use Your Function module IDOC_OUTPUT_INVOIC -> click on find button -> enter E1EDP02-datum ,it will show tables -> where exactly filling.
Thanks
Seshu
07-02-2007 10:06 PM
You can use <b>WE31</b> for IDOC Segements...For BELNR...<b>BKPF-BELNR</b> an for DATUM...<b>BKPF-LFDAT</b>.
Greetings,
Blag.