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

Re: How to set delete flag (LVORM) in CRHD table in QM?

$
0
0

SELECT SINGLE * FROM crhd INTO s_crhd WHERE arbpl = arbpl

                                       AND werks = werks.

 

s_crhd-lvorm = 'X'.

APPENDs_crhd to crhd.


here is the problem


you want to add a line with an existing key to a table, this can't work


you should either use MODIFY or UPDATE




edit: you also want to perform the COMMIT WORK before you update the dialoge

 

Message was edited by: Markus V


Viewing all articles
Browse latest Browse all 2638

Trending Articles



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