Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

UserExit while changing characteristic values for a material master

$
0
0

Hi!

 

I need to perform some actions when the user edits a material master and changes the values of 5 given fields. 4 out of these 5 are no problem. I'm using the userexit "EXIT_SAPLMGMU_001" for this. In this exit I get the new values and I can check the database to get the old values. So I can compare them and see if the values has been modified.

 

The last field isn't that easy: It is a characteristics field. Within the material master you can also edit it's classification data. The user chooses a class and within the class, he can modify the characteristics of it. Now, I need to check one special characteristic called "Z1030_SCHADSTOFF" if it has been modified when the MM is saved.

 

The interface of the above mentioned userexit does not provide the fields and I also do not now the database table where I can check for the old values before it was modified!

 

Is there a way to check if the value of "Z1030_SCHADSTOFF" has been modified?

 

Thanks,

Konrad

 

 

Interface of "EXIT_SAPLMGMU_001":

 

""Lokale Schnittstelle:

*"  IMPORTING

*"     VALUE(WMARA) LIKE  MARA STRUCTURE  MARA

*"     VALUE(WMARC) LIKE  MARC STRUCTURE  MARC

*"     VALUE(WMARD) LIKE  MARD STRUCTURE  MARD

*"     VALUE(WMBEW) LIKE  MBEW STRUCTURE  MBEW

*"     VALUE(WMLGN) LIKE  MLGN STRUCTURE  MLGN

*"     VALUE(WMLGT) LIKE  MLGT STRUCTURE  MLGT

*"     VALUE(WMVKE) LIKE  MVKE STRUCTURE  MVKE

*"     VALUE(WSTAT) LIKE  MGSTAT STRUCTURE  MGSTAT

*"     VALUE(WMFHM) LIKE  MFHM STRUCTURE  MFHM

*"     VALUE(WMPOP) LIKE  MPOP STRUCTURE  MPOP

*"  TABLES

*"      STEXT STRUCTURE  SHORT_DESC

*"      SSTEUERTAB STRUCTURE  MG03STEUER

*"      SSTEUMMTAB STRUCTURE  MG03STEUMM

*"      WMEINH STRUCTURE  SMEINH

*"      SMEAN_ME_TAB STRUCTURE  MEAN

*"  CHANGING

*"     VALUE(CMARA) LIKE  MARU STRUCTURE  MARU

*"  EXCEPTIONS

*"      APPLICATION_ERROR


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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