2006 Sep 21 9:47 AM
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
2006 Sep 21 9:49 AM
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
2006 Sep 21 10:05 AM
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.
2006 Sep 29 8:21 PM
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 QuantityI 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