Error in virtual keyfigure exit

Hi All,
I have written some code in customer exit for virtual keyfigure.
There is no error in the code.
But when i am trying to execute the query, the following exception error occurs.
Please let me know how to correct this.
Thanks in advance!

Hi Ashish,
The error is 'ESubroutine call failed. Could not find the form USER_EXIT_INIT.
EAn exception with the type CX_SY_DYN_CALL_ILLEGAL_FORM occurred, but was
I>> Row: 480 Inc: SRRK0F30 Prog: SAPSRRK0.
Please help on this.

Similar Messages

  • Virtual Keyfigures

    All,
    For a client we want to use virtual keyfigures in a query. Now we have a value in the user exit, but we cannot get the value back into the query. Does anyone have an example of ABAP or some documentation on this subject?

    hi,
    try to put 'break-point' and do debug.
    and check with RSRT->click 'technical information', see 'virtual char/key figures', it should 'yes'.
    and try to generate the query with RSRT1.
    take a look
    Extractors
    and let's know your email, can send you some how to docs.
    hope this helps.

  • History report error: | An Exceptional Error occurred. Application exiting. Check the log file for error 5022

    Hi all
    I've got a error msg when try to generate a report using Cisco history report tool:
    Error | An Exceptional Error occurred. Application exiting.  Check the log file for error 5022
    It only happens when choose report template: ICD_Contact_Service_Queue_Activity_by_CSQ_en_us.
    User tried samething on other PC, it working fine.
    only on user' own PC and only choose this report, error appears.
    user runing windows 7 and do not have crystal report installed
    tried reinstalled the software, doesn't work.
    also tried this: (https://cisco-support.hosted.jivesoftware.com/thread/2041254) - doesn't work
    then tried https://supportforums.cisco.com/docs/DOC-6209  - doesn't work
    attached the log file.
    thanks.

    wenqianyu wrote:From the log file:Looks like you get a Login Window.Error message showed up after username/password be enteredThere is an error in the log: Error happened in comparing UCCX version and HRC versionYou may need to do a clean uninstall, download the Historical report from the server, and install it again on the PC.Does this only happen to one PC or to every PC with this application?Wenqian 
    I have completely uninstalled the HRC, and download from server install again -- still doesn't work with exactly same error.
    this matter only happens on this PC, when user try same thing on other PC, it works.
    so i think it not relate to server or account.

  • I keep getting the Error "Adobe Muse has encountered an error and will now exit..."

    I keep getting the Error "Adobe Muse has encountered an error and will now exit. Please report the last few actions you took leading up to this error to the Adobe Muse CC team. UIDs With Multiple Owners: ImageFrame owned by PagePageItem and BaseLink". I get this when I try and save and I am not sure what is causing it or, since i made several changes to the site, which actions it would have been. I am using the latest updated version of Muse. the 2014.3  I was able to publish site with changes but it did not save, so I have a web version different then what is saved. My published site is the most recent one but the saved version is one without latest changes. When I tried to merge it started updating the Assets and then showed that Error message and shutdown.

    I believe you have already updated Muse version which includes fix for this issue , if not then please update Muse to latest version.
    Thanks,
    Sanjit

  • GNU fortran90 doesn't work now.  I get the error message:gfortran: warning: couldn't understand kern.osversion '14.0.0 ld: library not found for -lcrt1.o collect2: error: ld returned 1 exit status

    GNU fortran 90 no longer works.
    I get the error message:
    gfortran: warning: couldn’t understand kern.osversion ‘14.0.0
    ld: library not found for -lcrt1.o
    collect2: error: ld returned 1 exit status

    GNU fortran 90 no longer works.
    I get the error message:
    gfortran: warning: couldn’t understand kern.osversion ‘14.0.0
    ld: library not found for -lcrt1.o
    collect2: error: ld returned 1 exit status

  • Error message in customer exit

    HI ABAPer's,
    I am facing the one problem  while giving the error message in customer exit  ZXM06U43(POCustomer exit). The scenario is i am looping the  tekpo(PO line item) internal tables and doing some validations if any lineitem fail in the validation i need  give the error message .I dd the  but all ways it showing the error in last line item in the  PO.
    Thanks,
    Harinath

    Hi,
    You have to either leave the screen. Also you can try EXIT in place of LEAVE SCREEN as per suitable to your transaction.
    SAMPLE CODE:
      IF SY-SUBRC <> 0.
        MESSAGE E059(ZGO) WITH I_MSEG-MATNR I_MSEG-AUFNR.
        LEAVE SCREEN.
      ENDIF.
    Regds,
    Anil
    Edited by: Anil Katoch on Sep 3, 2009 7:37 AM

  • Creation of virtual keyfigure.

    Hello All,
    Please lookinto the below requirement...
    my requirement is One keyfigure available in cube and one more key figure available in multiprovider.
    we need to calcule the total vale.
    For example total value menas in our case : SR_Co/SR_coff.
    we need this calcucation based on the company code.
    company code available in multiprovider and cube.
    sR_CO available in multiprovider.
    SR_coff availble in Cube this loaded throgh IP function.
    how to write virtual keyfigure on this case.
    regards,
    ch.

    Hi
    Yes i think this can be done using VKF which is similar to CKF but more dynamic as data populates at run time.
    Newly created VKF will be added to the cube , but it would nt have any mapping but would derive data at run time using a custome code. Add a new Virtual key figure and write the logic in Either CMOD ZXRSRU02 enhancement or you can try implementig a BADI. Once implemented you can use this in the query in Place of the CKF you were using earlier.
    Go through the following articles they shall help you in implementing the same:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0aa5390-eb7c-2c10-06a1-908f4849ad2a?quicklink=index&overridelayout=true
    Regards
    Raj Rai

  • Error 10698 Virtual machine could not be live migrated to virtual machine host

    Hi all,
    I am running a fail over cluster of
    Host:
    2 x WS2008 R2 Data Centre
    managed by VMM:
    VMM 2008 R2
    Virtual Host:
    1x windows 2003 64bit guest host/virtual machine
    I have attempted a live migration through VMM 2008 R2 and im presented withe the following error:
    Error (10698)
    Virtual machine XXXXX could not be live migrated to virtual machine host xxx-Host01 using this cluster configuration.
     (Unspecified error (0x80004005))
    What i have found when running the cluster validation:
    1 out of the 2 hosts have an error with RPC related to network configuration:
    An error occurred while executing the test.
    Failed to connect to the service manager on 'xxx-Host02'.
    The RPC server is unavailable
    However there are no errors or events on host02 that are showing any probelms at all.
    In fact the validation report goes on to showing the rest of the configuration information of both cluster hosts as ok.
    See below:
    List BIOS Information
    List BIOS information from each node.
    xxx-Host01
    Gathering BIOS Information for xxx-Host01
    Item  Value 
    Name  Phoenix ROM BIOS PLUS Version 1.10 1.1.6 
    Manufacturer  Dell Inc. 
    SMBios Present  True 
    SMBios Version  1.1.6 
    SMBios Major Version  2 
    SMBios Minor Version  5 
    Current Language  en|US|iso8859-1 
    Release Date  3/23/2008 9:00:00 AM 
    Primary BIOS  True 
    xxx-Host02
    Gathering BIOS Information for xxx-Host02
    Item  Value 
    Name  Phoenix ROM BIOS PLUS Version 1.10 1.1.6 
    Manufacturer  Dell Inc. 
    SMBios Present  True 
    SMBios Version  1.1.6 
    SMBios Major Version  2 
    SMBios Minor Version  5 
    Current Language  en|US|iso8859-1 
    Release Date  3/23/2008 9:00:00 AM 
    Primary BIOS  True 
    Back to Summary
    Back to Top
    List Cluster Core Groups
    List information about the available storage group and the core group in the cluster.
    Summary 
    Cluster Name: xxx-Cluster01 
    Total Groups: 2 
    Group  Status  Type 
    Cluster Group  Online  Core Cluster 
    Available Storage  Offline  Available Storage 
     Cluster Group
    Description:
    Status: Online
    Current Owner: xxx-Host01
    Preferred Owners: None
    Failback Policy: No failback policy defined.
    Resource  Type  Status  Possible Owners 
    Cluster Disk 1  Physical Disk  Online  All Nodes 
    IP Address: 10.10.0.60  IP Address  Online  All Nodes 
    Name: xxx-Cluster01  Network Name  Online  All Nodes 
     Available Storage
    Description:
    Status: Offline
    Current Owner: Per-Host02
    Preferred Owners: None
    Failback Policy: No failback policy defined.
     Cluster Shared Volumes
    Resource  Type  Status  Possible Owners 
    Data  Cluster Shared Volume  Online  All Nodes 
    Snapshots  Cluster Shared Volume  Online  All Nodes 
    System  Cluster Shared Volume  Online  All Nodes 
    Back to Summary
    Back to Top
    List Cluster Network Information
    List cluster-specific network settings that are stored in the cluster configuration.
    Network: Cluster Network 1 
    DHCP Enabled: False 
    Network Role: Internal and client use 
    Metric: 10000 
    Prefix  Prefix Length 
    10.10.0.0  20 
    Network: Cluster Network 2 
    DHCP Enabled: False 
    Network Role: Internal use 
    Metric: 1000 
    Prefix  Prefix Length 
    10.13.0.0  24 
    Subnet Delay  
    CrossSubnetDelay  1000 
    CrossSubnetThreshold  5 
    SameSubnetDelay  1000 
    SameSubnetThreshold  5 
    Validating that Network Load Balancing is not configured on node xxx-Host01.
    Validating that Network Load Balancing is not configured on node xxx-Host02.
    An error occurred while executing the test.
    Failed to connect to the service manager on 'xxx-Host02'.
    The RPC server is unavailable
    Back to Summary
    Back to Top
    If it was an RPC connection issue, then i shouldnt be able to mstsc, explorer shares to host02. Well i can access them, which makes the report above is a bit misleading.
    I have also checked the rpc service and it has started.
    If there is anyone that can shed some light or advice me oany other option for trouble shooting this, that would be greatley appreciated.
    Kind regards,
    Chucky

    Hi all,
    I am running a fail over cluster of
    Host:
    2 x WS2008 R2 Data Centre
    managed by VMM:
    VMM 2008 R2
    Virtual Host:
    1x windows 2003 64bit guest host/virtual machine
    I have attempted a live migration through VMM 2008 R2 and im presented withe the following error:
    Error (10698)
    Virtual machine XXXXX could not be live migrated to virtual machine host xxx-Host01 using this cluster configuration.
     (Unspecified error (0x80004005))
    What i have found when running the cluster validation:
    1 out of the 2 hosts have an error with RPC related to network configuration:
    An error occurred while executing the test.
    Failed to connect to the service manager on 'xxx-Host02'.
    The RPC server is unavailable
    However there are no errors or events on host02 that are showing any probelms at all.
    In fact the validation report goes on to showing the rest of the configuration information of both cluster hosts as ok.
    See below:
    List BIOS Information
    List BIOS information from each node.
    xxx-Host01
    Gathering BIOS Information for xxx-Host01
    Item  Value 
    Name  Phoenix ROM BIOS PLUS Version 1.10 1.1.6 
    Manufacturer  Dell Inc. 
    SMBios Present  True 
    SMBios Version  1.1.6 
    SMBios Major Version  2 
    SMBios Minor Version  5 
    Current Language  en|US|iso8859-1 
    Release Date  3/23/2008 9:00:00 AM 
    Primary BIOS  True 
    xxx-Host02
    Gathering BIOS Information for xxx-Host02
    Item  Value 
    Name  Phoenix ROM BIOS PLUS Version 1.10 1.1.6 
    Manufacturer  Dell Inc. 
    SMBios Present  True 
    SMBios Version  1.1.6 
    SMBios Major Version  2 
    SMBios Minor Version  5 
    Current Language  en|US|iso8859-1 
    Release Date  3/23/2008 9:00:00 AM 
    Primary BIOS  True 
    Back to Summary
    Back to Top
    List Cluster Core Groups
    List information about the available storage group and the core group in the cluster.
    Summary 
    Cluster Name: xxx-Cluster01 
    Total Groups: 2 
    Group  Status  Type 
    Cluster Group  Online  Core Cluster 
    Available Storage  Offline  Available Storage 
     Cluster Group
    Description:
    Status: Online
    Current Owner: xxx-Host01
    Preferred Owners: None
    Failback Policy: No failback policy defined.
    Resource  Type  Status  Possible Owners 
    Cluster Disk 1  Physical Disk  Online  All Nodes 
    IP Address: 10.10.0.60  IP Address  Online  All Nodes 
    Name: xxx-Cluster01  Network Name  Online  All Nodes 
     Available Storage
    Description:
    Status: Offline
    Current Owner: Per-Host02
    Preferred Owners: None
    Failback Policy: No failback policy defined.
     Cluster Shared Volumes
    Resource  Type  Status  Possible Owners 
    Data  Cluster Shared Volume  Online  All Nodes 
    Snapshots  Cluster Shared Volume  Online  All Nodes 
    System  Cluster Shared Volume  Online  All Nodes 
    Back to Summary
    Back to Top
    List Cluster Network Information
    List cluster-specific network settings that are stored in the cluster configuration.
    Network: Cluster Network 1 
    DHCP Enabled: False 
    Network Role: Internal and client use 
    Metric: 10000 
    Prefix  Prefix Length 
    10.10.0.0  20 
    Network: Cluster Network 2 
    DHCP Enabled: False 
    Network Role: Internal use 
    Metric: 1000 
    Prefix  Prefix Length 
    10.13.0.0  24 
    Subnet Delay  
    CrossSubnetDelay  1000 
    CrossSubnetThreshold  5 
    SameSubnetDelay  1000 
    SameSubnetThreshold  5 
    Validating that Network Load Balancing is not configured on node xxx-Host01.
    Validating that Network Load Balancing is not configured on node xxx-Host02.
    An error occurred while executing the test.
    Failed to connect to the service manager on 'xxx-Host02'.
    The RPC server is unavailable
    Back to Summary
    Back to Top
    If it was an RPC connection issue, then i shouldnt be able to mstsc, explorer shares to host02. Well i can access them, which makes the report above is a bit misleading.
    I have also checked the rpc service and it has started.
    If there is anyone that can shed some light or advice me oany other option for trouble shooting this, that would be greatley appreciated.
    Kind regards,
    Chucky
    Raja. B

  • I cannot download the latest update for Adobe Muse CC. I have been directed  to this formum. I have an erro message "ERROR Adobe Muse CC has encountered an error and will now exit. Please report the last few actions you took leading up to this error to th

    II cannot download the latest update for Adobe Muse CC. I have been directed  to this formum. I have an erro message "ERROR Adobe Muse CC has encountered an error and will now exit. Please report the last few actions you took leading up to this error to the Adobe Muse CC team. Trying to instantiate UID U4691 but lastAllocatedUID is only: 4491 OK"
    I am very frustrated because Muse crashes when cannot download updatres.
    I have been redirected to this forum from the 'Adobe Chat Team'
    I am trying to complete a project for a client, this is the second time I have asked for help. Can anyone please help me I
    I am using Windows 7. I am not sure if a response will come. I am new to forums. Do I wait or will someone contact me?
    Deb Kelleher
    [email protected]

    Hi Deb,
    Please accept my apologies for the inconvenience so far.
    I am not sure if you already tried this, but in case not, try to update Muse via Creative cloud directly.
    Start creative cloud application manager, if you dont have it, you can download it from here,
    Adobe - Adobe Application Manager : For Windows : Adobe Application Manager
    Login using your adobe id, once you are in, switch to Apps, and you should see the Update for Muse, click Update.
    Let me know if you get any error or warning.
    Thanks.

  • Intermittent Runtime error - pure virtual function call

    I have an intermittent runtime error - pure virtual function call & don't know what cause it? Since It only occurs & crashes once awhile therefore it's difficult to trap it for debugging.I suspect it come from TestStand ActiveX API which I use in my User Interface Application project but I'm not really sure.
    Does anyone experience this kind of problem when working with TestStand API ? If so any
    suggestion? I have noticed in the TestStand API header file teapi.tlh contain many raw_.... function defined as pure virtual function. What are these raw_... function ? I don't think I use any of these function in my project.
    Many thanks!

    Danh,
    I don't believe that your problem can be solved with the information you have provided unless someone else has experienced the same symtpoms which coincidentally have the same cause as in your case.
    Is there any other information you can provide that can help localize the problem?
    1) What is happening when the error occurs?
    2) Does the error always occur in the same place?
    3) Does it always occur with use of certain resources (e.g. DAQ, GPIB, VISA, printer)?
    4) Does it occur when using the sequence editor?
    5) Does it occur when using one of the shipping operator interfaces?
    6) Does it occur only when using your operator interfaces?
    7)Is it related to a specific sequence or any sequence?
    8) Does it happen when you executed your sequence with/without a process model entr
    y point (i.e. Execute>>Test UUTs, Execute>>Singal Pass or Execute>>Run MainSequence)?
    9) How often does it happen?
    10) What version of TestStand are you using?
    11) With what language (include versions) are you programming your code modules?
    12) With what language (include versions) are you programming your operator interface?
    13) Is there any error code reported with this error message?
    14) Is this error reported in a TS run-time error dialog or is it reported directly 1by the operating system?
    15) Have you searched the web for related errors? For example, the following link describes a particular programming mistake that can lead to this error
    http://support.microsoft.com/support/kb/articles/Q125/7/49.asp
    By investigating answers to the above questions you may be able to narrow the cause of this error, which might allow you or others to help solve the problem.

  • Error "pure virtual function call"

    Hi,
    Windows7, PCI-GPIB, NI-488.2 Version 3.1.1, Visual Studio 2010 C++ Application.
    Randomly between 10 minuntes and 4 hours I get the error "pure virtual function call"
    With the debbuger attached to the process in error I identified NI4882.dll as the source of the error.
    Then I deinstalled NI-488.2 Version 3.1.1 and installed NI488.2 July 2000. Then my application runs without any error!
    I tried to attach the source files which represents the interface between my application and the NI-4882 driver but it did not work for the C++ file.
    Any help appreciated.
    Best Regards
    Walter
    Attachments:
    _GPIB.h ‏4 KB

    Part 2:
    Int TGpib::Open (UShort adr, ULong timeoutMs)
    if (mDevices.empty ())
    Reset ();
    Int ud = ibdev (mBoardID, adr, 0, TimeoutCode (timeoutMs), 1, 0);
    if (ud < 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("open device '%d' failed"), adr);
    GPIBError (-1, FCTX, true);
    return -1;
    SDevInfo devInf;
    devInf.mGpibAdr = adr;
    mDevices[ud] = devInf;
    if (!DeviceClear (ud))
    MCTraceLib (this, eTraceError, TFCTX, _T("no device on address '%d'"), adr);
    GPIBError (ud, FCTX, true);
    Close (ud);
    return -1;
    if (Send (ud, "*IDN?"))
    Tstring s = String2Tstring (Enter (ud));
    StringList l = Split (s, _T(','));
    if (l.size () == 4)
    mDevices[ud].mVendorName = l[0];
    mDevices[ud].mModelName = l[1];
    else
    MCTraceLib (this, eTraceError, TFCTX, _T("no device on address '%d'"), adr);
    GPIBError (ud, FCTX, true);
    Close (ud);
    return -1;
    Local (ud);
    return ud;
    bool TGpib::Close (Int ud)
    GPIBDevMap::iterator it = mDevices.find (ud);
    if (it != mDevices.end ())
    Local (ud);
    Int stat = ibonl (ud, 0);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("close device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX, true);
    return false;
    mDevices.erase (it);
    return true;
    return false;
    bool TGpib::SetTimeout (Int ud, ULong timeoutMs)
    Int stat = ibtmo (ud, TimeoutCode (timeoutMs));
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("set timeout device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX, true);
    return false;
    return true;
    ULong TGpib::Timeout ()
    return mTimeout;
    bool TGpib::EnableSRQ (Int ud, HANDLE srqEvent)
    if (srqEvent != INVALID_HANDLE_VALUE)
    GPIBDevMap::iterator it = mDevices.find (ud);
    if (it != mDevices.end ())
    (it->second).mSRQEvent = srqEvent;
    Int stat = ibnotify (mBoardID, SRQI, GpibSRQ, (void*)this);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX, true);
    return false;
    MCTraceLib (this, eTraceDebug, TFCTX, _T("(SRQ)on device ud = '%d' success"), ud);
    return true;
    else
    MCTraceLib (this, eTraceError, TFCTX, _T("srqEvent == INVALID_HANDLE_VALUE"));
    return false;
    bool TGpib::DisableSRQ (Int /*ud*/)
    return true;
    bool TGpib::Remote (Int ud)
    Int adr;
    ibask (ud, IbaPAD, &adr);
    adr += 32; // Talk Address = Listen Address + 32
    char cmdbuf[] = {MTA0, 0, LLO, UNT, UNL};
    cmdbuf[1] = char(adr);
    Int stat = ibcmd (mBoardID, &cmdbuf, 5);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX, true);
    return false;
    mDevices[ud].mRemote = true;
    return true;
    bool TGpib::Local (Int ud)
    mDevices[ud].mRemote = false;
    Int stat = ibloc (ud);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX, true);
    return false;
    return true;
    char TGpib::SerialPoll (Int ud)
    char pollChr;
    Int stat = ibrsp (ud, &pollChr);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    return false;
    return static_cast<char> (pollChr & 0x9F); // VM QueryError eliminieren
    bool TGpib::DeviceClear (Int ud)
    Int stat = ibclr (ud);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX, true);
    return false;
    return true;
    bool TGpib::Trigger (Int ud)
    Int stat = ibtrg (ud);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    return false;
    return true;
    bool TGpib::Send (Int ud, const std::string& str)
    Int stat = ibeot (ud, 1);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("'EOI on' on ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    return false;
    stat = ibwrt (ud, (void*)str.c_str (), str.length ());
    Long sent = ThreadIbcntl ();
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    return false;
    if (sent != static_cast<Long> (str.length ()))
    MCTraceLib (this, eTraceError, TFCTX, _T("only %d of %d characters sent"), sent, str.length ());
    return false;
    return true;
    bool TGpib::SendNoEOI (Int ud, const std::string& str)
    Int stat = ibeot (ud, 0);
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("'EOI off' on ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    return false;
    stat = ibwrt (ud, (void*)str.c_str (), str.length ());
    Long sent = ThreadIbcntl ();
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    return false;
    if (sent != static_cast<Long> (str.length ()))
    MCTraceLib (this, eTraceError, TFCTX, _T("only %d of %d characters sent"), sent, str.length ());
    return false;
    return true;
    std::string TGpib::Enter (Int ud)
    std::string str = "";
    char* buf = new char[2048];
    Int stat = ibrd (ud, (void*)buf, 2047);
    Long got = ThreadIbcntl ();
    if ((stat & ERR) != 0)
    MCTraceLib (this, eTraceError, TFCTX, _T("on device ud = '%d' failed"), ud);
    GPIBError (ud, FCTX);
    else
    buf[got] = '\0';
    str = buf;
    // eventuelle LF und CR vom Ende entfernen!
    string::size_type idx = str.find_last_of (k_CR);
    str = str.substr (0, idx);
    idx = str.find_last_of (k_LF);
    str = str.substr (0, idx);
    delete[] buf;
    return str;

  • Upgrade to APEX 4.2.3 apexins_con.sql gets: catconInit: database is not open Unexpected error encountered in catconInit; exiting

    Upgrade to APEX 4.2.3 apexins_con.sql gets Unexpected error encountered in catconInit; exiting
    I am attempting to install/upgrade apex 4.2.3 under Oracle12c in a Multi-Tenant configuration.
    Here are the environmental details
    Windows 7 64 bit
    Apex 4.2.3
    ORCL: CDB$ROOT
    PDBORCL: PDB$SEED
    Here is the current states of the pluggable databases
    SQL> SELECT NAME,OPEN_MODE,TOTAL_SIZE/1024/1024/1024 FROM V$PDBS;
    NAME                           OPEN_MODE  TOTAL_SIZE/1024/1024/1024
    PDB$SEED                       READ ONLY                 .263671875
    PDBORCL                        READ WRITE                .366210938
    SQL>
    This is the command that I am using to re-install/upgrade APEX:
    # remove 4.2.2 installation
    cd M:\apex_4.2.3\apex_4.2.3_en\apex
    sqlplus /@ORCL as sysdba
    @apxremov.sql   <<  this was successful
    quit
    Install 4.2.3 installation
    sqlplus /@ORCL as sysdba
    @apexins_con.sql i10wrk SYSAUX SYSAUX TEMP /i/  << this failed
    The APEX  installation fails immediately with the following message:
    catconInit: database is not open
    Unexpected error encountered in catconInit; exiting
    I cannot determine which database is not open.  Both my CDB$ROOT and PDBORCL are reported as open (READ WRITE Mode).
    Here is my Container database
    SQL>  SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') FROM DUAL;
    SYS_CONTEXT('USERENV','CON_NAME')
    CDB$ROOT
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME    STATUS
    orcl             OPEN
    SQL>
    Here is the associated Pluggable Database
    sqlplus /@PDBORCL as sysdba
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME    STATUS
    orcl             OPEN
    SQL> ALTER PLUGGABLE DATABASE PDBORCL OPEN;
    ALTER PLUGGABLE DATABASE PDBORCL OPEN
    ERROR at line 1:
    ORA-65019: pluggable database PDBORCL already open
    I am confused…. Which database is not open?
    The PDB$SEED is open in (READ ONLY) mode, but that is simply the template database.  I don't think that ever needs to be open in (Read Write) mode.

    sbing52,
    I cannot vouch for the specific error that is being returned by catcon.pl, but I would try the following in your situation.
    1. It seems you connect to CDB$ROOT and ran apxremov.sql. This only removed the common APEX option from CDB$ROOT. Your PDB is now in an inconsistent state, since APEX is no longer in the root. I would reconnect to CDB$ROOT and run apxremov_con.sql, make sure you use the one from the 4.2.3 distribution. The one in the ORACLE home will not work.
    2. I would then re-run apexins_con.sql connect to CDB$ROOT. Also, you need to pass the proper parameters. Why are you passing i10wrk? You should be invoking it like:
    @apexins_con.sql SYSAUX SYSAUX TEMP /i/
    Regards,
    Jason

  • Using result of a Calculated Keyfigure as input for a Virtual Keyfigure

    Hi experts,
    is it possible, to use the result of a calculated keyfigure of a query for the input of a virtual keyfigure und use the virtual keyfigure within the same query?
    My problem: depending on drilldown, I have a different percentage within the calculated keyfigure. And depending on that value, I would like to read a score out of a DSO and fill a virtual keyfigure with that, and show the score in the same query. In my opionion, the only way to calculate the score is on the fly, depending on the navigation step I do. Maybe there is another approach that I do not know.
    I was glad for any ideas. Thank you in advance!
    Regards
    F.L.

    Hi,
    Sorry but a calculated key figure result cannot be used in a virtual key figure calculation. The reason purely being that the CKF calculations happen after the Virtual KF/ Char calculations (through BAdI or CMOD).
    The only solution i see here is that you will need to do the calculations in the VKF logic itself. Please do remember that VKF calculations and population happens for each record bein fetched into OLAP from the Infoprovider for the Filters put into the report.
    Hope it helps.
    Thanks,
    Abhishek.

  • Type in artist name to lookup album in store.I get an error R6025 virtual Call and close and shuts down Itunes all together

    What can I do to fix My online Store artist seach. I type in a name I get an error R6025 Virtual Call. Then it shut Itune completey down

    I have had numerous issues with Itunes 64 bit 11.1.38 (and other previous versions) locking up and crashing upon start with "Itunes has stopped working" or "R6027 pure virtual function call".  I have researched the answers around the forums as well as having tried some extensive and repetitious troubleshooting myself and thought I'd list them here... in order of troubleshooting...
    1. Install all Windows updates and reboot.  This seems to clear issues from time-to-time... I suspect Itunes expects the latest-and-greatest as far as Windows is concerned.. see if this clears your issue.
    2. Uninstall all Itunes and Apple products & reboot, remove their directories, remove lingering Itunes registry entries, reboot again, reinstall using "RUN AS ADMINISTRATOR" to install the Itunes executable. See if this allows Itunes to stabilize.  Pelase be sure to use the following guide from Apple as far as removing the apps and directories are concerned...
    http://support.apple.com/kb/ht1923
    3. Remove the contents of the "iphone photo cache"  (or other related product photo cache)  directory.
    4. Try editing the shortcut properties and configure the shortcut (for all users) to run as Administrator.
    5. Try editing the shortcut and configure it to run in Compatibility Mode for Windows 7 (for all users).
    6. a.Try using MSCONFIG to locate a potential conflicting application or service using the following...
    http://support.apple.com/kb/ht2292
    or
    6. b. Remove the last recent software application(s) you may have installed... in my case removing GREENSHOT http://getgreenshot.org/  stopped my Itunes from crashing on startup and it stabilized after
    driving my nuts for weeks.
    Message was edited by: DaCheeze

  • Badi-Virtual keyfigure value not populating in query

    HI all,
    I am trying to populate a constant value into the virtual keyfigure when the query is executed but the value is not getting populated.
    I followed the steps how to do this by looking into the step by step process for keyfigure article which i found in SDN.
    When i execute my BADi in se19 i am able to get the value but not in the query.
    Is there a special way to create keyfigures or is it the same way as we create a normal keyfigure.
    Can someone tell me how to get the values in query.
    Thanks in advance.
    Regards,
    Harish

    Hi,
    why dont you debug the badi while executing the report from RSRT t-code. This will give you some idea.
    To debug, put a break point in 'define' as well as 'compute' function of your Badi-implementation, then go to RSRT t-code, enter your query name and then click generate. It will stop at the break-point. Here you can see what is the problem
    Regards
    akshay

Maybe you are looking for