cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove syntax error for the method which i deleted?

Former Member
0 Kudos

Hi,

I implemented a attribute NAME2 in BP_ADDR/AddressDuplicate , in that i implemented GET_P_NAME2 and later deleted attribute it self now i am getting the error "ZL_BP_ADDR_ADDRESSDUPLICA_CN02CP Method "GET_P_NAME2" does not exist. There is, however, a method with the similar name "GET_BP_NAME"

how to remove this error?

regards

Vinay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

in se24 open the class. Check for error. It will tell you name of method in with get_p_name2 is getting called. probably that can give clear picture why this error is coming.

Best regards

Pankaj Kumar

Former Member
0 Kudos

Hi Pankaj,

I tried that it is giving dump

The following syntax error occurred in program

"ZL_BP_ADDR_ADDRESSDUPLICA_CN02CP " in include

"ZL_BP_ADDR_ADDRESSDUPLICA_CN02CM01D " in

line 1:

"Method "GET_P_NAME2" does not exist. There is, however, a method with "

"the similar name "GET_BP_NAME"."

" "

any clue how to solve this?

Vinay

Former Member
0 Kudos

In SE24 you can click the Local Types button and then go to the Public Section ,Private Section or Protected Section to remove the method manually.

Regards

Pran

Former Member
0 Kudos

Hi,

Thanks a lot.

This is a SAP bug we have to implement a note 1227154 which fixed the issue.

Vinay

Answers (1)

Answers (1)

Former Member
0 Kudos

Resolved