2008 Jul 14 5:49 PM
Hi,
In ECC 6.0, I need to add code in the user exit
FORM USEREXIT_SAVE_DOCUMENT
ENDFORM.
How do I do that ? Should I have to implement the implicit enhancement point present at this spot in the include MV45AFZZ ? Or any other way ?
I just need to add an INCLUDE statement inside this FORM. Can anyone give the exact steps ?
thks
2008 Jul 14 5:53 PM
Hi,
Get the access key for the include MV45AFZZ and you can modify the program directly..
Thanks
Naren
2008 Jul 14 5:55 PM
Hello,
If this form is not already active, you need to create a project and add the enhancement to the project and activate. Please note that unless you assign the enhancement and activate the project, the code will not take effect.
You can add the include statement within this enhancement.
Double click on the include statement and the system will take you to the editor where you can put your code for the include.
Whenever the user clicks the save button, your code will hit, you can also check by having a break point in the code you put in the include.
cheers,
Sushil Joshi
2008 Jul 14 6:03 PM
Hi Sushil,
I dont have any INCLUDE statement inside the FORM..ENDFORM...I need to add one myself !!
For that I need to modify the MV45AFZZ include for which I have to use the Access key.
My question is without doing so (without the access key), can I use the enhancement framework concept and try to include my INCLUDE statement someway ??
thks
2008 Jul 14 6:04 PM
I am sorry, you got to have the access key.
Otherwise there will be other exits for that functionality.
Try to debug and see if you can insert your code in that exit to achieve the required functionality.
cheers,
Sushil Joshi
2008 Jul 14 6:20 PM
There is no enhancement spot currently available with in the form
form userexit_save_document.
a®
2008 Jul 14 6:46 PM
Please correct me if I am wrong,
I am able to see implicit enhancement points in the include MV45AFZZ. I am able to select it and choose Enhancement Implementation --> create.
am i wrong in doing so ?
thks
2008 Jul 14 6:56 PM
Please check this document
http://www.sapdevelopment.co.uk/enhance/eframework/ef_implicit.htm
yes i think we have implicit enhancement points in
a®
2008 Jul 14 7:12 PM
Thanks to all for ur suggestions. Rather than using access ke y, I would prefer implementing implicit enhancement point .
thks
2008 Jul 14 6:24 PM
Hi,
I believe You can also use implicit enhancement...but this include is already termed as an include for user exit code...you can get the access key to modify the include..
Thanks
Naren
2008 Jul 14 6:36 PM
HI,
User exits are of two kinds...
1) ZInclude in function module... directly by double clicking it you can add your piece of code..
2) FORM.... ENDFORM.. for this you need to get the access key from the basis team.
Regards
Narin Nandivada
2008 Jul 14 7:22 PM
2008 Jul 15 10:51 PM
can you provide an example of how you did the implicit enhancement?
Thanks