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

How to change the value of an internal table without loop?

$
0
0

Hello Everyone,

 

Thank you for giving your time. I have an internal table having thousands of records. How can I replace the value of a variable in one go without using loops.

 

Ex. -

 

 

 

      LOOP AT gt_bseg_02 INTO gs_bseg_02.

        IF gs_bseg_02-koart = ''.

          gs_bseg_02-koart = 'XYZ'.

        ENDIF. " IF gs_bseg_02-koart = ''

 

modify gt_bseg_02 from gs_bseg_02.

      ENDLOOP. " LOOP AT gt_bseg_02 INTO gs_bseg_02

 

Is there any single statement to do this? like we can simple delete the records without using loops with the delete statement.

 

 

Regards

Mani


Viewing all articles
Browse latest Browse all 8581

Trending Articles