2014 Aug 05 7:45 AM
Hi Experts,
I have generated an IDOC with the function MASTER_IDOC_DISTRIBUTE without errors. But when I check the SAP transaction WE02, there is no new IDOC. Could anybody tell me, where I will find my new IDOC?
Thanks.
Best Regards
Lukas
2014 Aug 05 8:00 AM
HI Lukas,
Are you sure there are no error? check the sy-subrc?
and do you 'COMMIT WORK.' at the end?
regards,
Archer
2014 Aug 05 8:00 AM
Hello Lukas,
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
IN UPDATE TASK
EXPORTING
MASTER_IDOC_CONTROL = ST_EDIDC
TABLES
COMMUNICATION_IDOC_CONTROL = IT_COMM_CTRL
MASTER_IDOC_DATA = IT_EDIDD
Thanks.
2014 Aug 05 8:00 AM
HI Lukas,
Are you sure there are no error? check the sy-subrc?
and do you 'COMMIT WORK.' at the end?
regards,
Archer
2014 Aug 05 8:01 AM
Database commit might be missing.
Do 'COMMIT WORK' after calling Function module 'MASTER_IDOC_DISTRIBUTE'.