2013 Sep 24 5:07 PM
Hello ALL,
I need to change some address data for WE Partner number in a customer contract using the bapi BAPI_CUSTOMERCONTRACT_CHANGE.
For examploe, I try passing these fields to the FM:
SALES_DOCUMENT = 0000291113
CONTRACT_HEADER_INX-UPDATEFLAG = U
PARTNERS-PARTN_ROLE = EM
PARTNERS-PARTN_NUMB = 0000040000
PARTNERCHANGES-DOCUMENT = 0000291113
PARTNERCHANGES-ITM_NUMBER = 000000
PARTNERCHANGES-UPDATEFLAG = U
PARTNERCHANGES-PARTN_ROLE = EM
PARTNERADDRESSES-STREET = 18 de julio
PARTNERADDRESSES-HOUSE_NO = 1567
PARTNERADDRESSES-FLOOR = 202
But i get the error : VPD 005 You cannot delete partner function Ship-to party (mandatory function in Release order-procedZAB)
I don't try to delete the partner WE, only modify it the addreess!
Thanks and regards.
2013 Sep 25 8:00 AM
You are tring to update ship to party (WE) but in partner role you are passing value EM.
"PARTNERCHANGES-PARTN_ROLE = EM"
Is it correct? i think you should pass WE / SH.
2013 Sep 27 5:59 PM
I am passing WE effectively, because the function doing the translation. This is not the problem.
The problem is that the function or the parameters sent by me, don't changing the address data in the WE partner.
I tried with VOPA transaction, deactived the obligatory option in this partner function, but it work incorrectly, the function deleted the WE partner in the contract !
I need to change some data like street, house num, floor, from the current WE Partner.
Thanks!
2013 Sep 25 9:27 AM
Hi Yenia ,
Check "VOPA" T-code for Partner Function also check these Notes.
Note 1639331 - Error "VPD 005" You cannot delete partner function X
1866487 - VPD 005 'You cannot delete partner function Ship-to party'
Regard's
Smruti