Skip to Content
0
May 30, 2011 at 07:38 AM

need to check structure condition in user exit RV60AFZ,

480 Views

Hi all, i need to write a condition for vf01(create billing document) in user exit * RV60AFZC * .

the condition is :

if vbak-auart = 'TA' and  KOMV-KSCHL = 'JIN7'.
  VBRK-FKART = 'ZFCS'.     
  ENDIF.  

but the problem here is that komv is structure so the above condition is not working.

If i give condition as

if vbak-auart = 'TA' .
  VBRK-FKART = 'ZFCS'.     
  ENDIF.  

then the user exit is working.

So any one please suggest me how to make the above condition work.

thanks in advance,

koolspy.