09-17-2009 1:01 PM
Hi Experts,
This happens when I leave VL02n transaction, after I go by Menu "Extras-> Delivery output header-> Header" an d then I create a new entrie in "Export Delivery output" and save.
I have encountered the error message 00 671: ABAP/4 processor: POSTING_ILLEGAL_STATEMENT when I viewed SM13 with the update request failed. The Dump analysis said that:
Runtime Errors POSTING_ILLEGAL_STATEMENT
Date and Time 18.05.2009 06:50:57
Short text
Statement "SUBMIT" is not allowed in this form.
Error analysis
There is probably an error in the program
"SAPLZRUB_BEM".
This program is triggered in the update task. There, the
following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SUBMIT.
The program has the following codes:
SUBMIT rsconn01 WITH mode = c_mode
WITH output = c_flag.
How will I resolve this? Thanks in advance
Thanks!
09-17-2009 1:18 PM
Hi Sergio
You could try removing the SUBMIT statement from the program SAPLZRUB_BEM.
Or you could enclose the statement in TRY ENDTRY.
Better contact some ABAP guy and see why the custom code was put there.
Pushpraj
09-17-2009 1:12 PM
Hi,
on some contexts you can not call all ABAP commands. In your case you can not use command SUBMIT. You can create a function module which will wrap you call and call this wrapper with option STARTING NEW TASK. This will create a separate task with unrestricted access to ABAP commands for your additional processing.
Cheers
09-17-2009 1:14 PM
Hi,
In the output determination program you have used the SUBMIT statement.
The output determination program is always called in UPDATE task.
Therefore it cannot have a SUBMIT statement.
Check the output determination program in NACE configuration settings.
Run TCODE NACE and then go through the output determination program for your output type.
Regards,
Ankur Parab
09-17-2009 1:18 PM
Hi Sergio
You could try removing the SUBMIT statement from the program SAPLZRUB_BEM.
Or you could enclose the statement in TRY ENDTRY.
Better contact some ABAP guy and see why the custom code was put there.
Pushpraj