Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

retrieving Table - Field for segments of Idoc?

former_member699400
Active Participant
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

6 REPLIES 6

former_member194669
Active Contributor
0 Kudos

Hi,

Use WE63

aRs

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

former_member583013
Active Contributor
0 Kudos

You can use <b>WE31</b> for IDOC Segements...For BELNR...<b>BKPF-BELNR</b> an for DATUM...<b>BKPF-LFDAT</b>.

Greetings,

Blag.