cancel
Showing results for 
Search instead for 
Did you mean: 

List of Quotations

Former Member
0 Kudos

Hi All,

Can anyone please let me know the standard FM/RFC/BAPI name to fetch the list of Quotations, where input is Customer number. This is similar to the functionality of VA25 transaction.

Regards,
Anuj

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear anuj

TRANSACTION_GROUP 

Value range

0,,Sales order

1,,Customer inquiry

2,,Quotation

3,,Scheduling agreement

4,,Contract

5,,Item proposal

6,,Delivery

7,,Billing document


call function 'BAPI_SALESORDER_GETLIST'
   exporting
     customer_number             = customer_number
     sales_organization          = sales_organization
*   MATERIAL                    = MATERIAL
*   DOCUMENT_DATE               = DOCUMENT_DATE
*   DOCUMENT_DATE_TO            = DOCUMENT_DATE_TO
*   PURCHASE_ORDER              = PURCHASE_ORDER
   TRANSACTION_GROUP           = 2
*   PURCHASE_ORDER_NUMBER       = PURCHASE_ORDER_NUMBER
*   MATERIAL_EVG                = MATERIAL_EVG
* IMPORTING
*   RETURN                      = RETURN
   tables
     sales_orders                = sales_orders

Former Member
0 Kudos

Dear Mohit,

Thanks for your reply.

Using TRANSACTION_GROUP = 2 in bapi BAPI_SALESORDER_GETLIST, i can get the list of Quotations. But the output table 'SALES_ORDERS' is at Line item level. Is there any similar BAPI, which gives list of Quotations at Header level ?

Regards,

Anuj

Lakshmipathi
Active Contributor
0 Kudos

May be it would ideal if you explain as to why you are looking for some BAPI to fetch the Quotations since there are standard TCodes like VA25 and VA25N.  If these reports does not meet your requirement, you can generate from VBAK table by validating Document Category as "B". 

G. Lakshmipathi

Former Member
0 Kudos

We need to call these remote enabled BAPIs from external systems (outside of SAP). I cant use standard TCodes there. Also, I can create a custom RFC, but the requirement is to use standard BAPIs as far as possible.

Lakshmipathi
Active Contributor
0 Kudos

Try with BAPI_CUSTOMERQUOTATION_CHANGE

G. Lakshmipathi

neeraj_lal
Contributor
0 Kudos

Hi Anuj,

Check below BAPI, I hope tis will be helpful to you:

You will find detais in SAP documentation of these BAPI

BAPI_QUOTATION_CREATEFROMDATA : For creating Quotation

BAPI_CUSTOMERQUOTATION_CHANGE :  Change Customer Quotation

BAPI_QUOTATION_CREATEFROMDATA2 : For Creating Quotation.

Object Type will be BUS2031 : Customer Quotation

Let me know in case you need any further info.

Regards

Former Member
0 Kudos

Dear Neeraj..

I have one doubt on above given programs i have checked in my ides

What i understood is above given programs

BAPI_QUOTATION_CREATEFROMDATA: it means directly we can create quotations  here ?

so plz plz share your knowledge above given given 3 programs

And one more thing is we can get the details in va05 but same options are available in bapi_salesorder _getlist so what is difference ?

i have checked but i am not able under stand .. plz thanks a lot

i am very thankful

rahul_vishwakarma2
Contributor
0 Kudos

Hi Friend,

    Try VA25N Transaction code and confirm. Not sure that this will help you. but once try and confirm.

Regards,

Kundan

Former Member
0 Kudos

Hi Anuj,

We can get only list of sales orders using  BAPI_SALESORDER_GETLIST but we dont have any such getlist for quotation in standard system.

thanks,

samba