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 standard table

Former Member
0 Likes
585

how to read ser01 for current delivery(ser01-lief_nr = lips-vbeln and ser01-posnr = lips-posnr.

2 REPLIES 2
Read only

Former Member
0 Likes
341

i dont think so lief_nr and posnr fields are key fields in SER01. So, you can use for all entries like this.

select ****** from ser01 into i_ser01

for all entries in lips

where lief_nr eq lips-vbeln

and posnr eq lips-posnr.

if you want to get only one record use select upto one row.

Thanks......

Read only

Former Member
0 Likes
341

Hi...

This may be helpful:

Use the code as below.

Flow logic:

PAI.

LOOP AT ITAB.

module get_currentline.

ENDLOOP.

Module pool:

module get_currentline INPUT.

IF WA-MARK = 'X'. "Selection field of Table control

Move-corresponding Wa to ITAB.

Modify itab index TCON1-CURRENT_LINE.

endif.

Endmodule.

Reward points if found helpful....

Cheers,

Chandra Sekhar.