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

creating menu bar

Former Member
0 Likes
553

Hi,

i have created two menu bars master & transaction. In master 2 text i have created. first text is create master. while clicking on that it will move on to next screen. how can i write code for that..

pls help me.

shyja

1 REPLY 1
Read only

former_member402443
Contributor
0 Likes
322

Hi Shyja,

You query is how to write the code on the click of the text that you selected from the master menu.

First have you assign function code to that particular text or not.

if not then click on the SET PF-STATUS you have created. then go to the maintain status screen. there u select the master menu

just double-click the master menu textbox , it will display the text under it

first textbox contain the function code & the 2nd textbox contain the textname.

assign 4 digit function code for the corresponding text.

After that Check this code.

START-OF-SELECTION.

SET PF-STATUS 'ZMENU_NOTEPAD'.

SKIP.

*WRITE 😕 'NOTEPAD APPLICATION'.

AT USER-COMMAND.

CASE SY-UCOMM.

WHEN 'NEWF' .

CALL SELECTION-SCREEN 0400.

WHEN 'OPNF'.

GET PF-STATUS STATUS PROGRAM PROG EXCLUDING FCODE.

PROG = 'ZMAN_INPUT_OUTPUT'.

EDITOR-CALL FOR REPORT PROG ."DISPLAY-MODE.

SET PF-STATUS STATUS.

WHEN 'ENTE'.

WRITE 😕 'You Clicked on the entered button'.

ENDCASE.

Reward points,if useful.

Regards,

Manoj Kumar