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

Selection Screens

Former Member
0 Likes
629

hai buddies,

I have a problem in selection screen .i've a Pushbutton with function code(SAVE).When i click on the pushbutton the save selection screen as variant is displayed. i checked the function code for the SAVE pushbutton in application toolbar.

can someone help and give solution for this ?

Thanks in Advance.

Hav a nice time.

5 REPLIES 5
Read only

Former Member
0 Likes
595

hi this is because you have given the function code for your pushbutton as 'SAVE' also. Give a different function code for your pushbutton and it will work however you want to

Read only

Former Member
0 Likes
595

Hi,

The function code 'SAVE' is for the button " save variant " only so use some other Function cade for your SAVE button.

Sudheer.A

Read only

Former Member
0 Likes
595

Hi,

Yuo can not use same function code to your push button, so kindly use diff. function code for both. it will work..

Read only

Former Member
0 Likes
595

Hi

Though you are on main selection screen you can not assign SAP Standard pre define Fcode to our own object.

We have give another fcode to our object other than standard.

Regards,

Hiren

Read only

Former Member
0 Likes
595

hi,

Its a good programming practice,if you USE standard function code for standard buttons/menus. in your case as there is SAVE ICON on the tool bar with function code "SAVE", we should not use the same function code for any other purpose,even though you intension is SAVING some values... as we are giving the function code at the program level,we can give any value to that not neceesarily be the same TEXT,of what we are displaying it to the user.

so my suggestion is, give some meaningful text to the button,which is displaying on the screen to the user & give a function code(a free code), which is not used else where in screeen.

regards

srikanth

Message was edited by: Srikanth Kidambi