2007 Jul 23 2:44 PM
I know if you want to determine the calling tcode you do sy-tcode but how can I determine what the calling program was?
I have an output requirement and, right now, there is an if statement like the following:
if sy-tcode = 'vf01' or sy-tcode = 'vf02'
perform vf02_routine.
else.
perform va02_routine
endif.I want to add a check to see if the calling program was SAPMV60S, is there a way to do that?
Regards,
Davis
2007 Jul 23 2:47 PM
I know if you want to determine the calling tcode you do sy-tcode but how can I determine what the calling program was?
I have an output requirement and, right now, there is an if statement like the following:
if sy-tcode = 'vf01' or sy-tcode = 'vf02'
perform vf02_routine.
else.
perform va02_routine
endif.I want to add a check to see if the calling program was SAPMV60S, is there a way to do that?
Regards,
Davis
2007 Jul 23 2:47 PM
2007 Jul 23 2:48 PM
Ah, thanks. I was trying sy-program. Is there a listing of all sy-#### calls?
Davis
2007 Jul 23 2:50 PM
Yep....
http://help.sap.com/saphelp_nw04/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm
Regards,
Rich Heilman
2007 Jul 23 2:51 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |