Skip to Content
0
Feb 15, 2012 at 12:33 PM

Commit work statement creating problem in CALL TRANSACTION

475 Views

Hi Friends,

we are facing a problem where we need to call a standard program from a Zprogram.

we have tried the following ways.

1. Using SUBMIT statement , we are sending the parameters to the standard program, but when the standard program gives a

dump our program cannot process further records. we are calling the submit statment in a loop. As because the standard

program is giving dump our program is not able to process the next record in the loop and this should not be the case.

To avoid this we have used the second method.

2. we used a CALL transaction, we have created a Tcode for the standard program and called this transaction in the calling

program. We are passing the parameters for the standard program via BDC table. this works fine even when the standard

program gives a dump but when ever the control comes across a Commit work statement the the control comes back to our

calling program with out executing the rest of the statments after the commit.

now our concern is even though there is an commit work statement , statements after the commit work should also get executed in call transaction. Is thee any way?

Regards,

Sravan