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

Syntax error in class

Former Member
0 Likes
1,483

Hi experts,

We implemented a BADI and when we tried to execute it we got this runtime error

Error log:

Short text Syntax error in program "CL_IM_CM_GLCTRANS_V56LDELI====CP What happened? Error in the ABAP Application Program | | The current ABAP program "SMOD_V56LDELI=================CP" had to be terminated because it has come across a statement that unfortunately cannot be executed. | | The following syntax error occurred in program "CL_IM_CM_GLCTRANS_V56LDELI====CP " in include "CL_IM_CM_GLCTRANS_V56LDELI====CM001 " in line 21: "Old and new exceptions cannot be used at the same time . . . . . . . ." " ." " " " "

CL_IM_CM_GLCTRANS_V56LDELI is a class.... How do I debug this?

I dont know much about OOPs.

Thanks in advance.

Goldie.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,061

Goldie.

Run t-code SE24 and enter CL_IM_CM_GLCTRANS_V56LDELI and press Display

debug like any other program now

2 REPLIES 2
Read only

Former Member
0 Likes
1,062

Goldie.

Run t-code SE24 and enter CL_IM_CM_GLCTRANS_V56LDELI and press Display

debug like any other program now

Read only

0 Likes
1,061

Thank you John.