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

Check select-options using READ TABLE?

Former Member
0 Likes
1,783

I need to check select-options using READ TABLE.

Is that possible?

Moderator message: please try yourself and search for information before posting, e.g. ABAP F1 help.

Message was edited by: Thomas Zloch

7 REPLIES 7
Read only

Former Member
0 Likes
1,066

Hi,

Yes it is possible! Check the value of field LOW or HIGH.

Regards,

Jake

Read only

0 Likes
1,066

Like this?

READ table so_sotp with key low = vbpa-kunnr.

The low means the starting range of the select-options which I enter?

   

I want to check the select-options using the statement below. How is it gonna combine the above and below statement?


     READ TABLE it_vbpa
     INTO wa_vbpa WITH KEY vbeln = wa_vbak-vbeln
                           parvw = 'AG'.

Read only

Former Member
0 Likes
1,066

Read statement doesn't support IN operator.

So either you need to read a select option or loop at select option (based on your requirement)and then you can use Read Table with select option values.

Read only

0 Likes
1,066

Hi,

You have to use the selection table  to get the values for 'High' and 'Low' values of the select-field.

Read only

Aiolos
Active Participant
0 Likes
1,066

select-options is a range in program, it is a table with header line, of cour you can use read.

Read only

dirk_wittenberg
Contributor
0 Likes
1,066

of course you can use read table but pay attention to the SIGN and OPTION fields in the table. You have to interpret the LOW and HIGH fields with regard to the sign and option fields.

Regards,

Dirk

Read only

0 Likes
1,066

I really have no idea on how to work with those  2 statements.