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

String in Select option

Former Member
0 Likes
5,025

Hi experts,

I want to get a string length of greather than 100 through select options / Parameter . Is it possible...? then how..?

Pls give me a solution.

Regards,

Murugan arumugam.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,460

Yes you can

parameters: p_str(250) type c.

select-options: s_str for <Field with more characters>.

Regards,

Satish

7 REPLIES 7
Read only

Former Member
0 Likes
1,461

Yes you can

parameters: p_str(250) type c.

select-options: s_str for <Field with more characters>.

Regards,

Satish

Read only

0 Likes
1,460

HI ,

I tried, but it takes only 48 character.others are dropped.

REgards,

Murugan Arumugam.

Read only

0 Likes
1,460

Hi,

Parameter is taking max of 132 chars

Regards,

Satish

Read only

0 Likes
1,460

HelLo,,,

Please check this link

And reward if useful!!1

Read only

0 Likes
1,460

The visible length may be 48, but you can enter more. It will shift to the left. Try it.

rob

Read only

Former Member
0 Likes
1,460

Hi..

PARAMETERS : p1 type string.

SSTRING 1-255 Character string string

STRING 256-... Character string string

The type SSTRING is available as of release 6.10 and it has a variable length. Its maximum length must be specified and is limited to 255. The advantage of this type compared with CHAR, is that it is assigned to the ABAP type string.

<b>Reward points for useful ans..</b>

Thanks & Regards

ilesh 24x7

Read only

Former Member
0 Likes
1,460

hey declare like this data: string(200) type c.

select-options: x for string.

might be this will solve ur porblem ..regrads points if it is usefull.