Hi all,
I have created a sapscript form and now want to control which program has called this form.
this is the code at sapscript side:
/: PERFORM WHO_CALLED IN PROGRAM Z_FI_HEF130D
/: USING &TIPI&
/: IF &TIPI& = 'X'.
/: INCLUDE ZPROFORMA_01 OBJECT TEXT ID ST LANGUAGE EN
/: INCLUDE ZPROFORMA_03 OBJECT TEXT ID ST LANGUAGE EN
/: ELSE.
/: INCLUDE ZPROFORMA_01 OBJECT TEXT ID ST LANGUAGE EN
/: INCLUDE ZPROFORMA_02 OBJECT TEXT ID ST LANGUAGE EN
/: ENDIF.
/: ENDPERFORM.
And this is the form at program Z_FI_HEF130D:
FORM WHO_CALLED USING tipi.
tipi = 'X'.
ENDFORM. "WHO_CALLED
But tipi is never set to 'X' even I have run the program it has been set.
What could be the problem?
Thanks.
Deniz.