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: 

add bottons on the application tool bar of the standard selection screen

Former Member
0 Kudos

Hi All,

I am having the standard selection screen in module pool programing. I wnat to add the bottons on the application tool bar of the standard selection screen.and hide the existing bottons (like std. execute and i bottons.)instead of these i want to give my won bottons like create and display.

pls help on this.

3 REPLIES 3

Former Member
0 Kudos

Hi Sridhar,

Try the Code below. It places two buttons on the selection-screen along with the execute button.

TABLES sscrfields.

PARAMETERS: p_carrid TYPE s_carr_id,

p_cityfr TYPE s_from_cit.

SELECTION-SCREEN: FUNCTION KEY 1,

FUNCTION KEY 2.

INITIALIZATION.

sscrfields-functxt_01 = 'LH'.

sscrfields-functxt_02 = 'UA'.

AT SELECTION-SCREEN.

CASE sscrfields-ucomm.

WHEN'FC01'.

p_carrid = 'LH'.

p_cityfr = 'Frankfurt'.

WHEN 'FC02'.

p_carrid = 'UA'.

p_cityfr = 'Chicago'.

ENDCASE.

START-OF-SELECTION.

WRITE / 'START-OF-SELECTION'.

Just go to the table sscrfields to knoe the fields in it. I think this clears the issue.

Regards,

Swapna.

former_member787646
Contributor
0 Kudos

Hi,

In Module Pool Programming you can design your own application tool bar, menu bar by clicking the following line

in Module block "Status_<ScreenNo> Output".

Set PF-Status "XXX".

Uncomment the above line and give a proper code instead of

"XXX". it will redirect you to Menu Painter where u can design your own application tool bar.

Hope it helps you.

Murthy.

Former Member
0 Kudos

not answered