Custom enhancement spot not getting called.

Hello guros,
We are currently upgrading to ECC6 and I started playing a little bit with enhancement spots.
I've tried inserting my own enhancement spot using
ENHANCEMENT-SPOT ELI SPOTS ZELI_SPOT.
I've created the ZELI_SPOT badi definition and created a sample interface.
Then I implemenet an enhancement spot and implemented the BADI interface (Which by the way should have all its methods static right?).
Despite all objects being active, and the explicit "IMPLEMENTATION IS CALLED" on the badi implementation, my implementation is not getting called, Is there something im missing here?
I would also like to understand how in such a case do i actually transfer parameters to such a method.
Thanks a lot in advance,
Eli.

Hi,
Can you elaborate on where you have created the enhancement spot. If the enhancement spot you have created within some IF condition in the standard code, then it will get triggered only if the condition is true.
Regards,
Hari

Similar Messages

  • Enhancement spot not getting triggered

    Hello Experts,
    I have activated an explicit enhancement spot by right clicking on 'ENHANCEMENT-SECTION->Create'. (ENHANCEMENT-SECTION     BELEG_SICHERN_23 SPOTS ES_SAPMV45A. line in MV45AF0B_BELEG_SICHERN include).
    I have then written my code in the placeholder given by enhancement spot. Then I have activated enhancement (Ctrl + F3) and then activated the code.
    When I debug, the enhancement is not getting called.
    Do I need to register the enhancement somewhere so that it will get triggered.
    Regards,
    Ashish

    Hi Ashish,
    Try writing breakpoint statement for your user id, and execute with your user id.
    And make sure  that you had not put the break point inside some conditions, because of which control is  not coming there.
    So try putting break point,at the beginning.
    Let me know if you are still unable to solve it.
    Thanks,
    Nisha Vengal.

  • Method in custom controller not getting called from view

    Hi experts,
    I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
    For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
    Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
    I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
    thanks and regards,
    dilanke

    Deal all
    This is the code. basically im calling it from the plug on the detail screen.
    This is the method that doesnt get called anymore.
    wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
    The reportSuccess() works fine.
    regards,
    Dilanke
      public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onPlugFromListView(ServerEvent)
         try
             String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
              wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
              wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
              wdComponentAPI.getMessageManager().reportSuccess(po);
              String fileName = "F://XML_Downloads//" + po + ".xml";
              IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
              wdContext.currentContextElement().setXml_Resource(resource);
         catch(Exception e)
              e.printStackTrace();     
        //@@end

  • Getter & Setter Method not getting called for a field enhanced through AET

    Hello,
    I am new to SAP CRM 7.0 and working on a requirement.
    A Z-field was added by our functional guy in CRM 7.0 WebGui through AET in the 'Create Opportunity' transaction (Header data).
    Now the requirement is, as soon as the opportunity is created through the WebGui, I should post a document in R/3 and paste that document number back to the enhanced Z-field in opportunity.
    Work done by me:
    I pressed F2 on the enhanced Z-field in the WebGui screen and took the details of view, component name etc. After this I went to normal SAP CRM system and open tcode "BSP_WD_CMPWB", located the corresponding view "BT111H_OPPT/Details" and right clicked & enhanced the same.
    Then I opened the structure of this view, expanded context node, located context "BTOPPORTH" and inside this, located my Z-attribute. Now right clicked on the Z-attribute & selected the option "Generate SETTER & GETTER Methods" and these were generated successfully.
    Problem:
    The problem is even after putting external break points in these methods, these methods are not getting called while creating, modifying & displaying the Opportunity in WebGui.
    I hope that for the requirements that I have, I have to do the coding in "Getter & Setter" methods. But since these are not getting called, I am unable to proceed.
    Please help/suggest how to achieve this.
    Thanks in anticipation.
    Best Regards,
    Rahul Malani

    Hi,
    If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
    There should be some note for the issue you faced.
    please refer:
    Help Needed immediately - AET getter setter methods not getting triggered
    Regards,
    BJ

  • BAdi not getting called after applying CRM7.0 ehp1

    Hi experts,
    We applied EHP1 to our Sandbox system and now Badi: CRM_MKTPL_OL_OBJ is randomly getting called.
    I went to se18 enter the enhancement spot and once i enter the Badi Implementation I can see under
    Runtime Behavior that the implementation is active. However the description in Effect in Current Client says:Execution depends on runtime filter values
    While in our other client in which we havent applied EHP1 the Effect in Current client: Implementation is called
    I know that is just the description but I am not sure if somthing has changed with EHP1
    For both clients the implementation is active, but in the client in which we applied EHP1 the Badi is not getting called where expected.
    Does anyone please have any suggestions.
    your help is appreciated.
    thanks,
    Jeannet.

    Hi Jeannet,
    probably have a look at the filter values in the BAdI implementation as well. It says it has got filters. Maybe the BAdI is only activated for Campaigns but not Elements?
    If that does not bring the conclusion do a where used list on the interface for the BAdI. It will bring you to the place where it is called in ABAP and you see the direct cause why it sometimes is called or not.
    I implemented the mentioned BAdI on CRM 6 as well as 7 and 7.1 had no problems I can remember so far.
    cheers Carsten

  • Mediator 11.1.1.5 faults Java Handler not getting called fault-policies

    Hi,
    I have a Oracle SOA 11.1.1.5 Mediator and am handling the faults using fault policies but somehow custom java handler is not invoked when an error occurs and this is what I see in the log but somehow my custom java handler class is not getting called.
    INFO: FaultPoliciesParser.parsePolicies ------->Begin Parsing of policy file
    <Apr 16, 2012 10:30:17 PM EDT> <Error> <oracle.soa.mediator.common.listener> <BE
    A-000000> <Enququeing to Error hospital successful...>Here is the fault-policies.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
      <faultPolicy version="2.0.1" id="medFaultHandling"
                   xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:xs="http://www.w3.org/2001/XMLSchema"
                   xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Conditions>
          <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
                     name="bpelx:remoteFault">
            <condition>
              <action ref="java-fault-handler"/>
            </condition>
          </faultName>
          <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
                     name="bpelx:bindingFault">
            <condition>
              <action ref="java-fault-handler"/>
            </condition>
          </faultName>
          <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
                     name="bpelx:runtimeFault">
            <condition>
              <action ref="java-fault-handler"/>
            </condition>
          </faultName>
        </Conditions>
        <Actions>
          <Action id="java-fault-handler">
            <javaAction className="com.mediator.faults.CustomMediatorFaultHandler"
                        defaultAction="ora-human-intervention" propertySet="myMediatorProps">
              <returnValue value="OK" ref="ora-human-intervention"/>
            </javaAction>
          </Action>
          <Action id="ora-human-intervention">
            <humanIntervention/>
          </Action>
          <Action id="ora-rethrow-fault">
            <rethrowFault/>
          </Action>
          <Action id="ora-retry">
            <retry>
              <retryCount>3</retryCount>
              <retryInterval>15</retryInterval>
              <exponentialBackoff/>
              <retryFailureAction ref="java-fault-handler"/>
            </retry>
          </Action>
        </Actions>
        <Properties>
          <propertySet name="myMediatorProps">
            <property name="logFileName">mediator-faults.log</property>
            <property name="logFileDir">C:/software</property>
          </propertySet>
        </Properties>
      </faultPolicy>
    </faultPolicies>Here is my the fault-bindings.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="2.0.1"
                         xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <composite faultPolicy="medFaultHandling"/>
    </faultPolicyBindings>And here is the snippet of composite.xml where I put the below properties:
    <component name="Router">
        <implementation.mediator src="Router.mplan"/>
        <property name="oracle.composite.faultPolicyFile">fault-policies.xml></property>
        <property name="oracle.composite.faultBindingFile">fault-bindings.xml></property>
      </component>But when the exception occurs I don't see my custom Java Handler being invoked. As I created a jar file and placed it in
    *<Middleware_Home>\Oracle_SOA1\soa\modules\oracle.soa.mediator_11.1.1*
    and updated oracle.soa.mediator.jar manifest by putting the path of the jar file. Restarted the servers but still when an exception occurs in Mediator custom java handler is not invoked. Any ideas what I am missing or are there any special steps
    Thanks

    There is no point in retry on binding fault, rather you can raise it as exception and catch it in sepcific catch block or catch all will handle it.
    Ideally this particular instance will be faulted and if required you can customize to send a mail with fault string to developer or support person or dba
    This type of fault need human intervension to fix this code or it could be data issue.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Vijay

  • CRM_ISA_PRICING_ITMDATA_GET is not getting called

    Hi All,
    The FM - CRM_ISA_PRICING_ITMDATA_GET (and BADI CRM_ISA_HDR_PRICING - NEW_ITEM_VALUES_READ) to pass additional pricing fields is not getting called during  product catalog pricing . We added the below change to xcm->customer->modification->backendobject-config.xml and still is not working.
    <configs>
    <xi:include href="$/modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
    <config isa:extends="../config[@id='crmdefault']">
    <businessObject type="PriceCalc">
        <params>
               <param name="doItemCalls" value="true"/>
          </params>
      </businessObject>  
    </config>
    </configs>
    Even it is not working if we change the   <param name="doItemCalls" value="true"/> in  xcm->sap->modification->backendobject-config.xml .
    Any suggestions on how this FM (and BADI) will be called during product catalog pricing?
    Thanks,
    Rajinikanth G

    Hi,
    There was an authorization issue which configured in XCM and it was called after addaing proper authorizations.
    Thanks,
    Rajinikanth G

  • FD33 - Receivable Field in Customer master is not getting updated

    FD33 - Receivable Field in Customer master is not getting updated for the FI documents posted in the customer account. I need to know is there any setting either in FI or in SD, which control whether the FI document is relevant to credit check?
    In SD, we are having the item category but i am not getting how to control for FI documents? How can i make them credit relevant item. Also for special item, we are controlling the same through Transaction code : OBXY - by special GL indicators but what about the normal/general item?
    How can I control the general FI documents having various FI documents type as relevant to credit check?

    Apart from the above,please also check the below:
    FD33 - Receivable Field in Customer master is not getting updated for the FI documents posted in the customer account. I need to know is there any setting either in FI or in SD, which control whether the FI document is relevant to credit check?
    As per me there is no specific control to active the credit active field in FI values unlike for updating the sales values in FD32 we activate credit active for the item cat(VOV7) which will ensure the sales values to update (open order, open delivery and open invoices) in to credit management.
    For FI values to update i think this is inbuilt in the program only.( example update group 000012,15,18 etc).
    Any way coming into query not updating the receivables, please check the below points once again.
    1. Check the whether invoice has accounting document generated or not, make sure that it is generated then only system update the receivables.
    2. Even if the above all points are checked including above all posts,then also still the same issue repeating  then try to run the program RVKRED77, before this first run RVKRED88 and compare this values with FD32.
    thanks,
    Srinu.

  • Server side function not get called after dispatching cairngorm event second time on same page

    Hi All,
    I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
    and  clicking of any button I do the respected functionality. For ex:
    I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
    I displayed a message that the record is added & update the data source.
    After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
    event not call the server side function  -  after debugging I find out that cairngorm event  reach to the corresponding excutecommand function & called that function  but it is not calling my server side function & I also din't get any error message .
    I dont know why  the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second  time.
    Could any of  you please tell me why the cairngorm event not calling the server side function.
    Thank you for your kind assistance.
    Regards,
    Ujjwal

    Okay, well I think I've worked out the problem.
    In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
    I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
    One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
    <%@ Assembly Name="AssemblyName" %>

  • Custom Duty is not getting inventorised

    Hi All
    I am doing MIGO for import PO.
    Custom Duty is not getting debited in stock account but it is posting into a separate line of Account key FR3.
    FR3 is maintained in pricing procedure for this condition tye JCDB for both Account key and accrual.
    Credit is going to the current account custom clearing account , but debit is nit going to stock account.
    Can anybody help please.
    Further how do I know that JCDB is non cenvatable.
    Regards
    Mukta

    Hi Mukta,
    >price difference account will remain same at the month/year end , and that cannot be inventorized later on as well, right?
    >>> Right
    >So how we will treat this account balance, income or loss kind off on the product?
    >>> This PRD GL values will hit P&L account & not the Balance sheet of company, At the end of the year depending upon the values coming in Credit side or Debit side, Profit or Loss is determined, I think some FI guy may explain you about this in much clear way w.r.t. Accounting.
    In case if you are having COPA, your material will be updated with standard price only,
    here also same logic is applied, normally standard price of any finished product is determined by running the product costing considering all the factors, if at all there is variance they will all go to Production variance & again it will be determined as profit or loss at the end of the year,
    for getting the right standard price for finished product you need to run the costing at regular intervals & update the material standard price accordingly w.r.t.COPA.

  • ReturnEvent not get called after search more than 10 times in LOV page

    hi there,
    I using ADF and Jdeveloper 10.3.1.2
    In my project I have a form which called a LOV page for selecting multiple records and submit button sumup the values of each selected row of LOV and return to the main form and display added value on text field.
    problem is when I search records more than 10 times or more I put search criteria and select row on each time. After click on submit the value of each row is sum up return on the main form but it not reflected on main form because ReturnListener not get called .
    But when I select many rows more than 10 without searching then the ReturnListener get called when it returning on main form.
    So should I do so that ReturnListener get called.
    Is it any bug of ADF or Jedeveloper .

    Hi,
    depends on whether you control the BPM task flow or not. If you do, have a look at this thread for how to debug the problem
    How to debug "Attempt to validate an already invalid RegionSite"?
    Otherwise, post it to the SOA forum if this is initiated by their generated code. The most common reason though is that the task flow lacks a default activity. So if the default activity is somewhat calculated dynamically in your application then this may be a reason
    Frank

  • Bookmark method for a page is not getting called

    Hi,
    I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124).
    I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets called when I load the page.
    When I access the Page2 directly,the corresponding bookmark method is getting called.But when I navigates it through commandLink provided in Page1,the bookmark method is not getting called.
    Page1.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:commandLink text="Go to Page2" action="page2" />
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Page2.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:bib="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:outputText value="This is Page2"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    adfc-config.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="page1">
    <page>/page1.jspx</page>
    </view>
    <view id="page2">
    <page>/page2.jspx</page>
    <bookmark>
    <method>#{mBean.bookMarkMethod}</method>
    </bookmark>
    </view>
    <control-flow-rule>
    <from-activity-id>page1</from-activity-id>
    <control-flow-case>
    <from-outcome>page2</from-outcome>
    <to-activity-id>page2</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean>
    <managed-bean-name>mBean</managed-bean-name>
    <managed-bean-class>view.ManagedBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </adfc-config>
    ManagedBean.java:
    public class ManagedBean {
    public ManagedBean() {
    super();
    public void bookMarkMethod() {
    System.out.println("Inside bookmark method");
    Please look into this...........

    Hi Frank,
    I need to provide the af:commandLink inside af:table component and the values which I pass to page2 depends on the row I select at runtime.
    so,I am trying to use ad:setActionListener inside af:commandLink.
    If I use FacesContext.getCurrentInstance.getExternalContext.redirect() inside the actionListener of af:commandLink, I need to extract all the required values in the actionListener.
    Isn't there any way so that, I can pass the values using af:setActionListener inside af:commandLink and a method ( which will initialise the managed bean) will be called when page2 loads ???
    Regards,
    Lokesh.

  • Pricing Routine is not getting called after transport to quality

    Hello,
    We have created a new routine under Condition base value formulas. We have done all the required settings so that it is called while creating / changing sales order. Our routine is working fine in Development server but after transporting it to quality it is not getting called. We can see the routine in VOFM but in debugging mode the system is not able to find the routine.
    Can anybody please tell me what setting is missing in quality?
    Thanks in Advance.
    Priyanka.

    HI,
    Pls ececute this report RV80HGEN in SE38 tcode then only the routine will works for first time.
    Regards,
    kishore.

  • Task in Lookup.USR_PROCESS_TRIGGERS not getting  called

    Hi,
    We have created a process task adapter and copied this in Lookup.USR_PROCESS_TRIGGERS. This adapter works only when some change happens in User Form in a particular field (say First name).This adapter is not getting called for the users who are created through Bulk Upload. Although it is getting called when I am creating a user manually.
    Regards,
    Shubhra

    This the issue with 11.1.1.5 version of OIM. It doesn't trigger on trusted recon. install BP02 for resolving this issue. We had resolved this by installing this patch
    --nayan                                                                                                                                                                                                                                                                                                                                                                   

  • Badi trip_ web_ check not getting called in Portal

    Hi
    We have implemented the trip_web_check badi to check the validation on the Advance entry while Travel request screen (standard). Two days back validation was working fine.
    But today it is not getting called. Please give you inputs if you have any idea?
    Also tell me if any other settings in SPRO already we have assigned the badi in spro

    Hi,
    Donu2019t go for the NOTE directly
    1st you need to check basic things ...
    ( take a help of ABAPER )
    Check where the badi implementation is active or not ...You can do this by "SE19" give the BADI implementation name and check where its Activate or not.
    If it is activate then set the User specific (the user which your are using on Portal) break-point in the method and check where its get stop in BADI .
    Barin : 1st we need to check some basic things like where the BADI is Active or some techical issue like coding etc ...NOTE will be last option to use.
    Cheers,
    Vivek D Jadhav

Maybe you are looking for

  • Log in the Enterprise Environment

    Hi everyone, i'd like to know if logging in the enterprise environment i'll have a tool like the log viewer that we have in the studio. Thanks for help

  • F110 - several bank accounts for the vendor,which one is retrieved by SAP?

    Hi gurus, When using data medium exchange in transaction F110 for a customer (or a vendor) that has several bank accounts in the customer (vendor) master record, which one amongst those accounts will be retrieved by the system ? Ronan Edited by: Rona

  • Messages released from spam filter do not appear in mailbox IF released more than once.

    PLEASE HELP!! We use the Mailfoundry 2100 spam filter appliance in our organization. We are looking at alternatives for how we handle messages that this unit classifies as spam. We are running Exchange 2010 SP3 next inline to the Mailfoundry. Here is

  • Downloading Acrobat X?

    I had previously purchased Acrobat 9 and X, but have since refreshed to a new laptop. I tried searching for a link on Adobe.com to re-download by all I found is Acrobat XI. Does anyone know how/where I can redownload Acrobat X ?

  • Need help knowing best way to create record

    What is the best way to create a new record... I have a form pulling info from about 20 tables. When the user wants to create a new record, I want a new form to open and allow them to select the values based on the foreign key fields so it makes more