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: 

populating E1EDP02

former_member699400
Active Participant
0 Kudos

Hi!

I need to populate 2 lines of segment E1EDP02 : 008

BELNR

DATUM

but do not know what tables / fields to use for this and what are the conversion tables if there are such.

Will reward,

Mindaugas.

1 ACCEPTED SOLUTION

former_member583013
Active Contributor
0 Kudos

Actually it depends on what your going to use the IDOC for....You can gather BELNR from BKPF if it's a FI IDOC....For DATUM you can go with BKPF-BLDAT.

Greetings,

Blag.

7 REPLIES 7

Former Member
0 Kudos

Hi Mindaugas,

Do you mean field type. If yes then you can use

For BELNR use BKPF-BELNR

and for DATUM use sy-datum.

Regards,

Atish

former_member583013
Active Contributor
0 Kudos

Actually it depends on what your going to use the IDOC for....You can gather BELNR from BKPF if it's a FI IDOC....For DATUM you can go with BKPF-BLDAT.

Greetings,

Blag.

0 Kudos

Hi!

it is outbound IDoc and I guess it is SD document.

If to be more precise it is Invoice List.

M.

0 Kudos

I have a sample Idoc, so E1EDP02-DATUM is obviously not E1EDP02-DATUM.... it is some older date than Idoc was created.

M.

0 Kudos

I mean E1EDP02-DATUM is not sy-datum.

Probably I need a conversion table, because I have BELNR, but in this segment we have some other version of BELNR...

M.

0 Kudos

hi,

Check if you can use BKPF-BUDAT .

Regards,

Atish

Former Member
0 Kudos

You can get from BKPF table, I am not sure when you need and what type application.

datum - you can use sy-datum

If you explain little bit more then i can give exact table

Thanks

Seshu