Skip to Content
0
Former Member
May 13, 2013 at 04:54 PM

BAPI for Quotation to Sales order

384 Views

We use BAPI (BAPI_SALESORDER_CREATEFROMDAT2) for Web/SAP interface.

When a Sales Order is placed through web, some items will refer to existing quote and some items won't have any quote reference.

For items which have quote reference, we want to copy all condition except one (we are using condition category X for this condition).

For items which don't have any quote reference, we want use current price.

But we found some restriction in BAPI. Here the Pricing Type is at the Header level (unlike Sales Order creation directly in SAP where pricing is determined individually at item level). So we can set either set 'G', 'B', or Customer pricing type. Only one for all items at header level.

1. Is this a standard behavior of SAP BAPI where the pricing type is only at header level?

2. if so, can we in anyway redetermine pricing at item level (for items with quote referred differently than for the items without quote reference)?

3. Or do we have to create separate Sales Order for items which have quote reference and for the items which don't have any quote.

Please let us know if you faced this issue and how you have overcome this.

Thanks a lot!