FMJ2 not rolling budgets

I need some help, quickly.
We are tryiing to do our year-end carryover (FMJ2) but the budget component are not getting carried over.  I am unfamilar with this area so I am not even sure about where to go to start looking.  I have looked at the transports that set this up but I can't find anything. 
I run FMJ2 in test run and it looks ok but when I run the report I can see where the budget does not come accross but the commitment items do.
Gale.
LCSD1 sys admin

Hi Gale,
As per your explanation solution could be correct, nevertheless as advice you could check information about "Closing operations" in help.sap.com. Here you will see standard proccess and detailed information about how works system.
Check this URL to further informaiton
http://help.sap.com/saphelp_erp60_sp/helpdata/en/f0/ca5716260211d28a430000e829fbbd/frameset.htm
I hope this help,
Regards,
JLB

Similar Messages

  • While copying Roll Budget to STAT Budget I am getting error

    Hi Guys
    I am copying  Roll Budget to STAT  using the e T code YCT02 ( ROLL to STAT budget )
    In YCT02 I have entered the below data in the screen .
    Budget version - 2012010ROLL
    Budget version Static -2012000STAT
    Controlling Area u2013 2000
    Company code u2013SE05
    While executing I am getting below error message.
    Data record is locked by data slice BUDGET VERSIONS
    Message no. UPC220
    Diagnosis
    You want to change data for which a change is generally forbidden. In the definition of the planning area, it was defined which data slices could not be planned. The combination of characteristic values, which you want to change, is blocked by data slice BUDGET VERSIONS.
    Procedure
    Change the definition of the planning function, which you are just executing, or adapt the definition of the data slice.
    Kindly let me know where I need to go and change the planning function (which T code )
    Whether my inputs are correct or not .Please confirm .How to resolve this issue.
    Regards
    Aravind

    This appears to be a BPS question and therefore not related to BCS. If so there is likely a different forum for such queries.

  • Account in Dimension not rolling up

    I have an Accounts dimension and one of the accounts in only the Budget scenario does not rollup. The particular account has several children and they are not rolling up to the main account. However, this is only happening on one particular scenario.Any ideas?

    I have had this happen when rearranging the outline has confused the intelligent calculation engine into think blocks are untouched, when actually they have changed bacause the set of members that make up their children has altered.Either turning off intelligent calc or clearing upper level blocks and recalcing cured it.

  • Inactive component cost not rolled up to top level item

    Hi
    Our scenario is as follows: we have a top level item with a BOM. And some components of the BOM  are having material status u2018inactiveu2019. Inactive means materials will not procured and sold, however we could have inventory which can be consumed in production of other materials. In other words inactive items are like old items. These inactive items already have costing value. And we donu2019t want to recost inactive items.
    Having described above scenario, the requirement here is when we run costing for top level item, system should take costing value of inactive items  and roll up into top level item costing which is NOT happening now. Client donu2019t want to recost inactive items. The reason for not recosting inactive items is the recosting could change cost of inactive items significantly.  We are using 4.7 version and standard costing.
    Would appreciate any ideas or suggestions in this regard.
    thanx
    Sunil

    Thanks Young for the reply. 
    We already set 'do not cost' indicator for inactive components. And these inactive components do have standard costs valid up 10 12/31/2999.  It seems bom explosion is excluding these materials. it is ok to exclude. However the existing standard cost of these inactive components did not roll up in to top level. when I checked the costing status log, it says material ABCDF123 in plant 3344 has material status 40: Inactive.
    I checked BOM as well and inactive component is flagged as 'relevant for costing'.
    We are using following valuation varaiant
        Strategy Sequence ->  1. Planned Price 1    2.Standard Cost
        Transfer Control - Complete Transfer
    thnx

  • Project professional 2010: Physical % Complete field does not roll-up to the summary tasks

    Hi,
    I have a project plan which I need to set the physical % complete fields of it in order to use it for earned value over time report. I have assigned costed resources to come of the tasks, set all project task's earned value method to physical % complete,
    and finally set a baseline. However, the physical % complete still does not get calculated for the summary tasks! It is always zero! 
    I have created another project with only 3 tasks and 3 resources, did the same as above, and was able to get calculated values for the physical % complete.
    I followed the same procedure in both projects. In one I was able to get the physical % complete value of the summary tasks while it was always zero in the other! What may be the problem? 
    Regards,
    George 

    Hi Julie,
    This is what I am seeing as necessary to make Physical % complete roll up to the summary level task.
    BEFORE tasks are entered, set the "Default Task Earned Value method" to Physical % complete. File > Options, Advanced.  This will set both the summary and detail tasks to that method.
    Add tasks
    Add resources with costs.
    Assign resources to tasks.
    Baseline the file
    Take a look at the Tracking table and enter progress in the Physical % complete field for subtasks. The value should roll up.
    Sadly I don't know of anyway to force the change after the tasks have been added.  You can certainly add the Earned Value Method field to a task view to confirm all is set - but I have never been able to switch mid-flight and get it to work correctly.
    I did, however, just try an experiment.  I created a file that did not work correctly - Physical % complete was not rolling up.  I inserted it into a blank project that had the option set correctly without linking.  After a bit of tweaking
    (outdenting all tasks to be able to delete the "extra summary task", saving a baseline), it now appears to be working correctly.
    I hope this helps.

  • S_ALR_87013532 report -plan cost not rolling upto the WBS/Project level

    Dear All,
    Plan cost from production orders is not rolling up to the WBS/Project level in S_ALR_87013532 ( Plan/Actual Variance report).
    Where as plan cost from network is properly rolling up to the WBS/Project level in the above report. 
    Please suggest what could be the reason for this issue. Is any configuration needs to be done for this.
    Thanks & Regards,
    Vishal

    Dear sir,
    Thanks for the reply & sorry for late response from my side.
    OPSV settings are already maintained in our system.
    Some how i realized  later that cost are actaully getting rolled to the WBS level, but we have observed one more discrepancy.
    Example -
    Production order "X" value - 100 (  as seen through co03)
    Production order "X"value- 40 ( as seen through report s_alr_87013532).
    We found that  in report  s_alr_87013532 , although my total  producton order value of 100 is represented at the WBS /Project level, but at the production order level , it is showing value of 40. 
    On further analysis we found that for production order X
    Materail cost- 60
    Labour cost-40
    The material cost of 60  is not getting fetched against production order "X" in report " S_ALR_87013532".
    There are very few cases , where such discrepancy is seen.
    Kindly suggest.
    Regards,
    Vishal

  • Statement in Transaction Does Not Roll Back

    I have a group of MySQL statements in a method of a Java application.
    I include an SQL error in the last statement to test the rollback of the transaction.
    All the statements roll back, EXCEPT for the one detailed below.
    The MySQL table:
         CREATE TABLE Counter (
              number INT( 4 ) NOT NULL DEFAULT 0,
              account_id VARCHAR( 12 ) NOT NULL PRIMARY KEY
         ) ENGINE = InnoDB;I have run the staement as a PreparedStatement and a Statement:
    PreparedStatement:
         String updateCounterStr =
              " UPDATE Counter " +
                   " SET number = number + 1 " +
                   " WHERE account_id = ? "
         updateCounter = con.prepareStatement ( updateCounterStr );
              updateCounter.setString( 1, accountID );
              int uc = updateCounter.executeUpdate();     Statement:               
         Statement updateCounterStatement = con.createStatement();
              int updatecounter = updateCounterStatement.executeUpdate(
                   "UPDATE Counter SET number = number + 1 " +
                   "WHERE account_id = \'" + accountID + "\'"
              con.setAutoCommit( true );     //     ------------------------------------ Transaction ENDS
              updateCounterStatement.close();
    //               updateCounter.close();
              ... several more
              con.close();
         } catch(SQLException ex) {
              System.err.println("SQLException: " + ex.getMessage());
              if (con != null) {
                   try {
                        System.err.print("Transaction is being ");
                        System.err.println("rolled back");
                        con.rollback();     //     < ------------------------------------ con.rollback() HERE
                   } catch(SQLException excep) {
                        System.err.print("SQLException: ");
                        System.err.println(excep.getMessage());
    }     //     ---------------------------------------- END the methodIn both cases Counter is incremented, but does NOT roll back.
    The other statements in the transaction do roll back,
    I am using:
    mysql Ver 14.12 Distrib 5.0.18, for apple-darwin8.2.0 (powerpc) using readline 5.0
    on Mac OS X 10.4.x
    I would greatly appreciate a solution to this problem.
    Many thanks in advance

    I think autocommit is true by default. Also, it looks like your'e setting it to true, and then executing more SQL.
    Explicitly set it to false, and DON'T set it back to trueif there's any chance you're going to want to rollback after that.

  • Toplink 9.0.4.8 and JTS on OAS 10.1.2.0.0 and 10.1.2.0.2 not rolling back

    Re-Posting message with more information.
    Toplink 9.0.4.8 and JTS not rolling back transaction
    Hi
    Scenario:
    I have a session bean (EJB1) calling a session bean (EJB2).
    When an EJB1 is called, EJB1 persists data on to Table1 in database.
    And EJB1 makes multiple calls to EJB2 to create entries in three different tables. Trans-attribute is set as required on both EJBS.
    Problem:
    EJB1 gets a Runtime Exception while inserting the data into TABLE1 (ORA-12899: value too large for column), EJB1 transaction is rollback, but all other transactions related to EJB2 are getting committed. I assume that they should roll back too.
    Also, I did JAD on external transaction controller and listener and noticed that there is a transaction associated to each call. Meaning EJB1 had Transaction T1 and EJB2 had T2, T3, and T4 for the subsequent calls. When EJB1 is getting runtime exception in the method beforeCompletion(), the it calls rollbackGlobalTransaction() which is calling T1.setRollbackonly(). But not on on T2, T3, and T4 rollback
    Am I missing anything?
    Please help me
    Here are my configuration details:
    The datasource configuration:
    <data-source name="myTxDataSource"
    class="com.evermind.sql.OrionCMTDataSource"
    location="jdbc/myTxDataSourceCoreDS"
    xa-location="jdbc/xa/myTxDataSourceXADS"
    ejb-location="jdbc/myTxDataSourceDS"
    pooled-location="jdbc/myTxDataSourcePooledDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="duser"
    password="d123"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"
    />
    Sessions.xml
    <login>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
    <datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
    <user-name>duser</user-name>
    <encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
    <encrypted-password>22F7AFE6F6B9672435537CE1189E123DD62D1A19DF561D1E</encrypted-password>
    <uses-native-sequencing>true</uses-native-sequencing>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    Toplink Helper class that is used by both EJB's
    This one uses SessionBroker. here is how it is initialized:
    SessionManager manager = SessionManager.getManager();
    sessionBroker = (SessionBroker) manager.getSession(xmlLoader,
    sessionBrokerName, this.getClass().getClassLoader());
    Oracle9iJTSExternalTransactionController extController = new Oracle9iJTSExternalTransactionController();
    sessionBroker.setExternalTransactionController(extController);
    It has common following commong methods:
    public UnitOfWork getUnitOfWork() {
    UnitOfWork uow = sessionBroker.getActiveUnitOfWork();
    return uow;
    public Object create(Object o)
    UnitOfWork uow = getUnitOfWork();
    uow.registerNewObject(o);
    // added so that the assigned sequence number will be available before the commit happens
    uow.assignSequenceNumber(o);
    return o;
    }

    A couple of this appear different in your sessions.xml. To do what you want you need to configure TopLink to:
    1. Use an external XT controller - requires flag to be set and controller provided
    2. Use the OC4J data source - requires flag to be set and data source name provided
    I notice that your sessions.xml has both a data source name as well as a direct connection URL.
    Here is a sample that shows the proper settings for the external TX and data source usage:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
    <toplink-configuration>
       <session>
          <name>default</name>
          <project-xml>META-INF/tlMap1.xml</project-xml>
          <session-type>
             <server-session/>
          </session-type>
          <login>
             <datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
             <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
             <uses-external-connection-pool>true</uses-external-connection-pool>
             <uses-external-transaction-controller>true</uses-external-transaction-controller>
          </login>
          <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
          <enable-logging>true</enable-logging>
          <logging-options>
             <print-thread>false</print-thread>
             <print-date>false</print-date>
          </logging-options>
       </session>
    </toplink-configuration>Doug

  • Toplink 9.0.4.8 and JTS on OAS 10.1.2.0.0 and 10.1.2.0.2 not rolling back t

    Toplink 9.0.4.8 and JTS not rolling back transaction
    Hi
    Scenario:
    I have a session bean (EJB1) calling a session bean (EJB2).
    When an EJB1 is called, EJB1 persists data on to Table1 in database.
    And EJB1 makes multiple calls to EJB2 to create entries in three different tables. Trans-attribute is set as required on both EJBS.
    Problem:
    EJB1 gets a Runtime Exception while inserting the data into TABLE1 (ORA-12899: value too large for column), EJB1 transaction is rollback, but all other transactions related to EJB2 are getting committed. I assume that they should roll back too.
    Also, I did JAD on external transaction controller and listener and noticed that there is a transaction associated to each call. Meaning EJB1 had Transaction T1 and EJB2 had T2, T3, and T4 for the subsequent calls. When EJB1 is getting runtime exception in the method beforeCompletion(), the it calls rollbackGlobalTransaction() which is calling T1.setRollbackonly(). But not on on T2, T3, and T4 rollback
    Am I missing anything?
    Please help me
    Here are my configuration details:
    The datasource configuration:
    <data-source name="myTxDataSource"
    class="com.evermind.sql.OrionCMTDataSource"
    location="jdbc/myTxDataSourceCoreDS"
    xa-location="jdbc/xa/myTxDataSourceXADS"
    ejb-location="jdbc/myTxDataSourceDS"
    pooled-location="jdbc/myTxDataSourcePooledDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="duser"
    password="d123"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"
    />
    Sessions.xml
    <login>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
    <datasource>jdbc/DimpleTxDataSourceCoreDS</datasource>
    <user-name>duser</user-name>
    <encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
    <encrypted-password>22F7AFE6F6B9672435537CE1189E123DD62D1A19DF561D1E</encrypted-password>
    <uses-native-sequencing>true</uses-native-sequencing>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    Toplink Helper class that is used by both EJB's
    This one uses SessionBroker. here is how it is initialized:
    SessionManager manager = SessionManager.getManager();
    sessionBroker = (SessionBroker) manager.getSession(xmlLoader,
    sessionBrokerName, this.getClass().getClassLoader());
    Oracle9iJTSExternalTransactionController extController = new Oracle9iJTSExternalTransactionController();
    sessionBroker.setExternalTransactionController(extController);
    It has common following commong methods:
    public UnitOfWork getUnitOfWork() {
    UnitOfWork uow = sessionBroker.getActiveUnitOfWork();
    return uow;
    public Object create(Object o)
    UnitOfWork uow = getUnitOfWork();
    uow.registerNewObject(o);
    // added so that the assigned sequence number will be available before the commit happens
    uow.assignSequenceNumber(o);
    return o;
    }

    Doug, Andrei and others
    I found the problem. I have a Delegate that provides access to all EJBS. This delegate is used by both the webtier and middle tier.It is written in a generic fashion so that the web server and middle tier does not have to be co-located in one container. getInitialContext() which is implemented as follows:
    private static Context getInitialContext() throws NamingException
    // Get InitialContext for Embedded OC4J.
    // The embedded server must be running for lookups to succeed.
    // actual code reads from the external parameters
    String contextFactory = "com.evermind.server.rmi.RMIInitialContextFactory";
    String principal = "admin";
    String passwd = "admin123";
    String providerURL = "ormi://localhost:3201/shc";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, contextFactory);
    env.put(Context.SECURITY_PRINCIPAL, principal);
    env.put(Context.SECURITY_CREDENTIALS, passwd);
    env.put(Context.PROVIDER_URL, providerURL);
    env.put("dedicated.rmicontext","true");
    return new InitialContext(env);
    When the EJB1 tries to look up for EJB2, container thinks that the call is from outside the container and it is starting a new transaction.
    When I changed the EJB1 to look up EJB2 to get the context as shown below,every thing seems to rolling back.
    private static Context getInitialContext() throws NamingException
    return new InitialContext();
    Thanks again for pointing me in the right direction.
    I will post the same message in other threads.
    Raju

  • Transaction is not Rolling Back in Stateless Session Bean

              Hi,
              I am using UserTransaction in Stateless Session bean .
              Transaction is not rolling back.
              The following code is writen in stateless session bean. In UserTransaction i am
              calling Two methods of another stateless session bean.
              The problem is if doJob2() method fails, doJob1() method is rolling back. These
              two methods consist of SQL statement with different Connection Object from TXDataSource.And
              session bean(TestSession) is set to CMT, attribute as "Required".
              try{
              Context ictx=new InitialContext();
              TestHome home=(TestHome)ictx.lookup("TestSession");
                   utx = sessionCtx.getUserTransaction();
                   utx.begin();
              TestRemote remote=home.create();
                   remote.doJob1();
                   remote.doJob2();
                   utx.commit();
              }catch(Exception e)
                   try{
                   utx.rollback();
              }catch(Exception ex)
                   System.out.println("unable to rollback"+ex);
              if any SQL Exception as occured in doJob2(), its calling method utx.rollback()
              in catch block. but SQL statements executed thru. doJob1() are not rolling back.
              what might be the reason?
              thanks
              Ranganath
              

              Thanx Priscilla ,
              Transaction is working.
              ranganath
              "Priscilla Fung" <[email protected]> wrote:
              >
              >In your ejb-jar.xml, you should specify <transaction-type> element to
              >be "Container"
              >for container-managed transaction. If you specified it to be "Bean" for
              >bean-managed
              >transaction, EJB ontainer will suspend the caller's transaction before
              >starting
              >a new transaction for your doJobX() methods. Thus, doJob1()nd doJob2()
              >will be
              >executing in different transactions, and thus rolling back doJob2()'s
              >transaction
              >will have no effect on work done and committed in doJob1()'s transaction.
              >
              >Regards,
              >
              >Priscilla
              >
              >
              >"Ranganath" <[email protected]> wrote:
              >>
              >>
              >>
              >>I am sending config.xml,deployment descriptors, code snippet for TestSession.
              >>i
              >>am using weblogic6.0sp2.
              >>if you need any aditional info. please let me know.
              >>
              >>thanks
              >>ranganath
              >>
              >>EJB-JAR.xml
              >>
              >><?xml version="1.0"?>
              >>
              >><!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
              >JavaBeans
              >>1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
              >>
              >><ejb-jar>
              >>     <enterprise-beans>
              >>     <session>
              >>          <ejb-name>TestSession</ejb-name>
              >>          <home>com.apar.sslbridge.test.TestHome</home>
              >>          <remote>com.apar.sslbridge.test.TestRemote</remote>
              >>          <ejb-class>com.apar.sslbridge.test.TestBean</ejb-class>
              >>          <session-type>Stateless</session-type>
              >>          <transaction-type>Bean</transaction-type>
              >>          <resource-ref>
              >>     <res-ref-name>jdbc/oraclePool</res-ref-name>
              >>     <res-type>javax.sql.DataSource</res-type>
              >>     <res-auth>Container</res-auth>
              >>          </resource-ref>
              >>     </session>
              >>     </enterprise-beans>
              >>     <assembly-descriptor>
              >>     <container-transaction>
              >>          <method>
              >>          <ejb-name>TestSession</ejb-name>
              >>          <method-intf>Remote</method-intf>
              >>          <method-name>*</method-name>
              >>          </method>
              >>          <trans-attribute>Required</trans-attribute>
              >>     </container-transaction>
              >> </assembly-descriptor>
              >></ejb-jar>
              >>
              >>
              >>TestSession CODE:
              >>
              >>
              >>     public void doJob1() throws RemoteException
              >>     {
              >>     Statement st = null;
              >>     String query=null;
              >>     try{
              >>     con=getConnection();
              >>     st=con.createStatement();
              >>     query="insert into x values("+x+++")";
              >>     System.out.println(query);
              >>     int rec=st.executeUpdate(query);
              >>     }catch(SQLException sqle)
              >>     {
              >>     System.out.println("SQL Exception "+sqle);
              >> throw new RemoteException("RemoteException*****SQLError");
              >>     } catch (Exception e) {
              >>     System.out.println("Exception "+e);
              >> throw new RemoteException("RemoteException*****GenralError");
              >> }
              >>}
              >>
              >>
              >> public void doJob2()throws RemoteException
              >> {
              >> Connection con=null;
              >> Statement st = null;
              >> String query=null;
              >> try{
              >> con=getConnection();
              >> st=con.createStatement();
              >> query="insert into y values("+x+++")";
              >> System.out.println(query);
              >> int rec=st.executeUpdate(query);
              >> }catch(SQLException sqle)
              >> {
              >> System.out.println("SQL Exception "+sqle);
              >> throw new RemoteException("RemoteException*****SQLError");
              >> } catch (Exception e) {
              >> System.out.println("Exception "+e);
              >> throw new RemoteException("RemoteException*****GenralError");
              >>}
              >>}
              >>private Connection getConnection(){
              >>try {
              >>Connection con = StaticParams.POOL_DATASOURCE.getConnection();
              >>return con;
              >>     } catch(Exception e) {
              >>     System.out.println("TestBean.getConnection() Unable to get get pool
              >>connection
              >>" + e);
              >>     }
              >>}
              >>
              >>
              >>
              >>
              >>"Priscilla Fung" <[email protected]> wrote:
              >>>
              >>>It should work if you are using TxDataSource. Could you post your
              >config.xml,
              >>>deployment descriptors, code snippet for TestSession?
              >>>
              >>>Regards,
              >>>
              >>>Priscilla
              >>>
              >>>"Ranganath" <[email protected]> wrote:
              >>>>
              >>>>Hi,
              >>>>
              >>>> I am using UserTransaction in Stateless Session bean .
              >>>> Transaction is not rolling back.
              >>>>
              >>>>The following code is writen in stateless session bean. In UserTransaction
              >>>>i am
              >>>>calling Two methods of another stateless session bean.
              >>>> The problem is if doJob2() method fails, doJob1() method is rolling
              >>>> back. These
              >>>>two methods consist of SQL statement with different Connection Object
              >>>>from TXDataSource.And
              >>>>session bean(TestSession) is set to CMT, attribute as "Required".
              >>>>
              >>>> try{
              >>>> Context ictx=new InitialContext();
              >>>> TestHome home=(TestHome)ictx.lookup("TestSession");
              >>>>     utx = sessionCtx.getUserTransaction();
              >>>>     utx.begin();
              >>>> TestRemote remote=home.create();
              >>>>     remote.doJob1();
              >>>>     remote.doJob2();
              >>>>     utx.commit();
              >>>> }catch(Exception e)
              >>>> {
              >>>>     try{
              >>>>      utx.rollback();
              >>>> }catch(Exception ex)
              >>>> {
              >>>>     System.out.println("unable to rollback"+ex);
              >>>>     }
              >>>> }
              >>>>if any SQL Exception as occured in doJob2(), its calling method utx.rollback()
              >>>>in catch block. but SQL statements executed thru. doJob1() are not
              >>rolling
              >>>>back.
              >>>>what might be the reason?
              >>>>
              >>>>thanks
              >>>>Ranganath
              >>>
              >>
              >
              

  • OBIEE 10g Amounts not rolling up

    Dear All,
    I am facing an issue in rolling up myamount  totals.
    I need to create a calculated column in RPD based on another fact column.(Amount2 is the calulated item that I have created)
    Amount1 - my existing fact column
    Amount2 - my new calculated column created at logical level.
    My results :
      Below report is at Quarter level. The totals displayed for Amount2 are wrong. The total displayed is same as that of Amount1 total
    Table
    Rgn
    Quarter
    Amount 1
    Amount2
    R1
    1
    24,578,396.33
    24,578,396.33
    2
    96,133,672.22
    96,133,672.22
    3
    42,639,566.27
    25,954,518.60
    4
    58,333,616.34
    0.00
    Grand Total
    221,685,251.16
    221,685,251.16
            and when i roll up at year level the amount 2 does not roll up to the correct  total and display only 0
    Table
    Rgn
    Amount1
    Amount2
    R1
    221,685,251.16
    0.00
    Grand Total
    221,685,251.16
    0.00
    Can you please help me, where I have  gone wrong.
    Areas where i can cross check, if I have missed any step.
    Appreciate your help.
    Thanks in advance.
    Achala

    Thank you for the reply.
    This is the formula used for Amount 2:
    CASE  WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) = 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Q1" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 91
    WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) <> 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Q1" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 90
    WHEN TST."Dim-Time"."Quarter" = 2 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 2 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Q2" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 91
    WHEN TST."Dim-Time"."Quarter" = 3 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 3 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Q3" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 92
    WHEN TST."Dim-Time"."Quarter" = 4 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 4 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE ) THEN TST."Fact-Q4" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 92
    WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) = 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) <> 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 2 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 2 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 3 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 3 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 4 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 4 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) = 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN 0 WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) <> 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN 0 WHEN TST."Dim-Time"."Quarter" = 2 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 2 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN 0 WHEN TST."Dim-Time"."Quarter" = 3 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 3 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
    THEN 0 WHEN TST."Dim-Time"."Quarter" = 4 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 4 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE ) THEN 0 ELSE TST."Fact-Total_Amount" END
    In the above formula:
    TST."Fact-Total_Amount" is an aggregated to sum logical column, similarly TST."Fact-Q1", TST."Fact-Q2", TST."Fact-Q3", TST."Fact-Q4" are also aggregated to sum logical columns.
    Please let me know your findings.
    Many Thanks,
    Kind Regards,
    Achala

  • Container transaction NOT rolled back after a long period of time.

    Hi, I am using Weblogic 6.1SP5 on RedHat 7.1 and I have seen an unexpected
              behaviour with an MDB and I would like to know if there is any circumstance
              in which a transaction is not rolled back automatically by the container
              after the transaction timeout specified on MDB descriptor expired.
              The fact is I have seen a thread locked for 3 entire days without any
              exception being raised (the trans timeout was set to 900 seconds for
              debugging porpouses)
              Sadly I didn't thought on issuing a ps -ax and a netstat -np in order to see
              if there was any connection active for any of the JVM threads.
              As an aside note I had to throw a kill -9 to Weblogic's JVM in order to
              completely stop it because using the standard "stopWeblogic.sh" script it
              got stalled.
              The only unusual thing that I can think of the MDB is doing is opening a
              connection against a remote system via a socket.
              My question is. Is it possible that a thread locked on I/O (in this case a
              socket) to be out of control in terms of throwing at it a "Transaction
              rolled back exception"?
              I have modified my code in order to set SO_TIMEOUT on the socket just in
              case the other peer hangs and never returns control. But I would like to
              know the problem could be there.
              I know for sure that at the time the thread stalled the other peer died
              (exceptions on other MDBs trying to connect to remote system) but I expected
              a "socket exception" to be thrown by the O.S. to the stalled thread instead
              of having the thread waiting forever on that "open" socket.
              Thanks in advance.
              Ignacio.
              

    While a tramsaction may be rolled back at the transaction timeout,
              the thread is not stopped. The actual exception won't occur until
              the MDB completes. If the MDB doesn't complete (as in this case),
              you won't get the exception.
              "Ignacio G. Dupont" <[email protected]> wrote in message news:[email protected]...
              > Hi, I am using Weblogic 6.1SP5 on RedHat 7.1 and I have seen an unexpected
              > behaviour with an MDB and I would like to know if there is any circumstance
              > in which a transaction is not rolled back automatically by the container
              > after the transaction timeout specified on MDB descriptor expired.
              >
              > The fact is I have seen a thread locked for 3 entire days without any
              > exception being raised (the trans timeout was set to 900 seconds for
              > debugging porpouses)
              >
              > Sadly I didn't thought on issuing a ps -ax and a netstat -np in order to see
              > if there was any connection active for any of the JVM threads.
              >
              > As an aside note I had to throw a kill -9 to Weblogic's JVM in order to
              > completely stop it because using the standard "stopWeblogic.sh" script it
              > got stalled.
              >
              > The only unusual thing that I can think of the MDB is doing is opening a
              > connection against a remote system via a socket.
              >
              > My question is. Is it possible that a thread locked on I/O (in this case a
              > socket) to be out of control in terms of throwing at it a "Transaction
              > rolled back exception"?
              >
              > I have modified my code in order to set SO_TIMEOUT on the socket just in
              > case the other peer hangs and never returns control. But I would like to
              > know the problem could be there.
              >
              > I know for sure that at the time the thread stalled the other peer died
              > (exceptions on other MDBs trying to connect to remote system) but I expected
              > a "socket exception" to be thrown by the O.S. to the stalled thread instead
              > of having the thread waiting forever on that "open" socket.
              >
              > Thanks in advance.
              >
              > Ignacio.
              >
              >
              

  • Transaction not rolling back in stateless session bean

              Hi,
              I am facing a problem...
              I have one stateless session bean which does multiple updates in SYBASE database.I
              am using non-transactional datasource. Bean calls a method of data access obejct
              whcih internally calls more than one one mehtod to update different tables.If
              any of update fails then I am explicitly thorwing EJBException. Still it is not
              rolling back.
              I have one more application where similar situation is there but only difference
              is that there we have Entity bean and updates are being done through store method.
              In that case with same datasource it is rolling back perfectly.
              I have tried with transactional datasource as well but it didn't work.Then I tried
              to put setAutoCommit(false) in my connection class which gives me connection.But
              then it is not allowing me to enter into my application.
              In deployment descriptor for both the beans transaction attribute is required
              for all methods.
              Regards.
              Rahul.
              

              Hi,
              I am facing a problem...
              I have one stateless session bean which does multiple updates in SYBASE database.I
              am using non-transactional datasource. Bean calls a method of data access obejct
              whcih internally calls more than one one mehtod to update different tables.If
              any of update fails then I am explicitly thorwing EJBException. Still it is not
              rolling back.
              I have one more application where similar situation is there but only difference
              is that there we have Entity bean and updates are being done through store method.
              In that case with same datasource it is rolling back perfectly.
              I have tried with transactional datasource as well but it didn't work.Then I tried
              to put setAutoCommit(false) in my connection class which gives me connection.But
              then it is not allowing me to enter into my application.
              In deployment descriptor for both the beans transaction attribute is required
              for all methods.
              Regards.
              Rahul.
              

  • Data not rolling up of a dynamic calc member for a particular entity

    Hi,
    In my planning application data is not rolling up of a dynamic calc member for a particular entity whereas it is working fine for other entity.
    Please find below the sample Smartview Retrieve
    ----------------Member_ALL---Member_None---Member Top---Member_ALL---Member_None---Member Top
    ----------------Entity 1----------Entity 1------------Entity 1----------Entity 2----------Entity 2------------Entity 2
    Acc1------------100----------------#--------------------#---------------122---------------#-------------------122
    NOTE: # denotes missing
    Member_ALL and Member_None are children of Member_Top. Both Member_ALL and Member_Top are Dynamic Calc whereas Member_None is Store.
    As shown above data is rolling upto Member Top for entity 2 while it is not getting rolled up for Entity 1.
    Request you to please help in finding the error.
    Thanks in Advance'
    Joseph

    Hi Joseph,
    Is Acct 1 Dynamic Calc? In that case will it NOT calculate the combination MemberTop->Entity1 as Member_ALL->Entity1 + Member_None->Entity1.
    I beleive it'll calculate the Acct1 member again for Member Top based on the dynamic formula (whatever the logic). If you make it Acct1 Stored, then the aggregation will be correct by first calculating and storing the Acct1 member and then AGG the Member dimension.
    Cheers,
    Abhishek

  • Data not rolling up to Parent Level

    Working on BPC 7.5 Level 10
    Member set of report are on base level.
    Data Present on 2014.AUG but not rolling up to parent.

    Naveen,
    I am storing Data with Periodic  Measures.
    Jan          Feb          Mar          Q1
    100          50                              0          --- Q1 will be 0 as your ACCTYPE is AST/LEQ
    Now when i change the Measures in REPORT to YTD or Keep Periodic(By default AST and LEQ account type will refer to YTD).
    Jan          Feb          Mar          Q1
    100          50                             0
    As per the logic explained by you
    --> Data present for JAN,FEB on Periodic 100,50  - Yes . But when you say Feb Data is 50 it means your value has reduced from 100 in Jan to 50 in Feb which means the periodic value of Feb is -50. Dont get confused. For AST/LEQ value of 50 in Feb means the total balance till Feb is 50. You are getting 0 in Q1 as your March value has become 0 which means your total balance at the end of March is 0 and hence your Q1 ending March shows value 0. If you post something in March then your Q1 will show the same value. 
    For AST/LEQ the Q1 value is same as the March value and Year.TOTAL value is same as Dec Value.
    -->Data should be when YTD JAN,FEB 100,150. For AST/LEQ ACCTYPES Measure YTD and Periodic show same values as AST and LEQ are YTD in nature by default.
    Nikhil

Maybe you are looking for

  • Error In BAPI_ACTIVITYCRM_CREATEMULTI

    Hi, I am using BAPI_ACTIVITYCRM_CREATEMULTI for creating activity with text.please refer below code for reference. I am able to create activity but not able to create text. Error which I am getting is 1) If  wa_text-REF_KIND = 'A'.  Error is "An auth

  • Video embedded in picture frame on wal

    Need advise on which After Effect plugin to use which will enable video to be embedded into a picture frame on a wall where the frame and the video would get larger or smaller depending if you walk towards or away from the object. I am trying to crea

  • Mac mini compatable Monitors

    Hi i would like to know the  monitors best for Mac mini Thanks

  • Adobe acrobat standard serial number  is not recognized and cannot install?

    I purchased acrobat standard and have a serial number and order number but in Internet Explorer and Google Chrome it is marked as invalid number when I try to install it.  I have tried the serial number with and without dashes but same results.  I ha

  • I started having having issues when off my imac

    Hi everybody my name is agustin. I'm a new owner of an 21.5 inch 2011 iMac with 500gb. I have been using it for about a month without any problem and i was incredibly satisfied with the product i bought till now. Well actually I stil am satisfied but