Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

About BAPI_QUOTATION_CREATEFROMDATA

Former Member
0 Kudos

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....

3 REPLIES 3

arjun_subhash
Active Participant
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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