Can anyone help me with my problem. It's like this. I have an output type ZRD3 in billing document (VF01) which performs special function (8). this output type calls my routine to perform automatic posting of credit memo request. I used call transaction (for BDC) and submit command but the error says:
This program is triggered in the update task. There, the following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
If I would delete the call transaction and submit command, my program would work but i need the 2 commands for my program to run correctly and perform its function. Any suggestions?
You have an error in your transaction logic. You try to trigger in your output message a new transaction - but the first transaction (VF01) is not finished.
Especially calling in an update task causes a dump.
You have to separate this into two independent steps. Without changing your whole logic (and coding), fastest way might change the execution of your message to 'manual' or 'job' (dispatch time 1, 2 or 3, but not 4 - immediately).
Then you can use report RSNAST00 to execute your message outside of the update task.