Skip to Content
0
Former Member
Aug 19, 2005 at 08:28 AM

Screen-exit code

17 Views

want to add the field on the Additional data B tab of the VA01 and VA02 at header level.

Already one field is there now i want to add one more field.How to proceed.

I think i have to go with screen exits.Can you help me in proceeding further and where should i write the code.

I have to move the updated fields to the vbak table

The code is like this

If VBAK-ZZGrswgh less than ZTRKLMT-ZZweight OR

VBAK-ZZCubTot less than ZTRKLMT-ZZCube OR

VBAK-ZZPaltot less than ZTRKLMT-ZZPallet

CLEAR VBAK_ZZTRKLMT.

Else

MOVE ‘X’ TO VBAK_ZZTRKLMT.

End if

should i write this code in the USEREXIT_MOVE_FIELD_TO_VBAK of program MV45AFZZ ?

This user exit should trigger when

VBAK-AUART Equals 'ZWH' OR

VBAK-AUART Equals 'ZFV'

Reply soon