CretaeFromDat2 how to find

Question: hello friends,
i have a doubt in sales order create by bapi ,
how to give different ship to party for one customer,
thanks in advance,

urgent,
rags

Answer:
I donīt understand very well your problem, please check if this is the matter:
In the BAPI_SALESORDER_CREATEFROMDAT2 you have the table ORDER_PARTNERS. Here you can enter:
PARTN_ROLE: the function for the partner, for ex. SP, PY, SH ,etc.
PARTN_NUMB: the number for the function partner.
ITM_NUMBER: the item number, or cero if it is for header.

If you a looking for some logic in the partner determination, you have to create another BAPI which call the BAPIFROMDAT2 with the correct values for the mentioned fields.

Regards.
Copyright ?2007 - 2008 www.jt77.com