BAdi method not executing - IF_EX_RSR_OLAP_BADI~DEFINE

dear all,
I am trying to implement a virtual characteristics using BAdi and the article i'm using is this. However, when i try to put my breakpoint in the code it is not executing in either RSRT or RSRT2. Any idea why? Even if i put my breakpoint in the CASE statement to determine if it is the infocube i want to filter by, that does not get executed. Any idea why?
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90b2babc-15ad-2d10-c4b2-bd3af67d86b1?quicklink=index&overridelayout=true
thanks in advance for the reply friends.

any body with any thoughts out there on this? thank you so much in advance for the reply.

Similar Messages

  • ViewDidLoad method not executing

    I'm using Xcode 3.2 and I have a tabbar project with a few tabs and view controllers. I have inserted code into the secondviewcontroller.m in the provided empty ViewDidLoad method but it's not getting executing.
    I put a breakpoint on the first line and it never gets there?
    Other code in this viewcontroller works fine, awake from nib etc.
    Any idea or what to check for?
    Thanks!

    bluerondo7 wrote:
    I don't have a SecondViewController.xib so maybe this is the problem?
    Ooh.. Well I assumed you started with the Tab Bar Application template. That template starts you off with two tabs. The view controller for the first tab is of type FirstViewController, and its view is defined in MainWindow.xib. The view controller for the second tab is of type UIViewController, and its view is defined in a separate xib named SecondView.xib.
    Your problem seems to be with your xib structure, but this type of problem can take forever to work out in the forum without pictures. Here are some questions that might help us isolate the problem:
    1) Which template did you use to start your project?
    2) If you started with the Tab Bar app template, do you remember at what point you removed SecondView.xib?
    3) Can you describe, step-by-step what you did in MainWindow.xib to create the structure you have now?
    4) Can you post a screen shot of MainWindow.xib on a web site for us to see?
    5) If yes to 4, please set the View Mode switch to the center position and expand all the tree nodes in your screen shot.
    6) If no to 4, please try to describe the two columns of that file in your post. It will be important to show the level of indentation when describing the tree. You can do that by just starting each line with a number, e.g. 1 for top level, 2 for one indent, etc.
    7) For each of your 5 view controllers, please select the view controller in the icon tree and bring up the Attributes Inspector. Any view controller which requires a separate xib will have the name of the xib file in the NIB Name picker field of the Attributes Inspector. If that field is not blank for any of your controllers, let us know.
    \- Ray

  • Badi does not execute at runtime

    Hello All,
    We are having a problem trying to implement BADI BBP_CATALOG_TRANSFER with method ENRICH_ITEM_DATA / interface IF_EX_BBP_CATALOG_TRANSFER
    We have created a new implementation for this BADI that has generated a new class (in se19). The implementation is visible in V_ext_act and the class and implementation is visible in SXC_CLASS.
    The implementation is active, the class is active and the class has the correct method IF_EX_BBP_CATALOG_TRANSFER~ENRICH_ITEM_DATA
    However
    When performing a where used list for this BADI our new implementation does not appear. Instead we are still seeing an old implementation that has been deleted. In addition the source code that we have implemented as part of the exit is not being executed during run time.
    We think that we have covered all the steps required but may be missing something vital ???
    I know this is a tricky one but any help would be greatly appreciated.
    Thanks very much in advance
    Regards
    Ketan

    Hello
    Just wanted to add that in addition to our custom implementations, the class implementation
    CL_EX_BBP_CATALOG_TRANSFER
    is also associated with this BADI in the where used list.
    When I look at this in our QA environment this class is not associated only the custom developed classes are associated.
    Not sure why?
    Any ideas would be appreciated..
    Regards

  • Implementation of the BADI CRM_MKT_MODIFY_ORDER is not executing

    Hello all,
    I'm working in the execution of campaigns in the CRM Web Client trying to copy to the generated activities the products added to the corresponding Activity Template.
    My first (and only) approach is to use the method MODIFY_ACTIVITY_OBJ of the BADI CRM_MKT_MODIFY_ORDER in order to make the proper changes.
    I implement and activate this BADI putting some dummy code with a break point. The problem is that it never stops in this break point. Seems to be that is not executing this method at all. I try several times but nothing happened and I running out of ideas.
    Do you know if I need to do something else? Maybe perform some configuration before.
    Any idea will be welcome.
    Thanks in advanced!
    Alvaro
    Edited by: Alvaro Guzman on Oct 23, 2008 4:35 PM

    Hey,
    Make sure that only one impl is active ..
    Can you explain me the scenario with some more details.. little curious. Just wanted to check whether this is the correct BAdI to implement or not..
    Thanks
    Regards,
    Vinay

  • Inline item mx:Image ... in mx:itemRenderer could not see the defination of method

    I have following code and got a compilation error ("possiblely called an undefined function") because the <mx:Image ...> in the <mx:itemRenderer > could not see the defination of "aMethod" method:
    <mx:Form ....>
    <mx:Script><![CDATA[
    private function aMethod(evt:Event):void {
               // code...
    ]]></mx:Script>
    <mx:Canvas label="Tile View" width="100%" height="100%" >
              <mx:TileList id="photosTileList" dataProvider="{this.photoDP}" width="100%" height="100%"  >
                        <mx:itemRenderer >
                            <mx:Component>
                                <mx:Image horizontalAlign="center" source="{data.url.text()}"
                                    toolTip="{data.caption.text()}" width="55" height="38" complete="aMethod(event)"/>  <!-- It causes the error -->
                            </mx:Component>
                        </mx:itemRenderer>
             </mx:TileList>
             <mx:Image .... complete="aMethod(event)"/>  <!-- It is OK here -->
    </mx:Canvas>
    </mx:Form>
    I do not know why the inline <mx:Image> inside <mx:itemRenderer> can not see the "aMethod" function defination in the same mxml file.
    Any suggestions?

    You need outerDocument, and the method cannot be private, it should be public:
    complete="outerDocument.aMethod(event)"
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Automatic Payment program: Payment method not defined for vendor abroad

    Hi All,
    I have a situation wherein the client has a company code in Poland . The Company code is trying to make a payment via f110 to a vendor based in sweden. The vendor wants payment to the invoice to be made in Polish Currency i.e. it wants clearing to be done in Company codes local currency.
    But F110 is throwing the error Payment method not defined for vendor abroad. Can you suggest what could be the possible Error.
    Regards
    Nitin

    Nitin,
    Have you followed the above advice, i.e. used the same medium format just allowing foreign payments for it?
    AFAIK, the Poland banks require a separate format for foreign payments, if only because international bank nbr SWIFT has to also be given and not just the IBAN.
    At my company, the Deutsche Bank Poland requested IDocs to be set up instead, I'm working on it now..
    thanks

  • Not executed method

    Hi. I need some help. That's a snippet of the class.
    public constructor ( ChooserListener callback ) {  // that's a constructor
    super();
    Loader.load();
    this.callback= callback;
    JFrame frame = new JFrame();
    frame.getContentPane();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.add(this);
    frame.setSize(300,330);
    frame.setVisible(true);
    JPanel lectures = new JPanel();
    String items [] ={BLANK,COMP,EIMC,MATH};
    JList list = new JList(items);
    list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    list.addListSelectionListener( listSelectionListener);
    lectures.add(list);
    ListSelectionListener listSelectionListener = new ListSelectionListener() {
    public void valueChanged (ListSelectionEvent e)
    {    // System.out.println(  listSelectionListener);
    System.out.println("Hooray");
    if (e.getValueIsAdjusting()== false)
    // tell(dept[deptList.getSelectedIndex()]);
    tell(COMP);
    } // the end of class
    I can't understand why System.out.println("Hooray"); is not executed. Why execution bypasses that 'valueChanged' method. What's the problem?
    Cheers

    mvezelis wrote:
    What do you mean, &#147;use code tags&#148;? I am new here.When you make your post, you'll see some formatting options above the text input box.
    When you post code, highlight it, and then click the button that says "CODE".
    That way your code will be legible.
    What do you mean, I change the list?I don't know what he was referring to, but I don't see any place where you actually add the listSelectionListener to anything. If that's the case then the code in question would never get executed. Do you understand why?

  • Method not found:Next.execute(javax.faces.event.ActionEvent)ADF11.1.1

    Hi ,
    I created simple app in ADF11g production version.this is working fine in Jdev IDE.
    In my application two pages are there.in first page just ADF ROF is there.there youcan see the rows in a dept table thru navigation contrlos.and a submit button to navigate to next page.in second page ,i have createinsert button,delete,commit,rollback buttons.and abutton to navigate to first page.
    I deployed the EAR successfully to Extervnal WLS10.3while testing it from Browser,
    First i got first row in my table along with Navigation contrlos and submit button of first page in the browser.when i am clicking on next button(to move to next row) it is giving the following error in information box.
    Method not found: Next.execute(javax.faces.event.ActionEvent).
    And the WLS server domain error log is:
         Oct 31, 2008 10:00:09 AM EDT     netuix     Warning     BEA-423420     Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22AdminServer%3BDomainLog%22%29.
         Oct 31, 2008 10:00:41 AM EDT     oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl     Warning     ADFC-54008     ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
         Oct 31, 2008 10:00:44 AM EDT     HTTP     Error     BEA-101017     [weblogic.servlet.internal.WebAppServletContext@2767c8 - appName: 'sailu', name: 'department_Application-viewcontroller-context-root', context-path: '/department_Application-viewcontroller-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1f9449a[ GET /department_Application-viewcontroller-context-root/faces/Depvue1.jspx HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: ADMINCONSOLESESSION=G65pJLNKGrn9cqWKT2MYJNQThDyGwPhbTyhYv6G0JWf5GpbTyWB2!590494889 ]] Root cause of ServletException. java.lang.IllegalStateException: Cannot forward a response that is already committed at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:652) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:243) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
         Oct 31, 2008 10:00:46 AM EDT     oracle.adf.share.security     Warning     BEA-000000     Unable to locate the credential for key Connection1 in F:\oracleWls\user_projects\domains\sailubase_domain\config\oracle.
         Oct 31, 2008 10:00:46 AM EDT     oracle.adf.share.jndi.ReferenceStoreHelper     Warning     BEA-000000     Incomplete connection information
         Oct 31, 2008 10:00:52 AM EDT     oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator     Error     BEA-000000     Server Exception during PPR, #1 javax.servlet.ServletException: Method not found: Next.execute(javax.faces.event.ActionEvent) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) javax.faces.el.EvaluationException: Method not found: Next.execute(javax.faces.event.ActionEvent) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1226) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:640) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:275) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
         Oct 31, 2008 10:01:32 AM EDT     netuix     Warning     BEA-423420     Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22AdminServer%3BDomainLog%22%29.
    And in this page when i am clicking on submit button to navigate to second page,it is not going to second page .it is in first page only.
    Can you tell me about this error and any changes to do for my code to get run my app on browser.
    I appreciate your help and time.

    Hi Frank,
    now my problem solved .just i created one more application newly and deployed it on External WLS.
    Now i am able to see all the rows in my DEPT table in my first page of app thru navigation contrlos.
    In the same way i am able to see all rows in second page also.and also able to edit the rows thru commit,delete buttons.and able to insert the rows also in second page.
    But the submit button to go from page1 to page2 is not working.and also the submit button from page 2 to page1 not working.
    I am giving the following in my URL:
    http://localhost:7001/Dep1wlsApplication1-ViewController-context-root/faces/view1.jspx
    http://localhost:7001/Dep1wlsApplication1-ViewController-context-root/faces/view2.jspx
    What i have to do in order to go from first page to second and second to first.in my IDE i am able to go.
    Is anything i have to change in my URL>
    Plz suggest me.

  • Method in WF not executing..

    Hi, Can anyone tell me whether to include Delegated Object (ZDISCON) or Standard Object(DISCONNECT)  in the  activity step type of my Workflow (WS9000009).
    The issue is:
    The reciever is being called while trying to create a event in SWUE. But the Function module inside the ZDISCON is not executing.
    BEGIN_METHOD CREATE CHANGING CONTAINER.
    DATA:
       DISCONNECTIONREASON LIKE EDISCDOC-DISCREASON,
       REFERENCEOBJECT TYPE SWC_OBJECT,
       REFOBJTYPE      LIKE EDISCDOC-REFOBJTYPE,
       REFOBJKEY       LIKE EDISCDOC-REFOBJKEY,
       ETYPE           LIKE REGEN-EXIT_TYPE,
       WEDISCDOC       LIKE EDISCDOC,
       setexitreturn   LIKE regen-kennzx.
       SWC_GET_ELEMENT CONTAINER 'DisconnectionReason' DISCONNECTIONR
       IF SY-SUBRC <> 0.
         EXIT_RETURN '0002' 'DisconnectionReason' SPACE SPACE SPACE.
       ENDIF.
       SWC_GET_ELEMENT CONTAINER 'ReferenceObject' REFERENCEOBJECT.
    CALL FUNCTION 'ISU_S_DISCDOC_CREATE'
         EXPORTING
               X_DISCREASON   = DISCONNECTIONREASON
              X_REFOBJTYPE   = REFOBJTYPE
              X_REFOBJKEY    = REFOBJKEY
              X_UPD_ONLINE   = 'X'
         IMPORTING
             Y_EXIT_TYPE    = ETYPE
              Y_NEW_EDISCDOC = WEDISCDOC.
    CALL FUNCTION 'Z_SEND_MAIL'
       EXPORTING
         DISCNO        =  WEDISCDOC-DISCNO.
    ENDMETHOD.

    Hi,
    If you Delegate the Custom BO to Std. BO, you can use the std. BO then custom BO methods will automatically come.
    The reciever is being called while trying to create a event in SWUE. But the
    Function module inside the ZDISCON is not executing.
    This happen because Delegation is not correct.
    Refer this [Link1|https://wiki.sdn.sap.com/wiki/x/JQD1Aw ] & [Link2|https://wiki.sdn.sap.com/wiki/x/8YBVAw ] for delegation.
    Regards,
    Surjith

  • IF_EX_RSR_OLAP_BADI~DEFINE

    Hi Experts,
    In the BAdI RSR_OLAP_BADI for Virtual Characteristics and Key Figures there is the DEFINE method.  Does anyone know what is the purpose of this method ( IF_EX_RSR_OLAP_BADI~DEFINE )?  I've followed some sample coding and did what it says to do and it works, but I am not quite clear what/how/why it is needed?  I have the following code.  Can someone explain when and where c_t_chanm is used when executing a query?
    Any clarifications is appreciated.
    Thanks,
    BQ
    DATA: l_s_chanm TYPE rrke_s_chanm,
              l_s_chanm_used TYPE rschanm,
              l_kyfnm TYPE rsd_kyfnm.
    FIELD-SYMBOLS:
             <l_s_chanm> TYPE rrke_s_chanm.
    case i_s_rkb1d-infocube.
       when 'MYCUBE'.
           loop at i_th_chanm_used into l_s_chanm_used.
                case l_s_chanm_used.
                   when 'VIRTUALCHAR'.
                         l_s_chanm-chanm = 'VIRTUALCHAR'.
                         l_s_chanm-mode = rrke_c_mode-no_selection.
                         append l_s_chanm to c_t_chanm.
                   when others.
                endcase.
          endloop.
    endcase.

    Hi Binh,
    DEFINE: only called during generation of the query; choose characteristics/key figures used in the exit; choose 'modes' for the characterists
    DEFINE
    FLT_VAL: Filter values for the infoprovider as defined in the BADI
    I_S_RKB1D: General informations about Infoprovider and query. Most useful are the fields Infocube and COMPID for identifying the query
    I_TH_CHANM / KYFNM_USED: list of infoobjects used in the query
    C_T_CHANM/KYFNM: list of infoobjects used for calculation in the BADI
    You must add a public instance attribute P_CHA_<object> for each InfoObject you want to access in the COMPUTE method - and attributes P_KYF_<object> for each key figure.
    For more information about this subject, access the link below:
    http://help.sap.com/saphelp_nw70/helpdata/EN/8f/f2e540f8648431e10000000a1550b0/frameset.htm
    At
    Nadja Xavier

  • MDG Cross entity validation using enrichment spot is not executed.

    I have configured the enrichment sport for cross entity validations and used BRF to validate the data, but looks like validations are
    not executed. I have the check activated for the step in the configuration and I can see my custom class is being picked in method GET_ENRICHMENTS of class CL_USMD_DQ_ACCESS_ENRICHMENT for that request type and step. I have flag relevant  selected and option “Execute Always” (will change this to “Execute when data changed).
    I am trying to figure out if SAP MDG standard code will execute my custom class code or not. I had put break point in my custom class constructor and this is called when an instance for enrichment is created in method GET_ENRICHMENTS of class CL_USMD_DQ_ACCESS_ENRICHMENT. However my code in below method is not executed (and hence BRF is not called)
      IF_USMD_ENRICHMENT_FEEDER~GET_ADAPTER_DATA
      IF_USMD_ENRICHMENT_FEEDER~IS_RELEVANT
    Now I am trying to figure out a place from where these enrichment class methods will be executed. I feel this will be from EXECUTE_ENRICHMENT
    of class CL_USMD_DQ_ACCESS_ENRICHMENT. But this method is also not executed when I hit on Check button. Am I looking wrong standard class?
    Is there anything I am missing in configuration? Or we need to implement any SAP note? I tried to find one, but no luck.

    Hello, I am not using cress entity BADI for Validation. I am using this BADI for cross entity derivations and they are working fine.
    I had a requirement to do cross entity validations, and I have rules written using the BRF+.
    I had used enrichment sport functionality to have a custom class used to call BRF functions and prepare the context with required entity data.
    Validations are supposed to happen based on the enrichment spot defined and the configuration for that enrichment sport on the process step level. This is not happening. let me know if you need more information on it,

  • Virtual key figure BADI - does not change value

    I wrote a badi for virtual key figure according to guidelines from an SDN doc on how to create virtual chars and kf's.
    However, the value of the key figure is not changed at all. Below is my code. Please see what I'm doing wrong
    method IF_EX_RSR_OLAP_BADI~DEFINE.
       APPEND 'ZRANKS' TO c_t_kyfnm.
    endmethod.
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
      if P_KYF_ZRANKS > 0.
        assign component p_kyf_zranks of structure c_s_data
        to <fs_ranks>.
        <fs_ranks> = '1.0'.
      endif.
    endmethod.

    There is something you need to do which I have not seen described in any of the documention here.
    You need to copy the source code for the INITIALIZE method directly from the code given in the example class CL_EXM_IM_RSR_OLAP_BAPI. That is where the P_KYF<object> and P_CHA<object> attributes are assigned their values. If you do not copy this code into your own implementation, these attributes have no value in the COMPUTE method and your code will probably not work.
    Bryan

  • Virtual Key Figures in RSR_OLAP_BADI COMPUTE Method not recalculated

    Hi,
    Please clarify why is the COMPUTE METHOD of RSR_OLAP_BADI not always 
    triggered or executed.
    For instance, my query is drilled down by customer and
    material by default. Upon opening the query and after entering
    the appropriate selections, the virtual key figures that I have
    used in the query are correct .
    However, if i make any change to the query and run it in RSRT, the BADi method COMPUTE is not executed.
    Is this really the normal behavior of the said BADI? Why is
    it unstable?

    Hi Rohit,
    I have a similar problem the compute method is not trigerring and i am trying to debug it but it is not breaking at all, although when i generate from rsrt it breaks at a breakpoint of define method however i have defined another break at compute method but not breaking.
    I am using the infoobject inside the query but and tried to hard code it  for testing in the compute method but doesnt seem to be getting executed.
    Please help.
    Cheers,
    Jad

  • Adobe Form called from SAP Portal, not executing interface global init code

    Hello!
    I have an adobe form called from both R/3 and SAP Portal and I need to show long text dinamically calculated.
    The deal is at the SAP Portal execution, as scenario characteristics don't allow string definitions, I'm using 255 characters tables (QISR_TAB_TYPE), that I'm trying to convert inside form interface (Global init code).
    The problem is that the interface global init code is being executed when the form is called from R/3, but it is not at SAP Portal.
    Does anybody know how to manage this? It's kind of a problem that the BAdi method int_service_request_init doesn't allow types over 255 characters... and if it is not possible to access the form interface code section (maybe there's any way)... i need to find some code section where i can convert tables before the form context is filled!!
    Thanks a lot!!
    Regards,
    Diana.

    Hi,
    have you searched on SCN? There are some threads with same problem such as [this one|/message/9270216#9270216 [original link is broken];. There is more threads. They may help you to solve your issue.
    Cheers

  • Changing data captured via ME52N through BADI - ME_REQ_POSTED not working!

    Hi All,
    I am trying to change the 'Release Date' value everytime some data is changed on a purchase requisition via transaction ME52N.  I am using BADI 'ME_REQ_POSTED' via my own implementation of interface method 'IF_EX_ME_REQ_POSTED~POSTED'.
    Everything works and I can access all the data that I need except the fact that the standard variables with item data (i.e. 'IM_EBAN') cannot be changed and so I am forced to rather change table EBAN directly by using a 'MODIFY' statement after processing the data within the BAdi method.
    However when I check table EBAN via se16 I find that the field that I want to change (i.e. EBAN-FRGDT) does not change at all even though the transaction states that the document has been saved successfully and my BADI implementation has been executed in full.
    Therefore how can I ensure that the field is updated via this BADI or via a direct update within the BAdi implementation?
    Thanks.

    Hi,
    I have solved this one.
    Thanks.

Maybe you are looking for

  • How to use smb share for home directory with AD account

    I have extended the schema of our AD and bound a macbook pro running 10.6.8 to the domain. AD users are able to logon, and if I select the option to use their AD homedirectory attribute then this smb share is used as a network drive. My question is t

  • How to auto fill unicode text in "Form" of htm file?

    many records to fill and update through web could I fill the form automatically by computer while there some Asian wider code ( still unicode)? ( text file is there.) If you have code, just give me some. Thank you a lot.

  • Exchange Rate in Smartview

    What is the selection to view the exchange rate in smartview? The rates are set in planning but must be stored in essbase also. i want to know what is the selection to view this? e.g. scenario - budget, currency - currency, account - hsp_average, etc

  • How Upload File To Custom Action

    We have requirement of uploading file from page to our action class where the file will be processed. We have created a action class using, GSF, public class MyAction extends RenderPage I want to send file from web page. In java we use apache commons

  • Easy One with PreparedStatement

    Can any one tell me, when I prepare a statement (PreparedStatement) and loop assigning separate values within each loop, is this process called Binding? I was under the impression it was but have been unable to prove my thought.