Application Development and Automation 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: 
Read only

populating E1EDP02

Former Member
0 Likes
872

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
Read only

Former Member
0 Likes
823

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
Read only

Former Member
0 Likes
822

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

Read only

Former Member
0 Likes
824

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.

Read only

0 Likes
822

Hi!

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

If to be more precise it is Invoice List.

M.

Read only

0 Likes
822

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

M.

Read only

0 Likes
822

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.

Read only

0 Likes
822

hi,

Check if you can use BKPF-BUDAT .

Regards,

Atish

Read only

Former Member
0 Likes
822

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