‎2006 Dec 30 10:44 AM
Hi
I want to attach an end user document icon just beside one parameter.Is there any funtion module to do it.
‎2006 Dec 30 11:42 AM
You can add a button in selection screen
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/content.htm
and you have to add a custom button with same FCODE...and call standard Function module to display the documentation..
‎2006 Dec 31 6:45 AM
Hi
Manohar I want an icon with syombal 'i' with blue color that u have might seen in some selction screen.That is basically the end user document icon said.I thing there is one FM for this. But I dont know the name of it. Something like display_popup_text but not exactly same.
‎2006 Dec 31 9:11 AM
HI Praveen
I guess, you might be aware of using text-elements in selection-screen. We display icons using text-elements. Proceed as below:
1. Get the icon name for info using program: <b>RSTXICON</b> or from table <b>ICON</b>
2. Declare a text-element with this value
3. Now use selection-screen formatting technique to display the icon.
Something like:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN (30) text-001 FOR FIELD p_par.
SELECTION-SCREEN END OF LINE.
Note that selection-screen formatting can be done only between statements, BEGIN OF LINE and END OF LINE.
Hope this info helps you...
Kind Regards
Eswar
‎2006 Dec 31 2:16 PM
Hi Eswar.
Just open the tcode cv04n. There is one field start date and end date.At the end of the end date there is one icon I want exactly that icon.
‎2006 Dec 31 2:45 PM
Hi Praveen
I dont have the provision to access SAP now.
For report program, you have to do as per my earlier post, for dialog program we can do by changing the attributes via SE51.
Regards
Eswar
‎2007 Jan 03 1:18 AM
Hi Praveen
Copy the below code to a temporary program and test:
Code:
selection-screen: begin of line.
selection-screen comment (10) text-001 for field p_date.
parameters: p_date type datum.
selection-screen position: 30.
parameters: p_info type c no-display.
selection-screen comment (10) text-002 for field p_info.
selection-screen: end of line.Now define Text-Elements as below:
TEXT-001 -> Date
TEXT-002 -> @0S@
Generate the code and execute to find the selection-screen with the INFO icon.
Hope this helps...
Kind Regards
Eswar