I have got a value in SapScript &VBDPR-FKIMG& and I want to check whether this field is 0 by passing the value through a PERFORM statement and then passing back a sy-subrc telling me whether it is 0 or not.
I am really unsure how to do this, as I am a complete novice when it comes to both SapScript and ABAP. I have got as far as below (not very far I know - sorry), but if anyone can help me go any further, it would be very much apprieciated!!!
SapScript:
/: PERFORM CHECK IN PROGRAM Z_ZERO /: USING &VBDPR-FKIMG& /: ENDPERFORM
ABAP Program:
REPORT Z_ZERO.
FORM CHECK TABLES IN_PAR STRUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
IF sy-subrc = 0.
ENDIF.
ENDFORM. " CHECK
Kind Regards
Carly