2008 Jun 16 10:46 AM
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...
2008 Jun 16 1:30 PM
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.
create gui status and make button on it. assign help image to that button
2008 Jun 16 10:50 AM
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].
2008 Jun 16 10:51 AM
2008 Jun 16 10:52 AM
create gui status and make button on it. assign help image to that button
2008 Jun 16 10:53 AM
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 ....
2008 Jun 16 10:54 AM
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
2008 Jun 16 11:30 AM
2008 Jun 16 12:28 PM
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
2008 Jun 16 1:30 PM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |