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: 

SD Quotation Creation BAPI

Former Member
0 Kudos

Hi Everyone,

I'm creating Quotation thru a "Z" program by calling the BAPI "BAPI_QUOTATION_CREATEBOS".

All paramteras are passed thru the flat file table and successfully got created.

When I look into the Costing Model values, they are still empty.

Kindly Help.

Gokul.N

2 REPLIES 2

Former Member
0 Kudos

Hi,

Please ensure you have taken care of the following:

A costing model is identified via the following fields (key):

ITM_NUMBER Quotation Item

PCKG_NO Package number

LINE_NO Internal Line number

Additionally, you must transfer identification field COSTMODEL for the cost model that you wish to create.

For each costing model there must be a corresponding data record, the same PCKG_NO and LINE_NO in transfer parameter QuotationServices.

It is not possible to attach costing item with outline and main item.

LogicSwitch must have a value in it if you want to be transfer cost back to service line level.

I assume you have called bapi_transaction_commit on successful execution of the BAPI.

Regards,

Shyam

0 Kudos

Hi Shyam,

The points mentioned are represented and Quotation got created successfully.

The problem is only with the updating with Costing Model Characteristic Value.

Regards,

Gokul.N