2007 Dec 17 2:27 PM
Hi experts,
Iam using BAPI_SALESORDER_CHANGE to add partner function to the sales order header, the problem is i cant make it work, how do i pass the values to the parameter 'PARTNERS'.
thanks! points will be rewarded
2007 Dec 17 8:25 PM
pass the below values to the partner table based on teh foll. query.
select *
from KNVP
into table gt_knvp
where kunnr = SO_customer
and VKORG = so_org
and VTWEG =so_dist
and SPART = so_div.
will get all patrnet functions which are defined under the customer.
loop at gt_knvp.
PARTNERS-PARTN_ROLE = gt_knvp-kunn2
PARTNERS-PARTN_NUMB = parvv
append partners.
endloop.
2007 Dec 17 9:05 PM
Hi,
If you want to change the Partner details then pass the details to the table PARTNERCHANGES not PARTNERS.
Hope this will work.
Thanks and Regards
Sowmmya VB
2007 Dec 17 8:31 PM
2014 Mar 06 9:53 PM
How to delete an existing partner in sales order using this BAPI?