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

Read statement in ECC6.0

Former Member
0 Likes
1,027

Hi all,

I am working on ECC6.0 , but when i use Read statement it gives me erro that it is obsolute in ECC6.0.

So please suggest a way to proceed.

Regards,

Nilesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,000

Get the data into internal table.

Don't use read on DB

Read table it_mara into wa_mara with key ....

BINARY SEARCH .

Hi all,

I am working on ECC6.0 , but when i use Read statement it gives me erro that it is obsolute in ECC6.0.

So please suggest a way to proceed.

Regards,

Nilesh

7 REPLIES 7
Read only

Former Member
0 Likes
1,000

Can u please tell how u hav written read

Read only

0 Likes
1,000

read table mara with key .........................

Read only

0 Likes
1,000

and read table payr with key...........

Read only

Former Member
0 Likes
1,000

Hi Nilesh,

READ statement is NOT Obsolete in ECC 6.0. It is very much in use. I think the syntax that you used might not be correct. Kindly verify with below syntax..

READ TABLE itab INTO ls_itab WITH KEY (Key fields) BINARY SEARCH.

WITH KEY

can be used or

WITH INDEX

can also be used..

<b>Reward points for helpful answers</b>.

Best Regards,

Ram.

Read only

Former Member
0 Likes
1,001

Get the data into internal table.

Don't use read on DB

Read table it_mara into wa_mara with key ....

BINARY SEARCH .

Read only

0 Likes
1,000

Thank you for your reply.

I know this solution but why we cant use read on transparent tables.

Regards,

Nilesh

Read only

0 Likes
1,000

Hi Nitesh..

To read data from Transparent Tables we have to use

SELECT statement ..

Read STATEMENT is only for reading from internal table.

So it is not the issue with ECC 6.0

<b>reward if helpful.</b>