Using OCI without SRM

Hi all,
i was asked to verify if it is possible to implement a vendor integration without an SRM Server. The vendor offers a catalog that supports OCI.
We want to build a simple prototype that shows the vendors catalog, gets the data from it and processes the returned data.
In our ERP system (2004 and 2004s) I found the package BBP_WS_BASIS which contains sample implementations for the OCI. As far as I tried, I could not get the example apps running.
Unfortunately I was not able to to find any documentation on the package.
Has anyone experience with the package or in using OCI with ERP without SRM?
Any information might help.
bye
Michael

Hi Michael,
I have just define the call structure in the IMG.
10                              http://SDN.corpo.intra:50000/catalogue/catado     0 URL
15     action     login     2 Fixed Value
16     standard_catalogue     true     2 Fixed Value
20     login     TOTO     2 Fixed Value
30     pwd     TITI     2 Fixed Value
40     HOOK_URL                 4 Return URL
50     ~OkCode     ADDI     2 Fixed Value
60     ~target     _top     2 Fixed Value
70     ~caller     CTLG     2 Fixed Value
Kind regards,
Yann

Similar Messages

  • OCI without SRM

    Dear Folks,
    In my company we dont have SRM, But user requesting to built OCI with supplier catalog, so i have configured web service ID & Description in SPRO - MM - Purchasing - Enviroment - Web serive - ID & Description. as below:
    Now i can able to get the Catalog icon in the ME21n screen. IF i click the icon it goes to the site https://simplesystem.de/
    but below given Access no, User & Password was not populated. So i struck in the Login screen itself.
    please advice me is there any setting i missed out or any other developments i need to do.
    i refered this OSS notes 1509352, but i cant get useful info.
    Steps     parameter     Value of the parameters                Type
    10                              https://simplesystem.de/              0 - URL
    20                              f-index.jsp                                   2 - Fixed
    30     Access no     7705561                                   2 - Fixed
    40     User     converteam-test              2 - Fixed
    50     Password     test                                   2 - Fixed
    60     ~caller     CTLG                                   2 - Fixed
    70     ~OKCode     ADDI                                   2 - Fixed
    80     ~target     _top                                   2 - Fixed
    90     HOOK_URL                                                            4 - Return URL
    thanks in advance
    M.Kannan.

    Dear Masa,
    Thanks a lot for your inputs...... it works & now i can able to login to the shopping cart site directly.
    Please advice me how to transfer the selected items to SAP PO (R/3).
    is there any development needs to done or any setting !
    thanks in advance.
    Regards
    Kannan.M

  • CRM Internet Sales B2B connectivity woth SAP SRM using OCI

    Dear all,
       we are trying to connect a CRM Internet Sales B2B with a apartner's SAP SRM procurement process. Reading several forum and articles I found that the url to be used by the SRM part is :
    http://orestes:50000/b2b/b2b/init.do?shop=b2b%20shop&forward=ocireceive&OKCODE=ADDI&TARGET=_top&FORCETARGET=yes&CALLER=CTLG&~HOOK_URL=
    when however hitting this URL we get a system error :
    The requested forward <b>ocireceive</b> is not defined on the action <b>com.sap.isa.isacore.action.b2b.StartApplicationAction</b>.
    Any ideas?
    do we need to setup anything else in CRM e-commerce in order for this to work??
    Thanks.

    Shouldn't that be ocireceive.do instead of ocireceive ?

  • SQL Developer 3.2 crashes with java error when using OCI/Thick Driver

    I just installed SQL Developer 3.2 on my linux desktop. SQL Developer crashes with a java error when I select a database from the object tree.
    When I check Use OCI/Thick driver the application will crash when I navigate to the tree and open a database.
    The app does not crash then I have Use OCI/Thick driver unchecked.
    Here are some details of my environment:
    Desktop OS: Fedora 17 Linux
    $ uname -a
    Linux 3.5.1-1.fc17.x86_64 #1 SMP Thu Aug 9 17:50:43 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    Java:
    $ java -version
    java version "1.6.0_34"
    Java(TM) SE Runtime Environment (build 1.6.0_34-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 20.9-b04, mixed mode)
    Oracle instant client:
    $ sqlplus -V
    SQL*Plus: Release 11.2.0.3.0 Production
    Here are the error messages:
    $ sqldeveloper
    Oracle SQL Developer
    Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00007f6de7157664, pid=3049, tid=140109371119360
    # JRE version: 6.0_34-b04
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.9-b04 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # V [libjvm.so+0x516664] unsigned+0xd4
    # An error report file with more information is saved as:
    # /tmp/hs_err_pid3049.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    /opt/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: line 544: 3049 Aborted (core dumped) ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"

    I also had the problem of SQL Developer crashing when using OCI/Thick driver but I've managed to solve it. My configuration is:
    - Windows 64-bit
    - Java 64-bit (1.6.0.34)
    - SQL Developer 3.2.09 64-bit
    - OCI Instant client 11.2.0.3 64-bit (without installation).
    The thing that solved the problem was copying two files, ojdbc5.jar and ojdbc6.jar, from Instant client installation folder to JAVA_HOME/lib/ext folder+.
    After that, I haven't had a single crash or error message.
    The same trick that solved the problem on 64-bit installation also solved the problem on another windows computer with 32-bit SQL Developer installation.

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Oracle 10g Client installed in the machine. Created a database connection using OCI driver and when I try to test connect, I got "Test Failed: no ocijdbc11 in java.library.path". I searched through Metalink and forums and one suggestion was to install Oracle 11g Client on the machine where Jdeveloper 11g is installed. I installed 11g R1 client and tried the same test connection using OCI driver. Now I am getting "Test failed: ORA-12705: Cannot access NLS data files or invalid environment specified" error.
    The same database connection works good with Thin driver with both Oracle 10g client and 11gR1 client.
    Previously I had Jdeveloper 10.1.3.2 and Oracle 10g Client and I was able to connect to database without any errors.
    Could you provide me the steps for this or if I missed any steps?
    Steps to Replicate:
    For the error: no ocijdbc11 in java.library.path
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 10g Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 11gR1 Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    Note: Tried the same scenarios with Oracle 11gR2 client as well. It was not working at all.
    Any ideas and pointers would be great.

    1. will my problem get solved after i install oracle 11g client on my machine.Yes, your problem should get solved. The version of the Oracle 11g Client must match the version of the JDev's JDBC drivers. Alternatively you may install an Oracle 11g Client and replace JDev's Oracle JDBC drivers with these from the installed client. Please, read carefully my 1st posting above in this thread.
    2. can i patch JDeveloper 11g on my machine to work with 10g client, or can i do the same with 10g client.You might succeed if you replace JDev's built-in JDBC drivers (which are 11g versions) with 10g versions, but I do not recommend you to try that because JDeveloper 11g and ADF 11g may be using some 11g features that do not exist in 10g drivers, so you may have problems.
    I also have PLSql developer installed on my machine and it works well.PL/SQL Developer does not use JDBC drivers, so it is not an relevant example in this case.
    My generall recommendation is to use Oracle JDBC Thin drivers. Oracle claimed that OCI drivers had better performance, but this was really true about earlier releases. Current Oracle 11g JDBC Thin drivers offer excellent performance and they offer all the features of the OCI versions (which was not true about earlier releases). In my opinion, the most important disadvantage of Oracle JDBC OCI drivers is that most versions have native memory leaks so all the RAM would get consumed after long application execution. The fact that WebLogic Server does not offer Oracle JDBC OCI drivers by default anymore says that Oracle discourages the usage of the OCI driver in favour of Thin driver.
    Dimitar

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI JD

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Oracle 10g Client installed in the machine. Created a database connection using OCI driver and when I try to test connect, I got "Test Failed: no ocijdbc11 in java.library.path". I searched through Metalink and forums and one suggestion was to install Oracle 11g Client on the machine where Jdeveloper 11g is installed. I installed 11g R1 client and tried the same test connection using OCI driver. Now I am getting "Test failed: ORA-12705: Cannot access NLS data files or invalid environment specified" error.
    The same database connection works good with Thin driver with both Oracle 10g client and 11gR1 client.
    Previously I had Jdeveloper 10.1.3.2 and Oracle 10g Client and I was able to connect to database without any errors.
    Could you provide me the steps for this or if I missed any steps?
    Steps to Replicate:
    For the error: no ocijdbc11 in java.library.path
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 10g Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 11gR1 Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    Note: Tried the same scenarios with Oracle 11gR2 client as well. It was not working at all.
    Any ideas and pointers would be great.

    1. will my problem get solved after i install oracle 11g client on my machine.Yes, your problem should get solved. The version of the Oracle 11g Client must match the version of the JDev's JDBC drivers. Alternatively you may install an Oracle 11g Client and replace JDev's Oracle JDBC drivers with these from the installed client. Please, read carefully my 1st posting above in this thread.
    2. can i patch JDeveloper 11g on my machine to work with 10g client, or can i do the same with 10g client.You might succeed if you replace JDev's built-in JDBC drivers (which are 11g versions) with 10g versions, but I do not recommend you to try that because JDeveloper 11g and ADF 11g may be using some 11g features that do not exist in 10g drivers, so you may have problems.
    I also have PLSql developer installed on my machine and it works well.PL/SQL Developer does not use JDBC drivers, so it is not an relevant example in this case.
    My generall recommendation is to use Oracle JDBC Thin drivers. Oracle claimed that OCI drivers had better performance, but this was really true about earlier releases. Current Oracle 11g JDBC Thin drivers offer excellent performance and they offer all the features of the OCI versions (which was not true about earlier releases). In my opinion, the most important disadvantage of Oracle JDBC OCI drivers is that most versions have native memory leaks so all the RAM would get consumed after long application execution. The fact that WebLogic Server does not offer Oracle JDBC OCI drivers by default anymore says that Oracle discourages the usage of the OCI driver in favour of Thin driver.
    Dimitar

  • Varray Using OCI

    Hi,
    While sending Varray as an input parameter
    to an Oracle Stored Procedure, the following OCI calls
    are returning no error.
    OCITypeByName(),
    OCIObjectNew(),
    OCICollAppend(),
    OCIBindByPos(),
    OCIBindByObject()
    But OCIStmtExecute() hangs without giving any error.
    Can You PLEASE send me an example code
    for achieving the same.
    Also Could You suggest some books which deal with OCI function calls (with examples) in detail.
    CAN I EXPECT A REPLY from Mr.Ravikanth for this....Thanks for your previous reply
    Thanks & Regards,
    Alamelu
    null

    Hi Alamelu,
    I am sending some sample code snippets
    that show usage of collections.
    No, there are currently no books written on OCI. You can definitely look at some of the demo programs using OCI.
    static CONST text CONST_W_PTR selar = (text )
    "SELECT * from customer_va";
    static CONST text CONST_W_PTR insar = (text )
    "insert into customer_va (custno, names) values (:custno, :names)";
    static CONST text CONST_W_PTR modar = (text )
    "update customer_va set names=:names where custno=:custno";
    ** execute "selar" statement which select an array column from a table.
    void selectar(envhp, svchp, stmthp, stmthp1, errhp, recurse)
    OCIEnv *envhp;
    OCISvcCtx *svchp;
    OCIStmt *stmthp;
    OCIStmt *stmthp1;
    OCIError *errhp;
    boolean recurse;
    OCIType *names_ar_tdo;
    OCIDefine defn1p, defn2p;
    OCIColl names_ar = (OCIColl ) 0;
    sword custno =0;
    sword status;
    sb4 index;
    dvoid *elem;
    OCIString *names;
    OCIInd names_null = (OCIInd ) 0;
    boolean exist, eoc, boc;
    OCIIter itr = (OCIIter ) 0;
    OCIBind bnd1p, bnd2p;
    int amount;
    OCIInd ind = -1;
    OCIInd *indp = &ind;
    sb4 collsiz;
    DISCARD printf("\n******** Entering selectar *********\n");
    /* define the application request */
    checkerr(errhp, OCIStmtPrepare(stmthp, errhp, (text *) selar,
    (ub4) strlen((const char *) selar),
    (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT));
    /* bind the input variable */
    checkerr(errhp, OCIDefineByPos(stmthp, &defn1p, errhp, (ub4) 1, (dvoid *) &custno,
    (sb4) sizeof(sword), SQLT_INT, (dvoid *) 0, (ub2 *)0,
    (ub2 *)0, (ub4) OCI_DEFAULT));
    checkerr(errhp, OCIDefineByPos(stmthp, &defn2p, errhp, (ub4) 2, (dvoid *) 0,
    (sb4) 0, SQLT_NTY, (dvoid *) 0, (ub2 *)0,
    (ub2 *)0, (ub4) OCI_DEFAULT));
    checkerr(errhp, OCITypeByName(envhp, errhp, svchp, (const text *) "",
    (ub4) strlen((const char *) ""),
    (const text *) "VCHAR_TAB",
    (ub4) strlen((const char *) "VCHAR_TAB"),
    (CONST text *) 0, (ub4) 0,
    OCI_DURATION_SESSION, OCI_TYPEGET_HEADER,
    &names_ar_tdo));
    checkerr(errhp, OCIDefineObject(defn2p, errhp, names_ar_tdo, (dvoid **) &names_ar,
    (ub4 *) 0, (dvoid **) &indp, (ub4 *) 0));
    checkerr(errhp, OCIStmtExecute(svchp, stmthp, errhp, (ub4) 0, (ub4) 0, (OCISnapshot *)
    NULL, (OCISnapshot *) NULL, (ub4) OCI_DEFAULT));
    /* execute and fetch */
    DISCARD printf(" Execute and fetch.\n");
    while ((status = OCIStmtFetch(stmthp, errhp, (ub4) 1, (ub4) OCI_FETCH_NEXT,
    (ub4) OCI_DEFAULT)) == OCI_SUCCESS &#0124; &#0124;
    status == OCI_SUCCESS_WITH_INFO)
    /* print the customer number */
    DISCARD printf("\nThe customer number is : %d.\n", custno);
    if (*indp == -1)
    DISCARD printf("The varray is NULL.\n\n");
    continue;
    /* check how many elements in the typed table */
    checkerr(errhp, OCICollSize(envhp, errhp, (CONST OCIColl *) names_ar,
    &collsiz));
    DISCARD printf("---> There are %d elements in the varray.\n", collsiz);
    DISCARD printf("\n---> Dump the array from the top to the bottom.\n");
    checkerr(errhp, OCIIterCreate(envhp, errhp, names_ar, &itr));
    for(eoc = FALSE;!OCIIterNext(envhp, errhp, itr, (dvoid **) &elem,
    (dvoid **) &names_null, &eoc) && !eoc;)
    names = *(OCIString **) elem;
    DISCARD printf(" The names is %s\n", OCIStringPtr(envhp, names));
    DISCARD printf(" atomic null indicator is %d\n", *names_null);
    DISCARD printf("\n---> Dump the array from the bottom to the top.\n");
    checkerr(errhp, OCIIterGetCurrent(envhp, errhp, itr, (dvoid **) &elem,
    (dvoid **) &names_null));
    names = *(OCIString **) elem;
    DISCARD printf(" The names is %s\n", OCIStringPtr(envhp, names));
    DISCARD printf(" atomic null indicator is %d\n", *names_null);
    for(boc = FALSE;!OCIIterPrev(envhp, errhp, itr, (dvoid **) &elem,
    (dvoid **) &names_null, &boc) && !boc;)
    names = *(OCIString **) elem;
    DISCARD printf(" The names is %s\n", OCIStringPtr(envhp, names));
    DISCARD printf(" atomic null indicator is %d\n", *names_null);
    checkerr(errhp, OCI IterDelete(envhp, errhp, &itr));
    /* insert into the same table, then dump the info again */
    if (recurse)
    custno = custno * 10;
    checkerr(errhp, OCIStmtPrepare(stmthp1, errhp, (text *) insar,
    (ub4) strlen((const char *) insar),
    (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT));
    /* bind the input variable */
    checkerr(errhp, OCIBindByName(stmthp1, &bnd1p, errhp, (text *) ":custno",
    (sb4) -1, (dvoid *) &custno,
    (sb4) sizeof(sword), SQLT_INT,
    (dvoid *) 0, (ub2 *)0, (ub2 *)0, (ub4) 0, (ub4 *) 0,
    (ub4) OCI_DEFAULT));
    checkerr(errhp, OCIBindByName(stmthp1, &bnd2p, errhp, (text *) ":names",
    (sb4) -1, (dvoid *) 0,
    (sb4) 0, SQLT_NTY, (dvoid *) 0, (ub2 *)0, (ub2 *)0,
    (ub4) 0, (ub4 *) 0, (ub4) OCI_DEFAULT));
    /* if custno == 20, then insert null nested table */
    *indp = -1;
    checkerr(errhp, OCIBindObject(bnd2p, errhp, names_ar_tdo,
    (dvoid **) &names_ar,
    (ub4 *) 0, (custno == 20) ? (dvoid **) &indp :
    (dvoid **) 0, (ub4 *) 0));
    checkerr(errhp, OCIStmtExecute(svchp, stmthp1, errhp, (ub4) 1,
    (ub4) 0, (OCISnapshot *) NULL,
    (OCISnapshot *) NULL, (ub4) OCI_DEFAULT));
    checkerr(errhp, OCITransCommit(svchp, errhp, (ub4) 0));
    if ( status!= OCI_NO_DATA )
    checkerr(errhp, status);
    if (recurse)
    selectar(envhp, svchp, stmthp, stmthp1, errhp, FALSE);
    DISCARD printf("\n\n");
    ** execute "selar" statement which select an array column from a table,
    ** then execute "modar" to modify the array.
    void modifyar(envhp, svchp, stmthp, stmthp1, errhp, recurse)
    OCIEnv *envhp;
    OCISvcCtx *svchp;
    OCIStmt *stmthp;
    OCIStmt *stmthp1;
    OCIError *errhp;
    boolean recurse;
    OCIType *names_ar_tdo;
    OCIDefine defn1p, defn2p;
    OCIColl names_ar = (OCIColl ) 0;
    sword custno =0;
    sword status;
    sb4 index, counter = 0;
    OCIString *names;
    dvoid *elem;
    OCIInd names_null = (OCIInd ) 0;
    boolean exist, eoc, boc;
    OCIIter itr = (OCIIter ) 0;
    OCIBind bnd1p, bnd2p;
    int amount;
    OCIInd ind = -1;
    OCIInd *indp = &ind;
    sb4 collsiz;
    DISCARD printf("\n******** Entering modifyar *********\n");
    /* define the application request */
    checkerr(errhp, OCIStmtPrepare(stmthp, errhp, (text *) selar,
    (ub4) strlen((const char *) selar),
    (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT));
    /* bind the input variable */
    checkerr(errhp, OCIDefineByPos(stmthp, &defn1p, errhp, (ub4) 1, (dvoid *) &custno,
    (sb4) sizeof(sword), SQLT_INT, (dvoid *) 0, (ub2 *)0,
    (ub2 *)0, (ub4) OCI_DEFAULT));
    checkerr(errhp, OCIDefineByPos(stmthp, &defn2p, errhp, (ub4) 2, (dvoid *) 0,
    (sb4) 0, SQLT_NTY, (dvoid *) 0, (ub2 *)0,
    (ub2 *)0, (ub4) OCI_DEFAULT));
    checkerr(errhp, OCITypeByName(envhp, errhp, svchp, (const text *) "",
    (ub4) strlen((const char *) ""),
    (const text *) "VCHAR_TAB",
    (ub4) strlen((const char *) "VCHAR_TAB"),
    (CONST text *) 0, (ub4) 0,
    OCI_DURATION_SESSION, OCI_TYPEGET_HEADER,
    &names_ar_tdo));
    checkerr(errhp, OCIDefineObject(defn2p, errhp, names_ar_tdo, (dvoid **) &names_ar,
    (ub4 *) 0, (dvoid **) &indp, (ub4 *) 0));
    checkerr(errhp, OCIStmtExecute(svchp, stmthp, errhp, (ub4) 0, (ub4) 0, (OCISnapshot *)
    NULL, (OCISnapshot *) NULL, (ub4) OCI_DEFAULT));
    /* execute and fetch */
    DISCARD printf("\n Execute and fetch.\n");
    while ((status = OCIStmtFetch(stmthp, errhp, (ub4) 1, (ub4) OCI_FETCH_NEXT,
    (ub4) OCI_DEFAULT)) == OCI_SUCCESS &#0124; &#0124;
    status == OCI_SUCCESS_WITH_INFO)
    /* print the customer number */
    DISCARD printf("\nThe customer id is : %d.\n", custno);
    if (*indp == -1)
    DISCARD printf("The varray is NULL.\n\n");
    continue;
    /* check how many elements in the varray */
    checkerr(errhp, OCICollSize(envhp, errhp, (CONST OCIColl *) names_ar,
    &collsiz));
    DISCARD printf("---> There are %d elements in the varray.\n", collsiz);
    DISCARD printf("\n---> Dump the table from the top to the bottom.\n");
    checkerr(errhp, OCIIterCreate(envhp, errhp, names_ar, &itr));
    for(eoc = FALSE;!OCIIterNext(envhp, errhp, itr, (dvoid **) &elem,
    (d void **) &names_null, &eoc) && !eoc;)
    names = *(OCIString **) elem;
    DISCARD printf(" The names is %s\n", OCIStringPtr(envhp, names));
    DISCARD printf(" atomic null indicator is %d\n", *names_null);
    /* modify records */
    if (recurse)
    if (!counter)
    /* nullify the array */
    for(;!OCICollTrim(envhp, errhp, (sb4) 1, names_ar););
    else
    if (counter %2)
    /* trim one row at the end */
    checkerr(errhp, OCICollTrim(envhp, errhp, (sb4) 1, names_ar));
    else
    /* append one row to the end */
    checkerr(errhp, OCICollAppend(envhp, errhp, (CONST dvoid *) names,
    (CONST dvoid *) names_null, names_ar));
    counter ++;
    checkerr(errhp, OCIStmtPrepare(stmthp1, errhp, (text *) modar,
    (ub4) strlen((const char *) modar),
    (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT));
    /* bind the input variable */
    checkerr(errhp, OCIBindByName(stmthp1, &bnd1p, errhp, (text *) ":custno",
    (sb4) -1, (dvoid *) &custno,
    (sb4) sizeof(sword), SQLT_INT,
    (dvoid *) 0, (ub2 *)0, (ub2 *)0, (ub4) 0, (ub4 *) 0,
    (ub4) OCI_DEFAULT));
    checkerr(errhp, OCIBindByName(stmthp1, &bnd2p, errhp, (text *) ":names",
    (sb4) -1, (dvoid *) 0,
    (sb4) 0, SQLT_NTY, (dvoid *) 0, (ub2 *)0, (ub2 *)0,
    (ub4) 0, (ub4 *) 0, (ub4) OCI_DEFAULT));
    /* try modify the varray into NULL if custno == 30 */
    if (custno == 30)
    *indp = -1;
    checkerr(errhp, OCIBindObject(bnd2p, errhp, names_ar_tdo,
    (dvoid **) &names_ar, (ub4 *) 0,
    (dvoid **) &indp, (ub4 *) 0));
    checkerr(errhp, OCIStmtExecute(svchp, stmthp1, errhp, (ub4) 1,
    (ub4) 0, (OCISnapshot *) NULL,
    (OCISnapshot *) NULL, (ub4) OCI_DEFAULT));
    checkerr(errhp, OCITransCommit(svchp, errhp, (ub4) 0));
    if ( status!= OCI_NO_DATA )
    checkerr(errhp, status);
    if (recurse)
    modifyar(envhp, svchp, stmthp, stmthp1, errhp, FALSE);
    DISCARD printf("\n\n");
    null

  • Catalog based procurement in ECC without SRM

    What all are pre-reqsuisites for getting the functionality of Catalog based purchasing within ECC without SRM.
    We can't find comprehensive document supporting this process on SAP website.
    We need details regarding- hardware, portal??, netweaver settings, ECC config settings, business process steps, limitations of using catalogs within SAP ECC vs. separate SRM system
    Can we load catalog from multiple suppliers wihin ECC including price management?

    Hi,
    I am also very interested by the answers.
    Regards,
    Nathalie

  • Set the retrievel date from when i using OCI drivers.

    Hi Raffi,
    I used till now the jdbc:oracle:thin driver.
    I replaced the driver to the OCI driver because I needed to support Russian language.
    Now the date is retrieved differently from the table.
    the sql sentence is : Select LOGICAL_DATE From LOGICAL_DATE Where LOGICAL_DATE_TYPE ='O' AND EXPIRATION_DATE IS NULL;
    The results of the two runs are:
    With thin driver: 2001-06-10 00:00:00.0
    With OCI driver: Sun Jun 10 00:00:00 GMT 03:00 2001
    How can I cause the OCI driver to return the date as it was with the thin client without changing the code?
    Thanks For the help.

    Yaakov Lifshitz wrote:
    I used till now the jdbc:oracle:thin driver.
    I replaced the driver to the OCI driver because I needed to support Russian language.
    Now the date is retrieved differently from the table.
    the sql sentence is : Select LOGICAL_DATE From LOGICAL_DATE Where LOGICAL_DATE_TYPE ='O' AND EXPIRATION_DATE IS NULL;
    The results of the two runs are:
    With thin driver: 2001-06-10 00:00:00.0
    With OCI driver: Sun Jun 10 00:00:00 GMT 03:00 2001
    How can I cause the OCI driver to return the date as it was with the thin client without changing the code?
    Thanks For the help.Hi. You can't. You are probably calling getString() for the date value, and that depends on what the
    driver creates or has by default for the underlying datum. For the thin driver, it must directly
    create a java.sql.Timestamp object, from which it will just sent you the toString() output. The
    OCI-based driver can/will use OCI calls to get the datum as requested, and OCI will format date
    objects as you see.
    If you want to normalize your code to get the same for all drivers, you should do a
    getTimestamp(),
    and then to a toString() on that object.
    Joe

  • How to bind arrays to PL/SQL stored procedure using OCI?

    Hi,
    We are having problems trying to bind arrays to PL/SQL stored procedure using OCI. Here is the situation:
    - We have a stored procedure called "GetVEPFindTasks" with the following interface:
    PROCEDURE GetVEPFindTasks (
    p_ErrorCode OUT NUMBER,
    p_ErrorMsg OUT VARCHAR2,
    p_RowCount OUT NUMBER,
    p_VEPFindTasks OUT t_VEPFindTaskRecordTable,
    p_MaxTask IN NUMBER);
    t_VEPFindTaskRecordTable is a record with the following entries:
    TYPE t_VEPFindTaskRecord IS RECORD (
    RTCID NUMBER,
    TransNum NUMBER,
    TransTimestamp VARCHAR2(20),
    Pathname1 image_data.pathname%TYPE,
    Pathname2 image_data.pathname%TYPE,
    Pathname3 image_data.pathname%TYPE,
    OperatorID operator.id%TYPE);
    - Now, we are trying to call the stored procedure from C++ using OCI (in UNIX). The call that we use are: OCIBindByName and OCIBindArrayOfStruct to bind the parameters to the corresponding buffers. We bind all parameters in the interface by name. Now, we do bind the record's individual item by name (RTCID, TransNum, etc.), and not as a record. I don't know if this is going to work. Then, we use the bind handles of the binded record items (only record items such as RTCID, TransNum, and NOT error_code which is not part of the record) to bind the arrays (using OCIBindArrayOfStruct).
    All of the parameters that are binded as arrays are OUTPUT parameters. The rest are either INPUT or INPUT/OUTPUT parameters. Now, when we try to execute, OCI returns with an error "Invalid number or types of arguments" (or something to that sort... the number was something like ORA-06550). Please help...
    Is there any sample on how to use the OCIBindArrayOfStruct with PL/SQL stored procedures? The sample provided from Oracle is only for a straight SQL statement.
    Thank's for all your help.
    ** Dannil Chan **

    As you said:
    You have to pass in an array for every field and deconstruct/construct the record in the procedure. There is no support for record type or an array of records. Can you give me a example? I'am very urgently need it.
    thanks
    email: [email protected]

  • How to open document from mac when using windows without transferring the file?

    How can i open a document from mac when i am using windows without transferring it?

    depend on the document program more then anything else really
    when ever I open a doc with word it make a history for undo and redo action file in the same dir
    with bootcamp you only have read not write access to the osx partition so it would fail to be able to create that file
    but if you can get word or whatever program you use to open the file not to place a temp file in the same dir
    or use a program which did not make any type of temp file or used a program where the temp file would be located elsewhere where you decide it would work file

  • How do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??

    how do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??

    How have you managed to get apps on your phone that are tied to a different and unknown AppleID?
    If these apps were not purchased by you, having them is effectively software piracy and you should purchase them using your own AppleID if you want to keep hem.

  • Is there any way to use iPhoto without it moving my files?

    I tried to use iPhoto ONCE last yer when I bought my Mac Mini, and it moved all my photo files around as it pleased, is there any way to stop it fro moving my files? I like the folder/file structure I have given my pictures and I do not need to have that managed.
    At the moment I am using Picasa but I would like to know if it is possible to use iPhoto without it deciding what to do with my files.
    Thanks!

    No
    It is a SQL database and it must control its database - like any database program
    as long as you think of managing files rather than managing photos it is not the program for you - once you think of managing your photos then having the poser of a database for that will be obvious - if that is not what you want then do not use it
    BTW - iPhoto does not ever "move" your files - it makes a copy of each photo in its database and manages it there - your files are never touched
    LN

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • I want to use Thunderbird without saving e-mails to PC. How is this possible?

    I want to use Thunderbird without saving any e-mail to local folder in my PC.
    Can you please help me on this?
    thanks.

    There are two types - POP and IMAP
    You would need to logon to your webmail account using a browser and select the option to use IMAP forwarding - assuming that option is available.
    Pop mail accounts can only access the server Inbox.
    Emails are downloaded to your computer and stored in your Thunderbird Profile folder. So this type may not suit your requirements.
    IMAP mail accounts offer a remote view of folders and emails stored on the server.
    You subscribe to see those folders. Then Headers are downloaded and when you select to view an email, the email is downloaded to a temp cache.
    Subscribed folders that are synchronised, download a copy of the folder and store it in your Thunderbird Profile. But these folders are constantly updated to reflect what is stored on the server.
    So your best option would be to create IMAP mail account, subscribe to see folders on the server, but do not select to synchronise those subscribed folders.
    Emails stored in your Thunderbird Profile on your computer load faster than those that have to be retrieved from the server each time.
    Info on synchronising, so you can see how to enable/disable.
    * https://support.mozilla.org/en-US/kb/imap-synchronization

Maybe you are looking for

  • Problem in creation of Accrual Object

    Hello Gurus... Am unable to do the recording for transaction ACACTREE01. Basically, we have a tabstrip and these tab are getting recorded but in each tab we need to add a record and in that record, data should be given. Say, in this tcode, we can see

  • How do I get my music off my original  iphone and onto my new computer?

    I have the very first iphone and in it some really great music.  I would like to get that music off my old iphone and put into my iphone 5c or onto my new computer.  Any chances of this happening?

  • My macbook pro 13 (2011) iSight stopped working after upgrade to Yosemite

    After I upgraded my Macbook Pro 13' (2011) I sopped having iSight. Tried in Photobooth, Facetime and Skype. I reads that I don't have a camera. Anybody has a solution?? Thanks

  • WAS ABAP - Keep prompting for credentials

    Hi All, We have couple WD ABAP applications deployed and running in our ECC backend. These are integrated in our Portal environment as well. At times, whenever user click on WD ABAP applications it keep prompting the user to enter ECC credentials. Pl

  • OSB10gR3 - Application Deployment

    Hi, I have my applications running in linux. I deploy the application jar from my local path in windows ( by accessing sbconsole through IE and deploying through Import resources of System Administration). I want to know where the details of the appl