‎2011 Mar 10 10:23 AM
Dear All,
As we all know, when we create a function code in a GUI status, we can define its function type. When I trigger a function code (e.g. I clicked an icon in application toolbar), is there any way to know its function type?
What I need is to know whether the currenctly triggered function code's function type is type ' ' or 'E' in a module that is defined without the AT EXIT-COMMAND addition.
Thanks in advance,
Haris
‎2011 Mar 10 12:02 PM
HI Hari,
Use function module RS_CUA_INTERNAL_FETCH in your program
pass program name,language and state = A and execute it.
You will get the table parameter FUN , where you can read the function codes using the system field sy-ucomm.
The third field in the table holds the function type.
‎2011 Mar 10 12:02 PM
HI Hari,
Use function module RS_CUA_INTERNAL_FETCH in your program
pass program name,language and state = A and execute it.
You will get the table parameter FUN , where you can read the function codes using the system field sy-ucomm.
The third field in the table holds the function type.