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

Re: Can i able to update Material Document After post.

$
0
0

If you need to update custom fields in historical data only once you can do this with an UPDATE Statement for involved table in a loop like this:

 

SELECT SINGLE FOR UPDATE * FROM mkpf

  WHERE mblnr EQ '4711'

  AND   mjahr EQ '2015'.

IF sy-subrc EQ 0.

  mkpf-zzfield1 = 'XYZ'.

  mkpf-zzfield2 = '123'.

  UPDATE mkpf.

ENDIF.


Viewing all articles
Browse latest Browse all 3316

Trending Articles



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