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.
ALSO READ:
- Sample Programs On Uploading & Downloading Files.
- Sample Programs On HR ABAP.
- Sample Report Programs On ALV List/ Grid Display.
- Sample Programs On Selection Screen.
- Sample Programs On BDC.
.....Back To MAIN INDEX.
No comments:
Post a Comment