2022 Oct 21 2:49 PM
I have a ZZKOMV structure and it has a ZZKOMV-KSCHL and it gets populated of all the condition types used in a Sales Document like ZA001, ZB002, ZC003, ZD004, ZE005.
DATA: BEGIN OF ZZKOMV OCCURS 20.
INCLUDE STRUCTURE KOMV.
DATA: IX_KOMV LIKE SY-TABIX.
DATA: END OF ZZKOMV.
Now, I'm inside a routine for ZC003. However, I want to have a condition that when ZA001 is active, ZB0002 will be deactivated.
I want to happen like this:
IF ZA001 IS NOT EQUAL 'X'
*Deactive the ZB0002 = 'X'
ENDIF.