2007 Jul 05 10:34 AM
Hi,
I copied VL10's program into zprogram and added my select-option and in text element in selection text i given the customer specific name to be displayed on the selection screen but this is not being displyed on the selection screen instead the field name which i declared by using the select-option is coming on the selection screen.why the field name of select-option is coming even though i have given the name in slection text and activated this too.
Your reply is highly appreciated.
Thanx
Prince
2007 Jul 05 10:37 AM
Hi Prince,
you need to activate the selection texts also. You would have not activated the same.
Just go to SE38->Text-elements->selection-texts and activate the same.
Reward points if useful.
Regards,
Atish
Hi Prince,
you need to activate the selection texts also. You would have not activated the same.
Just go to SE38->Text-elements->selection-texts and activate the same.
Reward points if useful.
Regards,
Atish
2007 Jul 05 10:37 AM
Hi Prince,
you need to activate the selection texts also. You would have not activated the same.
Just go to SE38->Text-elements->selection-texts and activate the same.
Reward points if useful.
Regards,
Atish
2007 Jul 05 10:42 AM
Hi Ashish,
I did this but something is there which i am missing.
regards
Prince
2007 Jul 05 10:50 AM
Hi Prince,
This program shows the text-based on the text-symbols.
Just check if the SELECTION-SCREEN BEGIN OF LINE.. is used then you need to define your text-symbols.
Regards,
Atish
2007 Jul 05 11:18 AM
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
INCLUDE v50rsel_block_a. "Index-Key-Felder
Change for DEV319 to include selection criterion
INCLUDE yv50rsel_block_a.
End of change of DEV319
SELECTION-SCREEN END OF SCREEN 1010.
inside the INCLUDE yv50rsel_block_a i have written the select-option no where begin of line i used.
Regards
prince
2007 Jul 05 3:27 PM
copy the include V50R_ON_OUTPUT to ZV50R_ON_OUTPUT
and place the code after the AT SELECTION-SCREEN OUTPUT event.
AT SELECTION-SCREEN OUTPUT.
DATA: ls_submit_info LIKE rssubinfo.
DATA:
i_seltexts type table of RSSELTEXTS,
w_seltexts type RSSELTEXTS.
w_seltexts-name = 'S_LPRIO'.
w_seltexts-kind = 'S'.
w_seltexts-text = 'Test Sel Text'.
APPEND w_seltexts TO i_seltexts.
CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
EXPORTING
program = 'ZRVV50R10C'
tables
seltexts = i_seltexts
EXCEPTIONS
PROGRAM_NOT_FOUND = 1
PROGRAM_CANNOT_BE_GENERATED = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>This will definitely solve ur problem</b>
Message was edited by:
Rajesh
2007 Jul 06 5:29 AM
2007 Jul 05 10:51 AM
Hi,
You mean during runtime? try this..
AT SELECTION-SCREEN.
LOOP AT SCREEN.
SCREEN-NAME WILL HAVE THE FIELD NAME
ENDLOOP.
Refer the link
https://forums.sdn.sap.com/click.jspa?searchID=3662523&messageID=3247254
<b>Reward points</b>
Regards
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |