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 text

Former Member
0 Likes
959

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
937

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

7 REPLIES 7
Read only

Former Member
0 Likes
938

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

Read only

0 Likes
937

Hi Ashish,

I did this but something is there which i am missing.

regards

Prince

Read only

0 Likes
937

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

Read only

0 Likes
937

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

Read only

0 Likes
937

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

Read only

0 Likes
937

Thanks its working.......

Regards

Prince

Read only

Former Member
0 Likes
937

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