cancel
Showing results for 
Search instead for 
Did you mean: 

parameter for selection screen

Former Member
0 Kudos

Hi All,

I want a parameter (Input box) in my selection-screen which can hold 250 characters . I don't want to make screen for this, I want to do it using selection-screen only. Is it possible to do this.

Please provide me solution for this.

Thanks.

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

simply Declare paremeter as character with 250 characters.

PARAMETERS : p_mat(250).

Do u have any issue in this?

Regards,

Naveen

Former Member
0 Kudos

Hi Naveen ,

If I use like this, it takes only 45 characters.

I wast 250 characters to get populated.

Thanks.

Shweta

Former Member
0 Kudos

Hi,

upto 45 charcters it is visible,but still u can eneter more than that.

try it.

Regards,

Naveen

Former Member
0 Kudos

Hi ,

You can go for string type instedd of char.

PARAMETERS : p_mat type string.

this will work

Regards,

naveen

Edited by: Naveen Deva on May 14, 2009 7:25 AM

Former Member
0 Kudos

Hi Shweta,

It is not possible,

It displays only 45 chars, remaining will be extendatble only when you type, but you can see only 45 chars..

If you need to display all characters the you need to design a screen via (Screen painter)...!

Hi Naveen,

The deep data type "STRING" is not allowed.

I got this error when I tried with Paramaters : p_mat type string . ...!

Do you know any reason for this,

Thanks & regards,

Dileep .C

Former Member
0 Kudos

Thanks , I is comming perfect when I defined as string.

Same I want for Select-option, is it possible in that?

Thanks.

Shweta.

former_member181995
Active Contributor
0 Kudos

>

> Thanks , I is comming perfect when I defined as string.

> Same I want for Select-option, is it possible in that?

Further why donu2019t you try it yourself?

Former Member
0 Kudos

Hi Dileep,

It is working fine , when i defined as string . I didn't get any error as you said.

Regards,

Naveen

Former Member
0 Kudos

Hi,

create a custom table with field 'email' having 241 length with data element AD_SMTPADR. Activate the same and use this table to define the email in the select-options.

Hope this will help you,

Please get back with the result,

Former Member
0 Kudos

Hi,

check the code below,

tables OIU_CM_RVWD_TX.

select-options s_string for OIU_CM_RVWD_TX-RVWC_LT.

Former Member
0 Kudos

Hi Naveen,

I double Checked, Its not working,,,

I am using 4.7EE..

I am sure about this...! Anyways No issues & thanks for your reply,,,!

Thanks & regards,

Dileep .C

Former Member
0 Kudos

Hi All,

I am very thankful to u all getting involved in providing solution to my thread. I am also trying to get it for select-option but not getting.

As Dande suggested the table name holding 250 character field and the syntax I tried using it but its holding only 45 characters. I am not sure whether it will hold more than 45 characters or not.

Dilleep, As Naveen suggested for parameter it is working fine for me , I am using Ecc 6.0 .

Amit , its a request from my side , I f u have any solution or suggestion related to my query please do provide it, I will appreciate and and I will be v thankful to u , but if u don't have any suggestions please don't give such type of comments "Why don't u try it yourself", As I tried it , and tryining the same (becoz its my problem) ,not getting proper solution so posting in the thread. If u have such type of answer please ignore the thread.

Thanks.

Shweta.

Former Member
0 Kudos

Hi Shwetha,

Donot feel anything, it is common. Take all of them lightly.

for select-options, what i suggested will work may be it is displaying 45 chars goto se51, enter your program name and screen no as 1000 and make the visible length to 250 characters, then it will appear for as whole.

Former Member
0 Kudos

hi,

you can make default length to 250 and visible lenght can not be more because of screen restrictions,

you can create your own cutom table with custom field which is having lenght of 250

Former Member
0 Kudos

Hi Dande,

When I am increasing default length . Program is throwing run time error ...

Former Member
0 Kudos

Hi Dande,

Its comming perfect, actually the run time error occurs only if we are clicking on the multiple selection button.

I think I have to supress it or I have to check the layout code. Let me know if u have any idea on this.

Thanks.

Shweta

Former Member
0 Kudos

Hi,

You can suppress multiple selection from your screen for timebeing, If there is any other method I will let you know

Former Member
0 Kudos

Thanks a lot!

I have suppressed it. Comming perfect.

Done!

Thanks.

Shweta

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Shweta,

try this... it will work

TYPES: lv_a TYPE string.

PARAMETERS : so_a type lv_a.

Regards

Vishnu Gupta

Former Member
0 Kudos

Hi,

Use this

PARAMETERS:

p_test(250) TYPE c VISIBLE LENGTH 10.

in ur report after executing the Report it displays the Selection Screen so that u can view only 10 char (in this case). Now go to system -


> Status and go to the Screen number default it would be 1000 and go to the Layout and design ur Parameter to what length it should appear and activate it.(No need to write any code just expand ur parameter i/p o/p box and activate it).

Now execute ur Program u can view up to what extent u have expanded it will appear on the Screen.

Regards,

Vijaya Lakshmi.T

peter_ruiz2
Active Contributor
0 Kudos

Hi,

you can use this code.

PARAMETERS:

p_test(250) TYPE c VISIBLE LENGTH 10.

Regards,

Peter

Edited by: Peter Ruiz on May 14, 2009 1:16 PM