‎2011 Mar 01 1:37 PM
Hi Everybody,
I am trying to create IDOC through a custom basic type by MASTER_IDOC_DISTRIBUTE' function module.
The function module returns few data in the tables parameter through communication_idoc_control. Here I am getting idoc number from DOCNUM and IDOC status from STATUS.
Here the status coming as 29.
Although the IDOC no is generating inside the function module the I am not able to see it from WE02.
The function module MASTER_IDOC_DISTRIBUTE also returns sy-subrc = 0.
After that when I am writing COMMIT WORK. The system gives dump.
Commit work is not getting succeed anyhow.
Can anybody please tell me the reason?
With regards.
Satyajit
‎2011 Mar 02 3:42 PM
Check whether you have passed correct partner number etc in MASTER_IDOC_CONTROL.
Also partner profile exist?
‎2011 Mar 02 4:52 PM
‎2011 Mar 02 5:13 PM
Do you by any chance, call MASTER_IDOC_DISTRIBUTE in update task (Commit work in update task will cause a dump)
‎2011 Dec 01 4:18 AM
Sorry i posted in wrong thread
Edited by: S.Srinivas Gupta on Dec 1, 2011 9:53 AM
Edited by: S.Srinivas Gupta on Dec 1, 2011 9:54 AM