Syntax Error "Method was not declared or inherited in class"

Dear all,
I am seeing the following syntax error in one of the standard classes CL_ICCMP_BT_INRHISTRESULT_CN01 which says "Method "XYZ" was not declared or inherited in class". Need help to identify when this error would occur or where I should be checking for this error within the class.
I checked other systems for the same class, the method XYZ does not exist there too but still the class has no syntax errors!
Would appreciate your help!
Thank you.
Regards,
Gayathri.

Hi Gayathri,
please give detailed information on how and where you get this error.
CL_ICCMP_BT_INRHISTRESULT_CN01 does not exist in our ECC600 system.
Regards,
Clemens

Similar Messages

  • Error: 'alpm_db_register_local' was not declared in this scope

    This is why I wish there was an actual API reference for ALPM instead of forcing developers to fend for themselves in a near-undocumented mess of a library.
    That said, I need some help. I have the correct #includes in my code:
    #include <alpm.h>
    #include <alpm_list.h>
    But apparently the compiler can't see what is supposed to be provided by the very first (I think?) header. My source is simple right now since I've mostly just begun my project:
    #include <alpm.h>
    #include <alpm_list.h>
    #include "../function/pacman.h"
    bool initALPM()
    if(alpm_initialize()<0)
    return false;
    alpm_option_set_dbpath("/var/lib/pacman");
    db = alpm_db_register_local();
    return true;
    bool releaseALPM()
    if(alpm_release()<0)
    return false;
    return true;
    std::vector<std::string> getPackageList()
    std::vector<pmdb_t*> sync;
    pmdb_t* local;
    std::vector<std::string> packs;
    return packs;
    Any idea what I'm doing wrong in this? For all I can figure, I *should not* be having troubles with my compiler finding that function.
    Also, any hint as to how I could get a list of "sync" databases?

    If you were still able to find that function, you'd be using pacman 3.4. alpm_db_register_local was removed for 3.5.0. If you read the patch notes, you'll see that alpm_initialize() takes care of that for you. I'm also not sure how well alpm will play with c++ since it doesn't have the extern "C" decl in the header...
    By default, no syncs are registered. pacman parses its own config file and registers the DBs it finds declared there with alpm. An example in C...
    #include <stdio.h>
    #include <alpm.h>
    static const char *trees[] = {
    "testing",
    "core",
    "extra",
    "community",
    NULL
    int main(void) {
    const char **tree;
    pmdb_t *local;
    alpm_list_t *i;
    /* initialize -- this registers localdb for you */
    alpm_initialize();
    /* barebones setup */
    alpm_option_set_root("/");
    alpm_option_set_dbpath("/var/lib/pacman");
    /* register syncs */
    for (tree = trees; *tree; tree++) {
    alpm_db_register_sync(*tree);
    /* iterate over registered syncs */
    printf("--- sync DBs -----------------\n");
    for (i = alpm_option_get_syncdbs(); i; i = alpm_list_next(i)) {
    pmdb_t *sync = alpm_list_getdata(i);
    printf("%s\n", alpm_db_get_name(sync));
    putchar('\n');
    /* iterate over local database */
    printf("--- local packages -----------\n");
    local = alpm_option_get_localdb();
    for (i = alpm_db_get_pkgcache(local); i; i = alpm_list_next(i)) {
    pmpkg_t *pkg = alpm_list_getdata(i);
    printf("%s\n", alpm_pkg_get_name(pkg));
    putchar('\n');
    /* cleanup */
    alpm_release();
    return 0;
    Last edited by falconindy (2011-04-10 03:08:29)

  • Error during transport: Method is not declared + Component missing

    HI
    I got 2 errors when I transport:
    Error 1:
    Program ZCL_ZGW_VH_ORDER_DETAI_DPC_EXTCP, Include ZCL_ZGW_VH_ORDER_DETAI_DPC_EXTCO: Syntax error in line 000003
    Method 'DETSET_GET_ENTITY' is not declared or inherited in class 'ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT'. -
    Error 2:
    Program ZCL_ZGW_VH_ORDER_DE_01_DPC====CP, Include ZCL_ZGW_VH_ORDER_DE_01_DPC====CM006: Syntax error in line 000190
    The data object 'LS_ET_DETAILS' does not have a component called 'ZZ_MATR_LEV_DATO'.
    1)
    When I go to Class Builder (SE24), and make a syntax check for ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT, I got the error:
    Class ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT,Protected section
    Method "DETSET_GET_ENTITY" is not declared or inherited in class
    "ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT". -
    The code looks like this
    protected section.
      methods DETSET_GET_ENTITY
        redefinition .
    2)
    If I go to include ZCL_ZGW_VH_ORDER_DE_01_DPC====CM006 (in SE38), I am navigated to method: DETSET_GET_ENTITYSET (That was the missing method in error 1). When I do a syntax check, I got the error message:
    Class ZCL_ZGW_VH_ORDER_DE_01_DPC,Method DETSET_GET_ENTITYSET
    The data object "LS_ET_DETAILS" does not have a component called
    "ZZ_MATR_LEV_DATO".
    Then I double click at ls_gw_et_details-zz_matr_lev_dato, and got the data statement: DATA ls_gw_et_details LIKE LINE OF et_entityset.
    When I double click at et_entityset, I see that the et_enityset is type ZCL_ZGW_VH_ORDER_DE_01_MPC=>TT_ORDDET. Now I double click at TT_ORDDET I got the public section, where I can see that ZZ_MATR_LEV_DATO is already specified.
         ZZ_SPORSP_DATO type D,
         ZZ_KSTROM type STRING,
         ZZ_KSTROM_DATO type D,
         ZZ_MATR_LEV_DATO type D,
      end of TS_ORDDET. .
      types:
    TT_ORDDET type standard table of TS_ORDDET. .
    Anyone who will help me?
    Thanks
    Lars

    Hi Ron Sargeant,
    I'm having a kind of similar issue. I have 3 entities, they were already mapped to theirs respective RFC. In the RFC, a couple of fields changed their name so the mapping got lost. I did again the mapping and there was no errors on 2 of the 3 entities. For other reasons, I had to delete the third entitiy, I deleted it and created it again and there was no problems, I do the mapping and everything was apparently fine, when I tried to "Generate Runtime Objects" it throws me an error with the next message: "Failed to create data provider class". If I try to Generate the service again, it throws me another error message: "The class ZCL_xxx_xx_xxxxxx_DPC is locked. Process canceled". I'm sure I've not edited or deleted the DPC class. If I try to access the DPC class from the tx SE24 it tells me that the object it's not created, and the class still appears in the list of Runtime Artifacts in tx SEGW.
    I'd like to know if you've got any idea of what may happen, or I'd also like to be sure that if I delete the DPC class and the DPC_EXT class, it will be regenerated again by the Service Builder.
    Best regards,
    Ana Velásquez

  • 'BlobRegion' was not declared

    Hello,
    I have a problem while compiling a program, It gives me an error on the line #include <occi.h>:
    /usr/include/oracle/11.1.0.1/client/occiData.h:314: error: ‘BlobRegion’ was not declared in this scope
    /usr/include/oracle/11.1.0.1/client/occiData.h:314: error: template argument 1 is invalid
    /usr/include/oracle/11.1.0.1/client/occiData.h:314: error: template argument 2 is invalid
    /usr/include/oracle/11.1.0.1/client/occiData.h:421: error: ‘ClobRegion’ was not declared in this scope
    /usr/include/oracle/11.1.0.1/client/occiData.h:421: error: template argument 1 is invalid
    /usr/include/oracle/11.1.0.1/client/occiData.h:421: error: template argument 2 is invalid
    Just for curious, I commented those two lines on occi.h and the program compiles and works.
    I have no problem compiling a little example application but if I put the include on a header then I get this error, what could it be?

    What is enviornment ?? (OS & compiler/oracle version etc) ?

  • Cast was not declared in scope

                            Set::View setResults = theCache->entrySet(EqualsFilter::create(vPsngSmryExtractor, psng_smry_id));
                            for (Iterator::Handle iter = setResults->iterator(); iter->hasNext(); )
                                    std::cout << "here" << std::endl;
                                    Map::Entry::View vEntry = cast<Map::Entry::View>(iter->next());
                                    //std::cout << vEntry->getKey() << " " << vEntry->getValue() << std::endl;
    coherence.cpp:86: error: 'cast' was not declared in this scope
    coherence.cpp:86: error: expected primary-expression before '>' token
    is something wrong in the code..?
    solved:: we need to use coherence::cast

    Your first step should be to try without yaourt (or any other AUR helper). Those may be convenient but they are not recommended for troubleshooting. See if you can reproduce it with makepkg.
    EDIT: Post on the AUR page. xxdiff doesn't compile here either.
    Last edited by cfr (2013-08-26 02:14:00)

  • The getBuiltInScopes method was not found

      I have an application that has worked for quite a while. I have made no changes to the code since the last time I used it. Basically, the code creates a zip file with input for an involved report. I used it in March of this year it worked fine. I've been assured by the gov't sysadmins and DBAs that nothing has changed, but I still get the attached error. Any ideas?    I have just heard from a friend who knows CF, that it could be a version issue.  I am currently running 8 and I believe he is running 10.   If this is an issue, is the solution somewhere on this site?   I do minimal CF and am at a loss.   The function that is throwing the error is when a button is clicked, a javascript routine is run which combines all the files requred for the zip file.   Yesterday, another application started throwing the error.  I haven't been through the code yet, but it is another button being clicked, and I'm sure, another javascript error.

    The SysAdmin sent me the application log:  Since it is a government site, I changed identifying things to XXXX  or xxxx.
    "Error","ajp-bio-8012-exec-2091","09/26/14","11:43:33","XXXXransfer3","The getBuiltInScopes method was not found.Either there are no methods with the specified method name and argument types or the getBuiltInScopes method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. The specific sequence of files included or processed is: \\haffs002\ProdData\Sites\xxx\IE\XXXX\secure\Authorization\FundingRequestForm_Action.cfm, line: 113 "
    Line 113 is: document.form1.actiontaken.value = "approve"
    The user clicks on a button to Approve or Disapprove a request.  This causes another screen to be displayed.  The error is happening before the 2nd screen is displayed.

  • Syntax Error: "CS" is not a valid comparison operator.

    Hi,
    I am using the following query
      select bukrs hkont augdt augbl zuonr gjahr
             belnr buzei xblnr budat wrbtr
      from bsis
      into table ts_bsis
      where bukrs eq p_bukrs and
            hkont eq p_hkont and
            zuonr cs p_ebeln and
            budat in p_budat and
            blart eq c_we.
    I am receiving an syntax error:
    "CS" is not a valid comparison operator.
    Can I use this way or not ?
    I need this because ZUONR is of 16 characters and it contains PO number(10) and PO item(6) combined.
    So on the selection screen if user specifies PO number range, then he should be able to get the ones that are in match.
    Any other solutions are welcome.
    Thank you,
    Surya
    Message was edited by:
            Surya

    Hi,
    You cant use comparision operetor in select where condition.
    And in your case best suggestion.....
    select bukrs hkont augdt augbl zuonr gjahr
    belnr buzei xblnr budat wrbtr
    from bsis
    into table ts_bsis
    where bukrs eq p_bukrs and
    hkont eq p_hkont and
    ***zuonr cs p_ebeln and<----comment out
    budat in p_budat and
    blart eq c_we.
    Later loop the internal table to process on the condition with ...check ts_bsis-zuonr(10) in p_ebeln.
    Like this you can make the condition.
    Thanks,
    Deepak.

  • UI Error 'Method clone not found in class java.lang.Class'

    When attempting to view an application window in the User Interface error I receive the error 'Method clone not found in class java.lang.Class'. The window will run correctly when I execute the application and other objects on the window are displayed correctly in the UI editor.
    Within the window class I have used the following line of code to clone a reference list of values that is loaded just once when the application starts up: -
    dsDefaultComboBoxModel priorityComboBoxModel = (dsDefaultComboBoxModel) dsReferenceLuLists.priorityComboBoxModel.clone();
    And then this line of code to create a combo box: -
    dsGuiComboBoxRefelu priorityComboBox = new dsGuiComboBoxRefelu(priorityComboBoxModel,ReportWindowSql.priorityCodeBuffer);
    And then later on the combo box is displayed.
    detailsArea.add(priorityComboBox, new XYConstraints(250,10,dsGlobalVariables.gvFieldWidthLarge,-1));
    'dsDefaultComboBoxModel' is defined as follows: -
    public class dsDefaultComboBoxModel extends DefaultComboBoxModel implements Cloneable
    public dsDefaultComboBoxModel()
    public Object clone()
    try
    return super.clone();
    catch ( CloneNotSupportedException e )
    // Shouldn't happen.
    throw new InternalError( e.toString() );
    This error occurs using the latest v903, but was also present in previous versions of JDeveloper.
    At the moment this means that I did to execute the window in order to see all of the GUI elements that are displayed. As on option I could use something other than the clone method, but it seems to be such a nice way of copying the static reference lists.
    Thanks for any help.

    Hi Darren,
    My guess is that since DefaultComboBoxModel doesn't implement Cloneable, you can't call super.clone(). Does your code compile?
    Later.
    Dennis

  • ITunes 9.2.1.5. will not open - ERROR "QuickTime was not found"

    After the last update I get "QuickTime was not found" Error I have uninstalled and re-installed itunes 9.2.1.5. several times but the problem persists. I have been able to open iTunes when re-installed but when syncing to the iPhone 4 even the unchecked music syncs. when I reboot I cannot open iTunes again(ERROR "QuickTime was not found")
    Someone please help. I am running Windows 7 Ultimate on a Lenovo R500
    Thanks In Advance.

    After the last update I get "QuickTime was not found" Error I have uninstalled and re-installed itunes 9.2.1.5. several times but the problem persists

  • JSP is not responding ;RW-50016: Error: - {0} was not created:

    hello
    I met two questions when the post-install chek
    first question:
    checking URL = http://xxx.com:8000/OA_HTML/jtfTestCookie.jsp
    JSP is not responding, waiting 15 seconds and retesting.
    second question:
    checking URL = http://xxx.com:8000/OA_HTML/AppsLogin
    RW-50016: Error: - {0} was not created:
    File = {1}
    thanks for help

    But you have posted in "Technology - LCM: 11i Install/Upgrade" forum. Anyway, please see these docs.
    On R 12.1.1 Fresh Installation, POST RAPIDWIZ INSTALL CHECKS FAILS , Rapidwiz Ends With Error Jsp, Virtual Directory And Login Page Does Not Work RW-50016: Error: - {0} was not created: [ID 850264.1]
    Rapidwiz RW-50016: Error: - {0} was not created [ID 559402.1]
    R12 Rapidwiz Fails on Post Installation Tasks : RW-50016, Timed Out( 100000 ) [ID 437152.1]
    R12 Login Issue on Target After Cloning ,Fresh Install Or Upgrade [ID 435550.1]
    Thanks,
    Hussein

  • My new payment method was not accepted

    I was warned that my payment method was due to expire so prompted to enter new details. I tried submitting details for business credit card and debit card but neither were accepted.
    Additional I moved from New Zealand to the UK but have recored this change in my profile.
    Any ideas why the payment method was not accepted?

    I've changed my address so not sure if that changed my I'd to the uk?
    The original card was from NZ which is expiring.
    I tried paying with a new uk card which was not accepted
    I get the feeling there is more to emigrating than just changing your address :-)

  • Itunes startup error itunes was not properly installed. If you wish to ....

    itunes startup error
    itunes was not properly installed. If you wish to import or burn cds, you need to reinstall itunes
    help?

    Are you actually unable to import or burn CDs? I get that error every time as well, but I don't actually have any problems.

  • Syntax error after applying NOTE 2028544

    Hello Experts,
    We implemented Fiori My Timesheet application and it was working fine except while saving the time data from Fiori we were getting short dump saying conversion error (found during debugging) as mentioned in below screenshot.
    To overcome this error we implemented SAP NOTE 2028544 in ECC using SNOTE but it was throwing an syntax error in a interface /IWBEP/IF_MGW_MED_ODATA_TYPES. While during version comparision we found out that the NOTE has removed a line from the program (Below screenshot) which is causing the error. Also we are currently in SAPK-20009INIWBEP version of IW_BEP.
    Can anyone please let us know what wrong we did and how to overcome this situation since we cannot revert back the changes because it is asking for access key to manually change the code and when we are trying to reset the NOTE implementation using SNOTE then we are getting syntax error in the above program?
    Thanks in advance.
    Regards,
    Rahul
    Tags edited by: Michael Appleby (but please start doing this on your own)

    Hello Pankaj,
    While checking the NOTE 2032088 and the correction instructions, it was mentioned that the prerequisites is to apply NOTE 2028544 (The one in which we are facing error).
    But the main problem now is we applied the NOTE 2028544 but it caused a change in a program (mentioned earlier) and we activated it forcefully. Now when we are trying to open My Timesheet application it is giving error. When we try to reset this NOTE implementation then we cannot do because it is saying there is a syntax error in your program.
    We are now in deadlock situation where we cannot move forward or backward
    Regards,
    Rahul

  • A syntax error I'm not sure how to fix

    I'm getting a message that says "There is a syntax error on line 154. Code hinting may not work until you fix the error. However, my line 154 was automatically put into the code when I inserted a Spry Menu Bar. I haven't touched the code and so am not sure where the error might have come from. This is how it reads:
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    Any ideas would be really appreciated!
    Thank you!

    That kind of error is usually caused by something other than what it is pointing to. I see it most often when a <script> is self closed <script /> instead of including an end tag </script>. DW often points you in the wrong direction like this.
    Could you post a link to a test page online that gives the error?

  • Web Services and Powershell error: Method can not be reflected

    I'm trying to use the VSM 9.1 Web Service API with Powershell, however when I run the New-WebServiceProxy cmdlet it throws an error, the inner exception being "Method InfraAPI.KnowledgeUpdate can not be reflected.", and as such I'm unable to proceed any further with development.
    Here's the Powershell output:
    PS C:\PS> new-webserviceproxy -uri http://vsmhost/dev/ServiceManager.svc?wsdl
    New-WebServiceProxy : Exception has been thrown by the target of an invocation.
    At line:1 char:20
    + new-webserviceproxy <<<<  -uri http://vsmhost/dev/ServiceManager.svc?wsdl
        + CategoryInfo          : NotSpecified: (:) [New-WebServiceProxy], TargetInvocationException
        + FullyQualifiedErrorId : System.Reflection.TargetInvocationException,Microsoft.PowerShell.Commands.NewWebServiceProxy
    PS C:\PS> $error[0].exception.innerexception
    Method InfraAPI.KnowledgeUpdate can not be reflected.
    Any help with this would be greatly appreciated.

    Hi Chris,
    //-- Please read the following as my personal opinion only as it's based only on my own experience using VSM API. I may be wrong of course. --//
    As far as I remember there was never a good decision to use VSM API through web service reference.
    I had met some problems when referencing VSM services directly through web even using Visual Studio some years ago. Since then I don't use this method.
    Recently I have tried to check VSM API services metadata with some soap tools and it appears that it is not completely WS-I compliant - something wrong with namespaces defining ResultSet elements as type of DataSet. Perhaps this is the reason why VSM web services does not work as expected when referencing them directly. Maybe something else...
    So the solution, workaround actually, (provided by VMware by the way) is to generate InfraAPI class and use it in your project. So far no problems with this method and we are using VSM API quite a lot.
    In any case, it could be really helpful if someone might submit this issue to Alemba to fix it permanently I guess.
    Ok, let's go back to your question about using VSM API with PowerShell. I must admit you have really challenged me. It was not so simple but really interesting.
    The only way I have made PowerShell working is this:
    1. Extract VSM API services class to a file:
    svcutil /t:code /language=c# /messageContract http://vsmhost/dev/ServiceManager.svc /out:InfraAPI.9.2.0.cs /config:InfraAPI.9.2.0.config
    2. Compile the class to dll file:
    csc /t:library /out:InfraAPI.9.2.0.dll InfraAPI.9.2.0.cs
    3. Include and use this library in your ps script like this:
    [System.Reflection.Assembly]::LoadFrom("C:\_DATA\__SM9\PowerShell\API\InfraAPI.9.2.0.dll")
    [System.Reflection.Assembly]::LoadWithPartialName(“System.ServiceModel”)
    $ws_hb = New-Object System.ServiceModel.BasicHttpBinding
    $ws_hb.Name = "BasicHttpBinding_IServiceManager"
    $ws_epa = New-Object System.ServiceModel.EndpointAddress("http://vsmhost/dev/servicemanager.svc")
    $ws = New-Object ServiceManagerClient($ws_hb,$ws_epa)
    $ws_login_in = New-Object LoginRequest("VSM_USER_NAME","VSM_USER_PASSWORD","VSM_DATABASE")
    $ws_login_out = $ws.Login($ws_login_in)
    $ws_login_out.sMessage
    if($ws_login_out.Ret.value__ -eq 0){
        "Session ID: " + $ws_login_out.sID
        $ws_logout_in = New-Object LogoutRequest($ws_login_out.sID)
        $ws.Logout($ws_logout_in).sMessage
    Shoot your questions if you have any. And could you please let me know if this is working in your environment. Tx.
    Regards, Gytis

Maybe you are looking for

  • Java SE 6 runtime error message

    My system keeps generating an error message: "To open "java," you need a Java SE 6 runtime. Would you like to install one now?" How can I discover what is causing this?  I see (from another discussion) that a Facebook Video Chat file can be cause thi

  • Siri refuses to remind me of a set reminder

    Hello all. For some reason if I say, Siri remind me of a certain event at a certain time she'll come back and repeat what I said then ask me to confirm it.  I confirm it but then she will not remind me.  I can go into the reminders app and it's there

  • Servlet forward proxy

    Hi all. I'm trying to build a servlet which will act as a proxy between another system written in C++ and my J2EE applications. A browser client will go through the C++ app. down to my proxy. Basically I want my proxy servlet to receive a HTTP POST,

  • Can I sync ipad2. And IPhone3, dont have a pc

    Can I sync ipad2. And IPhone3, dont have a pc

  • E4200v2 video streaming lag from media server

    When I try to stream a movie through the media server or through my computer to my xbox 360 the video will play fine for a couple minutes then it well get choppy and then the sound will not sync with the picture. I have the latest firmware and reset