Dear all,
I have to apply following check...
In transaction VL02n---> before post goods issue they have to check whether serial number should not blank for line item whose item type is 'ZBAN'.
For that I have checked include MV50AFZ1 and sarch FCODE = 'WABU_T' (Post good issue button).
now I have to write the code like if serial number field is empty then it should show warning message.
I have checked serial number field is ripwo-sernr.
should I write code like that:
IF fcode = 'WABU_t'.
if LIPS-PSTYV = 'ZBAN' and REPWO-SERNR ne ' '.
message w398(00) with 'serial number not maintain'.
endif.
endif.
If I am wrong please suggest right code.
or suggest some another method.
Thanks in advance.
Regards,
Amar