cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_CREATEFROMDAT2, header pricing conditions.

Former Member
0 Kudos

Hi all,

I'm using BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order. I'm using  and ORDER_CONDITIONS_IN and ORDER_CONDITIONS_INX to save header pricing conditions, but pricing conditions at header level are not being saved completely. These conditions in the sales order appear without collective flag marked and without condition class.

If I save manually a sales order with the same data, header pricing conditions are saved completely as collective conditions and with condition class.

Any ideas how must be called BAPI_SALESORDER_CREATEFROMDAT2 to save the header conditions prices correctly?

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

eduardo_hinojosa
Active Contributor
0 Kudos

Hola Manuel,

There are some notes related with the allowed pricing types for SD BAPI's. Please check them

SAP Note 375016 - Permitted pricing types for BAPISDLS-PRICING

SAP Note 403065 - Permitted pricing types BAPISDLS-PRICING II

SAP Note 410907 - Allowed pricing types BAPISDLS-PRICING III

SAP Note 449068 - Allowed pricing types BAPISDLS-PRICING IV

and related notes (as SAP Note 24832 - Pricing rules / TVCPF)

I hope this helps you

Regards

Eduardo

Former Member
0 Kudos

Hi all,

My problem has been resolved with OSS note Note 1673422 - V61A_BAPI Net value and subtotals in header incorrect.pdf.

Regards,