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: 

condition record errors

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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