What's error in my program

THIS IS MY CODE,It can pass compiled and run.but the resut is:
when it executed the OCISessionBegin() and has a error and couldn't run.
can you tell me.FAILED: OCISessionBegin(). Make sure database is up and the username/password is valid#include "stdio.h"
extern"C"{
#ifndef XML_ORACLE
#include <xml.h>
#endif
#include <stdlib.h>
#include <string.h>
extern"C"
#ifndef OCIXMLDB_ORACLE
#include <ocixmldb.h>
#endif
extern"C"
#ifndef ORATYPES_ORACLE
#include <oratypes.h>
#endif
OCIEnv *envhp;
OCIError *errhp;
OCISvcCtx *svchp;
OCIStmt *stmthp;
OCIServer *srvhp;
OCIDuration dur;
OCISession *sesshp;
oratext username[] = "tempsys";
oratext password[] = "ssssss";
oratext filename[33] = "AMCEWEN-20021009123336171PDT.xml";
oratext schemaloc[]= "http://localhost:8080/sys/schemas/PUBLIC/xmlns.oracle.com/xdb/XDBSchema.xsd";
/* Execute a SQL statement that binds XML data */
sword exec_bind_xml(OCISvcCtx svchp, OCIError errhp, OCIStmt *stmthp,
void xml, OCIType xmltdo, OraText *sqlstmt)
OCIBind bndhp1 = (OCIBind ) 0;
sword status = 0;
OCIInd ind = OCI_IND_NOTNULL;
OCIInd *indp = &ind;
if(status = OCIStmtPrepare(stmthp, errhp, (OraText *)sqlstmt,
(ub4)strlen((const char *)sqlstmt),
(ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT))
return OCI_ERROR;
if(status = OCIBindByPos(stmthp, &bndhp1, errhp, (ub4) 1, (dvoid *) 0,
(sb4) 0, SQLT_NTY, (dvoid *) 0, (ub2 *)0,
(ub2 *)0, (ub4) 0, (ub4 *) 0, (ub4) OCI_DEFAULT))
return OCI_ERROR;
if(status = OCIBindObject(bndhp1, errhp, (CONST OCIType *) xmltdo,
(dvoid **) &xml, (ub4 *) 0,
(dvoid **) &indp, (ub4 *) 0))
return OCI_ERROR;
if(status = OCIStmtExecute(svchp, stmthp, errhp, (ub4) 1, (ub4) 0,
(CONST OCISnapshot*) 0, (OCISnapshot*) 0,
(ub4) OCI_DEFAULT))
return OCI_ERROR;
return OCI_SUCCESS;
/* Initialize OCI handles, and connect */
sword init_oci_connect()
sword status;
if (OCIEnvCreate((OCIEnv **) &(envhp), (ub4) OCI_OBJECT,
(dvoid *) 0, (dvoid * (*)(dvoid *,size_t)) 0,
(dvoid * (*)(dvoid *, dvoid *, size_t)) 0,
(void (*)(dvoid *, dvoid *)) 0, (size_t) 0, (dvoid **) 0))
printf("FAILED: OCIEnvCreate()\n");
return OCI_ERROR;
/* Allocate error handle */
if (OCIHandleAlloc((dvoid *) envhp, (dvoid **) &(errhp),
(ub4) OCI_HTYPE_ERROR, (size_t) 0, (dvoid **) 0))
printf("FAILED: OCIHandleAlloc() on errhp\n");
return OCI_ERROR;
/* Allocate server handle */
if (status = OCIHandleAlloc((dvoid *) envhp, (dvoid **) &srvhp,
(ub4) OCI_HTYPE_SERVER, (size_t) 0, (dvoid **) 0))
printf("FAILED: OCIHandleAlloc() on srvhp\n");
return OCI_ERROR;
/* Allocate service context handle */
if (status = OCIHandleAlloc((dvoid *) envhp,
(dvoid **) &(svchp), (ub4) OCI_HTYPE_SVCCTX,
(size_t) 0, (dvoid **) 0))
printf("FAILED: OCIHandleAlloc() on svchp\n");
return OCI_ERROR;
/* Allocate session handle */
if (status = OCIHandleAlloc((dvoid *) envhp, (dvoid **) &sesshp ,
(ub4) OCI_HTYPE_SESSION, (size_t) 0, (dvoid **) 0))
printf("FAILED: OCIHandleAlloc() on sesshp\n");
return OCI_ERROR;
/* Allocate statement handle */
if (OCIHandleAlloc((dvoid *)envhp, (dvoid **) &stmthp,
(ub4)OCI_HTYPE_STMT, (CONST size_t) 0, (dvoid **) 0))
printf("FAILED: OCIHandleAlloc() on stmthp\n");
return status;
if (status = OCIServerAttach((OCIServer *) srvhp, (OCIError *) errhp,
(CONST oratext *)"", 0, (ub4) OCI_DEFAULT))
printf("FAILED: OCIServerAttach() on srvhp\n");
return OCI_ERROR;
/* Set server attribute to service context */
if (status = OCIAttrSet((dvoid *) svchp, (ub4) OCI_HTYPE_SVCCTX,
(dvoid *) srvhp, (ub4) 0, (ub4) OCI_ATTR_SERVER,
(OCIError *) errhp))
printf("FAILED: OCIAttrSet() on svchp\n");
return OCI_ERROR;
/* Set user attribute to session */
if (status = OCIAttrSet((dvoid *)sesshp, (ub4) OCI_HTYPE_SESSION,
(dvoid *)username,
(ub4) strlen((const char *)username),
(ub4) OCI_ATTR_USERNAME, (OCIError *) errhp))
printf("FAILED: OCIAttrSet() on authp for user\n");
return OCI_ERROR;
/* Set password attribute to session */
if (status = OCIAttrSet((dvoid *) sesshp, (ub4) OCI_HTYPE_SESSION,
(dvoid *)password,
(ub4) strlen((const char *)password),
(ub4) OCI_ATTR_PASSWORD, (OCIError *) errhp))
printf("FAILED: OCIAttrSet() on authp for password\n");
return OCI_ERROR;
/* Begin a session (OCISession *) sesshp, (ub4) OCI_CRED_RDBMS,*/
if (status = OCISessionBegin((OCISvcCtx *) svchp,
(OCIError *) errhp,
(OCISession *) sesshp, (ub4) OCI_CRED_RDBMS,
(ub4) OCI_STMT_CACHE)){
printf("FAILED: OCISessionBegin(). Make sure database is up and the username/password is valid. \n");
return OCI_ERROR;
/* Set session attribute to service context */
if (status = OCIAttrSet((dvoid *) svchp, (ub4) OCI_HTYPE_SVCCTX,
(dvoid *)sesshp, (ub4) 0, (ub4) OCI_ATTR_SESSION,
(OCIError *) errhp))
printf("FAILED: OCIAttrSet() on svchp\n");
return OCI_ERROR;
return OCI_SUCCESS;
/* Free OCI handles, and disconnect */
void free_oci()
sword status = 0;
/* End the session */
if (status = OCISessionEnd((OCISvcCtx *)svchp, (OCIError *)errhp,
(OCISession *)sesshp, (ub4) OCI_DEFAULT))
if (envhp)
OCIHandleFree((dvoid *)envhp, OCI_HTYPE_ENV);
return;
/* Detach from the server */
if (status = OCIServerDetach((OCIServer *)srvhp, (OCIError *)errhp,
(ub4)OCI_DEFAULT))
if (envhp)
OCIHandleFree((dvoid *)envhp, OCI_HTYPE_ENV);
return;
/* Free the handles */
if (stmthp) OCIHandleFree((dvoid *)stmthp, (ub4) OCI_HTYPE_STMT);
if (sesshp) OCIHandleFree((dvoid *)sesshp, (ub4) OCI_HTYPE_SESSION);
if (svchp) OCIHandleFree((dvoid *)svchp, (ub4) OCI_HTYPE_SVCCTX);
if (srvhp) OCIHandleFree((dvoid *)srvhp, (ub4) OCI_HTYPE_SERVER);
if (errhp) OCIHandleFree((dvoid *)errhp, (ub4) OCI_HTYPE_ERROR);
if (envhp) OCIHandleFree((dvoid *)envhp, (ub4) OCI_HTYPE_ENV);
return;
void main()
OCIType *xmltdo;
xmldocnode *doc;
ocixmldbparam params[1];
xmlerr err;
xmlctx *xctx;
oratext *ins_stmt;
sword status;
xmlnode *root;
oratext buf[10000];
/* Initialize envhp, svchp, errhp, dur, stmthp */
init_oci_connect();
/* Get an XML context */
params[0].name_ocixmldbparam = XCTXINIT_OCIDUR;
params[0].value_ocixmldbparam = &dur;
xctx = OCIXmlDbInitXmlCtx(envhp, svchp, errhp, params, 1);
if (!(doc = XmlLoadDom(xctx, &err, "file", filename,
"schema_location", schemaloc, NULL)))
printf("Parse failed.\n");
return;
else
printf("Parse succeeded.\n");
root = XmlDomGetDocElem(xctx, doc);
printf("The xml document is :\n");
XmlSaveDom(xctx, &err, (xmlnode *)doc, "buffer", buf, "buffer_length", 10000, NULL);
printf("%s\n", buf);
/* Insert the document into my_table */
ins_stmt = (oratext *)"insert into purchaseorder values (:1)";
status = OCITypeByName(envhp, errhp, svchp, (const text *) "SYS",
(ub4) strlen((const char *)"SYS"), (const text *) "XMLTYPE",
(ub4) strlen((const char *)"XMLTYPE"), (CONST text *) 0,
(ub4) 0, OCI_DURATION_SESSION, OCI_TYPEGET_HEADER,
(OCIType **) &xmltdo);
if (status == OCI_SUCCESS)
status = exec_bind_xml(svchp, errhp, stmthp, (void *)doc,
xmltdo, ins_stmt);
if (status == OCI_SUCCESS)
printf ("Insert successful\n");
else
printf ("Insert failed\n");
/* Free XML instances */
if (doc) XmlFreeDocument((xmlctx *)xctx, (xmldocnode *)doc);
/* Free XML CTX */
OCIXmlDbFreeXmlCtx(xctx);
free_oci();
}

Delete the preferences as answered in these other posts...
http://discussions.apple.com/message/8902351#8902351
http://discussions.apple.com/message/9571515#9571515

Similar Messages

  • What does this mean: "The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem"?  I tried reinstalling, but I get an error message saying something about permission to launch services.

    What does this mean: "The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem"?  I tried reinstalling, but I get an error message saying something about permission to launch services.

    Solving MSVCR80 issue and Windows iTunes install issues.

  • 148:3, is showing up as an error and my program will not run, what to do ?

    148:3, is showing up as an error and my program will not run, what to do ?

    Error 148:3 is a licensing error for Adobe Paid apps like Photoshop or Flash Professional...
    WHERE exactly are you seeing this error?

  • What does "Error 10" mean? "An error occurred while loading your project. 10"

    Does anyone know what "Error 10" means?  For the first time, I'm getting a message that says, "An error occurred while loading your project. 10".  I'm getting this message when I try to open a project that I created yesterday.
    I'm using Adobe Premiere 6 on a Windows 7 machine.  I have over 20 gigs of open space on the drive with all the project and support files.  And this machine with 2 gigs of RAM never has a problem opening other similar Premeire project files with even more still images plugged in.
    All of my Premiere project files have always opened with no problem.  A similar file that this project file was created from with all the same base elements still opens with no problem.
    This file almost finishes the "Loading Project - checking files..." process, but then I get the error message.
    I had also saved a duplicate backup file for the project in question and it will not open either, so I believe that rules out a corrupt file... it is only this one project that I created yesterday that will not open.  This project file is only about 5.7 megabytes in size.
    This file has many still images plugged in to it, but all the same images are plugged in to another base file that still opens correctly.
    I've also tried closing all other apps to save memory but I still get the error.   I've also tried opening this problem file from within the application and I still get the same error message.
    I read some troubleshooting information on the Adobe website about files that give error messages that will not open and it recommended adjusting the size of the virtual memory paging file in the system settings to twice the amount of RAM that is installed instead of being on the automatic setting, so I followed the instruction verbatim and restarted my machine and I still get the error message.
    I've also read other troubleshooting info on the Adobe site that recommends to "delete the application preferences file" and "recreate the plugin cache file", but I'm not sure if "Error 10" indicates that those things are the correct procedures to use.
    I could re-create this project file, but it has many tricky cutting and motion setting edits that will be difficult to reproduce and it took me a full day to create this project file.
    Also, yesterday before initially closing this file, I was able to successfully render a test version to an AVI file and that video file plays fine, but neither the original project file nor the duplicate will open... I'm always getting the "An error occurred while loading your project. 10"   after the file almost finishes the "Loading Project - checking files..." process... it almost finishes opening but then I get the error message.
    Thanks for any input on this problem.  You can see the error message screenshot below.
    digi

    Thanks Bill... me too.
    After writing to Dennis Radeke on an Adobe.com blog about this and getting his very limited response, I wrote to him quoting something I read on the wiki page that you sent me the link to...
    Adobe blog:
    http://http://blogs.adobe.com/genesisproject/2009/11/having_weird_behavior_with_an.html#co mment-2701
    Wiki page link that you gave me:
    http://premierepro.wikia.com/wiki/FAQ:How_do_I_recover_a_corrupt_project%3F
    Here's what my response today was...
    Thanks for your reply DR.
    My old version of Premiere 6 works perfectly on Windows 7.  I’ve created over a thousand different Premiere project files on this 5 year-old PC that was updated to Windows 7 last year.
    All of my other Premiere 6 files open and maintain their original editability and all the features in this ancient version of Premiere work very well.
    I own and use mostly Mac machines but I have one 5 year-old PC with a 160 gig hard drive with Windows 7 that I run Premiere 6 on because it’s a thousand dollar program that I had from 10 years ago that I didn’t want to repurchase. Buying a newer PC 5 years ago was far less expensive than buying a new copy of Premiere.  Some people seem to think, “Wow, just buy a new version of the software for a thousand dollars and a new computer with a 5 Terabyte hard drive.”, but that isn’t always the reality of some peoples financial situation.
    With 20 gigs of open HD space, all of my previous, even more complex Premiere 6 files still open and edit just fine.  It is only this one file that I created Thursday that won’t re-open after closing it for the first time.  Since the backup copy of that file won’t open either, and all the support files open, play and work in other previous project files, I’m thinking that there is some glitch that happened when saving this file that is corrupting it now, making it unable to be re-opened.
    Based on prior advice on multiple topics about Premiere 6 from people on the Adobe forum who use only newer versions of Premiere, most information that applies to the brand new Premiere Pro CS5 still seems to apply to the old Premiere 6.
    I found that holding down Shift-Option while opening Premiere 6 trashes the preferences file. This became my work around since I can’t locate the preferences file based on your path noted (in your blog) nor via the other prefs file path published on the Adobe website.
    But unfortunately, trashing the prefs file, resetting the plugin cache file, increasing the virtual memory paging file size, importing the problem project file in to a new project, nor anything else is working to allow this file to open.
    Now I’m looking in to XML:Wrench to see if that can find the corruption in this file, but I’ve had a malware warning from one download source and the xmlwrench.com website says their download is only a demo version, but no price is listed… this seems somewhat strange and possibly deceptive.
    But I read something on an Premiere Pro wiki page , quoted below, at this URL, that seems to be pertinent, and though my version of Premiere may be ancient, it seems that, according to this user’s concerns, Adobe is still having problems with current versions of Adobe software creating corrupt files…
    http://premierepro.wikia.com/wiki/FAQ:How_do_I_recover_a_corrupt_project%3F
    QUOTE:
    “Can someone please advise – why on EARTH we should have to download XML Wrench and manually fix a corrupt Adobe project??? This is something common to all the Adobe “Support” forums on issues like this, and the many others that plague Adobe’s product (and I’m not being a mindless troll – I’ve been forced to use it for years so I do know the usability and other issues it has): it seems that people are excited because they’ve found a “fix” (which is more like a work-around) – purely because they’re understandably ecstatic that all their hard work isn’t comPLETEly lost.
    However, Adobe should be making sure their product isn’t so buggy! This issue should be fixed (as just one example). Adobe should be finding out what causes the corruption in the first place and fixing it. And whether it’s some other codec on the system that’s caused it is no excuse – their software should have better error management built into it. I’ve seen other issues where an Adobe support representative has happily replied: “oh, that’s a known issue since version [3 versions back] – don’t worry, most users are aware of the work around for it: just select and move all of the items in your timeline each time you open the project and you’ll be fine!”
    I’m sorry to rant on – but can some other users please explain the above to me? (i.e. why aren’t more people annoyed about this and complaining to Adobe to fix these things).”
    UNQUOTE
    All of this coming from an experienced user of Adobe products complaining about needing XML:Wrench to fix corrupt Adobe files seems relevant.
    In addition, why does no one, including the Adobe knowledge base, have any info about what “An error occurred while loading your project. 10″ means?… why isn’t there a database that identifies Adobe error numbers by the simple number itself?  The only info I was able to find identifying “Error 10″ on the Adobe site was a software installation error, not a project loading error.
    Now I find myself chasing a clean download of XML:Wrench in order to hopefully fix this corrupt file.  Whether I’m using Premiere 6 on a 160 gig hard drive with 20 gigs of open space or Premiere Pro CS5 on a 5 Terabyte hard drive with 3 Terabytes of open space, the problems, according to other users, seem to be the same as ever with corrupt Adobe Premiere files, based on what I’ve been reading across the internet.

  • Syntax Error occured in Program  in include " CNTN01

    Hi,
    We are working on SAP 4.6C to ECC 6.0 Migration. While testing One Transaction, I am getting following error:
    The current ABAP program "CL_GOS_TOOLBOX_MODEL==========CP" had to be
    terminated because it has come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "Z3I_CL_BASCULER_SCS_GOS=======CP " in include "<CNTN01> " in
    line 13:
    "Within classes and interfaces, you can only use "TYPE" to refer to ABA"
    "P Dictionary types, not "LIKE" or "STRUCTURE"."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    This Error is coming while executing transaction in ECC 6.0 however in R/3 4.6C it is working fine.
    Pls Advice what should be done to resolve this issue. This issue is coing in alot of transactions.
    I will appreciate if anyone of you can guide me regarding same.
    regards
    Sandeep

    Hi,
    I was trying hand on one of my Z class which contain  include <CNTN01>. in its Local Types.
    I commented the existing include statement and added new statement as
    INCLUDE CNTN01_OO.
    After saving now when i try to activate the Z Class, it is giving me following error:
    INCLUDE CNTN01_OO
    You can only define classes and interfaces at the highest level of CLASS-POOL.
    CLASS Z5C_CL_MESSAGE, Internal classes in a class include "CNTN01_OO" does not start with the prefix (Z5C_CL_MESSAGE=======)of the current class pool.
    pls advice what i should do correct this issue.
    Sandeep

  • Hierarchy load - Error RSAR 683 Syntax error in generated program, row 0

    Hi guys,
    When I load the hierarchy on ZMATERIAL (load from 0MATERIAL hierarchy - source system BW), I have this error message : RSAR 683 Syntax error in generated program, row 0.
    I have found several SAP notes, especially [Sap Note 944842|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler], but the implementation on our system does not change anything.
    We are working on BW3.5 SP12.
    Can anyone could tell me what to do ?
    Will this issue be solved once we upgrade until SP18 as it is mentionned in the SAPNote ?
    Thanks,
    Alexandra
    Edited by: Alexandra Guillaux on Apr 1, 2009 4:36 PM

    Hello Alex,
    after implementing the corrrection part of note 944842 via SNOTE, plaese also:
    1. replicate datasource
    2. activate transfer structure (report RS_TRANSTRU_ACTIVATE_ALL)
    3. activate infoobject   (make dummy change to description
    of infoobject etc, save and activate it, remove change and save and
    activate it again).
    Hope it could resolve the incident.
    Thank you & Best regards,
    Vince

  • Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. W

    Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. What shall I do?

    Alauda_positos I would recommend reviewing your installation log files to determine the exact directory which the installer is unable to access.  You can find details on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors discovered to this discussion.
    For information on how to adjust file permissions please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html.

  • Hpqdirec.exe – System error. The program can't start because ATL90.DLL is missing from your compute

    Hello,
    The following has only transpired recently. It concerns Windows 7 and my C6380 All-In-One.
    It appears to be a registry issue. I am experienced and have tried even more than that listed below.
    On launching the "HP Solution Centre", I receive the following error message:-
    “Hpqdirec.exe – System error.  
    The program can’t start because ATL90.DLL is missing from your computer. Try reinstalling the program to fix this problem."
    Are you able to advise on how I can resolve this issue. Clearly, I want to avoid a complete clean install of my PC.
     What I have tried
    - Complete Install, Reboot, Install of the HP Software
    - Restore points
    - Running virus scanners
    - Windows "Start-up Repair"
    , - Running RegZooka

    I can think of a couple of possibilities here.
    One, if this was an upgrade from XP or Vista, then it is possible that the file is just not there in the operating system. Or if some other uninstallation removed it unknowingly. Not likely but possible.
    More likely, some sort of security software (firewall/antivirus/malware) blocked part of the installation. This could result in missing HP items and/or missing linkage to operating system necessities. You might try reinstalling with the security software disabled or off completely. At the minimum, with options to allow the HP installation full access during the install.
    Hope that helps.
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Does anyone know what this error code means?My itunes will not open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll."

    Does anyone know what this error code means?My itunes will not even open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll." Please let me know if your know anything! It is greatly apprecitated!

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • ERROR OGG-01148 programming error, data type not supported for column

    I am getting following error when I put null in insert statement
    2011-03-31 18:30:45 ERROR OGG-01148 programming error, data type not supported for column TXID in table advoss.tblaudittrail.
    I am replicating MySQL 5.5.9 to Oracle 11g rel2 via goldengate 11

    I am able to diagnose what is cuasing the problem
    unsigned flag was the culprit of this error
    I am able to insert null after removing unsigned flag.
    thank you very much for your kind support

  • Message no. R3009 - error in extraction program for the DSO

    Dear All,
    I get the following error, when I execute the data source object, when I select monitor button in the window the process is in Red.  So I couldn't get the report at the ODS.  Please help me to clear the following error :
    The extraction program does not support object ZSHIPTRACKND
    Message no. R3009
    Diagnosis
    The application program for the extraction of data was called up using the invalid InfoSource/invalid InfoObject ZSHIPTRACKND.
    System Response
    The data extraction is terminated.
    Procedure
    Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.
    with Regards,
    Jerald

    What release are you at?
    Have you searched SAP Notes and the SDN forums for this. A quick search indicates 9 SAP Notes and 15 SDN posts regarding this error message. Unless we know what release level you are at we are unable to offer viable solutions.

  • Error in ZRLB_INVOICE program

    Hi;
    This program has been working Ok, sudenly it shows this error message:
      The following syntax error occurred in the program /1BCDWB/SAPLSF00000026 :
      ""KONV" has already been declared."                                        
      The following syntax error occurred in program "/1BCDWB/SAPLSF00000026 " in
       include "/1BCDWB/LSF00000026F01 " in                                      
      ""KONV" has already been declared."                                        
    But i haven't modified nothing, i have not added KONV table, so i don't know why it displays thie error message..
    With SE37 a look for this /1BCDWB/SAPLSF00000026 and it doesn't exists.
    call smartform invoice        
    CALL FUNCTION lf_fm_name        "here is where the error is Marked.
    EXPORTING
    What is wrong with this.
    Thanks on advance for any help.
    David Fúnez
    Corp. Mandofer/Asin
    Tegucigalpa, Honduras
    Edited by: David Funez on May 13, 2008 11:55 AM

    Acutally, this error is coming from your Smartform. Check the smartform which is being called by the Z program.
    In the Smartform, KONP has been declared twice. Remove one and try to regenerate it .
    Regards,
    Naimesh Patel

  • Error when generating program /SAPAPO/TSM141

    Hello APO Experts!!
    I have one infocube for sales history, which has one key figure that contains the sales history values.
    First, I was using this key figure in one planning area. This Key Figure Semantics for Read and Write Operations was 002 = Semantics for InfoCube key figures.
    Now, I had to include the same key figure in another planning area and with the same configuration Semantics = 002.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error  "Error when generating program /SAPAPO/TSM141" when trying to access the data in the planning books that are created in the first planning area.
    For the second planning area, nothing happens, everything is working correctly.
    Do you have any idea of what this could be?
    Regards
    Anglea

    Hi
    Sounds like a Planning Area extraction problem. First of all check that all your required BW InfoObjects are created for the Planning Areas, then check that the Semantics you mentioned are the same for all Aggregates in the Planning Area.
    Also try running program /SAPAPO/TS_PSTRU_GEN to regenerate the planning area extractor.
    Delete and recreate the data source.
    Hope that helps
    Regards
    Ian

  • Error when generating program /SAPAPO/TSM141 and Errors in source system

    Hello APO Experts!
    I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
    Do you have any idea of what this could be?
    Best Regards
    Nik

    Hello,
    The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
    - SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from  '/1APO/EXT_STRU'.
    - SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
    Are the two extraction structures the same or different ?
    If they're different, please read the below solutions, otherwise, you can ignore the following.
    In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
    Please refer to following content from note 549184:
    Q4: Why could I have extraction problem after transport of DataSource?
    A4: DataSources for DP/SNP planning areas depend directly on the  structure of the planning areas. That's why the planning area MUST  ALWAYS be transported with or before the DataSource.
    The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
    After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
    - Basis - form routines
    - Create planning objects
    - Planning area extractor
    with the flags "Reset generation time stamp" and "Generate" set.
    And in order to transfer datasource correctly, please also refer to the consulting note 514524.
    Best Regards,
    Ada

  • What is error code 2324 when installing iTunes?

    What is error code 2324?  I got this when trying to re-install iTunes.  I was in the middle of the latest iTunes update when I had to cancel it.  Now I can't access my music so I tried to reinstall iTunes but I get this error code.   I also get a error message saying I need Administrator privlages.  Well I am the Admininstrator and logged in as it.  I can't reinstall iTunes and when I go to remove programs I don't see it listed only Apple Application and Apple Updates, along with an Apple Mobile Device Support. 
    I even 'restored' my system to earlier today before I started downloading the iTunes update to no avail.  Any ideas/suggestions?

    Let's try the fixit from the following Microsoft document with that one:
    Fix problems with programs that can't be installed or uninstalled

Maybe you are looking for

  • Message "Error in connection:No result set, result attempts = 100" on VC

    Hi, I am using a JDBC datasource to retrieve, update, insert and delete information from a SQL Server database using executing store procedures from VC. The selection of the data is perfect but for the deletion, insert or update of any data using sto

  • What's with Safari 6? Extremely unstable, scrolling lags, typing lags...

    I upgraded to Safari 6 just before (using Software update, I'm using 10.7) and... it's completely unusable. I tried to post this question using Safari but it crashed 4 times, so I'm in Chrome now. (No crash report dialog appeared to report to Apple.)

  • Can't update Proxy preferences

    I'm running Release 1.0 (Version 2005.05.20.10.51 of package SUNWupdatemgrr) on sparc, and I'm not able to change my password settings in the proxy authentications preferences. First I have installed the preview of the software (downloaded in June),

  • HTMLDB 2.0 for Mac availability

    Anyone have any idea when version 2 of HTMLDB will be available for the Mac? It is a nice improvement over 1.6

  • 6630: Certain Keys Not Working

    For some reason, my Nokia 6630 has certain keys not working. Actually, sometimes they work and sometimes they don't. I doubt it's a cover problem, because even when I take it out, the keys still don't work. The "1", "3", "C", Left, and Up don't work