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 Screen + Button

Former Member
0 Likes
1,084

Hi Gurus,

I have a normal selection screen having some selec options and all.. Now i have a requirement of having a information button in that selection screen... How do i do that.. Answers will be appreciated...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,040

HI.

Go to menu painter create a help button on application toolbar assign function code for that, then use that sy-ucomm in your program for ur own code.

Award Points, If helpful.

Regards.

8 REPLIES 8
Read only

Former Member
0 Likes
1,040

HI,

You can put the button on to the selection screen using the following sytax.

SELECTION-SCREEN PUSHBUTTON [/][pos](len) button_text

USER-COMMAND fcode

[VISIBLE LENGTH vlen]

[MODIF ID modid]

[ ldb_additions].

Read only

Former Member
0 Likes
1,040

check this program DEMO_SEL_SCREEN_PUSHBUTTON

Read only

Former Member
0 Likes
1,040

create gui status and make button on it. assign help image to that button

Read only

Former Member
0 Likes
1,040

hi,

if u talking abt the " i " button which is there for documentation then when ur report is open in edit mode ......

In the menu GOTO - > Documentation

write watever inforamtion u want to display and save and activate

after that when u execute ur report u will be the " i " button next to execute button......

if u want to create a new button then get back i will give u the code for that......

reward points if useful.......:-)

and mark the post answered once ur problem is solved ....

Read only

Former Member
0 Likes
1,040

hiii

you can create button on selection screen by using folowing code

START-OF-SELECTION.

  SET PF-STATUS 'STATUS'.
  PERFORM get_data_kna1.

END-OF-SELECTION.

CASE sy-ucomm.
  WHEN 'CUSTOMER'.

   SELECT SINGLE kunnr
      FROM kna1
      INTO w_kna1
      WHERE kunnr = w_kunnr.

WHEN 'ORDER'.
      SELECT SINGLE vbeln
      FROM vbak
      INTO w_vbak
      WHERE vbeln = w_vbeln.
end case.

reward if useful

thx

twinkal

Read only

Former Member
0 Likes
1,040

is ur problem solved?

Read only

0 Likes
1,040

Thanks for the suggestion.. i want to create a new button.. i have two radiobutton when i press one radio button that information button should be displayed in that particular selection block

Read only

Former Member
0 Likes
1,041

HI.

Go to menu painter create a help button on application toolbar assign function code for that, then use that sy-ucomm in your program for ur own code.

Award Points, If helpful.

Regards.