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

Alternative for Submit command while updating Sales order

Former Member
0 Likes
630

My necessity I am calling a print program from another print program so that the spools can be combined. This is done using the 'submit' program command to go and get the data from the called print program, which is then output in the calling print program. This works fine when the print is kicked off online, but if the print is called as part of the update task when saving the transaction, it falls over as the submit command is not allowed during update task. Can anyone suggest another way of doing this submit? I've searched similar threads on here, but with no luck.

My necessity I am calling a print program from another print program so that the spools can be combined. This is done using the 'submit' program command to go and get the data from the called print program, which is then output in the calling print program. This works fine when the print is kicked off online, but if the print is called as part of the update task when saving the transaction, it falls over as the submit command is not allowed during update task. Can anyone suggest another way of doing this submit? I've searched similar threads on here, but with no luck.

2 REPLIES 2
Read only

Former Member
0 Likes
549

try using commit work and wait before the submit statement.

Read only

Former Member
0 Likes
549

You will have to convert the logic in your report into a function module. Then call this function module in place of the submit.