‎2009 Aug 26 5:19 AM
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
‎2009 Aug 26 7:05 AM
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
‎2009 Aug 26 6:59 AM
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.
‎2009 Aug 26 7:05 AM
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
‎2009 Aug 26 12:16 PM
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.
‎2009 Sep 01 7:56 AM
Hi all,
I changed FM: CHANGEDOCUMENT_DISPLAY with access Key. My problem is solved.
Thanks to all,
Somi Reddy Satti