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

BAPI-BAPI_CONTRACT_CHANGE

Former Member
0 Likes
621

Hi All,

I have requirement to update the contract with additional partners ( OA-Orderding address, PI- Invoicing address) at the header level . I am using the BAPI 'BAPI_CONTRACT_CHANGE' to achieve the same. But I am getting an error 'Please enter a valid partner role'. ( Eventhough I am entering valid partners roles)

If anybody has worked on this BAPI for updating partners,Please let me know.

Regards,

Praveen.

2 REPLIES 2
Read only

Former Member
0 Likes
535

Shot in the dark.

Might there be a translation routine on the partner role field?

Can you double click on them in SE16 (to see if the displayed value changes)?

Just looked at table TNAPN.

The partner function LF = VN.

BA = OA.

LW = DP.

Try altering the values and testing the BAPI.

CONVERSION_EXIT_PARVW_INPUT

Edited by: jon davies on Oct 1, 2009 12:01 PM

Read only

0 Likes
535

Hi All,

I achieved this functionality by using the FM ''MM_UPDATE_PARTNERS''.

This FM can be used for addition/updation/deletion of any number of partners for all procurement documents

Regards,

Praveen GB