on 10-01-2007 12:13 PM
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
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.