Multiple transaction in activity

Hi everyone,
I need to update users in the directory using the Fuego library, and in the same time update a flag in an external database. This is done in an activity, handling 300 or 400 users at the time.
My problem is that a database transaction is opened at the begining of the activity, and closed at the end. So if the update was successful for 299 users and fails for the 300th, the whole transaction is rolled back, and the 299 users have to be updated again.
Is there a way to avoid that, and have one transaction per user to update ?
Due to performance issues I cannot have one activity per user.
Thanks and regards,
Andreas

Hi Ruben,
We already though about looping on the activity itself, and update participant by participant. But this leads to performance issues. That's why we are looking for a solution to have multiple transactions in one activity.
Regards

Similar Messages

  • How to take a report for the assigned transaction and activity in a role

    Hi Colleagues,
    I want to take a report for the assigned transaction with activity for all roles, which are assigned to the users,
    Transaction list for a role i can able to take it from SUIM but not able to take the ACTVT for the role.
    Please suggest how to take this information.
    BR,
    Jai

    Hi Jaikumar from the post :
    I think you have reached the state of finding the USER to ROLE relationship
    Take the output to an excel,
    COPY just the roles column exactly in order do not rearrange , use AGR_1251 like other experts have mentioned
    insert the roles copied from you buffer and execute, the output will have multiple entries for each role take the output to an EXCEL again , make it unique and match the outputs between both the EXCELS.
    It will be a little tricky to do this, but I think you are proficient in MS EXCEL.
    This is one of the ways to do , there are many other ways to do it.

  • Serious lock problem - transaction has active cursors

    Hi,
    i use BDB C via the Java-API (4.6.21, developing with WindowsXP). Currently i am having serious problems with LOCK_NOT_GRANTED_EXCEPTIONS.
    My application is a queue implementation. One push objects into the database, another one reads them and a third one deletes entries with an outdated TTL (time-to-live). All of these processes are done by multiple dedicated threads what leads to highly concurrent situations.
    The TTL cleaning uses a tx-cursor which deletes entries that are too old. The inserter simply uses put(). The reader uses a cursor too, which starts with a pointer (via getSearchKey) or at the beginning of the database (if no start could be found, the pointer is then outdated as it was deleted by TTL cleaning run).
    The isolation level is at READ_COMMITTED. Sometimes i use RMW locks for reading and updating status information.
    So i implemented a lock detection which retries at least the inserts if a lock fails. The reads can fail and report their exceptions to the outside world. This seems to work fine. Sometimes i get some LOCK_NOT_GRANTED_EXCEPTIONS and the recovery should work. But it works only sometimes.
    BDB-C complains with "transaction has active cursors" (see txn.c - line 1186). All subsequent calls to rollback or commit or any other method of BDB-C handles fails then with a RunRecoveryException. I am absolutely sure, i have no open cursors, as i close them implicitly before tx.commit() or tx.abort(). I wrote a reference counter to ensure that and it shows always a count of 0 open cursors as expected.
    The whole process is of course quite heavy stress for the DB - i am actually read, write, delete and checkpoint the db at the same position at the same time.
    I am tending to introduce MVCC to avoid those locking issues. As i understood concurrent updates of the same db page with multiversion transactions may also cause DeadLockExceptions. Can i use RMW locks to avoid concurrent updates on the same pages with MVCC?
    Some hints?
    TIA
    Dirk

    Hi,
    I have created a patch for Berkeley DB 4.6.21, which outputs information about all cursor open and close operations. This should help you see which cursor is not being closed.
    If you apply the patch below to your Berkeley DB tree, and rebuild.
    Then add setVerbose(VerboseConfig.CURSOR, true), to your EnvironmentConfig initialization.
    It will send log messages to the output stream configured via EnvironmentConfig.setMessageStream(). The default is System.out.
    There will likely be a lot of output.
    Please let me know if this helps you resolve the problem. Otherwise, ask more questions ;)
    Regards,
    Alex Gorrod
    diff -rc db-4.6.21.orig/build_windows/db.h db-4.6.21/build_windows/db.h
    *** db-4.6.21.orig/build_windows/db.h     Fri Sep 28 01:32:08 2007
    --- db-4.6.21/build_windows/db.h     Mon May 12 17:29:52 2008
    *** 60,66 ****
      #define     DB_VERSION_MAJOR     4
      #define     DB_VERSION_MINOR     6
      #define     DB_VERSION_PATCH     21
    ! #define     DB_VERSION_STRING     "Berkeley DB 4.6.21: (September 27, 2007)"
    --- 60,66 ----
      #define     DB_VERSION_MAJOR     4
      #define     DB_VERSION_MINOR     6
      #define     DB_VERSION_PATCH     21
    ! #define     DB_VERSION_STRING     "Berkeley DB 4.6.21: (May 12, 2008)"
    *** 2133,2138 ****
    --- 2133,2139 ----
      #define     DB_VERB_REGISTER     0x0010     /* Dump waits-for table. */
      #define     DB_VERB_REPLICATION     0x0020     /* Replication information. */
      #define     DB_VERB_WAITSFOR     0x0040     /* Dump waits-for table. */
    + #define     DB_VERB_CURSOR          0x0080     /* Cursor open/close information. */
           u_int32_t      verbose;     /* Verbose output. */
           void          app_private;     / Application-private handle. */
    diff -rc db-4.6.21.orig/db/db_am.c db-4.6.21/db/db_am.c
    *** db-4.6.21.orig/db/db_am.c     Thu Jun 14 04:21:30 2007
    --- db-4.6.21/db/db_am.c     Mon May 12 17:32:08 2008
    *** 283,288 ****
    --- 283,291 ----
           TAILQ_INSERT_TAIL(&dbp->active_queue, dbc, links);
           F_SET(dbc, DBC_ACTIVE);
           MUTEX_UNLOCK(dbenv, dbp->mutex);
    +      if (FLD_ISSET(dbenv->verbose, DB_VERB_CURSOR))
    +           __db_msg(dbenv,
    +               "Cursor (%p) opened, associated txn: %p", dbc, dbc->txn);
           *dbcp = dbc;
           return (0);
    diff -rc db-4.6.21.orig/db/db_cam.c db-4.6.21/db/db_cam.c
    *** db-4.6.21.orig/db/db_cam.c     Tue Jun  5 21:46:24 2007
    --- db-4.6.21/db/db_cam.c     Mon May 12 17:32:25 2008
    *** 71,76 ****
    --- 71,79 ----
           opd = cp->opd;
           ret = 0;
    +      if (FLD_ISSET(dbenv->verbose, DB_VERB_CURSOR))
    +           __db_msg(dbenv,
    +               "Cursor (%p) closed, associated txn: %p", dbc, dbc->txn);
            * Remove the cursor(s) from the active queue.  We may be closing two
            * cursors at once here, a top-level one and a lower-level, off-page
    diff -rc db-4.6.21.orig/dbinc/db.in db-4.6.21/dbinc/db.in
    *** db-4.6.21.orig/dbinc/db.in     Fri Jun 29 00:23:35 2007
    --- db-4.6.21/dbinc/db.in     Mon May 12 17:23:20 2008
    *** 2106,2111 ****
    --- 2106,2112 ----
      #define     DB_VERB_REGISTER     0x0010     /* Dump waits-for table. */
      #define     DB_VERB_REPLICATION     0x0020     /* Replication information. */
      #define     DB_VERB_WAITSFOR     0x0040     /* Dump waits-for table. */
    + #define     DB_VERB_CURSOR          0x0080     /* Cursor open/close information. */
           u_int32_t      verbose;     /* Verbose output. */
           void          app_private;     / Application-private handle. */
    diff -rc db-4.6.21.orig/dist/pubdef.in db-4.6.21/dist/pubdef.in
    *** db-4.6.21.orig/dist/pubdef.in     Fri Jul  6 10:22:52 2007
    --- db-4.6.21/dist/pubdef.in     Mon May 12 17:21:48 2008
    *** 432,437 ****
    --- 432,438 ----
      DB_USERCOPY_SETDATA          * I N
      DB_USE_ENVIRON               D I J
      DB_USE_ENVIRON_ROOT          D I J
    + DB_VERB_CURSOR               D I J
      DB_VERB_DEADLOCK          D I J
      DB_VERB_FILEOPS               D I J
      DB_VERB_FILEOPS_ALL          D I J
    diff -rc db-4.6.21.orig/env/env_method.c db-4.6.21/env/env_method.c
    *** db-4.6.21.orig/env/env_method.c     Fri May 18 01:15:11 2007
    --- db-4.6.21/env/env_method.c     Mon May 12 17:28:57 2008
    *** 1070,1075 ****
    --- 1070,1076 ----
           int *onoffp;
           switch (which) {
    +      case DB_VERB_CURSOR:
           case DB_VERB_DEADLOCK:
           case DB_VERB_FILEOPS:
           case DB_VERB_FILEOPS_ALL:
    *** 1098,1103 ****
    --- 1099,1105 ----
           int on;
           switch (which) {
    +      case DB_VERB_CURSOR:
           case DB_VERB_DEADLOCK:
           case DB_VERB_FILEOPS:
           case DB_VERB_FILEOPS_ALL:
    diff -rc db-4.6.21.orig/java/src/com/sleepycat/db/EnvironmentConfig.java db-4.6.21/java/src/com/sleepycat/db/EnvironmentConfig.java
    *** db-4.6.21.orig/java/src/com/sleepycat/db/EnvironmentConfig.java     Fri Jul  6 10:22:54 2007
    --- db-4.6.21/java/src/com/sleepycat/db/EnvironmentConfig.java     Mon May 12 17:25:22 2008
    *** 114,119 ****
    --- 114,120 ----
          private boolean yieldCPU = false;
          /* Verbose Flags */
    +     private boolean verboseCursor = false;
          private boolean verboseDeadlock = false;
          private boolean verboseFileops = false;
          private boolean verboseFileopsAll = false;
    *** 846,851 ****
    --- 847,855 ----
          public void setVerbose(final VerboseConfig flag, boolean enable) {
              int iflag = flag.getInternalFlag();
              switch (iflag) {
    +         case DbConstants.DB_VERB_CURSOR:
    +             verboseCursor = enable;
    +             break;
              case DbConstants.DB_VERB_DEADLOCK:
                  verboseDeadlock = enable;
                  break;
    *** 876,881 ****
    --- 880,887 ----
          public boolean getVerbose(final VerboseConfig flag) {
              int iflag = flag.getInternalFlag();
              switch (iflag) {
    +         case DbConstants.DB_VERB_CURSOR:
    +             return verboseCursor;
              case DbConstants.DB_VERB_DEADLOCK:
                  return verboseDeadlock;
              case DbConstants.DB_VERB_FILEOPS:
    *** 1151,1156 ****
    --- 1157,1167 ----
                  dbenv.set_flags(offFlags, false);
              /* Verbose flags */
    +         if (verboseCursor && !oldConfig.verboseCursor)
    +             dbenv.set_verbose(DbConstants.DB_VERB_CURSOR, true);
    +         if (!verboseCursor && oldConfig.verboseCursor)
    +             dbenv.set_verbose(DbConstants.DB_VERB_CURSOR, false);
    +
              if (verboseDeadlock && !oldConfig.verboseDeadlock)
                  dbenv.set_verbose(DbConstants.DB_VERB_DEADLOCK, true);
              if (!verboseDeadlock && oldConfig.verboseDeadlock)
    *** 1342,1347 ****
    --- 1353,1359 ----
              yieldCPU = ((envFlags & DbConstants.DB_YIELDCPU) != 0);
              /* Verbose flags */
    +         verboseCursor = dbenv.get_verbose(DbConstants.DB_VERB_CURSOR);
              verboseDeadlock = dbenv.get_verbose(DbConstants.DB_VERB_DEADLOCK);
              verboseFileops = dbenv.get_verbose(DbConstants.DB_VERB_FILEOPS);
              verboseFileopsAll = dbenv.get_verbose(DbConstants.DB_VERB_FILEOPS_ALL);
    diff -rc db-4.6.21.orig/java/src/com/sleepycat/db/VerboseConfig.java db-4.6.21/java/src/com/sleepycat/db/VerboseConfig.java
    *** db-4.6.21.orig/java/src/com/sleepycat/db/VerboseConfig.java     Fri Jul  6 10:22:54 2007
    --- db-4.6.21/java/src/com/sleepycat/db/VerboseConfig.java     Mon May 12 17:28:07 2008
    *** 12,17 ****
    --- 12,19 ----
      import com.sleepycat.db.internal.DbEnv;
      public final class VerboseConfig {
    +     public static final VerboseConfig CURSOR =
    +         new VerboseConfig("CURSOR", DbConstants.DB_VERB_CURSOR);
          public static final VerboseConfig DEADLOCK =
              new VerboseConfig("DEADLOCK", DbConstants.DB_VERB_DEADLOCK);
          public static final VerboseConfig FILEOPS =
    diff -rc db-4.6.21.orig/java/src/com/sleepycat/db/internal/DbConstants.java db-4.6.21/java/src/com/sleepycat/db/internal/DbConstants.java
    *** db-4.6.21.orig/java/src/com/sleepycat/db/internal/DbConstants.java     Fri Sep 28 01:32:07 2007
    --- db-4.6.21/java/src/com/sleepycat/db/internal/DbConstants.java     Mon May 12 17:29:17 2008
    *** 194,199 ****
    --- 194,200 ----
          int DB_UPGRADE = 0x0000001;
          int DB_USE_ENVIRON = 0x0004000;
          int DB_USE_ENVIRON_ROOT = 0x0008000;
    +     int DB_VERB_CURSOR = 0x0080;
          int DB_VERB_DEADLOCK = 0x0001;
          int DB_VERB_FILEOPS = 0x0002;
          int DB_VERB_FILEOPS_ALL = 0x0004;

  • How to configure multiple domains in Active directory

    HI,
    How can I configure multiple domains on Active Directory. When I installed AD it asked for a domain name, there I gave ravigupta.com as domain name. But now I find no way of creating another domain.
    I am a java developer and my task is to write a programme which returns all the domains available in LDAP server.
    To start with ,I tried to create few domains in LDAP server ( AD ) but stuck up ,as i found there could exist only one domain.
    Please tell me how to configure multiple domains in LDAP server ( Active Directory).
    I skiped DNS configuration while AD installation.
    -ravi

    I'm sorry, but you should be asking on a different forum. This has nothing to do with Java.

  • Advice needed on designing schema to accomodate multiple transaction tables.

    Hi,
    The attached images shows my current schema. It consists of three transaction tables, a product table and a calendar table.
    - Background -
    The product table 'Q1 Data Set' contains all unique sales. In addition it also contains a number of columns by which I will later filter my pivot tables (e.g. whether the customer of the order is new/returning). This
    table also contains a column named 'DateOrdered',the date the order was originally placed (but not paid). 
    Each sale that is paid can be done so either in a single transaction, or across multiple transactions of different transaction types.
    An example of a sale  paid in multiple parts would be an order that has three transactions;
    one online (table 'trans_sagepay',
    one over the phone (table'trans_epdq')
    and another by card (table'trans_manual'). Furthermore there can be more than one transaction of each type for an sale.
    I have created measures which total the sales in each transaction table.
    Each transaction has a 'transaction_date' which is the date of that individual transaction.
    The calendar is simply a date table that has some friendly formatted columns for laying out pivot tables. An example column
    is FiscalMonthAbbrv which displays months similar to '(04) - January'
    to accommodate our fiscal year.
    - Problem -
    My problem is that I need the ability to create some tables that have the
    Date Ordered as the rows (listed by Year>Month), and I need to produce other tables that have
    Transaction Date as the rows.  
    Date ordered works fine, however the problem comes when I try and create a table based on the transaction date.
    With the current model seen in the attached image I cannot do it because the transactions have a relationship to
    Q1 Data Set and this table has the relationship with the
    Cal_Trans table. What happens in this scenario is that whenever I set the rows to be FiscalMonthAbbr  the values it displays is the transactions based not on transaction date but date ordered. To explain further:
    If I have an order A with a DateOrdered of 01/01/2014, but the transaction of £100 for that order was made later on the 05/01/2014, that £100 is incorrectly attributed to the 01/01/2014.
    To clarify the type of table I am aiming for see the mock-up below, I however NEED the ability to filter this table using columns found in
    Q1 Data Set.
    How can I make a schema so that I can use both DateOrdered and TransactionDate? I cannot combine all three transaction tables into one because each transaction type has columns unique to that specific type.

    Thanks for your suggestions, at the moment I don't have time to prepare a non-confidential copy of the data model, however I've taken one step forward, and one step back!
    First to clarify; to calculate sales of each transaction type I have created the following measures (I've given them friendly names):
    rev_cash
    rev_online
    rev_phone
    I then have a measure called rev_total which sums together the above measures. This allows me to calculate total revenue, but also to break it down by transaction type.
    With this in mind I revised the schema based on Visakh original suggestion to look like this:
    Using this I was able to produce a table which looked like that below:
    There were two issues with this:
    If I add the individual measures for each transaction type I get no errors, as soon as I add the 'Total Sales' measure on the end of the table I get an error "Relationship between tables may be needed". Seemingly however the numbers still calculate as expected
    - what is causing this error and how do I remove it?
    I CAN with this scenario filter by 'phd' which is a column in the Q1 Data Set table
    and it works as expected. I cannot however filter by all columns in this table, an example would be 'word count'.
    'Word Count' is a integer column, each record in the Q1 Data Set table has a value set for this column.
    I would like to take the column above and add a new measure called 'Total Word Count' (which I have created) which will calculate the total number of words in that monthly period. When I add this however I get the same relationship error as above and it
    display the word count total for the entire source tbale for every row of the pivot table.
    How can I get this schema working so that I can filter by word count and other columns from the product table. It Is confusing me how I can filter by one column, but not by a another in the same table.
    Also, I don't fully understand how I would add a second date table or how it would help my issues.
    Thanks very much for you help.

  • Transaction for active article list -sitewise-urgent

    Transaction for active article list -sitewise plz

    Hello,
    You can get site-wise list of articles using transaction MM60. But this shows all the articles - active and blocked.
    In order to filter blocked articles, you may create an SQVI query between MARA and MARC tables. In the query, include MARA-MSTAE  and MARC-MMSTA in the selection screen. They should be set to blank while executing the query to get active articles.
    Thanks,
    Venu

  • The method 'commit' cant be called when a global transaction is active.

    Hello,
    I've installed the SOAdemo a couple of times on local machines, and it works fine. Now I've deployed the SOADemo on a separate server and a strange error occurs in BPEL when testing the SOADemo.
    The SOAOrderBooking BPEL process runs into an error at the GetOrderId process:
    ================================
    file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SOAOrderBooking_1.0_937b09d1bd8dae1b33b028b2871aef63.tmp/OrderSequence.wsdl [ OrderSequence_ptt::OrderSequence(OrderSequenceInput_msg,OrderSequenceOutputCollection) ] - WSIF JCA Execute of operation 'OrderSequence' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active .
    ; nested exception is:
         ORABPEL-11616
    =================================
    I am using SOA Suite 10.1.3.0 and Database 10201, deployed on Windows.
    Can anybody tell me what can cause this problem?
    Thanks in advance,
    Regards Leon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    Hi, I am getting the same error using ESB Database Adapter.
    My faultstring is:
    ========================
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/my_ESB/myAdapter.wsdl [ myAdapter_ptt::myAdapter(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'myAdapter' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active.]
    ; nested exception is:
         ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active.]
    Caused by Exceptoin [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
    Belső kivétel: java.sql.SQLException: The method 'commit' cant be called when a global transaction is active.Error Code: 0.
    ==========================
    (BTW, what has 'commit' to do with a procedure that is only reading the database?)
    Regards,
    Patrik

  • Multiple Transaction with Fully Rolled Back

    Hi there,
    I've the scenario for a project that require multiple transaction as a subsequent process. I'll have one RFC Function Module that wrap multiple BAPI inside there. This RFC will be publish as a webservice and will be consumed by .NET application.
    The problem that I've, the subsequent process will depend each other. For the example : Create SO, Purch Requisition, and with Reference to PR, I need to create the PO. So I need to commit the transaction for Sales Order creation before I can't continue to create the purchase order.
    If there is a problem during the creation of PO, the Sales Order already committed to the database and I can't roll it back.
    Any suggest, how I can handle this situation with concept of Complete the whole transaction and not at all if there is an error for one of the transaction.
    Thanks in advance for any help.
    Cheers,
    Danny

    Hi Danny,
    Unfortunately this is the only option for you because you cannot rollback after you commit to the database. The other option would be to trigger Check BAPIs or BAPIs with test mode = 'X'....but that will be a problem for e.g. if you want to create a PO with reference to a PR created in the earlier step. If you can omit the part of creating with reference, then I think this is possible by first triggering BAPIs in test mode for all the documents that have to be created - if the whole chain is successful then you trigger BAPIs in update mode to post the docs (Commit) or else exit the process. Hope it made sense.
    Cheers,
    Sougata.

  • How to handle multiple transaction in session method.

    hi experts.
    please tell me how to<b> write code for multiple transaction</b> in session methods.
    Quest.  -de<b>another question is exactly which method we have to follow , how to</b>decide.
    what r the conditions for selecting which method is suitable for which type of
    transaction.

    hi,
    if you have run time validation while updating the data into SAP R/3 Transaction,then use BDC Call Transaction.
    example : when you load the data into Sales order then you need to load the into Header text of sales order.
    for this ,you have to use Update Mode 'S'.
    it is online update and if you small amount of data ,then prefer this one
    2. If you have huge amount of data and then prefer Session Method.
    we have one more advantage in session method...
    suppose file has 1,00,000 records and the if you use all the records at time,then you will get short dump like system time exceed .
    then you can split the each 10,000 records into one session and will process.
    3. Direct Input method : we prefer this method only few Transaction ,
    this will not applicable to when system has customer fields .
    for session method using multiple transactions.
    Have one BDC_OPEN_GROUP, multiple BDC_INSERT s and one BDC_CLOSE_GROUP.
    You should have multiple BDC_INSERT s for multiple transactions.
    call function BDC_OPENGROUP.
    Build BDC data and cal lBDC_INSERT for transaction 1
    Build BDC data and cal lBDC_INSERT for transaction 2
    Build BDC data and cal lBDC_INSERT for transaction 3
    paas the tcodes to bdc_insert.
    call function BDC_CLOSE_GROUP.

  • Multiple transactions in Call Transactions

    Hi All,
      Can i use the below code to do multiple transactions in call transaction using the Below code.
    Call Transction for XK01 using BDCDATA1
    Call Transction for MM01 using BDCDATA2
    Call Transction for VA01 using BDCDATA3
    Please advise.
    Regards
    Krishna

    Hi
    Try the following code....
    LOOP AT ITAB1.
    < your statements here to append the rows to internal table BDCDATA1>.
    Call Transction 'XK01' using BDCDATA1.
    ENDLOOP.
    LOOP AT ITAB2.
    < your statements here to append the rows to internal table BDCDATA2>.
    Call Transction 'MM01' using BDCDATA2.
    ENDLOOP.
    LOOP AT ITAB3.
    < your statements here to append the rows to internal table BDCDATA3>.
    Call Transction 'VA01' using BDCDATA3.
    ENDLOOP.
    Hope this would help you.
    Murthy
    Edited by: Kalyanam Seetha Rama Murthy on Jul 28, 2008 6:16 AM

  • How to use multiple transactions

    hi experts,
    1.how to handle multiple transactions in call transaction and session method.
    2.is it possible to handle multiple transactions in call transaction method.
    3.can plz send how handle multiple transactions in session method.
    thanks in addvance

    hi,
    Go through this program.
    REPORT zra_gl_cr NO STANDARD PAGE HEADING LINE-SIZE 255.
    TYPE-POOLS: truxs.
    DATA: it_raw TYPE truxs_t_text_data.
    DATA:messtab1 LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA:messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF i_mess OCCURS 0,
    l_mstring(480),
    msgnr(5),
    msgv1(15),
    END OF i_mess.
    DATA:i_mess1 LIKE i_mess OCCURS 0 WITH HEADER LINE.
    DATA: l_mstring(480),l_mstring1(480).
    DATA: BEGIN OF it_itab OCCURS 0,
    saknr(10), "G/L a/c number.
    bukrs(4), "Company Code.
    ktoks(4), "G/L a/c group.
    xplacct(1), "P&L statement account.
    xbilk(1), "Balance sheet account.
    txt20_ml(20), "G/L a/c short text.
    txt50_ml(50), "G/L a/c long text.
    waers(5), "Account currency.
    MWSKZ(2),
    mitkz(1), "Reconciliation a/c for a/c type.
    xopvw(1), "Open item management
    xkres(1), "Line item display.
    zuawa(3), "Sort Key.
    fstag(4), "Field status group.
    xintb(1), "Post automatically only.
    hbkid(5), "House bank.
    hktid(5), "Account id.
    vzskz(2), "Interest indicator
    END OF it_itab.
    DATA: hdate LIKE sy-datum.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(15) text-103. " FOR FIELD P_FILE1.
    SELECTION-SCREEN POSITION 25.
    PARAMETERS : p_file1 LIKE rlgrap-filename.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
    Perform file_selection will help to select the location of the file
    PERFORM file_selection.
    START-OF-SELECTION.
    Perform data_upload will help to upload the data from the flat file
    to the internal table.
    PERFORM data_upload.
    PERFORM open_group.
    Peform bdc_upload will help to upload the data from the internal
    table into its respective fields.
    PERFORM bdc_fspo.
    PERFORM bdc_upload.
    PERFORM exp_log.
    PERFORM close_group.
    Perform display_log will prepare a log for the data that has been
    uploaded
    PERFORM display_log.
    END-OF-SELECTION.
    FORM file_selection .
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = ' '
    def_path = 'C:\'
    mask = ',.txt,.xls.'
    mode = 'O'
    title = 'Open a excel file'
    IMPORTING
    filename = p_file1
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    ENDFORM. " file_selection
    FORM data_upload .
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
    I_FIELD_SEPERATOR =
    i_line_header = 'X'
    i_tab_raw_data = it_raw
    i_filename = p_file1
    TABLES
    i_tab_converted_data = it_itab
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " data_upload
    FORM bdc_upload .
    LOOP AT it_itab.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=ACC_CRE'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_KEY-SAKNR'.
    perform bdc_field using 'GLACCOUNT_SCREEN_KEY-SAKNR'
    it_itab-SAKNR.
    perform bdc_field using 'GLACCOUNT_SCREEN_KEY-BUKRS'
    it_itab-BUKRS.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=2102_GROUP'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-KTOKS'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-KTOKS.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-XPLACCT'
    it_itab-XPLACCT.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=2102_BS_PL'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-XBILK'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-KTOKS.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-XPLACCT'
    it_itab-XPLACCT.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-XBILK'
    it_itab-XBILK.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTER'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-KTOKS.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-XBILK'
    it_itab-XBILK.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-TXT20_ML'
    it_itab-TXT20_ML.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-TXT50_ML'
    it_itab-TXT50_ML.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-BILKT'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-BILKT'
    it_itab-saknr.
    PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=TAB02'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-ktoks.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
    it_itab-txt20_ml.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
    it_itab-txt50_ml.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-BILKT'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-BILKT'
    it_itab-saknr.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=TAB02'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-KTOKS'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-KTOKS.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-KTOKS'.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-KTOKS.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-XBILK'
    it_itab-XBILK.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-TXT20_ML'
    it_itab-TXT20_ML.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-TXT50_ML'
    it_itab-TXT50_ML.
    perform bdc_field using 'GLACCOUNT_SCREEN_COA-BILKT'
    it_itab-saknr.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTER'.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-WAERS'
    it_itab-waers.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
    it_itab-MWSKZ.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-MITKZ'
    it_itab-mitkz.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_CCODE-XOPVW'.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XOPVW'
    it_itab-XOPVW.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XKRES'
    it_itab-XKRES.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
    it_itab-ZUAWA.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
    it_itab-xplacct.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-XBILK'
    it_itab-xbilk.
    IF it_itab-xbilk = 'X'.
    PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=TAB03'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_CCODE-WAERS'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
    it_itab-waers.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
    it_itab-xopvw.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
    it_itab-mitkz.
    ENDIF.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
    it_itab-xkres.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
    it_itab-zuawa.
    PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=SAVE'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_CCODE-FSTAG'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
    it_itab-fstag.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
    it_itab-xintb.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-HBKID'
    it_itab-hbkid.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-HKTID'
    it_itab-hktid.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-VZSKZ'
    it_itab-vzskz.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=TAB03'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_CCODE-WAERS'.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-WAERS'
    it_itab-WAERS.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
    it_itab-MWSKZ.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-MITKZ'
    it_itab-MITKZ.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
    it_itab-ZUAWA.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTER'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_CCODE-FSTAG'.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
    it_itab-FSTAG.
    perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field using 'BDC_OKCODE'
    '=SAVE'.
    perform bdc_field using 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_CCODE-FSTAG'.
    perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
    it_itab-FSTAG.
    PERFORM bdc_transaction USING 'FS00'.
    CALL TRANSACTION 'FS00' USING bdcdata MODE 'A'
    UPDATE 'S'
    MESSAGES INTO messtab1.
    PERFORM mess1.
    REFRESH bdcdata[].
    ENDLOOP.
    ENDFORM. " bdc_upload
    FORM bdc_fspo .
    LOOP AT it_itab.
    PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ACC_CRE'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_KEY-SAKNR'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
    it_itab-saknr.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_KEY-KTOPL'
    '1000'.
    PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=2102_GROUP'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-ktoks.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
    it_itab-xplacct.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-XBILK'
    it_itab-xbilk.
    PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=SAVE'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-KTOKS'
    it_itab-ktoks.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
    it_itab-xplacct.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
    it_itab-txt20_ml.
    PERFORM bdc_field USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
    it_itab-txt50_ml.
    *perform bdc_transaction using 'FSP0'.
    CALL TRANSACTION 'FSP0' USING bdcdata MODE 'A'
    UPDATE 'S'
    MESSAGES INTO messtab.
    PERFORM mess.
    REFRESH bdcdata[].
    ENDLOOP.
    ENDFORM. " bdc_fspo
    FORM mess . "fsp0
    LOOP AT messtab.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = messtab-msgid
    lang = messtab-msgspra
    no = messtab-msgnr
    v1 = messtab-msgv1
    v2 = messtab-msgv2
    v3 = messtab-msgv3
    v4 = messtab-msgv4
    IMPORTING
    msg = l_mstring
    EXCEPTIONS
    not_found = 1
    OTHERS = 2.
    CONDENSE l_mstring.
    i_mess1-l_mstring = l_mstring(250).
    i_mess1-msgnr = messtab1-msgnr.
    i_mess1-msgv1 = messtab1-msgv1.
    APPEND i_mess1.
    ENDLOOP.
    ENDFORM. " mess
    FORM mess1 . "fs00
    LOOP AT messtab1.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = messtab1-msgid
    lang = messtab1-msgspra
    no = messtab1-msgnr
    v1 = messtab1-msgv1
    v2 = messtab1-msgv2
    v3 = messtab1-msgv3
    v4 = messtab1-msgv4
    IMPORTING
    msg = l_mstring1
    EXCEPTIONS
    not_found = 1
    OTHERS = 2.
    CONDENSE l_mstring1.
    i_mess-l_mstring = l_mstring1(250).
    i_mess-msgnr = messtab1-msgnr.
    i_mess-msgv1 = messtab1-msgv1.
    APPEND i_mess.
    ENDLOOP.
    ENDFORM. " mess1
    FORM exp_log .
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filename = 'c:\temp\error_fsp0.txt'
    filetype = 'DAT'
    TABLES
    data_tab = i_mess1.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filename = 'c:\temp\error_fs00.txt'
    filetype = 'DAT'
    TABLES
    data_tab = i_mess.
    ENDFORM. " exp_log
    FORM bdc_dynpro USING program dynpro.
    CLEAR bdcdata.
    bdcdata-program = program.
    bdcdata-dynpro = dynpro.
    bdcdata-dynbegin = 'X'.
    APPEND bdcdata.
    ENDFORM. "BDC_DYNPRO
    FORM bdc_field USING fnam fval.
    CLEAR bdcdata.
    bdcdata-fnam = fnam.
    bdcdata-fval = fval.
    APPEND bdcdata.
    ENDFORM. "BDC_Field
    Rewards points.
    Rgds,
    P.Nag

  • B2B Inbound File with Multiple Transactions failing

    Hi ,
    Problem Summary: When the inbound file is coming with multiple transactions (combination of 997 and non-997) ,
    If the 997 is the FIRST transaction in file, B2B is processing only 997 and remaning transactions are getting rejected.
    Where as if the 997 is the LAST transaction in file, then all the transactions are processing correclty.
    SOA Version: SOA 11G (11.1.1.5).
    Example 1: below sample we got two transactions, 997 and 214. here 997 is the FIRST transaction in the file.
    in this case B2B is processing 997 correctly, and 214 is errored with below error message
    "B2B-51507 - A data segment with 'Mandatory' status is missing. A data segment with 'Mandatory' status is missing. An X12 syntax error occurred. An X12 syntax error occurred. An X12 syntax error occurred. A data segment with 'Mandatory' status is missing. A data segment with 'Mandatory' status is missing.
    ISA00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005822*0*P*:~*
    GSFA*xxxx*1234555*20120516*1018*5822*X*004010~*
    ST997*58220001~*
    AK1SM*7159~*
    AK9A*1*1*1~*
    SE000004*58220001~*
    GE1*5822~*
    IEA1*000005822~*
    ISA*00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005823*0*P*:~
    GS*QM*xxxx*1234555*20120516*1018*5823*X*004010~
    ST*214*58230001~
    B10*2313813*M1213131*xxxx~
    N1*SF*xxxxxx*ZZ*124~
    N4*xxxxxx*AR~
    LX*1~
    AT7*AF*NS***20120516*1017*LT~
    MS1*xxxxx*AR~
    L11*01*QN~
    AT8*G*L~
    SE*10*58230001~
    GE*1*5823~
    IEA*1*000005823~
    Example 2 : below sample we got two transactions, 997 and 214. here 997 is the LAST transaction in the file.
    in this case B2B is processing ALL TRANSACTIONS correctly
    ISA*00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005823*0*P*:~
    GS*QM*xxxx*1234555*20120516*1018*5823*X*004010~
    ST*214*58230001~
    B10*2313813*M1213131*xxxx~
    N1*SF*xxxxxx*ZZ*124~
    N4*xxxxxx*AR~
    LX*1~
    AT7*AF*NS***20120516*1017*LT~
    MS1*xxxxx*AR~
    L11*01*QN~
    AT8*G*L~
    SE*10*58230001~
    GE*1*5823~
    IEA*1*000005823~
    ISA00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005822*0*P*:~*
    GSFA*xxxx*1234555*20120516*1018*5822*X*004010~*
    ST997*58220001~*
    AK1SM*7159~*
    AK9A*1*1*1~*
    SE000004*58220001~*
    GE1*5822~*
    IEA1*000005822~*
    Thanks,
    Naveen

    Hi,
    My name is Phil DeLaine and I work for one of Oracle's Gold Partners, TechDemocracy.
    I saw your post about the B2B transaction errors you are experiencing. We have great experience with B2B and have solved very complex problems. (References available.)
    Would you like to use one of our B2B expert technical resources to solve this problem and deliver your project error free and fully functional?
    Please let me know if you would like to discuss what we can do for you. You can reach me anytime.
    Regards,
    Phil
    Phil DeLaine
    Sales Director - Northeast
    TechDemocracy
    (978) 758-3156 (Cell)
    [email protected]
    http://www.techdemocracy.com/
    Our Successes:
    1) We won the 2011 Oracle Titan Award for the Best Middleware Implementation. Our award winning solutions included SOA, IAM and BI.
    2) We have been awarded with the highly prestigious Oracle ACE Director status for outstanding industry achievement and track record.
    3) We sit on several Advisory Boards for Oracle Product Management (for Fusion Middleware Products).
    4) We are an Oracle Center of Excellence Partner for SOA and IAM.
    5) We are frequently invited to speak at a number of Oracle Customer Success forums such as Oracle's "OpenWorld".
    6) We have been rated by Inc. Magazine as one of the top 10 fastest growing companies for 3 consecutive years.
    7) We have won and successfully deliveried several projects at Fortune 100, 500 and 1,000 companies. (References Available)

  • Oracle, Issue with Multiple transaction from two nodes.

    Hi All,
    Below is the scenario ,that we are encountering.
    We have Client which is RAC modelled having Node1 and node2 and the server having primary and secondary nodes.
    From Client we are getting multiple transactions at a rate of nano-milliseconds to the server.
    Our code setup:
    1) Requests would be fired from client  for either insert or update into DB to a Table(Table_A).
    If record exists, we are going for update or else we are inserting.
    Table Structure:
    Table_A Table has Primary key on Account_id
    Our Scenario is that
    Scenario 1:
    a) Database is verifying ,if the data exists in table.
    b) Data not available(record count=0) in the table and as per functionality it goes for insert query.
    c) Before commit occurs, another requests comes in and checks in table for data existence.
    d)  Since commit is yet to happen, the count on table is ZERO and hence the second request is also coming as INSERT.
    e) Since two insert on same record comes in, Unique Key Constraint Violation error is been triggered.
    Scenario 2: We tried to simplify the above process by using Merge option In Oracle. But even that is not solving our concern.
    Thanks

    Scenario 1 - you will probably have to perform some sort of locking to prevent this issue. However, doing so will hurt scalability.
    Scenario 2 - your situation sounds perfect for the MERGE statement. Can you provide more details on "But even that is not solving our concern."? What are you doing and what are you seeing?
    Also, post your version.
    Cheers,
    Brian

  • How to create Dynamic Tab in ADF, to achive multiple transaction at a time

    Hi,
    I want to create Dynamic tab in ADF, to achieve Multiple transaction at a time by opening new tab for a transaction.
    For Example: User can order multiple product at the same time by opening the order form in multiple TAB.
    Scenario:
    i) When user will click on addNewTab, new tab will be added.
    ii) If user Click on close btn on Tab, Tab will be closed (Transaction will be removed).
    iii) user can save all transaction( can save multiple product Order in different tab.)
    iv) when user select any product in form, Rename the Tab name as well.
    Need Help on this :(
    Thanks & Regards
    Pratap Rudra

    Hi Rudra,
    You can implement all your problem using Tab API .
    When you are closing the tab you can roll back transaction which you want.
    Tab API will give control over closing and opening tab.
    And also you can give tab name while opening the tab.
    Thanks
    Prateek

  • MT 100 DME file for multiple Transactions

    Hello
    We are not able to generate the <b>DME file in MT100 format for Multiple Transactions of the Bank Account after F110.</b>
    We are able to generate DME file in MT 100 format for a Single Transaction.
    Please suggest us if we had missed any configuration or any specific process is required to generate the DME file in MT100 for Multiple Transactions of the Bank Account after F110.
    Regards
    Srini

    Hi,
    I am just trying to give some additional information on this one. Here is a snippet from the PDF handbook.
    Option:
    SpoolBatches Enter Yes to tell the PDF Print Driver to print an entire batch of transaction to a single PDF file. The default is No.
    Please do keep in mind...
    • To create a linearized PDF file (for page-at-a-time downloading), you must set this option to No.
    • If you are using single step processing, you must set this option to No.
    In addition to this, you must also turn off the MultiFilePrint callback function. To do this, remove or comment out the CallbackFunc option. Here is an example of commenting out the CallbackFunc option:
    < Print >
    ; CallbackFunc = MultiFilePrint
    You cannot generate linearized PDF files if you set the SpoolBatches option to Yes because when linearizing, the PDF Print Driver must have the entire contents of the PDF
    file in memory. Since batches can be very large, it is not practical to keep an entire batch in memory.
    Important point for your reference:
    I just went through the FAQ in the below link and understood that there are some problems when you try to create a single PDF for a batch as a whole - Acrobat Reader only display the first transaction in a PDF file which contains multiple transactions.
    FAQ Book link -> http://download.oracle.com/docs/cd/E16256_01/faq_book.pdf
    PDF Handbook -> http://download.oracle.com/docs/cd/E16256_01/pdf_book.pdf
    I did not get a chance to explore much on this. Please explore if it helps. Thank you.

Maybe you are looking for

  • BSOD on XP with Zenworks and Symantec Endpoint Protection

    After upgrading to Symantec Endpoint Protection (SEP) we are getting Blue Screen after imaging. We have SEP included in our image and after pushing the image to another computer, we instantly get a BSOD, when trying to boot up the newly imaged machin

  • Can we setup automatic sourcing for standard purchase order

    hi all, can we setup automatic sourcing for standard purchase order. i have done automation for bpa. can anyone help me in setting up automatic sourcing for spo. thanks.

  • HR-BW report for Travel Expense report(Urgent, max. points awarded)

    Hi All, Could anyone please tell how to write a spec to create a BW report for Travel Expense report. or how can we know from which tables can the data be extracted for Personal number, name of the EE, Trip number, Trip duration, Trip begin date, Tri

  • Error during Knowledge Management startup!

    Hi Friends, I did SystemCopy Import of the EP-Production(This is Cluster) Server. It was Successfully imported but When i loging into the portal the Following Error coming in the KMC Part... Please observe the following error and give me valuble sugg

  • JBOSS WONT DEPLOY BC4J.EAR - FAILS

    Following instructions found elsewhere in OTN, I have set up JBOSS to use BC4J by copying relevant files to the JBOSSHOME/lib/ext folder and by deploying BC4J.EAR into the JBOSS deploy folder. Deployment fails mentioning that it is missing a class ..