Application Development and Automation 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: 
Read only

Enhancement Implementation in FM: CHANGEDOCUMENT_DISPLAY

Former Member
0 Likes
1,121

Hi,

I am not able to create Enhancement Implementation in Function module CHANGEDOCUMENT_DISPLAY.It showing message as

'Object FUGR SCD6 is part of the central basis and therefore cannot be enhanced'. Requirement is to hide the three output fileds NAME_FIRST,NAME_LAST and DEPARTMENT in the program RSSCD100. I tried to create the Enhancement Implementation in FM: CHANGEDOCUMENT_DISPLAY,Subroutine INIT_FIELDCAT. Is this can be achieve through Enhancement Implementation or through Access Key or any other way. Please suggest.

Thanks,

Somi Reddy Satti

Edited by: Somi R Satti on Aug 26, 2009 7:33 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
828

Hi,

First step would be to ensure that changing the FM would not effect other programs that are using this FM i see that this FM has been used in some other standard programs too first make sure that change the FM would not effect other program. I would rather suggest you try to use enhancement options in the program rather than using in a shared object.

There are a lot of implicit enhancement options just check if any one of them suits your requirement.

Regards,

Himanshu

4 REPLIES 4
Read only

Former Member
0 Likes
828

Hi Somi,

U can do that both the ways i mean by getting access key and Enhancement implementation.

By getting access key u can change that program directly and u can comment that filed that u don't want.

But using enhancement Implementation you can add your own code at the start and the end of FORM init_fieldcat -


ENDFORM.

If u want to use this functionality u can delete the record for the fields u don't want .

Like this..

this statement u can add before init_fieldcat ENDFORM.

delete l_tab_fieldcat where l_tab_fieldcat-ref_fieldname = 'NAME'.

Hope u problem will solve.

Any queries revert.

Regards,

Sanket.

Read only

Former Member
0 Likes
829

Hi,

First step would be to ensure that changing the FM would not effect other programs that are using this FM i see that this FM has been used in some other standard programs too first make sure that change the FM would not effect other program. I would rather suggest you try to use enhancement options in the program rather than using in a shared object.

There are a lot of implicit enhancement options just check if any one of them suits your requirement.

Regards,

Himanshu

Read only

0 Likes
828

Click on 6th button(enhance source code) inside the Function module.

Then go to EDIT->ENHANCEMENTOPERATIONS->SHOWIMPLICITENHANCEMENTOPTIONS

it will show the dotted lines in orange color. keep the cursor on that right click select ENCHANCEMENT->CREATE.

you will be able to create the enhancement implementation.

Read only

Former Member
0 Likes
828

Hi all,

I changed FM: CHANGEDOCUMENT_DISPLAY with access Key. My problem is solved.

Thanks to all,

Somi Reddy Satti