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

ABAP Dump Problem - SYNTAX_ERROR

Former Member
0 Likes
1,841

Hello Gurus

In our quality system, we are facing problem in this ABAP Dump it generates more than 10000 times & we are unable to find the rectification

Can somebody help us to get rectification

Error in ABAP application program.

The current ABAP program "SAPMSSY1" had to be terminated because one of the

statements could not be executed.

Runtime Error SYNTAX_ERROR

Date and Time 29.07.2007 23:59:59

This is probably due to an error in the ABAP program.

In program "SAPLMEWP ", the following syntax error occurred

in the Include "LMEWPU01 " in line 236:

"Different number of parameters in FORM and PERFORM (routine: CREATE_IT"

"EM_ADDR, number of formal parameters: 3, number of actual parameters: "

"4)."

" "

Author and last person to change the Include are:

Author "SAP "

Last changed by "PRZEDPELSKI "

8 REPLIES 8
Read only

Former Member
0 Likes
1,179

Hi

Goto ST22 Tcode

select your dump and analyse it

it appears that the parameters passed to the PERFORM..and FORM statements are causing the dump

check the parameters passed to the PERFORM CREATE_IT...

and FORM CREATE_IT... and correct it.

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
1,179

Can u just paste the code

Read only

Former Member
0 Likes
1,179

Hi,

In the Error Analysis of ABAP Dump, you will come to know what is the reason, the system had to dump...

Check the reason and resolve it using ST22... problem will be solved.

Check these threads..

Regards

Read only

Former Member
0 Likes
1,179

It looks like someone has modified the Purchase order creation BAPI (Function module BAPI_PO_CREATE), probably user PRZEDPELSKI.

The dump is due to subroutine CREATE_ITEM_ADDR having a different number of parameters in definition and call (3 and 4). In my system both the subroutine and the call have the same number, ie 3.

Take a look at the version history of this program and set it back to the SAP verios.

Regards,

Nick

Read only

Former Member
0 Likes
1,179

HI,

From ST22, goto source code & compare the PERFORM and FORM codes.

There may be changes in the number of parameters in both.

Reward points if found helpful

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,179

The routine CREATE_ITEM_ADDR (include LMEWPF01) has no longuer the same number of paramaters as when called in function module BAPI_PO_CREATE. (includeLMEWPU01)

Someone has changed on the two objects and not the other. As these are standard programs, ask your BC team if they implemented some OSS notes.

Regards

Read only

Former Member
0 Likes
1,179

Thanks You All

Read only

Former Member
0 Likes
1,179

Hi,

Check in the perform statement paratemeters and form statement parameters. Both parameters should be same number of passing parameters and same data type aslo.

Thanks

Srilatha