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

Error for BAPI 'BAPI_CONTRACT_CHANGE'.

Former Member
0 Likes
1,271

hi all.

BAPI 'BAPI_CONTRACT_CHANGE' is returning an error message 'Could not determine recipients for message type 'EKSEKS'.

Please provide a solution .

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
974

are you using this BAPI in IDoc scenario. Then I would say that for the message type, you still have to define the recipients.....

6 REPLIES 6
Read only

Sm1tje
Active Contributor
0 Likes
975

are you using this BAPI in IDoc scenario. Then I would say that for the message type, you still have to define the recipients.....

Read only

Former Member
0 Likes
974

NO I am using this BAPI inside a User exit to change the values of payment term (ZTERM) and INCO term (INCO1,INCO2) for a agreement contract(ME32K).

Read only

Former Member
0 Likes
974

Are you executing Commit work inside the Exit ? it may couse the problem, (Never execute commit work inside an Exit)

for further investigaton of the error use this BAPI

Pass the message nubmer an id to another bapi u will get the exact messgae text

CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'

EXPORTING

id = msg id

number = msg number

language = sy-langu

textformat = 'ASC'

IMPORTING

message = lw_message.

lw_message gives message text ( exact error message).

Hope this help

Regards

Bikas

Read only

0 Likes
974

No i am not using a commit -work ,for testing purpose i am testing using se37.

Read only

Former Member
0 Likes
974

hi , the problem is with client Idoc settings. it is working now fine.

Read only

0 Likes
974

I'm having the same problem, but I have no experience to change the IDOCS Settings. Did you could give me some tips?

Thank you.