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-screen.

Former Member
0 Likes
546

Hi ALL,

I want this below mentioned words to be printed in selection screeen

Current Project ID :----


Previous Project ID : -


Note:

General select-options looks like this :

Current Project ID -


TO -


I want to replace this TO as Previous Project ID.

Can anyone tell me how to do it.

Thanks&regards,

R.Vinoth.

6 REPLIES 6
Read only

Former Member
0 Likes
528

hi

Change the selection text in the options

open that selection text in change mode then replace the TO as Previous project id

Read only

former_member404244
Active Contributor
0 Likes
528

Hi,

try like this

select-options : s_Current Project ID for <tablename-fieldname> no intervals,

s_Previous Project ID for <tablename-fieldname> no intervals.

Regards,

Nagaraj

Read only

Former Member
0 Likes
528

Hi,

Check the below code.

tables: pa0001.

SELECTION-SCREEN BEGIN OF BLOCK aff WITH FRAME.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(30) text-020 FOR FIELD s_bukrs.

SELECTION-SCREEN POSITION 31.

SELECT-OPTIONS : s_bukrs FOR pa0001-bukrs NO INTERVALS NO-EXTENSION."Company Code

SELECTION-SCREEN COMMENT 56(3) text-030 FOR FIELD s_bukrs1.

SELECTION-SCREEN POSITION 60.

SELECT-OPTIONS : s_bukrs1 FOR pa0001-bukrs NO INTERVALS.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK aff.

  • text-elements

*020 Company code

*030 To

Message was edited by:

Velangini Showry Maria Kumar Bandanadham

Read only

Former Member
0 Likes
528

Hi Vinoth,

When you are declaring select-options ,I think you cant insert your text in between them.Instead declare two select-options with no intervals or no-extension option

Read only

Former Member
0 Likes
528

Hi Vinoth

i am sorry , there is no method to insert the data there

Read only

Former Member
0 Likes
528

Hi vinoth,

You have to just write no-intervals syntax with the field in selection screen to replace TO.Just see eg below :

SELECTION-SCREEN BEGIN OF BLOCK ID WITH FRAME TITLE TEXT-001.

SELECT-OPTIONS: EBELN FOR EKKO-EBELN NO INTERVALS,

AEDAT FOR EKKO-AEDAT NO INTERVALS.

The fields EBELN and AEDAT will be displayed without TO keyword.

Please reward if useful.

Thanks.