2008 Feb 19 5:26 AM
Hello All,
I'm using BTE to give some restrictions while running Tcode F-47. But the same restrictions are checked by the system while running F-58 as well. Please tell me how to check transaction code in the function module so that i can give the conditions and check the restrictions for F-47 only. I'm using Z copy of SAMPLE_INTERFACE_00001030 function module.
Please reply at the earliest.
Thanks in Advance!!
Rohini.
2008 Feb 19 5:32 AM
sy-tcode contains current tcode by using that u can check transaction code
2008 Feb 19 5:34 AM
Hi Rohini,
You can use the system field sy-tcode. inside the if endif statement write your restriction code. E.g.:
IF sy-tcode = 'F-47'.
Write the restriction code.
Endif.
Reward if helpful.
Ashvender