Hi all,
This post is a tutorial for using MM06E003 ( Document Number Range ) exit at ME21N (or other Transaction).
I hope this can help others out.
I will skip 'How to find user exit' in this post, if you need more information, can refer to this thread at SCN.
'List of Exits / Enhancements for ME21N', refer to this thread at SCN.
1 => We need to create a project in CMOD. Give it a name and a short text.
2 => Click on Enhancement Assignments (Change to Edit mode if haven't already), input the Exit at the column. In this case, MM06E003. After confirmed, the description text will appeared on the other column.
3 => Click on components. Double click into the function exits. (In this case)
4 => Double click on the Include. (If warning appears, just ignore that and press 'Enter', it will ask you to create, agree)
5 => Put a break-point here.
7 => Activate the Include, back one level, Activate the Function Exit, back one level, Activate the project.
6 => Go to ME21N. Fill in all mandatory fields, (Ask your Functional Consultant if you don't know). Type /H into the command bar. Press save.
7 => Hit F8 and the program will stop at the break-point. You can examine the logic flow here.
8 => Begin coding your logic in the Include. Remember to reactivate each time and refresh the session (/nme21n into the command box) if changes do not take effect.
As you can see at step 5. We are able to use the parameter NEKKO. If you want to view the global data, click on Utilities -> Global Data.
That's all for it. If you need more info please comment below. I will reply as soon as possible.
PS: blogged this in a hurry.
No comments:
Post a Comment