Application Development and Automation 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: 
Read only

Negative Values for condition in BAPI_SALESORDER_SIMULATE

Former Member
0 Likes
427

Hey Guys,

I have a problem with a condition type in order_header_in. I fill order_header_in-CD_TYPE1 with the condition key 'ZMIN' and order_header_in-CD_VALUE1 with '-8'. Because I want to subtract 8 % from every netto value of the material prices.

The problem is that the bapi calculates 8% of every netto value, but adds the 8% to every netto value. I want to subtract 8%.

The bapi adds no matter if I fill order_header_in-CD_VALUE1 with '-8' or with '8'.

Can anybody help me?

Greetings

Timo

Hey Guys,

I have a problem with a condition type in order_header_in. I fill order_header_in-CD_TYPE1 with the condition key 'ZMIN' and order_header_in-CD_VALUE1 with '-8'. Because I want to subtract 8 % from every netto value of the material prices.

The problem is that the bapi calculates 8% of every netto value, but adds the 8% to every netto value. I want to subtract 8%.

The bapi adds no matter if I fill order_header_in-CD_VALUE1 with '-8' or with '8'.

Can anybody help me?

Greetings

Timo

1 REPLY 1
Read only

Former Member
0 Likes
393

Sorry for the question. I recognized that the condition type is customized as a addition type. So it is correct that the value is added to the netto value!