cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

New Agent Badi for Process Schema level

Former Member
0 Likes
229

Hi

SRM 7.0. I have created a new custom agent badi implementation, copied from the standard RR_ROLE as I want to enhance it slightly, but as of yet have made no changes to any code, just a straight copy.

When I try and use this new Badi in my process schema to replace the previous RR_ROLE, bearing in mind I have made no changes to it yet, I get an ABAP dump

Error in the ABAP Application Program

The current ABAP program "/SAPSRM/SAPLWF_P_CFG" had to be terminated because it

has

come across a statement that unfortunately cannot be executed.

The following syntax error occurred in program

"/SAPSRM/BD_WF_RESP_RESOLVER===CP " in include

"/SAPSRM/BD_WF_RESP_RESOLVER===CM000 " in

line 9:

"The specified type cannot be converted into the target variables."

" "

" "

" "

The include has been created and last changed by:

Created by: "SAP "

Last changed by: "SAP "

Error in the ABAP Application Program

It doesnt mention my custom program, any thoughts as to why this should be happening.

Thanks

John

Accepted Solutions (0)

Answers (3)

Answers (3)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

Please check following.

+ You have defined resolver name

+ The BADI has resolver name filter

+ The BADI is activated

I often forget to set resolver filter and get some dump.

Regards,

Masa

Former Member
0 Likes

Hi,

Have you defined the new Agent in the SPRO configuration ?

If yes then have you implemented all the methods of this BADI ? This BADI should be implemented with the GET APPROVERS BY AREA GUID and GET AREA TO ITEM MAP with the standard code.

Regards

Kannaiah

Former Member
0 Likes

Hi ,

Check the OSS note : - 1335790 , 1421817.. i am not sure this would help or not.. just try out..

Saravanan..