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

Error in update task for MB02

Former Member
0 Likes
535

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

2 REPLIES 2
Read only

Former Member
0 Likes
447

Copy the Short dump text here for more help.

Thanks.

Read only

0 Likes
447

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