Enhancement-point in function module CO_FW_AFFW_POST

Hi there,
In SAP Standard FM CO_FW_AFFW_POST
I need to change the following code:
prot_upd_is_active = yx.
  prot_del_is_active = yx.
* >>> To activate the writing of a protocol entry for <<<
* >>> deleted AFFW entries delete the following line  <<<
  CLEAR prot_del_is_active.      "<<< DELETE FOR ACTIVATING PROTOCOL
* >>> To activate the writing of a protocol entry for <<<
* >>> modified AFFW entries delete the following line <<<
  CLEAR prot_upd_is_active.      "<<< DELETE FOR ACTIVATING PROTOCOL
I need to set the values (prot_upd_is_active,prot_del_is_active ) back to their original value (u201Cyxu201D, before CLEAR statements happens)
I do not want to modify SAP standard code.
IMPLICIT enhancement is no good to me, as the Points it allows are in all the wrong placesu2026
Iu2019m thinking I can create EXPLICIT enhancement using u201CEnhancement-Pointu201D.
Can this only be done at an existing u201CEnhancement-Pointu201D statement in the program?
(or can I put it directly after the last CLEAR statement)
Can you have more than one ACTIVE enhancement per ENHANCEMENT-POINT? (forums suggest you can u2013 I know you can only have 1 active u201CEnhancement Sectionu201D )
Any help/suggestions appreciated!
Thanks,
David

Hi Roy,
thanks for the quick response - will give that a shot and see how it goes.Will award forum points .
I'm presuming that my new enhancement spot will not have any effect on the code that currently exists at that enhancement-point?
Thanks,
David.

Similar Messages

  • Enhancement points option: Function modules or BADI

    Hi, I am on ECC 6.0 and I need to validate and set some requirement in customer sales area data when user input the document output message in Documents tab strip screen 7003 of sapmf02d  in transaction XD01 or XD02.
      I found that there is function module EXIT_SAPMF02D_001 that I probably can use to create an implicit enhancement point to validate table T_KNVD or  I can use BADI customer_add_data.  Can someone suggest which way is better and why?  I am new to this so could someone show me screen by screen on how to create and implement BADI.
    I am confusing about should I create a ZBADI or using existing BADI customer_add_data.  If I use existing BADI how can I add my own method with my own code. 
    Thanks.

    Thanks. Could you explain to me how does the custom BADI get call to execute my code?  Say
    I have a customer document screen 7326 (Customer Master Subscreen SD Documents in program  SAPMF02D).  What I want is when user click save, I want to do some validation on the output message that they enter and issue some warning or error messages.
      I am on ECC 6.0 so I can create a BADI from Enhancement spot not from SE18.   SAP has a BADI called CUSTOMER_ADD_DATA with class CL_EX_CUSTOMER_ADD_DATA and interface IF_EX_CUSTOMER_ADD_DATA. 
    When I create a ZBADI_CUST, which interface class I put in the IF_EX_CUSTOMER_ADD_DATA
    or a ZIF_EX_XX so that I can create my own method?  How does the BADI get called when I am in transaction XD02 and click the save button?  Could you kindly show me step by step the procedure.
    Thanks.

  • Trigger point of function module EXIT_SAPMV45A_002

    Who can tell me the trigger point of function module EXIT_SAPMV45A_002?
    It is the one of user exits of T-CODE VA01.But it didn't be executed all the time during I executed the T-CODE: VA01 as well as finished the sales document.

    HI,
    Go to transaction CMOD.
    Enter project name and select the button Create
    we want to create a project to enahance trasnaction VA01 .
    - Create a project called ZVA01
    - Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document.
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '1000'.
    Activate the include program. Go back to CMOD and activate the project.
    Goto transaction VA01 and craete a salesorder.
    Note that Sold-to-party now automatically is "1000"
    Reward points pls.
    Regards,
    Govind.

  • Help in enhancing CRM logon function module

    Hello all,
    We have a situation where in the past we have allowed the creation of multiple Business Partners sharing the same e-mail address. We are about to close this loophole but we have this as a master data issue for some existing Customers/Business PArtners.
    Currently, our CRM Webshop only uses e-mail address and password for login verification (not using Business Partner/Customer number).
    We would like to enhance the webshop logon to include customer number as well ie. We want to determine which customer number associated with the ambiguous e-mail address is used. I have attempted to identify which function module is involved by inserting an endless WHILE loop into the following , but none of them seems to be called :
    CRM_ICSS_USER_LOGIN
    CRM_ISA_IUSER_LOGINr
    CRM_ISAI_BP_LOGIN_BPARTNER_GET
    CRM_ISA_BP_LOGIN_CHECK
    CRM_ISA_LOGIN_R3USER_CHECK
    CRM_ISA_IUSER_LOGIN
    CRM_ISA_LOGIN_CHECK
    CRM_ISAI_BP_LOGIN_BPARTNER_GET
    In addition I notice the function SUSR_CHECK_LOGON_DATA can not be enhanced as it's a Basis FM.
    I have attempted to look up documentation in SAP Help and not much joy. Can anyone tell me whether I'm barking up the wrong tree and this needs to be addressed by a kernel level function or recommend another place in the standard code ?
    Regards,
    Gabriel

    Hi Pooja,
    Please follow the below steps to create a function module :
    1. Goto Transaction code : SE37.
    2. Create a Function Group first.
       a) From the Menu Bar Choose Goto -> Function groups ->  Create group.
       b) Specify the function group name and a short text.
       c) Choose Save.
    When you create a new function group, the system automatically creates a main program containing two includes. Like any other programs and includes, you can display them in the Repository Browser.
    3. Now create a Function Module.
    4. Enter the function's name in the field Function module.
    5. Choose Create.
    6. In the Enter function group dialog box, enter the function group to which you want to assign the function module.
    7. In The Attributes Tab select Remote Enabled Module (since you want a RFC function module ).
    8. Give the Import and Export parameters and exceptions(if any).
    9. Write the functioning part of the fuction module in the Source code tab.
    10. Save and Activate your function Module.
    Now go ahead and use your function module where ever you want.
    Hope it helps.
    Reward if helpful.
    Regards
    Hemant Khemani

  • New and enhanced or changed function modules in Ecc6.0 compare to 4.6C

    Hi all Experts,
    Now i am at the middle phase of my upgrade project. How can i list module wise (like SD, FI, MM) function modules which modified or newly came to ecc 6.0 or deleted in ecc?
    I already visited the sap site and taken the delta functions. but its not having this function modules.
    where i can find and list?
    Kindly help please....
    points will awarded.
    Raghav

    Hi Sriram,
    It also helps. but my need is only what are the new/changed function modules in ECC6.0 when compared to 4.6C. How to list this?
    Kindly anyone also answer to me.
    Regards,
    Raghav

  • Does Access key required to implement explicit Enhancement point

    Hi All,
    Does Access key required to implement explicit Enhancement point in Function module or source code or etc.
    please clarify..
    thanks
    Bhanu

    Thanks for your reply Mr. Bala..
    I think i have not asked question correctly.. what i mean to ask is "to create the explicit enhancement point in the method(Source code), does ACCESS KEY required".
    Because when i tried to create enhancement point at IMPLICIT enhancement option system is allowing to create but when i tried to create at other than IMPLICIT enhancement option(in the mid of source code ) system is not allowed and displayed following message :
    "In this mode, you can create implementations only"
    waiting for your reply..
    Thanks
    Bhanu

  • Enhance standard function module in ECC 5.0 System

    Hi All,
    My requirement is to add the custome fields in the standard screen.there is no screen exit for this screen.
    The screen is calling by using the standard function module CALL_SCREEN_HU_DISPLAY
    Iam working on ECC 5.0 System, Is it possisble to enhance the standard function module and add custome fields.
    Please let me know if any suggestions.
    Thanks & Regards,
    Nagendra

    Hi Reddy,
    Thanks for the reply..
    Can u please give the steps how to create implicit enhancement in function modules.
    Thanks & Regards,
    Nagendra

  • Use of input parameter of function module

    Hi,
    we implemented an enhancement of a function module with a new inputparameter.
    Now we would like to do some follow-up to see if our developers are starting to use this new parameter.
    Is there a way to find this out? We can do a program scan on the name of this new parameter, but this does not seem to be enough.
    Thanks for the advice.
    Kris

    Hi Kris,
    as described, you can do a where-used-list and expand the nodes.
    This will not cover any dynamic calls.
    If you want to know the real use of the new parameter, then you can implement a LOG-POINT in the function module, like
    FUNCTION xyz.
    IF NEW_PARAMETER IS SUPPLIED.
      LOG-POINT ID YOUR_LOG_POINT FIELDS sy-uname sy-uzeit sy-cprog NEW_PARAMETER.
    ENDIF.
    You can create, activate and evaluate LOG-POINTS with transaction SAAB. It is extremely helpful for a lot of analyzing purposes as you can switch logging on and off for users and servers on the fly. If you know what you want to know you can leave the log-points in the program code and just deactivate logging.
    Regards,
    Clemens

  • Function modules calling Application server

    I am working on a SAP Migration for windows to unix. Right now I am patching up all custom programs which call the Application server using physical filenames and paths (platform specific) and replacing them with logical paths and names (platform independent). I need help from you guys to identify more function modules which uses file names that are platform specific. I have taken care of open dataset and FTP commands. Any help pointing out function modules is highly appreciated. Points will be rewarded. Thanks in advance.
    Rohit

    Hi ,
    Check the following function groups for file related operations.
    GRAP - Frontend related.
    SVRZ -  System related.
    SFTP   - FTP related.
    SFIL  - Logical file name related.
    As per my understanding, we are not using any function modules to read data from application server.
    Best of luck.
    Thanks
    Viswa
    (Assign points for helpful answers)

  • Need to change the way Function module exit is called.

    Dear Abaper,
                      I want to know wheather is it possible to change the way a function module exit is called.In transaction IK11 i am using enhancement imrc0001 this function module is called only when clicking the save button. My requirement will be met only when desired result is obtained while clicking ENTER button.Now the desired result are obtained by Clicking SAVE button. As a result only after saving i am able to view. Is there any way to change by clicking Enter button itself we can call the IMRC0001 enhancement. Please guide me.
    Thanks  and regards,
    Omprasath

    Hi,
    Each action in the screen have some FCODE(SY-UCOMM) in that exit u can add code when the particular button is clicked then run it or else no need to run.
    For Example SAVE has user command as SAV+(SY-UCOMM)
    u can restrict it as.
    IF SY-UCOMM = 'SAVE+'.
    Run ur code.
    Endif.

  • How to debug outbound Idoc function module for invoice

    I have to debug the outbound IDOC function module and UserExit for invoice message type INVOIC, process code SD09, function module is IDOC_OUTPUT_INVOIC and user exit for the function module LVEDF001.
    I tried putting the break point in function module IDOC_OUTPUT_INVOIC and recreate the IDOC using WE19 but it creates the idoc but does not stop at the break point. I have also tried generation of idoc through VF02. It again creates the idoc but does not stop at the function module.
    Please let me know if I am missing any thing and not doing it right.
    Appreciate your help.
    Rohit

    Hi Ali,
        I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
    What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
    Regards,
    Uday S.

  • Function module  ''ADDR_GET"

    Hello,
    I am working on a program which uses the function module 'ADDR_GET' which imports 'SADR' ( Company Data ).
    The structure SADR contains a field SPRAS (Lnaguage key) which is no where in the whole function module gets filled up.
    Just because SPRAS not getting filled up I am having further issues in the program which is using this function module.
    not sure why there isnt any code in ADDR_GET to fill SADR-SPRAS. Anyone had the same issue before or anyone with ideas please help..

    Hi Ramesh,
    Did you try passing manually the language key and test your scenario even if you dont get the spars
    field. When i check there are conversion routines for that but i dont think conversion  routine is an issue here but.
    I would suggest to put a break point in Function module and debug and see whats heppening.
    Thanks,
    Pradeep.

  • Enhancement point debugging...

    Hi Friends,
       I want to enhance the standard function module RV_INVOICE_DOCUMENT_ADD. I have saw some implementations are already made to the function module. I tried to see the spot in debugging but I am not able to see the codings in the enhancement. But the module is in active state and the enhancements are in active state. But I am not able to find them in debugging. How to see those codings in debugging....
      Please help me.
      Thanks

    Hi,
    In the FM between the lines ENHANCEMENT and ENDENHANCEMENT you can see the code
    For eg: in the FM 'RV_INVOICE_DOCUMENT_ADD' there is
    a line
    "ENHANCEMENT 208  OIC_SAPLV60A."
    The coding inside that enhancement is :
        CALL FUNCTION 'RV_INVOICE_REFRESH'
          EXPORTING
            with_posting = 'F'
          TABLES
            XOICQ7       = XOICQ7                      "SO6K009187 AWH
            XOICQ8       = XOICQ8                      "SO6K009187 AWH
            XOICQ9       = XOICQ9                      "SO6K009187 AWH
            XOIUQ9       = XOIUQ9                      "SO6K009187 AWH
            xkomfk       = lt_xkomfk
            xkomv        = xkomv
            xthead       = xthead
            xvbfs        = xvbfs
            xvbpa        = xvbpa
            xvbrk        = xvbrk
            xvbrp        = xvbrp
            xvbss        = xvbss.
    ie, the lines b/w enhancement and endenhancement is the coding in it.
    Regards,
    Soumya.

  • Issue with function module exits

    Hi,
    execute the T.Code MK01, enter the language 'English' and country 'de'. it's allowing to save the data. I want to raise one pop-up message as 'country and language are not the valid combination please choose right one'. I enhanced in the function module exit. it's raising the message , but it's executing the next screen. how to stop it's first screen and I have to choose the right combination even though  I raised message as Error, it's repeating same thing. Please give me any suggestion on this issue.
    Thanks & Regards,
    Seshu.

    I have executed CMOD T.Code,  we can find the 'include zxf05u01'  program . I wrote the code in this include program.  select statement is like this. check the code here.
    " select single land1
                           spras
                  into wa_t005
                 from t005
                where land1 = i_lfa1-land1
                and     spras = I_lfa1-spras.
    if sy-subrc <>0.
    country &1 and language &2 are not the valid combination.
    message e015(zall) with I_lfa1-land1 I_lfa1-spras.
    endif."

  • Create/Copy New Inbound Function Module

    I have created a new process code MBGM pointing to function module IDOC_INPUT_MBGMCR.
    Currently I do not have function module IDOC_INUT_MBGMCR.
    Can I easily copy from an existing function module to create my own new function module?

    Hi Janice,
    Open se37, enter the FM name, now on the toolbar , there is a double-square ICON, click on this..and rest is easy.
    In detail,
    First of all you must know to which function group(FG) your r copying the FM, that is in which FG your z-fm will be residing.
    now se37-> enter the FM (original one) -> click on the copy icon (a square on another square, third from left)->now you will have a pop up-> "from" input box(leave it as it is)
    and "to" input box : here you write your z FM name,
    in Function group box: you enter the FG name where your z-FM should belong.
    click on copy..thats it.
    cheers,
    Prashanth
    P.S : Please mark helpful answers

Maybe you are looking for

  • Changing default template layout from pdf to excel

    Hi, I've created an .rtf layout template. When I run the concurrent program, the layout defaults to pdf format. Is there anyway to change this to excel so that the user doesn't have to go into options each time and select excel? Thank you.

  • [SOLVED] Installing Catalyst drivers from AUR

    Hi everyone! Got me an new laptop and have an Radeon HD 3200 in it and hoped to get it working but I dont managed to get it to work so I hoped someone here could help me Ive tested the xf86-video-ati                      xf86-video-radeonhd          

  • MATSHITA DVD-R drive problems in my Black Macbook!!!

    Hi all I have been reading about alot of users having problems with various drives and I want to make sure I have done everything before I take it to get repaired. Basically when I insert a DVD, i get a noise which sound like it reading the disk, the

  • Tool Bar Buttons

    Hi, the default tool bar in Robohelp isn't what I want and I would like to remove some buttons and change the ordering of their display. I can't figure out how to do this. Can anyone tell me how to do this? Thanks. Becky.

  • TCP/IP RFC destination problem

    Hi All, During the RFC destination creation, im using TCP/IP connections.. So please tell me what should be filled for the following fields: Program              Target Host          Save as          Hostname  Ipaddress Please let me knw what should