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: 

Is it possible to select a specific Condition Type in range of KOMV table?

walkerist
Participant
0 Kudos
181

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.

0 REPLIES 0