‎2007 May 25 7:15 AM
Hi all,
how to ignore some condition types ?
my requirement is for order type CR or RE I need to ignore zfus,zfu4.
so plz help how can i write code for this
if komk-auart = 'cr' or komk-auart = 'er'
in this i need to write code ?
endif.
it is very urgent........
thanks in advance
Rambabu.A
‎2007 May 25 7:22 AM
Hi,
if its in a loop then
loop......
if komk-auart = 'cr' or komk-auart = 'er'
if <b>komk-condtype</b> = 'zfus' or
<b>komk-condtype</b> = 'zfu4'
continue.
endif.
endif.
Regards,
Sooness
‎2007 May 25 7:18 AM
Hi
Where you wants to ignore these condition types?
What is your exact requirement?
You can ignore them in the config of pricing procedure based on orders, which is of a functional guy's work.
Reward points if useful
Regards
Anji
‎2007 May 25 7:21 AM
Hi Anjireddy,
i need to write code in one routine that is in vofm t.code
whenever we create sales order it is picking all condition types in my situvation
if it is cr or re then i need to ignore these condition types
Thanks in advance
Rambabu.A
‎2007 May 25 7:28 AM
Hi,
I guess you will have to ask this in the SD Forum as it seems to be more related to VOFM transaction....!!
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.
‎2007 May 25 7:22 AM
Hi,
if its in a loop then
loop......
if komk-auart = 'cr' or komk-auart = 'er'
if <b>komk-condtype</b> = 'zfus' or
<b>komk-condtype</b> = 'zfu4'
continue.
endif.
endif.
Regards,
Sooness
‎2007 May 28 5:06 AM
Hi,
my problem was solved,
i wrote code in one user -exit to delete the condition types for ER and CR order types.
like this
IF VBAK-AUART = 'RE' OR VBAK-AUART = 'G2'.
READ TABLE XKOMV WITH KEY KSCHL = 'ZFUS'.
IF SY-SUBRC = 0.
DELETE XKOMV INDEX SY-TABIX.
clear xkomv.
ENDIF.
Thanks to every one.
Rambabu.A