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

2 edi question

Former Member
0 Likes
498

hi,

1) i have 2 programs which create idoc using master_idoc_distribute. what i not understand is that, for program 1, it checks edidc, if found the entry, checks against the nast entry. if no then insert and followed by submit rsnast00 whereas another program do not need to go through the nast checking and data update to edidc and edidd by this own program before calling the create idoc FM. why is that so?

2) for the first program, why check edidc first then only nast? at which point data updated in edidc and edidd?

thanks

3 REPLIES 3
Read only

former_member404244
Active Contributor
0 Likes
476

Hi el,

Master_idoc_distribute FM is used to generate the idoc.Once the idoc is genereated then it will be stored in EDIDC and EDID4 tables.So first get the idoc number from EDIDC .thats why there is checking of EDIDC comes into picture.Then it is going for NAST table because may be the this idoc is used for distributing transactional data(message control method).Thats why the program is going for NAST table.If the idoc is not related to any transactional data then no need to go for NAST table.

regards,

Nagaraj

Read only

0 Likes
476

hi,

thanks for the reply. can you explain with example what do you mean by distributing transactional data(message control method).

thanks

points will be given

Read only

0 Likes
476

Hello,

see transaction NACE.

Rgds,

JP