04-10-2019 7:27 PM
Hi Gurus,
I am facing very strange issue. I have created a custom IDOC. I am triggering this Idoc using the FM 'IDOC_WRITE_AND_START_INBOUND'. Data records are populating correctly into the segments before calling this and it is generating the idoc when I dont refresh EDIDD after every loop (Ofcourse it fails as it is adding the header segment though it is 1:1 min to max ratio for each loop without clearing the data. still it is genrating the Idoc with Error which is correct). Now When I clear EDIDD after each loop, IDoc number is generated if i see in debug, however; not updated in database for EDIDS and EDIDC. not shown in WE02.
Please give me some hints.
points will be rewarded for helpful answers.
Thanks,
Govardhan.