‎2007 May 05 5:33 AM
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
‎2007 May 05 7:45 AM
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
‎2007 May 05 7:52 AM
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
‎2007 May 05 8:26 AM