Application Development 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: 

Can I Have The OK-CODEs of all buttons on standard and app tool bar?

Former Member
0 Kudos

HI FRIENDS,

I WANT OK CODES OF THE ALL BUTTONS ON THE

STANDARD TOOL BAR(DEFAULT-OK CODES GIVEN BY SAP)

PLZ HELP ME

REGARDS

HARI

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

if you don't want them programatically, call the transaction in question and click on system->status. Double click on the field gui status. This will lead you to the definition of all function codes (ok codes) of the screen.

regards

Siggi

7 REPLIES 7

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Programmatically?

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

if you don't want them programatically, call the transaction in question and click on system->status. Double click on the field gui status. This will lead you to the definition of all function codes (ok codes) of the screen.

regards

Siggi

Former Member
0 Kudos

hi,

Use transaction SE41 enter the program name and select the GUI status name and specify ok code for all the items.

Cheers,

Sasi

0 Kudos

If you want programatically, try using the function module.....



data: irsmpe_funl type table of rsmpe_funl with header line.


call function 'RS_CUA_GET_FUNCTIONS'
  exporting
*   LANGUAGE                = ' '
    program                 = <program_name>
* IMPORTING
*   MASTER_LANGUAGE         =
  tables
    function_list           = irsmpe_funl
* EXCEPTIONS
*   MENU_NOT_FOUND          = 1
*   PROGRAM_NOT_FOUND       = 2
*   OTHERS                  = 3
          .
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

Regards,

Rich Heilman

Former Member
0 Kudos

hi siggi,

the answer u have given helped me a lot,

and i need to know OK-CODES for ENTER BUTTON HOW

regards

hari

Former Member
0 Kudos

Hi

Check in GUI status standrad Tool Bar.

In most fo GUi status ok code for Enter in "ENTR".

( Look for fcode associated to the green Tick ).

Cheers

Former Member
0 Kudos

For ENTER, typically '=/00' in BDC will work.

Please reward the answers that helped you.

Srinivas