Close Sidebar close
Sapignite
  • SAP
  • Coding Challenges
  • Download
  • SAP Ignite Products

Subscribe & Follow

All product names on this web site are trademarks of the companies that own them. Sapignite.com is not affiliated with SAP AG in any way. SAP AG is the registered trademark holder of SAP, SAP R/3, mySAP, ABAP, xApps, NetWeaver, and other proprietary terms. The technical information on this site is verified to the greatest extent possible, however, any information found on this site is used at the site visitor's own risk. Sapignite.com reserves the right to correct any errors or omissions in any portion of this site at any time without obligation.

  • SAP
  • Coding Challenges
  • Download
  • SAP Ignite Products
Sapignite
Sapignite
    ABAP Enhancement SAP

    Tutorial on Implicit Enhancement in SAP ABAP

    August 17, 2017

    Introduction: Implicit enhancement is an enhancement option which is provided in new enhancement framework.

    Requirement is to remove Reconstruct tab from WPDTC Transaction.:



    There is something called transaction variant and screen variant .to solve this problem. But it has its own disadvantages like You can’t submit that Report using SUBMIT statement as it will not consider the changes done on screen using the variant.

    Step 1:

    Go to system status of transaction WPDTC and check the program name it is PDTC_REPORT.

    Here you can see many Explicit enhancement (Source code plug-ins options).


    To hide a screen element code can be done in AT SELECTION-SCREEN OUTPUT event.

    There is a form named pdtc_screen_output.


    Step 2:

    To see the Explicit enhancement option, click on the spiral symbol on the top.As we don’t have any explicit enhancement options the only possibility left is implicit enhancement.

    To see the implicit Enhancement, Go to menu path:

    EDIT à Enhancement operations à Show implicit Enhancement Points.

    As you know implicit enhancement options are provided at beginning and end of every method, function module and in subroutine.


    Select the Enhancement mode as CODE.


    The next pop up will show u the available Enhancement done in this Report, You can merge your enhancement in one of the available Enhancement or you can create your own. To create a new one click on the create icon.

    Step 3:

    Provide the Enhancement Implementation name and short text to it.

    (Note: No need for composite enhancement implementation).

    Click on the continue. It will again take you to the Select Enhancement popup. Select your created enhancement and continue.

    Step 4:

    Now you can see some space in standard code to put your own code.

    As per the requirement we need to de-activate the last tab.

    Go to layout of the screen 1000, and find the name of the third tab. To make your work easy the third tab name is : TABSTR_4.

    Here is the simple code which can loop at the screen and deactivate the third tab.

    loop at screen.
    if screen-name = ‘TABSTR_4’.
    screen-active = 0.
    MODIFY SCREEN.
    endif.
    ENDLOOP.

    Put the above code inside the Enhancement and activate it.

    Step 5:

    Go to Transaction WPDTC and check that the third tab is invisible or not. ( if not don’t look puzzled just check whether you have followed the steps properly or not J ).


    how to create implicit enhancement in sapImplicit enhancement examplesap abap enhancement
    raju borda
    Raju is working with Technical areas like SAP ABAP, PI , Web design, JAVA , PBT, robotics as architect also functional areas like SCM , QM, MM , insurance . When he is not Doing above geeky things you might find him travelling , Cooking , dancing or drinking with friends :-) .
    • Make your adobeforms more interactive with Formcalc

    • Webdynpro for ABAP integration with google maps !

    You Might Also Like

    In LOVE with SAP’s LUW

    July 17, 2017

    Most frequently asked interview DIFFERENCES

    August 8, 2017

    Pie Charts in Adobe Flex using Webdynpro for ABAP

    July 6, 2017

    No Comments

    Leave a Reply Cancel Reply

Sign up for some exciting content

Recent Posts

  • How to prepare for SAP IBP Certification
  • What is SAP Leonardo ?
  • RoadMap UI Tutorial webdynpro for ABAP
  • Offline Adobe forms in WebDynPro for ABAP
  • MVC Architecture for Webdynpro for ABAP

Categories

  • ABAP
  • Android
  • Coding Challenges
  • Enhancement
  • featured
  • Interviews
  • Learning Hub
  • PI ( Process integration )
  • SAP
  • SAP HANA
  • Uncategorized
  • Webdynpro for ABAP
  • Webdynpro For ABAP