Hi,
Good day guys
Iam calculating the discount for invoice. ive got a price condtion like RA00,RA01..now its working fine. but in the future they may put RA02,RA03...and etc.. so i'd like to change the condition.
if i put the condtion like with the loop (kschl like 'RA0%') .. sys gives error. can any one plz tell me?
**calculation for discount
Loop at gs_it_kond into gs_kond
where BIL_NUMBER = GS_IT_GEN-BIL_NUMBER and
( kschl = 'RA00' and kschl = 'RA01' ).
IF gs_kond-kbetr < 0.
gs_kond-kbetr = gs_kond-kbetr * -1.
ENDIF.
gv_perc = gs_kond-kbetr / 10.
gv_perc3 = gv_perc3 + gv_perc.
endloop.
Regards
chandu