‎2010 Mar 03 9:37 AM
How can I delete partners using this BAPI_CONTRACT_CHANGE function?
‎2010 Mar 03 9:49 AM
hi myriam ..
welcome to sdn
I would encourage you to please read the rules of engagement before posting basic questions
Are you sure you are using the correct BAPI ?
never the less
you must specify the purchasing document number ..
and
you should read the function module documentation ..
BR
Manthan.
‎2010 Mar 03 9:49 AM
hi myriam ..
welcome to sdn
I would encourage you to please read the rules of engagement before posting basic questions
Are you sure you are using the correct BAPI ?
never the less
you must specify the purchasing document number ..
and
you should read the function module documentation ..
BR
Manthan.
‎2010 Mar 03 10:03 AM
Manthan;
I was able to add partners to the document , but I have no idea how I can delete a partner
In the partner table , there is a DELETE_IND field , but no further information how to use this field or BAPI.
‎2010 Mar 03 10:12 AM
Did you try setting the validity to the immediate time .. so that the validity runs out and the partner can then be deleted .. ?
‎2010 Mar 03 10:24 AM
do you mean the validity from and to date of the contract ?
The contract was expired during my first tests and I was able to add partners .
I've changed the valid to date, but I can't delete partners
How do I fill the partner and partnerx table ?
‎2010 Mar 03 10:33 AM
do you mean the validity from and to date of the contract ?
The contract was expired during my first tests and I was able to add partners .
I've changed the valid to date, but I can't delete partners
How do I fill the partner and partnerx table ?
yes .. i meant the same .. ok ..
for filling those you can use me23n..
and u can change them using the same ..
BR
Manthan
‎2010 Mar 03 10:48 AM
ME23N is to change a purchase order
I'm talking about purchase contracts
I've added a breakpoint in the BAPI and deleted a partner using me32k , but I didn't fall in the breakpoint
I just need to know how I have to fill the partner and partnerx to delete a partner
adding a partner is working when I fill
LT_PARTNER-PARTN_ROLE = 'EP'
LT_PARTNER-PARTNR = 'EP008747B1'
LT_PARTNERX-PARTN_ROLE = 'X'
LT_PARTNERX-PARTNR = 'X'
‎2010 Mar 03 1:04 PM
What i believe is like the link below about Po change
if you assign the *delete_ind = 'x ' * you will be able to flag the Contract for deletion
Also if this does not work .. there is another work around ..
like this link below in Structure Partnr you can have Actual values and for the same you can assign X values in PartnrX which will then help in over writing the contract
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
QUANTITY = 10.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELETE_IND = X
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0003
PO_ITEMX = X
SCHED_LINEX = X
DELETE_IND = X
‎2010 Jun 03 3:29 PM
‎2010 Sep 22 10:51 AM
Hi Can you please let me know, how did you solve the problem,
I mean how are you able to delete the partners from the contract, what are the values you had passed, could you please help me on this.
Many thanks,
Prasad NN.