9.7.11

SAP Note 26306 - Syntax error SAPLSUM5 RV_DELIVERY_ADD

Symptom:

When creating an order (VA01) or a delivery (VL01), the system issues
error message SY047: 'Syntax error in program SAPLSUMn.

Cause and prerequisites


Example: Matchcode MBAN
The error occurs in function module MC_UPDATE_MBAN, which is generated by report SAPMACOP. This function module has a syntax error, which causes an ENDFORM statement to be inserted in the wrong place.

Note: This error also occurs with other matchcodes! A syntax check
in the main program, e.g. SAPLSUM5 (using SE38) determines
the incorrect line number in the program. It is then possible
to determine the matchcode affected.

Solution
Move the ENDFORM statement to the correct position and regenerate
the program.

Additional key words

SAPLSUM5 SAPLSUM7 SY047 LV05IU01 LV05IU07 RV_SALES_DOCUMENT_ADD
RV_DELIVERY_ADD

No comments:

Post a Comment