‎2007 May 24 5:28 AM
hey guys,
Do we have any FM or Program to relate GUI_STATUS menu and Function code.
I found FM RS_CUA_GET_FUNCTIONS for Func code list but i want to know how it relate with Menus & func keys/application bars.
one more FM also i found RS_CUA_INTERNAL_FETCH, but we could not map it properly with Menus and Function codes.
I tried with relating output STA->ACTCODE->MENU->FUN. but seems its not correct. I checked SAPMF02D program having GUI STATUS 1020 no menu bar exist.but FM says Menubar exists. I am confused here.
Suggestion please.
regards
ambichan
‎2007 May 24 5:51 AM
Hi,
Try this FM...RS_CUA_GET_STATUS_FUNCTIONS
On giving the program name and the gui status name, it returns all the fcodes associated with the status.
Try FM RS_CUA_GET_FUNCTIONS as well. Here, you dont need to give the GUI status name. It will return all the function codes maitained..
Hope its helpful
Reward points if helpful.
Cheers,
Karan
Message was edited by:
Karan Merwana
‎2007 May 24 5:58 AM
Hey guys,
FM RS_CUA_INTERNAL_FETCH has this many Menu types.
I can only see Dailog type 'D' menus for GUI status in SE80 tr-cd.
How can i view the Menu type 'P'(POPUP menutype) and 'L' etc..
CONSTANTS: CON_STDTYPE_DIAL VALUE 'D',
CON_STDTYPE_POPUP VALUE 'P',
CON_STDTYPE_LIST VALUE 'L',
CON_STDTYPE_LBOX VALUE 'B',
CON_STDTYPE_CONTEXT VALUE 'C',
CON_STDTYPE_MENU VALUE 'M',
CON_STDTYPE_EXEMPT VALUE 'X',
CON_STDTYPE_EXEMPT_RES VALUE 'Y',
CON_STDTYPE_OBLIGATORY VALUE 'O',
CON_STDTYPE_DEFAULT VALUE 'F',
CON_STDTYPE_SYSTEM VALUE 'S',
CON_STDTYPE_SBAR VALUE 'I',
CON_STDPFNO_CTX TYPE CUA_PFNO VALUE '94',
CON_STDFUNC_CTX TYPE GUI_CODE VALUE '%CTX'.
suggest me
Regards
Ambichan