i am doing some user exit for va41 and va42.
I have to update VBAP-FAKSP by chekcing reason for rejection at each item level before saving.
I have developed some code snippet... all are working fine the field is not getting updated.
Please find below code..
IF VBAK-VBTYP EQ 'G' AND VBAK-AUART EQ 'ZMGB'.
IF T180-TRTYP EQ 'H' OR T180-TRTYP EQ 'V'.
LOOP AT XVBAP.
IF XVBAP-ABGRU NE SPACE.
*Updating VBAP-FAKSP with value 'Z1'
XVBAP-FAKSP = 'J1'.
can anyone plz help me.