2006 Dec 07 1:35 PM
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
2006 Dec 07 1:41 PM
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
2006 Dec 07 1:41 PM
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*"
2006 Dec 07 1:41 PM
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
2006 Dec 07 1:41 PM
2006 Dec 07 2:27 PM
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
2006 Dec 07 5:02 PM
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.
2006 Dec 08 2:36 AM
<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
2006 Dec 08 10:18 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |