Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

System Dump after COMMIT WORK statement.

Former Member
0 Likes
923

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

4 REPLIES 4
Read only

Former Member
0 Likes
711

Check whether you have passed correct partner number etc in MASTER_IDOC_CONTROL.

Also partner profile exist?

Read only

Former Member
0 Likes
711

Can't really help without knowing what the dump says.

Rob

Read only

Former Member
0 Likes
711

Do you by any chance, call MASTER_IDOC_DISTRIBUTE in update task (Commit work in update task will cause a dump)

Read only

Former Member
0 Likes
711

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