Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding Menus & func code relation

Former Member
0 Likes
672

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

2 REPLIES 2
Read only

Former Member
0 Likes
520

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

Read only

0 Likes
520

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