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

Set SQL Update statement in ABAP without Loop

$
0
0

Hi Gurus,

 

How do I write this statement in ABAP, as shown in Oracle syntax. I do not want to use a loop as it is too inefficient.It will be executed in an ABAP program.

 

update /BIC/APOI_O0200
  
set /BIC/PKDOCDATE = /BIC/DOC_DATE
      /BIC/PKDELDATE
= /BIC/SCL_DELDAT
where /BIC/PKDOCDATE = '        ' or /BIC/PKDELDATE = '        '

 

Basically, it's a table update setting 2 fields equal to 2 other fields where with of the fields is equal to spaces in the active table.

 

 

Thanks in advance!


Gregg


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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