Hi Folks,
Presently in my smartforms in the mail window Item text is getting displsyed as per the logic below:
Command LOGIC
IL &VBDPL-POSNR(6)&,,&VBDPL-MATNR(18)&,,&VBDPL-LFIMG(I13)& &VBDPL-VRKME&
GL &VBDPL-NTGEW(I13)&&VBDPL-GEWEI&
Now I have the requirement where on the basis of below logic I need to have the display only POSNR (Item text) not the handling unit details (starting from 9000001). I am putting the logic as:
command LOGIC
/: IF &ZBUKRS& EQ '3219' AND &VBDKL-KUNWE& EQ '0040000315'.
/: IF &VBDPL-POSNR(6)& LT 900001 AND &VBDKL-VSTEL& EQ 'NR11'.
IL &VBDPL-POSNR(6)&,,&VBDPL-MATNR(18)&,,&VBDPL-LFIMG(I13)& &VBDPL-VRKME&
GL &VBDPL-NTGEW(I13)&&VBDPL-GEWEI&
/: ELSE
IL &VBDPL-POSNR(6)&,,&VBDPL-MATNR(18)&,,&VBDPL-LFIMG(I13)& &VBDPL-VRKME&
GL &VBDPL-NTGEW(I13)&&VBDPL-GEWEI&
/: ENDIF.
But it seems not working. Please suggest...