Error in private methods when implementing a BAdI

Hi,
I implemented a BAdI and added some custom private methods in my implementing class. When I looked at the object list, my private methods are marked with a color red circular shape, which I guess it means those have error. But, when I tried to activate and test the BAdI, it works fine. Any idea why it marks my private methods as error? Am I missing something here?

it denotes Accessibility / Visibility of those  methods .
regards
Prabhu

Similar Messages

  • Unicode error when implementing a BADI

    Hi All,
    I get a Unicode error when trying to implement either one of these two BADIs: ME_GUI_PO_CUST, ME_PROCESS_PO_CUST:
    In Unicode programs, the "-" character cannot appear in names, as it does here in the name "MMCNT_EKKO-BEDAT".
    There are two more similar errors. They all refer to the type group MMCNT, which is an SAP delievered object and is active. Has anyone ever encountered these errors?
    Thanks!
    Roman D.

    Hi,
    You did not mention which version of SAP you're using, but I just thought that the OSS Note 829031 might be relevant for you.
    Regards,
    Anand Mandalika.

  • Final&private methods in inheritance

    Hi all,
    We know that in inheritance private methods are not inherited by sub classes. In addition to this it's also known that final methods are inherited but cannot be changed. Then what is the use of using private methods when there is final methods which cannot be changed, that is why to hide our methods, are they(private methods) something that must be encapsulated as they behave like supporting methods?

    Yes, you hide methods by making them private in order to hide implementation details.

  • Error when sending message: Method not implemented

    Hi, All:
    We have newly setup system and when we test sending test message from RWB, (RWB-Component Monitoring-Integration Engine-Test Tab), we got following error:
    "Error when sending message: Method not implemented", I know this is related to post configuration issue, I just know someone has come cross the situation and how it was resolved.
    Thanks
    Liang

    HI Liang
    Yes it looks like post installation problem. I have not come across this but i think you should check with the RFC created for IE while installation. To connect IE & AE and even the exchange profile if something is missing
    Thanks
    Gaurav

  • Getin error when implementing BADI

    Hi All,
       I am geting an error while I am trying to implement the BADI FISPLIT.
      The error is "BADI definaition is FISPLIT is only provided for SAP internal use". how can I implement this BADI.
       Can anyone help me please.
    Thanks.
    lucky

    That message leads me to believe that you can't implement this BADi as it suggests that it is for SAP internal use only.  If this is an hard error, I don't think that you will be able to proceed.
    Regards,
    Rich Heilman

  • Graphics tab in REBDBU: Internal error when implementing extension

    Hello,
    Seek your kind help please.
    I have entered in the building master data using REBDBE. We have a tab called Graphics. The pictures etc of the building are uploaded using a software called Korasoft. When i am clicking on the Graphics tab, it is entering the screen but immediately afterwards flashing the following message, "Internal error when implementing extension".
    Doing a F1 on the error message shows the foll details:
    "Diagnosis
    An internal error occurred during the implementation of a customer-specific enhancement. A CHANGE-API module was called with an object reference (parameter IO_OBJECT) that was not instantiated in the required activity for changing (02). The API modules are function modules and begin with API_RE_.
    Procedure
    Within the BAdI implementation, transfer the parameter IO_OBJECT from the BAdI method directly to the API module. Make sure that the transferred instance is allowed to be changed."
    I found that the SAP note 1139014 causes this error message to be generated. Note 1139014 forms a part of support pack level 13 (release 600). Recently we have upgraded our systems from support pack level 8 to support pack level 13. Naturally even this note got implemented at that time.
    But now this note is causing this error message and so I will be grateful if someone can please tell me how to rectify the error.
    Regards,
    Suvarghya Dutta
    Edited by: Suvarghya Dutta on Feb 11, 2009 5:30 PM

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • Internal error when implementing extension

    Hello everyone
    At the moment I create a new contract (transaction RECN) an error occurs and I can not solve.
    Someone could help me?
    Internal error when implementing extension (see long text)
    Message no. RECAAP093
    Diagnosis
    Call of GET_EXTENSION( ) method for enhancement CL_FILACI_VICN01_EXTENSION failed.
    It tried to use an add-on or customer-specific enhancement that is not implemented in your system.
    To be able to determine the technical attributes of enhancement CL_FILACI_VICN01_EXTENSION, the RECA_STORABLE_EXT Business Add-In has to supply the desired information. However, this was not the case. In an implementation of RECA_STORABLE_EXT, the GET_OBJNAME_EXT( ) method must supply the required enhancement CL_FILACI_VICN01_EXTENSION.
    Below is example code for GET_OBJNAME_EXT( ):
    CASE ID_OBJNAME_STD.
        WHEN '...'.
          APPEND 'CL_FILACI_VICN01_EXTENSION' TO CT_OBJNAME_EXT.
      ENDCASE.
    For more information, refer to the documentation for the RECA_STORABLE_EXT Business Add-In.
    Start BAdI Builder
    Procedure
    Contact your system administrator.
    tks a lot!

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • How to trigger error message in PCUI when a BADI is called in SAP Backend

    Hi,
    I am currently coding some validations in the implementation of BADI, CRM_CUSTOMER_I_BADI.
    I know that PCUI will trigger the interface methods, CRM_CUSTOMER_I_CHECK and CRM_CUSTOMER_I_MERGE.
    So is there any way I can deliver status or warning or error message to the users in PCUI, by coding in the above 2 methods?? If yes, how do I do it or if anyone has any sample codes, I will appreciate it very much.
    Thanks.

    Hi,
    i think you should post a link to this question in the  <a href="https://forums.sdn.sap.com/forum.jspa?forumID=126">CRM Development Forum</a> here in SDN.
    Regards
    Gregor

  • Error while usind Private Method of a global class

    HI All..
    I created a global class (ZLINE_GLOBAL) which has TOT_DATA private method. I have to call this private method in my report, I know that using Friend class we can do this.
    But it is not working and showing the same error  "  METHOD "TOT_DATA" is unknown or Private or Public..
    code i tried is
    CLASS c2 DEFINITION DEFERRED.
    CLASS ZLINE_GLOBAL DEFINITION FRIENDS c2.
      PUBLIC SECTION.
        METHODS : m1.
      PRIVATE SECTION.
        METHODS: m2.
    ENDCLASS.
    CLASS ZLINE_GLOBAL IMPLEMENTATION .
      METHOD m1.
        WRITE : 'Public Method C1'.
      ENDMETHOD.                    "M1
      METHOD m2.
        WRITE : 'Private Method C1'.
      ENDMETHOD.
    ENDCLASS.
    CLASS c2 DEFINITION FRIENDS ZLINE_GLOBAL.  "my friends are here, allow them access to my (C2's) private components
      PUBLIC SECTION.
        METHODS :m3.
    ENDCLASS.
    CLASS c2 IMPLEMENTATION.
      METHOD m3.
        DATA : obj TYPE REF TO ZLINE_GLOBAL.
        CREATE OBJECT obj.
        CALL METHOD obj->TOT_DATA.    "here Iam calling Private method of global class
      ENDMETHOD.                    "M3
    ENDCLASS.
    START-OF-SELECTION.
      DATA obj_c2 TYPE REF TO c2.
      CREATE OBJECT obj_c2.
      obj_c2->m3( ).
    can anybody help me on this..
    Murthy

    Hi Murthy,
    Replace TOT_DATA with M2, you do not have any method by name "TOT_DATA" in your code.
    CLASS c2 DEFINITION DEFERRED.
    CLASS ZLINE_GLOBAL DEFINITION FRIENDS c2.
      PUBLIC SECTION.
        METHODS : m1.
      PRIVATE SECTION.
        METHODS: m2.
    ENDCLASS.
    CLASS ZLINE_GLOBAL IMPLEMENTATION .
      METHOD m1.
        WRITE : 'Public Method C1'.
      ENDMETHOD.                    "M1
      METHOD m2.
        WRITE : 'Private Method C1'.
      ENDMETHOD.
    ENDCLASS.
    CLASS c2 DEFINITION FRIENDS ZLINE_GLOBAL.  "my friends are here, allow them access to my (C2's) private components
      PUBLIC SECTION.
        METHODS :m3.
    ENDCLASS.
    CLASS c2 IMPLEMENTATION.
      METHOD m3.
        DATA : obj TYPE REF TO ZLINE_GLOBAL.
        CREATE OBJECT obj.
        CALL METHOD obj->M2.    "here Iam calling Private method of global class
      ENDMETHOD.                    "M3
    ENDCLASS.
    START-OF-SELECTION.
      DATA obj_c2 TYPE REF TO c2.
      CREATE OBJECT obj_c2.
      obj_c2->m3( ).
    Regards,
    Chen

  • Getting Exception when implementing badi 'hrpad00inftydb'

    Hi friends..
    My need is to update infotype 0207 when ever employee changes address thru ess.
    I implemented the badi 'HRPAD00INFTYDB' and inside it called 'HR_MAINTAIN_MASTERDATA'. But its giving the following two exception :
    1. Exception 'CX_HRPA_VIOLATED_PRECONDITION' occured in the    
        procedure "INITIALISE_PS_ADAPTER'.
    2. Exception named 'cx_sy_ref_is_initial' occured in the procedure 'HRXSS_PER_CLEANUP'.
    I have checked the implementation by running it separately. It is working fine and is updating 0207.
    Bt when i do the address change through portal, it is giving the above mentioned exceptions.
    Please post a solution, if possible.
    Thanks and Regards.
    abhi

    encountering the same error
    anybody has answer to these? why is the standard old FM for updating infotypes is not supported by this BADI?

  • Cure for "501 Method Not Implemented" error at site in Firefox but not Chrome or IE?

    I am receiving a "501 Method Not Implemented" error message at a site in Firefox but not in Chrome or IE. How can this be cured?

    Do you get that error if you access the site or if you click a link to got to another page?
    You can reload the page and bypass the cache with:
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    See [[Keyboard shortcuts]] and [[Mouse shortcuts]]
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Private methods Importing parameter cannot be changed error

    Hi Guys,
    I have this scenario where I have a private method inside a class which is having an error "Field SAPMF02K cannot be changed".
    here is the code for the private method call.
        call method create_bdc_dynpro
             importing  IM_PROGRAM = 'SAPMF02K'
                        IM_DYNPRO = '0100'.
    code of the method
      data: wa_bdcdata type bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-program = im_program.
      wa_bdcdata-dynpro = im_dynpro.
      wa_bdcdata-dynbegin = at_true.
      APPEND wa_bdcdata to at_bdcdata.
    Hope you can help
    Thanks!

    Howdy,
    I think you have your importing/exporting the wrong way round.
    The method call should be:
    call method create_bdc_dynpro
    exporting IM_PROGRAM = 'SAPMF02K'
    IM_DYNPRO = '0100'.
    And of course in the method definition they should be importing parameters.
    Cheers
    Alex

  • Error when implementing JPA domain model in separate JAR module

    Hi,
    I'm using JPA/TopLink Essentials to implement my domain model and services. From an architectural viewpoint I want to implement this as seperate Java project, while my View/Controller is implemented in another Java project. This last project has a dependency on the Model project. Deployment on an OC4J 10.1.3 is ok, but when I use a JSP, I get the following error. (Note that directly implementing my JPA classes in the View/Controller project does not give any errors.)
    Thanx, Ronald
    java.lang.NullPointerException     at oracle.toplink.essentials.ejb.cmp3.persistence.ArchiveFactoryImpl.createArchive(ArchiveFactoryImpl.java:64)     at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:227)     at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:210)     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:239)     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromMain(JavaSECMPInitializer.java:278)     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.getJavaSECMPInitializer(JavaSECMPInitializer.java:81)     at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:119)     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)     at com.trfsol.model.JPAResourceBean.getEMF(JPAResourceBean.java:23)     at com.trfsol.model.Service.getEmp(Service.java:28)     at com.trfsol.JPAServlet.doGet(JPAServlet.java:24)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)

    Servlet class:
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              Collection<Emp> emps = new Service().getEmp();
              for (Emp emp : emps) {
                   System.out.println("Emp " + emp.getEname());
    In which the Service class comes from the Model project.
    Service class:
    public EntityManagerFactory getEMF () {
    if (emf == null) {
    emf = Persistence.createEntityManagerFactory("default", new java.util.HashMap());
    return emf;
    public Collection<Emp> getEmp(){
    EntityManagerFactory emf = getE
    EntityManager em = emf.createEntityManager();
    try{
    Collection<Emp> result = em.createNamedQuery("findAllEmps").getResultList();
    return result;
    finally{
    em.close();
    Persistence.xml (in the META-INF dir of the Model project)
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
    <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
    <provider>
    oracle.toplink.essentials.PersistenceProvider
    </provider>
    <class>com.trfsol.Dept</class>
    <class>com.trfsol.Emp</class>
    <properties>
    <property name="toplink.logging.level" value="FINE"/>
    <property name="toplink.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
    <property name="toplink.jdbc.url" value="jdbc:oracle:thin:@localhost:1521:ORCL"/>
    <property name="toplink.jdbc.password" value="tiger"/>
    <property name="toplink.jdbc.user" value="scott"/>
    </properties>
    </persistence-unit>
    </persistence>
    Regards, Ronald

  • Error: "Function or method not supported." when using RF List Mode on NI 5673E

    Hi,
    I am trying to use the RF List Mode in NI RFSG 5673E. I tried running the sample code "RFSG Configuration List Frequency and Power Sweep.vi" but an error would show up:
    "Error: niRFSGCreateConfigurationList.VI <ERR> The LO reported the following error: Function or method not supported." with the error code: BFFA4239. 
    I also tried running other sample codes that contain the Configuration List VI's but the same error appeared. I am using NI RFSG 1.8.5.
    I would really appreciate any help on this. Thanks!

    Hello jdlabrador,
    I setup a 5673E here and tried to run the same example.  I did not encounter an error.
    Other reports I've found pertaining to this error usually involved a large number of steps - there was not enough space on the hardware to accommodate them.  The error text you're seeing is a little different in that it states that the Create Configuration List method isn't supported for the LO.
    Do each of the modules in your 5673E (5450, 5611, 5652) pass a self-test in MAX?  
    Have you associated the 5450 and 5652 with the 5611?
    Could you post a screenshot of the fully-expanded Devices and Interfaces tree from MAX?
    Since RFSG 1.9.5 is available, it may be a good first-step to upgrade to it.  
    Best regards,
    Matthew H.
    Applications Engineer
    National Instruments

  • UnusedPrivateMethod - bug when using static private method?

    Hi,
    I get the following violation:UnusedPrivateMethod. This private method (createDefaultSolidColors) does not seem to be used.
    For the foloowing code snippet:
    private  static const defaultSolidColors:Array = createDefaultSolidColors(); 
    private static function createDefaultSolidColors():Array { 
         var _a:Array = new Array(); 
         for each (var color:uint in defaultColors) {          _a.push(
    new SolidColor(color, 0.8));     }
         return _a;}
    Why is it a violation? the function is used by the defaultSolidColors property.
    Is it a bug or am I missing something?
    Thanks,
    -ilan

    This is a known issue, which has been fixed on trunk.
    The fix will be in the next release:
    https://bugs.adobe.com/jira/browse/FLEXPMD-173

Maybe you are looking for

  • Reports do not render in IE 11

    We have several reports built for our site that worked fine for our clients until they installed IE 11. Now most reports appear blank. After hours of researching I can create and fix the problem. The problem is that any report that contains a "line"

  • TEST these source codes

    I need help with this source code please some one could give me some direction. I could not figured out what i'm missing please. import java.util.Random; public class Candidate   private int x;   private int y;   private int chromosome[];   private d

  • Printer driver: CUPS or not?

    How do I know if I need the CUPS driver or the non-CUPS? I have a Canon MP210 and the Canon site offers both. My eMac has Tiger and my MBP has Leopard.

  • I can't find NONE option in payment methods for changing my payment methods

    Hi, I have problem with my payment method. I can't find "NONE" payment options on my iPhone 5. What can I do for solve this problem. I need to remove my credit card information and use my iphone without credit card. Thanks. Regards, Shroo

  • Merge joins turned into expensive hash joins!?

    Hello..... working with two tables.... Table A is where I am bringing data into..... Table B is where the data resides. Table B has 32million rows... I was using just a quick.....select b.whatever from table.a, table.b where primary key and b.table=a