Skip to Content
0
Former Member
Mar 08, 2011 at 10:05 AM

Copying a client field from a line of a list to a work area

29 Views

Dear All,

I created a simple list that shows the contents of database table including its client field. Later, I wanted to read from the list line by line by using the following code:

DO.
   READ LINE sy-index LINE VALUE INTO wa.
   ...
ENDDO.

The strcuture of wa is as the same as the strcuture of the lines in the list. When I ran my program in debug mode, I noticed that client field in wa was never filled with client data from the list.

Is there any special treatment for client field in a structure regarding to the READ LINE statement?

Any other explanations or suggestions will be appreciated.

Thanks in advance,

Haris