SAP Knowledge Base Article - Preview

2642200 - Update terminate due to Dump POSTING_ILLEGAL_STATEMENT when saving the sales order

Symptom

When trying to save the normal sales order using transaction code VA01, the update is terminated by the dump.

Checking the dump file in ST22, the following info can be found:

Category  ABAP Programming Error
Runtime Errors  POSTING_ILLEGAL_STATEMENT
ABAP Program  SAPLGRAP
Application Component

 BC-FES-GRA

Short text
Statement "CALL_SCREEN" is not allowed in this form.

What happened?

    Error in the ABAP Application Program

 

    The current ABAP program "SAPLGRAP" had to be terminated because it has

    come across a statement that unfortunately cannot be executed.

Error analysis

    There is probably an error in the program

    "SAPLGRAP".

    This program is triggered in the update process. The following ABAP

    statements are illegal here:

 

    - CALL SCREEN

    - CALL DIALOG

    - CALL TRANSACTION

    - SET SCREEN

    - LEAVE TO LIST-PROCESSING

    - SUBMIT

    - LEAVE SCREEN

    - LEAVE LIST-PROCESSING

    - LEAVE PROGRAM

    - LEAVE TO TRANSACTION

    - MESSAGE I/W/E (if not handeld using EXCEPTIONS ERROR_MESSAGE)


Read more...

Environment

  • Sales And Distribution (SD)
  • SAP R/3
  • SAP R/3 Enterprise 4.7
  • SAP ERP Central Component
  • SAP ERP
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions

Keywords

POSTING_ILLEGAL_STATEMENT, SM13, update terminate, VA01, SWO1, GUI-specific, Delegate, dump, SAPLGRAP   , KBA , SD-SLS-SO , Sales Orders , BC-FES-GRA , Graphics , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.