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: 

how to add include in MV45AFZZ ??

Former Member
0 Kudos
1,382

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

12 REPLIES 12

Former Member
0 Kudos
468

Hi,

Get the access key for the include MV45AFZZ and you can modify the program directly..

Thanks

Naren

Former Member
0 Kudos
468

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

0 Kudos
468

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

0 Kudos
468

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

0 Kudos
468

There is no enhancement spot currently available with in the form

form userexit_save_document.

0 Kudos
468

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

0 Kudos
468

Please check this document

http://www.sapdevelopment.co.uk/enhance/eframework/ef_implicit.htm

yes i think we have implicit enhancement points in

0 Kudos
468

Thanks to all for ur suggestions. Rather than using access ke y, I would prefer implementing implicit enhancement point .

thks

Former Member
0 Kudos
468

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

Former Member
0 Kudos
468

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

Former Member
0 Kudos
468

resolved myself !!

0 Kudos
468

can you provide an example of how you did the implicit enhancement?

Thanks