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

fill select-options ??????????????

Former Member
0 Likes
840

Hello All,

I built the select-options manually using the type "selopttab".

Now to get all the values from the DBT I passed --

**************************************

selopttab-low = "*"

selopttab-high = "Z"

**************************************

Is it correct to pass ' * 'and ' Z ' to the low and high values of the field.

Bcoz if I pass ' * ' and 'z' I'm getting different number of entries when compared to passing <b>"SPACE" to the low and high values of the field in the <b>DBT</b> .</b>But this is happening in some tables only.In some other cases I'm getting equal number of records when i pass * and Z and when checked with passing SPACE.

WHat should I do exactly to get all the records when passing manually thru

using the type "selopttab".

Regards,

Deepu.K

1 ACCEPTED SOLUTION
Read only

Manohar2u
Active Contributor
0 Likes
788

Pass selopttab-option = 'CP'

and

selopttab-low = "*"

Pass selopttab-option = 'CP'

and

selopttab-low = "*"

7 REPLIES 7
Read only

Former Member
0 Likes
788

hi deepu,

To get all the vaues just fille the low value as * , no need of high value i think

selopttab-low = "*"

If u want the table starting with Z , then give Z*

selopttab-low = "Z*"

Read only

Former Member
0 Likes
788

Hi Deppu,

don't pass any values in selopttab and pass corresponding where clause you will get all records.

Don't pass like the following.

selopttab-sign = 'I'.

selopttab-option = 'EQ'.

selopttab-low = space.

selopttab-high =space.

If any values there in selopttab. using Refresh remove all items in selopttab. your requirement will be fulfilled.

Regards

Bhupal Reddy

Read only

Manohar2u
Active Contributor
0 Likes
789

Pass selopttab-option = 'CP'

and

selopttab-low = "*"

Read only

Former Member
0 Likes
788

Hello All,

Thanks for ur replies.

But when I use Manohar's suggestion I'm getting more number of records than earlier but stiil not exact.

SO any other options ?

Regards,

Deepu.K

Read only

Former Member
0 Likes
788

if you need to select ALL record s- just do not pass anything in the select-options, for SAP it means - there are NO restricitons and all data will be selected.

Read only

0 Likes
788

<b>To Get all the entries:</b>

Your <b>"Range" table should be empty</b>. I mean selopttab should be blank.

<b>To get the entries from * to z:</b>

wa_bname_sel-sign = 'I'.
wa_bname_sel-option = 'BT'.
wa_bname_sel-low = '*'.
wa_bname_sel-high = 'Z'.

Hope this will solve your issue.

Message was edited by:

Raja T

Read only

Former Member
0 Likes
788

Hello All,

Thanks for ur confirmation.

But actually I need this functionality in BSP's.

In BSP's there is no rule that if the field is SAPCE there is no restriction for the selection.

Here we need to pass the values .So I asked what to pass .

But in SAP there is no need for this.

But my problem got solved by using the "CP".

Actually the previous reply of mine said that the no. of records are more when compared to ' * ' and ' Z '.

But there was a DBT entry problem in my scenario.

I rectified that problem and now I'm getting all the records.

Anyways thanks for all.

Sorry for the Inconvenience.

<b>PS: Full points are awarded to Manohar Reddy. and the rest are also awarded (; (;</b>

Regards,

Deepu.K