cancel
Showing results for 
Search instead for 
Did you mean: 

ZXMG0U02 EXIT_SAPLMGMU_001 MM17/MM02

Former Member
0 Kudos

Hey,

when I changed a material with MM02 and the userexit ZXMG0U02 is active, MM02 go to this userexit.

When I called MM17 this userexit is also called.

This is all right.

But what can I do when MM17 is called with the test-modus and then I break the transaction?

When i have programmed in ZXMG0U02 an update to another table (for example: I want to change the material-classification) i don´t want to do this update, when i have called MM17 with the test-modus.

I don´t find any field in which i can see, that MM17 is called in test-modus.

The field sy-tcode is filled with 'MASS'. But there is no other field in which i can see whether MM17 is called in test-modus or in update-modus.

Can anyone help me?

Kind regards

Birgit

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member282968
Contributor
0 Kudos

Dear Birgitta,

Why dont you put below condition in the exit include ?

if sy-code = 'MM02'.

endif.

In this case it will not work for any t-codes except for t-code MM02.

With regards,

Former Member
0 Kudos

Hi, 

T-code: MASSOBJ, Select Object type BUS1001, add the new fields which you created to Field list.

T-code: OMSR, add the new fields and assign it to Field Selection Groups.

After above steps, then you can see those fields in MM17.

Br

James