Application Development and Automation 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: 
Read only

Does anybody knows?

Former Member
0 Likes
632

Hi there!.

I need to use the BAPI_QUOTATION_CREATEFROMDATA FM to create a customer quotation. But couldn't find out a clear and proper way for fields and structure to be filled.

I mean, could anybody tell me which ( and how, if possible ) parameters should I fill?

Thank you very much in advance!

Raul

Hi there!.

I need to use the BAPI_QUOTATION_CREATEFROMDATA FM to create a customer quotation. But couldn't find out a clear and proper way for fields and structure to be filled.

I mean, could anybody tell me which ( and how, if possible ) parameters should I fill?

Thank you very much in advance!

Raul

3 REPLIES 3
Read only

Former Member
0 Likes
604

Have you gone through the documentation of the BAPI??

<b>Customer quotation: Create customer quotation

Functionality

You can create customer quotations with this method.

Enter at least the header data (using the ORDER_HEADER_IN structure) and partner data (using the ORDER_PARTNERS table).

Enter the item data in the ORDER_ITEMS_IN table. You can enter the item number manually by filling in the relevant field or, if you leave the field blank, it will be entered automatically according to the settings in Customizing.

If the item is configurable, enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.

Once the customer quotation has been successfully created the system issues the document number (SALESDOCUMENT field) and detailed data about the participating partners (using the SOLD_TO_PARTY, SHIP_TO_PARTY and BILLING_PARTY fields). Any errors are displayed in the RETURN paramter.

The ORDER_ITEMS_OUT table provides you with the detailed information needed to judge pricing and availability for an item.</b>

Kind Regards

Eswar

Read only

0 Likes
604

Hi, Eswar!.

Thanks 4 ur quick reply. I have checked the documentation of the BAPI but the thing is - at least what I'd like to find out - is an example or a deeper clue for these parameters to be filled.

Any kind of help would be appreciated.

Read only

0 Likes
604

Dear Raul

Please check if the below info can help you.

QUOTATION_HEADER_IN & QUOTATION_HEADER_INX:
   Document Type
   Sales Organization
   Distribution Channel
   Division
   Requested Delivery Date
 
QUOTATION_ITEMS & QUOTATION_ITEMSX
   Material
   Target Qty
 
QUOTATION_PARTNERS
   Partner Role - Sold To Party
   Partner Number - Customer Number
 
QUOTATION_SCHEDULES_IN & QUOTATION_SCHEDULES_INX
   Requested Delivery Date
   Requested Quantity

I guess above parameters should be enough to create a quotation, can improvise from here basing on your requirement.

Hope the above info helps you.

Kind Regards

Eswar