11-19-2008 10:00 AM
Dear Experts,
I need to create Customer Quotations by using VA21, for this i found two BAPIs
like BAPI_QUOTATION_CREATEFROMDATA & BAPI_QUOTATION_CREATEFROMDATA2.
In this two BAPIs also i didn't found field names for Sold to party and Ship to party. Plzz
can any one tell me what is structure name and field names related to sold to party and ship to party.
Thanks in Advance....
11-19-2008 10:13 AM
Hi,
For those BAPIs sold to party and ship to party are identified by the combination of PARTNER NUMBER and PARTNER ROLE.
They are in table QUOTATION_PARTNERS as PARTN_NUMB and PARTN_ROLE with data elements KUNNR and PARVW respectively.They can be identified like for example
PARTNER_ROLE= 'SP' for sold to party and
'SH' for ship to party for a given partner number.
thanks
Arjun
Edited by: Arjun Subhash on Nov 19, 2008 11:19 AM
11-19-2008 10:24 AM
Even if your sold to party and ship to party are same,u have to make two table entries with same partner_numb and the different partner_role values for sold to party and ship to party.
hope this helps u...
Arjun
11-19-2008 11:43 AM
If you are using "BAPI_QUOTATION_CREATEFROMDATA2"
then goto tables....
there is one table called QUOTATION_PARTNERS ...
in that table
Add PARTN_ROLE and PARTN_NUMB ....
Generally partn_role 'SP' is sold to party
partn_role 'SH' is Ship to party
and add respective PARTN_NUMB 's
that will solve your question