2009 Jun 12 8:29 AM
I am creating the idoc using FM -- >MASTER_IDOC_DISTRIBUTE
If Idoc is created successfully I get sy-subrc = 0.
If sy-subrc is 0 .... I need to fetch the Idoc number...
I need a FM that will return the appropriate idoc number...
thanks
Warm regards,
Karen
2009 Jun 12 8:34 AM
Hello,
try this FM "IDOC_INBOUND_SINGLE", this returns the IDoc number.
Regards,
Sachinkumar Mehta
2009 Jun 12 9:35 AM
Hi,
Check COMMUNICATION_IDOC_CONTROL table with docnum in MASTER_IDOC_DISTRIBUTE.
I guess it will return the Idoc Number.
KR Jaideep,
2009 Jun 12 9:30 AM
I think COMMUNICAL_IDOC_CONTROL table will have status and IDOC number.