Query on Implicit Enhancement

Hello experts,
I have a query related to enhancing a function module. I am doing phase confirmation of process orders using the BAPI 'BAPI_PROCORDCONF_CREATE_TT' in a module pool program(Z program). I have added few z fields to AFRU. Now i need to enhance the bapi 'BAPI_PROCORDCONF_CREATE_TT' so that the z fields are updated in AFRU. In this bapi i see a function module MAP2I_PI_TIMETICKET_TO_AFRUD in which the z fields can be moved to afrud using an implicit enhancement. But the problem is that the function module MAP2I_PI_TIMETICKET_TO_AFRUD is auto generated and there is a comment in the fm saying 'Dont Change it Manually!!'. Now i need to know how is this function module generated or is there any other way to do phase confirmation of process orders. Pls Help.
Regards,
Ramanan R.S.

Hi Ramanan R.S.,
Function modules MAP2I* and MAP2E* are generated via BDBS transaction.
As your function module is named MAP2I_PI_TIMETICKET_TO_AFRUD, it means that there's a transfer from external to internal (because of MAP2I), and from PI_TIMETICKET structure to AFRUD structure.
But I don't recommend that you work with this one. Create your own MAP2I function module. From BAPIRET2 to BAPIRETURN for instance if you're lazy like me. Store it in your own Z function group, local package.
Before regenerating, you have to look at what was the initial mapping, as it is not stored in a database table, only in the source code. Moreover, it's possible that there were some manual changes before, so they have to be applied manually, so that means a modification of standard if you had worked on a standard one. Copying the MAP2I function module to a Z one before deleting is a very good idea!
- Create your implicit enhancement. Test it.
- In BDBS, you enter transfer from external to internal, plus these 2 names in BDBS, click Generate button.
- It says "already exists", so you have to click the Delete button
- There could be a popup "is still used", click Delete to confirm
- It proposes a default mapping between fields, that can be different from what was previously done.
- That will regenerate the function module (you can make sure by looking at its timestamp).
- Test it again, you'll see that your implicit enhancement is still there.
I admit it doesn't test the situation of a true upgrade, and I don't know any documentation that confirms that the deletion of generated repository object doesn't impact its implicit enhancement. Feedbacks welcome...
BR
Sandra

Similar Messages

  • Implicit enhancement vs explicit enhancement

    Hi,
    Can any body tell me the difference between implicit enhancement and explicit enhancement?
    My mail ID is [email protected]
    Regards,
    Jayapal

    customer enhancements ECC
    http://sap.ittoolbox.com/groups/strategy-planning/sap-projectmanagement/r3-47-vs-mysapsap-enterprise-883745#
    http://www.absoft.co.uk/absoft/web/site/AbsoftSAPServices/Upgrade.asp
    http://www.infosys.com/sap/Whitepaper_Upgrade_Dilemma_SAP_R3_Enterprise_or_mySAP_ERP.pdf
    SAP Upgrade questions - Please give feedback
    http://service.sap.com/erp
    http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)
    http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    For Functionality Differences pls refer to the below site -
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
    1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
    2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
    BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
    Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
    Please go through the following link which will help you understand the exits in a much better way:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
    http://sap.niraj.tripod.com/id21.html
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/ab038.htm
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    Rewards if useful...................
    Minal

  • Difference between implicit enhancement and explicit enhancement

    What is the difference between implicit enhancement and explicit enhancement .

    Hi Peters,
    Implicit enhancement option
    Throughout the ABAP system, enhancement options are automatically available at certain pre-defined places. Some of the implicit options are:
    u2022 At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
    u2022 At the beginning and end of all FORM subroutines
    u2022 At the end of all Function Modules
    u2022 At the end of all visibility areas (public, protected and private) of local class
    To view all the implicit options available in a source code, choose u2018Edit -> Enhancement Operations -> Show Implicit Enhancement Optionsu2019 from the editor.
    Befor that you click on the spiral icon button in the application toolbar
    Explicit enhancement option
    The Implicit enhancement options are provided at specific source code places explicitly by SAP (Note that these enhancement definitions can also be created by partners and customers in their code).
    There are two types of Explicit Enhancement options available. One which can be provided at a specific place - called Enhancement Point, and another which can be used to replace a set of statements u2013 called Enhancement Section. For this, we now have two new ABAP statements, viz.
    u2022 ENHANCEMENT-POINT
    u2022 ENHANCEMENT-SECTION
    When the Enhancement-Section is implemented, only the implementation gets executed and the original code doesnu2019t get executed. This is a new technique, which didnu2019t exist previously in any of the old ways of enhancing, to exclude any standard SAP code from execution. Because of this, there can be only one active implementation of an Enhancement-Section. On the other hand, there can be multiple active implementations of an Enhancement-Point, in which case all the implementations will be executed with no guarantee in the order of execution.
    For more information check the following link
    [http://help.sap.com/saphelp_nw70/helpdata/en/94/9cdc40132a8531e10000000a1550b0/frameset.htm]
    Thanks,
    Surya

  • Implicit enhancement and explicit enhancement

    Hi Experts,
    I have implemented one requirement using implicit enhancement but i want to check whethere there is any explicit nhancement or not. Please let me know if any one of you have idea on that in VF02 transaction to do changes in pricing details.
    Regards,
    Dileep.

    Hi,
    For VF02 Programe Name SAPMV60A goto this programe in this we have somany explisit Enhanacement spots, just click Binacular Icon(Find button) and paste Enhancement Spot it will disply list of explisit enhancement spots, select your spot and just right click and create spot and do changes according to your requirement.
    Regards,
    Sanjay Gogikar.

  • What is Implicit Enhancement and what is explicit enhancement.

    Hi,
    I am new to Enhancements.
    What is implicit enhancement and what is explicit enhancement.
    where exactly we have to create those.
    Thanks and regards,
    swami
    Moderator message - Please search before asking - post locked
    Edited by: Rob Burbank on Oct 26, 2009 9:43 AM

    Hi Swaminath ,
    Go through the following Blogs  on enhancement Frame work. It will help u in understanding This concept in detail.
    /people/thomas.weiss/blog/2007/12/12/the-three-use-cases-of-the-enhancement-and-switch-framework--part-1
    /people/thomas.weiss/blog/2008/01/07/the-three-use-cases-of-the-enhancement-and-switch-framework--part-2
    /people/thomas.weiss/blog/2008/01/14/the-three-use-cases-of-the-enhancement-and-switch-framework--part-3
    /people/thomas.weiss/blog/2008/01/23/the-three-use-cases-of-the-enhancement-and-switch-framework--part-4-the-many-ways-to-enhance-a-sap-application-with-the-new-framework
    /people/thomas.weiss/blog/2008/02/04/the-three-use-cases-of-the-enhancement-and-switch-framework--part-5-the-basics-about-switching
    /people/thomas.weiss/blog/2008/02/29/second-try-the-three-use-cases-of-the-enhancement-and-switch-framework--part-6-the-re-integration-of-the-sap-industry-solutions-into-the-erp-core
    /people/thomas.weiss/blog/2008/03/11/the-three-use-cases-of-the-enhancement-and-switch-framework-part-7--the-enhancement-package-strategy-of-sap-erp-60
    /people/thomas.weiss/blog/2009/01/15/how-to-get-the-most-from-the-enhancement-and-switch-framework-as-a-customer-or-partner--tips-from-the-experts
    Regards,
    Eswar

  • Implicit enhancement to a standard function module.

    Hi everybody.
    I used an Implicit Enhancement to a Standard function module Customized_Message, at the starting of function module.
    Code:
    ENHANCEMENT 1  ZFK01_ENHANCEMENT4.    "active version
    If sy-tcode = 'FK01' and sy-CPROG = 'SAPMF02K' AND I_MSGNR = '230' AND i_arbgb = 'F2' AND I_DTYPE = 'I'.
      EXIT.
    ENDIF.
    ENDENHANCEMENT.
    The above is working fine, to the condition what i had given above code.
    But my question is, can i use a implicit enchancement to a Standard function module(Customized_message).

    Yes, but you should also be aware that 'F2' is a configurable message class in the IMG.  You should attempt to solve your issue in that manner first.

  • Error in creating implicit enhancement

    Hi Experts,
    I want to create an implicit enhancement in a standard program. I went to Edit -> show implicit enhancements
    and right clicked at the yellow lines and clicked create .
    it asked for the enhancement name. after giving name and pressed ok , it is showing error 'Error in creating enhancement'
    why is this error coming?
    Thanks in advance

    hi vijaya
    well let me take an example
    suppose u r requiremwnt is to disable an field in an XYZ transaction
    And let the Enhancemant for this
    XYZ0001P.
    now when u go to CMOD and create
    an project as
    Z_xyz
    and when u go to enhancement Assingment
    here u give the enhance ment number which in our case is
    XYZ0001P
    now if u save it . It will not get saved and show and error message which says
    this enhancemanet is alreay is being used
    in another project
    this is because u can one enhancement can only be used in one project only .
    Hope it have cleared ur problem .
    Cheers
    Snehi

  • While Creating Implicit enhancement system is giving dump

    Hello All,
    I am enhanceing standard code with the help of implicit enhancement.. I have done successfully in one system but when i try to do it in other system it is giving me short dump.. And the dump also didn't give any information..
    I am working on ECC 6.0 and i assume we can use implicit enhancement points...
    Kindly let me know why i am getting dump..
    This is what dump says..
    The exception 'CX_SY_MESSAGE_ILLEGAL_TEXT' was raised, but it was not caught
    anywhere along
    the call hierarchy.
    What happened?
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_MESSAGE_HELPER=============CP' has to be
    terminated.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_MESSAGE_ILLEGAL_TEXT', was not
    caught in
    procedure "ACTION" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    The text parameter in MESSAGE  cannot be an initial reference
    METHOD set_msg_vars_for_if_t100_msg.
      IF text IS INITIAL.
        RAISE EXCEPTION TYPE cx_sy_message_illegal_text
            EXPORTING textid = cx_sy_message_illegal_text=>initial_ref.
      ENDIF.
    Thanks all for your help.
    Regards,
    Raj

    Hi,
    This is for SE16N transaction code.. Even i tried in SE38 for a custom program but still giving dump..
    So this is not an issue with particular transaction but somehow getting dump ..I doono if there is any OSS notes to be implemented...
    Regards,
    Raj

  • Implicit enhancement for report painter reports(For GRR3 and CJE3)

    Hi,
    We have a client requirement to add 5 fields (In selection screen) to report painter reports ( Reports of CJE3 and GRR3 ).We created Z reports as a copy of standard reports, added required 5 fields by implementing SAP notes and other settings.We have also done implicit enhancement for all these reports to make change in the behaviour of new fields.This is working fine in the development client but the problem is once we transport this to other client new reports get generated( With new name ) and implicit enhancement will be lost.
    For eg:in development client for CJE1/CJE2 report the program name will be "GPAVPSATWFP4NN0YRDBIQBHI8MQ"
    but when we transport it to other client new program "GP8O1UCNZTJYY5LTO8GN0UW2GQB" is generated in which implicit enhancements are not found.
    Can you please suggest how to handle implicit enhancement in such cases? Or what is the correct way to transport it.
    Thanks in advance
    Regards,
    Shekhar

    Hi,
    Thanks for the quick reply..
    I have already done implicit enhancement as you said ,my problem is to transport it to another client.
    I have implemented implicit enhancement for one report lets say it as "ABC", and i transport it to another client with all the enhancement. But in another client new program "XYZ" is getting generated for same report( dynamic programs ), so my implicit enhancement is present but its applicable to "ABC" program but not for "XYZ".
    Can you please suggest how can i handle this??
    thanks in advance,
    Greeshma.
    Edited by: Accgreeshma on Jan 23, 2012 3:04 PM

  • Implicit enhancement for report painter (CJE2 & GRR3 reports)

    Hi,
    We have a client requirement to add 5 fields (In selection screen) to report painter reports ( Reports of CJE3 and GRR3 ).We created Z reports as a copy of standard reports, added required 5 fields by implementing SAP notes and other settings.We have also done implicit enhancement for all these reports to make change in the behaviour of new fields.This is working fine in the development client but the problem is once we transport this to other client new reports get generated( With new name ) and implicit enhancement will be lost.
    For eg:in development client for CJE1/CJE2 report the program name will be "GPAVPSATWFP4NN0YRDBIQBHI8MQ"
    but when we transport it to other client new program "GP8O1UCNZTJYY5LTO8GN0UW2GQB" is generated in which implicit enhancements are not found.
    Can you please suggest how to handle implicit enhancement in such cases? Or what is the correct way to transport it.
    Thanks in advance
    Greeshma.

    Hi,
    Thanks for the quick reply..
    I have already done implicit enhancement as you said ,my problem is to transport it to another client.
    I have implemented implicit enhancement for one report lets say it as "ABC", and i transport it to another client with all the enhancement. But in another client new program "XYZ" is getting generated for same report( dynamic programs ), so my implicit enhancement is present but its applicable to "ABC" program but not for "XYZ".
    Can you please suggest how can i handle this??
    thanks in advance,
    Greeshma.
    Edited by: Accgreeshma on Jan 23, 2012 3:04 PM

  • "Statement not accessible" error in Implicit enhancement - SAPMF05A

    Hi,
      I am trying to implement Implicit Enhancement in program SAPMF05A, in module transaktions_init. When I click on Edit -> Enhancement Option -> Show implicit enhancement, it displays implicit enhancement at end of module ( after ENDMODULE) statement. When I click " Enhancement" icon, write code and it gives error statement not accessible.
    Please suggest.
    Regards,
    Priya

    You will have to put the code in a module and then call that module.
    Rob

  • Statement not accessible error in Implicit Enhancement of  SAPMPE03

    ENDMODULE.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Include MPMKMO00, End                                                                                S
    *$*$-Start: (1)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1 ZENH_PE03.
    MESSAGE 'hi' TYPE 'I'.
    ENDENHANCEMENT.
    *$*$-End:   (1)
    As shown above i added a line MESSAGE 'Hi' Type 'I' in the implicit enhancement portion. But it gives me error "Statement not accessible"
    Thanks

    Hi Amber,
    just in case you have to do something similar again: ABAP Code must always be between MODULE ... ENDMODULE or FORM ... ENDFORM. In the example in this post the statement
    MESSAGE 'hi' TYPE 'I'.
    is just after an ENDMODULE. statement and so this code can never be reached (or is not accessible ). The implicit enhancement option outside the existing modularization units is used to define completely new MODULEs or FORMs.
    Hope this helps!
    Regards
    Oliver

  • Adding a field to a structure in an implicit enhancement option

    I'm just trying to append a field to this internal table:
    DATA: BEGIN OF gt_outtab OCCURS 0.
    DATA: knumv         LIKE ekbe-knumv.
    DATA: srvpos        LIKE ekbe-srvpos.
    DATA: ktext1        LIKE ml_esll-ktext1.
    INCLUDE             STRUCTURE mmhipo_mainlist.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(4 ) Estr. GT_OUTTAB, Final                                                                                S
    DATA: END OF gt_outtab.
    DATA: gs_outtab              LIKE LINE OF gt_outtab.
    The point is that I don't know how to use the editor to write the new field on the implicit enhancement.
    Thanks guys!!

    Hi,
    After going to the particular program which you want to enhance, just click on enhancement button. (spiral one) and then take the menu path EDIT -> enhancements-> show implicit enhancements.
    Now you can see the available implicit enhancements highlighted with dark orange color.
    Right click on the one you want and select the enhancement -> create.
    Enter the implementation name and the description which you want and click on ok button.
    Now you can see the inserted implementation in your standard program.
    And in between the inserted lines you write your code and activate it.
    Reward points if you find it helpful.
    Regards,
    Prasanna

  • EXPORT IMPORT not working in implicit enhancements

    Hi,
    I need to export from an implicit enhancement spot a deep structure data to another implicit enhancement spot.
    export is_replord_conf = is_replord_conf to memory id 'REPLE' .
    import is_replord_conf = is_replord_conf from memory id 'REPLE' .
    For some reason i am not getting values in second implicit enhancement point.
    I will be thankful if you can guide.
    Thanks.

    Hi sanj_dell,
    why did you give me credit, I didn't give any solution! You can change it. Only Suhas gave you a clue to find the solution by yourself.
    By the way, was your issue related to implicit enhancements? (I know it's not, but I'd like to hear it from you)
    Thanks
    Sandra

  • How can I Delete the implicit Enhancements Implementations

    Hi ,
    I un necessarly Created two implicit Enhancements Implementations in the Function Module "RS_TABLE_LIST_CREATE".But I can't see them in the source code .But the are reflecting under the Trasnport number .Can Some one give me idea how Can I delete these implicit Enhancements Implementations?
    Thnaks,
    Ramya.

    Dear ramya,
    Yes you can delete the implicit Enhancements Implementations
    if you know the implementation names then follow the steps
    se80-give implementation nameunder enhancement implementation -press enter--then your implementation will appear right click on that and press delete .
    Cheers
    fareed

Maybe you are looking for

  • IPod Nano 6th gen. won't sync to iTunes 11 on Windows 8?

    Hi, I recently acquired a new Windows 8 laptop and after installing iTunes 11 I decided to sync my iPod Nano 6th gen. My iPod was last synced to iTunes 10.6 on Windows 7. When I synced the iPod to the new laptop I was receiving the problem of the WDF

  • "Premiere PRo has encountered an error" What on earth is this.

    I made an edit and it gave me this and forced me to shut down. I restarted and tried again same thing. What is this? I updated the mac a couple days ago. WHAT ON EARTH IS THIS. I need to get back to work for a deadline/ Please Help. Thanks in advance

  • Cannot open links/hyperlinks in my Ipad Air email. This is a new problem! How do I fix back to norm as it was new?

    Just recently I tried to click on a link in my email on my Ipad Air, click on menu headings did not respond? This is a new problem! Stores send me emails on sales with menu headings to access "Clearances", "Men's Wares", etc. I click on them to see t

  • Trying to see the whole picture

    On my movies and home movies, I am trying to see the whole picture on my plasma TV. The setting on the tv will not let me get rid of the black parts. And I don't think the settings on the apple tv does not let me get rid of it either. Can somebody he

  • EL function invocation

    Hello, I'm attempting to call a function in a top-level JSP file. I get the error, "Method getMsg for function func1 not found in class myELFuncClass." EL is enabled by default. Could anyone please suggest what may be the problem?