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

Regarding Selection-Screen Field Display

Former Member
0 Likes
1,533

Hi All,

I have issues with Selection-Screen field display.

The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.

<b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.

But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.

But <b>display</b> restricted to <b>18</b> Characters only.

Can anybody give me the solution for the same!

Thanks in advance.

Thanks & Regards,

Prasad.

Hi All,

I have issues with Selection-Screen field display.

The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.

<b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.

But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.

But <b>display</b> restricted to <b>18</b> Characters only.

Can anybody give me the solution for the same!

Thanks in advance.

Thanks & Regards,

Prasad.

13 REPLIES 13
Read only

Former Member
0 Likes
1,495

I think you can use the screen painter(SE51) to adjust the display length.

Read only

Former Member
0 Likes
1,495

Hi,

Try to move the value of EMBK-EXGEN field to a character variable of length 20 and display this in the output,

Hope this helps,

Rgds,

Read only

0 Likes
1,495

Hi,

In Selection-SCreen i need to diaplay it as more than 18 characters.

Now my max length is 20.

Is it possible!

Thanks,

Prasad.

Read only

Former Member
0 Likes
1,495

It seems that select-options display a maximum of 18 chars on the screen - with the rest scrollable. Even the 'visible length' option ceases to work if the length is greater than 18, I think.

Looks like you will have to work with what you have.

Sudha

Read only

dani_mn
Active Contributor
0 Likes
1,495

HI,

Ya you can do it using screen painter.

follow the steps.

Run your report.

GOTO 'SYSTEM>STATUS>Screen Number'

open the screen 1000.

click on 'LAYOUT'.

click on 'EDIT'.

Now you can change the lenght of your 'select-option' by dragging both 'LOW' and 'HIGH' to 20 characters.

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
1,495

Hi,

I had tried in following way posted above-

GOTO 'SYSTEM>STATUS>Screen Number'

open the screen 1000.

click on 'LAYOUT'.

click on 'EDIT'.

For the above mentioned issue.

But there if i try to change the Visible Length - to 20 it is again decreasing to 18.

Is there any other way to show the user select-option length more than 18!

Thanks,

Prasad.

Read only

Former Member
0 Likes
1,495

Hi,

Any solution for the above mentioned issue!

Thanks,

Prasad.

Read only

0 Likes
1,495

Hi,

You can decrease the visible length of the field but you can not increase more than database field length. check SAP help on this :

select-options: s_exgen FOR embk-exgen VISIBLE LENGTH 5.

... VISIBLE LENGTH vlen

Effect

This addition allows you to shorten the visible length of the corresponding screen field on the selection screen to vlen.

Variant 2

SELECT-OPTIONS sel FOR (f).

Additions as in variant 1.

Effect

In this variant, (f) must be a field containing the name of the actual reference field at runtime. The system creates the LOW and HIGH fields as character fields with length 45. However, their appearance on the selection <b>screen is inherited from the reference field whose name is contained in field f at runtime.</b>

Regards

Appana

Read only

Former Member
0 Likes
1,495

Hi,

Here EMBK-EXGEN field length is 20.

But in output it is showing visible length as 18.

How can i make it to show 20.

Thanks,

Prasad.

Read only

Former Member
0 Likes
1,495

I don't know if this helps, but if you use a parameter instead of a select-option, the length is 20.

Read only

former_member480923
Active Contributor
0 Likes
1,495

Hi

I have done a similar case, but i think that when you are writing the output please check the number of columns that are being displayed in the out put

Hope this Helps

Anirban

Read only

Former Member
0 Likes
1,495

hi prasad,

may be u are entering values starting with 0.

because when u enter a value starting with 0,it will replace all 0's.

eg: if u enter 00123123345234547896.

whenu press enter it will display 123123345234547896.

Rewards points if helpful.

Naveen

Read only

Former Member
0 Likes
1,495

otherwise try

S_EXGEN(20) for C.