2009 Mar 23 5:51 AM
Hi all,
Im new to abap.
I need your advice.
Is it the only way to control the text to be displayed on screen for Parameters and Select-Options code is to maintain it in Text Elements-> Selectiong Texts?
Any others alternative to do this?
Im modifying ABAP standard report by added new selection options using enhancement point. The selection screen displaying variable name as i used for selection options.
And I do not want to modify the standard report Text Elements-> Selectiong Texts object.
Any comments/suggestions will be greatly appreciated!
Thanks.
Best regards,
Xiang Li Heah
2009 Mar 23 5:54 AM
Hi all,
Im new to abap.
I need your advice.
Is it the only way to control the text to be displayed on screen for Parameters and Select-Options code is to maintain it in Text Elements-> Selectiong Texts?
Any others alternative to do this?
Im modifying ABAP standard report by added new selection options using enhancement point. The selection screen displaying variable name as i used for selection options.
And I do not want to modify the standard report Text Elements-> Selectiong Texts object.
Any comments/suggestions will be greatly appreciated!
Thanks.
Best regards,
Xiang Li Heah
2009 Mar 23 5:54 AM
2009 Mar 23 6:01 AM
Hi,
Refer the below code to add a comment:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) text-001. "radiobutton 1 text
PARAMETERS : p_rb1 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN COMMENT 25(15) text-002. "radiobutton 2 text
PARAMETERS : p_rb2 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN COMMENT 50(15) text-003. "radiobutton 3 text
PARAMETERS : p_rb3 RADIOBUTTON GROUP gp1.
SELECTION-SCREEN END OF LINE.
Hope this helps you.
Regards,
Tarun
2009 Mar 23 6:07 AM
Hi,
Test the Code Bellow.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 2(20) para.
PARAMETERS: pa TYPE string.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 2(20) sele.
SELECT-OPTIONS: so for sy-datum.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
para = 'Parameters'.
sele = 'Select-Option'.Best Regards,
Faisal
2009 Mar 23 6:18 AM
hi,
refere the code below......
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS : S_SDDATE FOR VBAK-AUDAT , " Sales Document Date
S_VBELN FOR VBAK-VBELN , " Sales Document
S_KUNNR FOR VBAK-KUNNR , " Sold To Party
S_ORSN FOR VBAK-AUGRU . " Order Reason
SELECTION-SCREEN END OF BLOCK b2.
2009 Mar 23 9:20 AM
Hi,
You cannot change ABAP Standard Program which is provided by SAP until and unless u have access key.
To Change parameters/select-options texts, you have to go to text elements as u said.
if you wanna get default values in parameters/select-options, use INITIALIZATION.
orelse go thorugh ABAP Dictionary, you will find few examples on parameters to write different kind of syntaxes.
Regards
Rama Krishna G
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |