Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

Re: SELECT while MODIFYING existing rows

$
0
0

Hi,

 

You can use make use of field symbols for this.

 

E.g.

 

* Make sure there are no duplicate materials in the ITAB, else make a read table statement before select query.

 

LOOP AT itab ASSIGNING <fs_wa>.

 

SELECT SINGLE maktx

          FROM makt

          INTO <fs_wa>-maktx " Your field for material description

          WHERE matnr = <fs_wa>-matnr.              

 

 

ENDLOOP.

 

 

Regards,

Gaurav


Viewing all articles
Browse latest Browse all 3458

Trending Articles