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

Re: modify itab from issue

$
0
0

Hi Nagendra,

 

When you write a modify statement Modify itab from wa, first it will check whether there is any entry with the same key (based on the key of the internal table) and if the entry exists, it will be modified as per the work area else it will not be modified.

 

In your example, there might not be a record with the same key and so it is not modified.

To overcome this in the Modify statement add the table key based on which the table needs to be modified (using key addition) or using the Index.

 

Hope this helps.

 

Best Regards,

Sireesha Ch


Viewing all articles
Browse latest Browse all 8509

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>