‎2007 Oct 25 6:27 PM
Hello all,
My requirement is as follows.
In MB02 i should go to tab 'details from item' and on that screen I click on the messages.
here in the messages i give the output type and medium as special function and language EN.
This output type is assigned to a zprogram and form routine.This zprogram should call the transaction QAC2 to transfer inspection lot quantity(plant to plant and storage loc to storage loc).
When I save this material document, I am getting a dump in the zprogram.
The dump say posting illegal statement and the error analasys is
This program is triggered in the update task. There, the
following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SUBMIT
Please help me how to achieve this?
Thanks
Sandeep
‎2007 Oct 25 6:28 PM
‎2007 Oct 25 6:39 PM
Hi I am attaching the short dump code here.
Statement "CALL TRANSACTION" is not allowed in this form.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLZVINOD " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
This program is triggered in the update task. There, the
following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SUBMIT
How to correct the error
Probably the only way to eliminate the error is to correct the program.
-
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"POSTING_ILLEGAL_STATEMENT" C
"SAPLZVINOD " or "LZVINODU01 "
"BDC_TRANSACTION"
Thanks
Sandeep