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

condition record errors

Former Member
0 Likes
306

Hello friends

Iam using 'BAPI_PO_CREATE1'. Some times Item condition values are calculated as multiplied by 10.

I can't understand how do handle these?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
285

Hai,

Try this:

IF wa_itmcond-currency IS INITIAL OR

wa_itmcond-currency EQ '%'.

wa_itmcond-cond_value = wa_itmcond-cond_value / 10.

ENDIF. "wa_itmcond-currency

1 REPLY 1
Read only

Former Member
0 Likes
286

Hai,

Try this:

IF wa_itmcond-currency IS INITIAL OR

wa_itmcond-currency EQ '%'.

wa_itmcond-cond_value = wa_itmcond-cond_value / 10.

ENDIF. "wa_itmcond-currency