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: 

BAPI BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos
865

Hi all,

I create sales orders using the bapi BAPI_SALESORDER_CREATEFROMDAT2. Does anyone know how to enter manually the tax amount (not the percentage) in the condition MWST? In fact I want to enter my own tax amount independent of the tax percentage.

Regards

3 REPLIES 3

Former Member
0 Kudos
190

George,

Documentation for this BAPI clearly specifies how to enter the condition value. If you want a percentage enter percentage in condition value and do not populate currency or Currency_iso fields. If you want to pass a value then enter the value in condition value and populate currency or currency_iso fields.

Here is the documentation of the BAPI for Condition input

Conditions

Description

This parameter contains condition data

Value Range

When you complete the COND_VALUE and CURRENCY fields, you must decide which of the following applies:

The condition calculation type is expressed in percentage (the T685A-KRECH field contains AHI)

In this case you should leave the CURRENCY field blank and enter the percentage value with a comma

Example:

Enter percentage rate 20% as 20,0000 in the COND_VALUE field.

The condition calculation type is not expressed in percentage

In this case the COND_VALUE field is a currency quantity field. You must enter the CURRENCY or CURRENCY_ISO field so that the correct conversion takes place. Again, you must enter the amount kommagerecht.

If neither the CURRENCY or the CURRENCY_ISO fields are completed, the entry is issued as a percentage value. This could lead to an incomplete entry if the condition type is not in percentages.

Thanks

Giridhar

0 Kudos
190

Dear Giridhar,

Your answer was very helpful to my understanding of the function of the specific bapi.

Regargs

George

simon_broome
Explorer
0 Kudos
190

Hi

I am trying to acheive the same result as asked in the original question and have acted as advised. Generally MWST cannot be processed manually - what route did you take to acheive your objective?

Thanks