Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

user exit EXIT_SAPLMGMU_001 not triggered

Former Member
0 Kudos

Hi all,

Why the user exit EXIT_SAPLMGMU_001 not triggered when I run MM01 / MM02?

I've activated the enhancement MGA00001 and the project containing the enhancement.

Must I use the same package(MGA) in the project?

but I am not allowed to use MGA...

5 REPLIES 5

abdul_hakim
Active Contributor
0 Kudos

hi

you need to create a project in CMOD and activate there....

Cheers,

Hakim

0 Kudos

Yes, I've done so already, but it still not triggered....

Former Member
0 Kudos

pls check

MGA00001

MGA00002

MGA00003

in smod if these are not trigger then try with fieldexit.

regards

shiba dutta

Former Member
0 Kudos

Hi

I hope, you have read the documetation attached with this Standard Enhancement - MGA00001.

----


EXIT_SAPLMGMU_001

-


Where Is the Customer Exit - EXIT_SAPLMGMU_001 called?

The customer exit is in function module MATERIAL_UPDATE_ALL. The

function module checks the data for errors (logical relationships,

foreign keys, fixed domain values, and so on) when the material master

is updated.

Use

o New fields

You can make checks possible for new fields of your own. These

checks must be identical to the checks that you carry out for your

new fields in online maintenance.

o Existing fields

For existing fields, you can extend and intensify the checks.

You can also change data for descriptions and general material data

(MARA). For example, the descriptions can be generated from attributes

of the material.

Limitations

You cannot bypass existing checks.

Interface to Application

The respective data of the current logical transaction is contained in

the structures, for example, in structure WMARA for MARA. Nonrelevant

structures are transferred with their initial values.

General material data that can be changed (CMARA) has the structure

MARU. This MARA view contains fewer internal fields than MARA itself. If

WMARA is filled, CMARA is also filled when accessed.

The customer exit contains the exception APPLICATION_ERROR for your

self-defined error situations.

Using the language element MESSAGE .. RAISING APPLICATION_ERROR, you can

terminate the current (logical) transaction and display your message in

the log.

----


Also, I guess, have you put some code in the Includes available with the EXITS and then activated the Project in CMOD.

Hope this will help.

Please reward suitable points.

Regards

- Atul

Former Member
0 Kudos

Yes, I've activated both in SMOD and CMOD.

And I've put some simple codes and a breakpoint in the include, e.g.

Data dummy type I.

dummy = 1.

But still, it is not triggered in MM01 / MM02.