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

Re: BAdi to modify PM order at save

$
0
0

Hello Ziv Markovich,

 

I use an FM and the following syntax extensively in user-exit IWO10009 to update fields at Order Save event. For example, if I want to update Order Short text then, the code is:

 

CAUFVD_IMP-KTEXT = 'Your New text is here'.
CALL FUNCTION 'CO_IH_SET_HEADER'    EXPORTING      CAUFVD_IMP = CAUFVD_IMP.  PERFORM HEADER_UPDATE(SAPLCOIH).

 

This modifies the Order short text to 'Your New text is here'.

Here is another such example in my earlier replies.: Dates in Maintenance Order

 


Hope this helps you.

 

 

Regards

KJogeswaraRao


Viewing all articles
Browse latest Browse all 3585

Trending Articles



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