cancel
Showing results for 
Search instead for 
Did you mean: 

MWST in BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

Hello,

We are trying to create Sales order using BAPI_SALESORDER_CREATEFROMDAT2.

We are trying to load price conditions in the BAPI.

Condition PR00 is working fine.

BUt Condition MWST is not being picked from ORDER_CONDITIONS_IN

We have marked MWST as manual condition and also in Pricing procedure.

LOGIC_SWITCH - COND_HANDL = X

ORDER_CONDITIONS_INX - UPDATEFLAG = U/I

ORDER_CONDITIONS_INX - COND_VALUE = X

Any way to use tax code / tax value from BAPI rather picking from condition record ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

We have marked MWST as manual condition

Tax as a manual condition?

Why don't you use automatic determination for VAT based on customer tax classification and material tax classification?

Best Regards,

Franck Lumpe

Freelance SAP Logistics Consultant

Former Member
0 Kudos

Hello Franck,

Actually we have integration with legacy. Where the Sales order is actually created.

At creation time, in exception cases, we may have tax code different from the one determined based on customer tax classification and material tax classification.

This exception handling we need to manage while replicating Sales order from Legacy to SAP.

Former Member
0 Kudos

Hello,

Did you try to force the customer tax classification (sales order header field) and material tax classification (sales order item field) from the BAPI?

IMHO that would be a better solution than letting the MWST condition type be manual.

Anyway please double check the reasons for these exceptions; I still can't find any business reason why the customer tax classification should be different for a specific sales order. Regarding material tax classification, each material has a different tax classification, so the standard system is pretty flexible.

Best Regards,

Franck Lumpe

Freelance SAP Logistics Consultant

Former Member
0 Kudos

Hello Franck,

We are trying with alternative tax classification as well.

As an option we are trying to make it work with MWST. Since std BAPI allows this.

So was just thinking...

Former Member
0 Kudos

Hello,

you do not have to set a 'X' in ORDER_CONDITIONS_INX. Please check whether it works without these flags.

Best regards,

Jörg