If the function module is called from another program, that program name will be in SY-CPROG.
At runtime within a function module, SY-CPROG contains the name of the program that has called the function module.
This can be RS_TESTFRAME_CALL if the function module was called by hitting F8 in SE37, or it can be any other program name, depending on the program that has called the function module.
No comments:
Post a Comment