Creating SubTransaction

Dear All,
I am calling a storedProcedure for each row in viewobject(1-50 rows), which does some type of updations.
Now actually i want to enable transaction for this operation, i am trying to get current connection(as mentioned below) on am, doing connection.setAutoCommit(false); for enabling transaction
but when i try to do connection.commit() at end then the am is doing whole commit .. which i do not want, i want it to be isolated from all eo changes that i have done..
Any ideas how can i do it..
  public Connection getCurrentConnection()
    Statement st = null;
    try
      st = getDBTransaction().createStatement(0);
      return st.getConnection();
    catch (SQLException s)
      s.printStackTrace();
      return null;
    finally
      if (st != null)
        try
          st.close();
        catch (SQLException s2)
Connection cc = getCurrentConnection();
cc.setAutoCommit(false);
//loop vo and call db procedure
cc.commit();
cc.setAutoCommit(true);Thanks
Santosh
jdeveloper 11.1.1.5.0
(ADF Faces and ADF BC)

Santosh,
If I understand your question, you have 2 options:
1). Use a different connection (not the one for your AM) so that your stored procedure calls execute in an independent transaction
2). Use an autonomous transaction in your stored procedure (and don't commit in your Java calls)
John

Similar Messages

  • Problem in Reversal of 57F4 Challan

    Hi,
    I m unable to reverse the challan. At the time of reverse of chllan excise duty is not comming.
    I have already maintained assesable value and excise duty rate in J1ID but in challan asseble value is zero.
    So please respond earliest.
    Thanks
    Richa Agarwal

    Hi Richa,
    Apart from what you have maintained ,
    Kindly check whether you have created subtransaction type 01 for subcontracting or not.
    Check whether it is assigned in Specify excise accounts per transaction or not? It should be for ETTs 57FC,57NR,57CM.
    And for all these G/L should be assigned in account determination with & without subtrax type.
    Regards,
    Piyush

  • Asset procurement (Import)CAPE

    Hi gurus,
                 When we post the excise invoice the system shows an error message"Cenvat postings not possible".In this case the goods receipt is valuated.
    I have maintained the excise master properly for the capital material,asset account assignment in PO,all account determinations for CAPEand tax classifications.
    Will you please help me out.
    With Regards,
    Rajashekhar

    Hi Raj,
    Kindly mainatin the below setting,
    1) Maintain the Excise transaction per Excise Account for
    India->Account Determination->Specify Excise Accounts per Excise Transaction
    Note:Create subtransaction IP for Import.
    CAPE     IP     CR Credit     CLEAR CENVAT clearing account
    CAPE     IP     DR Debit     ONHOLD CENVAT on hold account
    CAPE     IP     DR Debit     RG23AED RG 23 AED account
    CAPE     IP     DR Debit     RG23AT1 RG 23 AT1 Account
    CAPE     IP     DR Debit     RG23BED RG 23 BED account
    CAPE     IP     DR Debit     RG23ECS RG 23 ECS Account
    CAPE     IP     DR Debit     RG23SED RG 23 SED account
    2) Maintain Account determination for Excise transaction CAPE-IP
    India->Account Determination->Specify Excise Accounts per Excise Transaction
    Excise group  ETT      Sub Tran    Comp Code     G/l Accts
                         CAPE   IP     
    Regards
    Sanjay L

  • CT3 purchase excise refund

    Hi expert
    i am into CT3 ( no excise duty at the time of procurement ), but now in case any material got rejected we have to pay from pocket to excise.
    Now i am making this scenario with sales document which is not right.i would like anything can be solve through MM excise part.
    excise entries which i want is from system
    Vendor excise duty dr
    Excise duty payable cr
    Regard
    Nabil

    Hi expert
    where i can create subtransaction type for such Vendor returns and assign the relevant GL account assignments in CIN customizing for transaction type MATD
    regard
    nabil
    Edited by: sayednabil on May 26, 2011 2:35 PM

  • Excise Transaction Type for consignment fill up / stock transfer

    Hi
    When i post excise invoice on account of removal due to sales (through J1IIN), SAP pulls uses DLFC excise transaction type. Following entry is posted at the time of J1IIN:
    Excise Duty paid A/c.. Dr
       To Excise Duty payable (Basic + ECess + SHEC)
    My requirement is, when i post excise invoice on account of removal due to consignment or stock transfer, SAP should pass following entry:
    Excise Duty paid on consignment A/c.. Dr
       To Excise Duty payable (Basic + ECess + SHEC)
    Excise Duty paid on stock transfer A/c.. Dr
       To Excise Duty payable (Basic + ECess + SHEC)
    For this, i will have to create different GL accounts and assign it to "CENVAT SUSPENSE" in excise transaction type table.
    But i does not know which excise transaction type does SAP uses for consignment fill up and stock transfer. Please suggest.

    1.basic settings-create subtransaction type.
    create subtransaction type
    cf-consignment fillup
    st-stock transfer
    2.account determination- Specify Excise Accounts per Excise Transaction
    copy DLFC and name it as DLFC and cf and also st.
    3.account determination-Specify G/L Accounts per Excise Transaction
    copy dlfc and maintain DLFC  and subtransaction type cf and also st.
    change the gl account for cenvat suspense for st and cf combination.

  • Raw material sale

    Hi
    Here i want to sell the raw material which had been procured ealier.But while selling i want 611030 for ED rather than 611010.I have attched 611010 for DLFC for Excise group in Logistic General - india .-specify accounts for ETT.N ow i want 611030 only in case of raw material sell,but when i going to change this G/L 611030 in DLFC for excsie group ,it affects the normal sell.Thats why i have giving this 611030 account by creating Subtransaction typebut when i m going to verify the accounitng documnet of J1IIN,i found 611010 instaed of 611030,the reason for that no subtransaction type been selected while J1IIN.
    SO PLEASE SUGGEST OVER THIS MATTER.

    thakx

  • Excise JV (J1IH )

    Hi friends
    I am passing one exicse JV for Import duties in J1IH t code with transaction type IP but sytem is giving msg Subtransaction type is invalid
    I have already created subtransaction type IP and assigned it to Excise TT GRPO and assigned respective GL code in combination with excise group in CIN settings still i am this error.
    Please guide what is the problem and how can we get ride of this
    Regards
    Vivek

    Hi,
    In selection screen, only in put Excise group and Excise Transaction Type and select Radio Button "Part 1 and Part 2 posted" and execute the report, if it is not showing the details then select radio button "Part1 posted, part2 not posted" and check it is showing some details, if it is showing under this option then document might not be posted.
    Check in Table J_IPART2, whether the Excise JV document no exists or not?
    Have you posted Additional Excise Entry (DIEX), at Item details level or header level. if you will enter Excise duties directly w/o entering material, quantity, etc... then it will not show in J1I7.
    Try one entry by entering entering material, quantity, Ref. document, excise duties, vendor, etc... and then check in J1I7.

  • How to create Excise Invoice.

    Hi SD Guru's
              How to create excise invoice and what is the use of this one and sd point what are the setting required.
    Thanks
    Rajendra

    In Indian Manufacturing scenario, Excise Invoice is required when goods move out of factory premises. The process is as under:
    Inquiry / Document type IN
    Tcode: VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode: VA21,VA22,VA23. tables VBAK,VBAP
    Sales Order OR
    Tcode: VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode: VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode: VF01,VF02,VF03. tables VBRK,VBRP
    Excise Invoice
    Tcode: J1IIN
    Configuration of CIN Settings:
    1.1 Maintain Excise Registration
     Logistics general  SAP Ref. IMG SPRO  Maintain Excise Basic setting India tax on Goods Movements Registrations
    1.2 Maintain Company Code Settings
    SPRO   Basic settingIndia  tax on Goods Movements Logistics general SAP Ref. IMG   Maintain Company Code Settings
    1.3 Maintain Plant Settings
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Maintain Plant Basic setting India Movements Settings
    1.4 Maintain Excise Groups
    SAP Ref. IMGSPRO   Maintain Basic setting India  tax on Goods Movements Logistics general  Excise Groups
    1.5 Maintain Series Groups
    SAPSPRO   Basic setting India  tax on Goods Movements Logistics general Ref. IMG  Maintain Series Groups
    1.6 Maintain Excise Duty Indicators
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Maintain Excise Duty Basic setting India Movements Indicators
    1.7 Maintain Subtransaction Type with Text
    India  tax on Goods Movements Logistics general  SAP Ref. IMG SPRO   Maintain Subtransaction Type with TextBasic setting
    1.8 Determination of Excise Duty
    tax Logistics general  SAP Ref. IMG SPRO   Select Tax Calculation Determination of Excise DutyIndia on Goods Movements Procedure
    1.9 Maintain Excise Defaults
    SAP Ref.SPRO   Determination of ExciseIndia  tax on Goods Movements Logistics general IMG   Maintain Excise DefaultsDuty
    1.10 Condition-Based Excise Determination
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Define Tax Code for Condition-Based Excise DeterminationIndia Movements Purchasing Documents
    1.11 Condition-Based Excise Determination
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Assign Tax Code to Condition-Based Excise DeterminationIndia Movements Company Codes
    1.12 Classify Condition Types
    SAPSPRO   Condition-BasedIndia  tax on Goods Movements Logistics general Ref. IMG   Classify Condition TypesExcise Determination
    1.13 Maintain Chapter IDs
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Maintain Chapter ids Master dataIndia Movements
    1.14 Assign Users to Material Master Screen Sequence for Excise Duty
    SPRO   Master dataIndia  tax on Goods Movements Logistics general SAP Ref. IMG  Assign Users to Material Master Screen Sequence for Excise Duty
    1.15 Specify Excise Accounts per Excise Transaction
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Specify Excise Accounts per Excise Account determinationIndia Movements Transaction
    1.16 Specify G/L Accounts per Excise Transaction
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Specify G/L Accounts per Excise Account determinationIndia Movements Transaction
    1.17 Incoming Excise Invoices
    SAPSPRO   BusinessIndia  tax on Goods Movements Logistics general Ref. IMG   Incoming Excise InvoicesTransactions
    1.18 Define Processing Modes Per Transaction
     Logistics general  SAP Ref. IMG SPRO   Define Processing Modes Business TransactionsIndia tax on Goods Movements Per Transaction
    1.19 Define Reference Documents Per Transaction
    tax on Goods Logistics general  SAP Ref. IMG SPRO   Define Reference Documents Per Business TransactionsIndia Movements Transaction
    1.20 Maintain Rejection Codes
    SAPSPRO   BusinessIndia  tax on Goods Movements Logistics general Ref. IMG   Maintain Rejection CodesTransactions
    1.21 Specify Which Movement Types Involve Excise Invoices
    Logistics SAP Ref. IMG SPRO   Specify Which Business TransactionsIndia  tax on Goods Movementsgeneral  Movement Types Involve Excise Invoices
    1.22 Outgoing Excise Invoices
    tax on Goods Logistics general  SAP Ref. IMG SPRO  Assign Outgoing Excise Invoices  Business TransactionsIndia Movements Billing Types to Delivery Types
    1.23 Maintain Default Excise Groups and Series Groups
     Logistics general  SAP Ref. IMG SPRO   Outgoing Excise Invoices  Business TransactionsIndia tax on Goods Movements Maintain Default Excise Groups and Series Groups
    1.24 Subcontracting Attributes
    tax on Logistics general  SAP Ref. IMG SPRO   Subcontrac Subcontracting Business TransactionsIndia Goods Movementsting Attributes
    1.25 Maintain Movement Type Groups
    SPRO   BusinessIndia  tax on Goods Movements Logistics general SAP Ref. IMG   Subcontracting SubcontractingTransactions Attributes
    1.26 Utilization Determination
    SAPSPRO   BusinessIndia  tax on Goods Movements Logistics general Ref. IMG   Utilization Determination UtilizationTransactions
    1.27 Specify SAPscript Forms
    tax on Logistics general  SAP Ref. IMG SPRO   Specify Excise Registers Business TransactionsIndia Goods Movements SAPscript Forms
    1.28 Number Ranges
    SAP Ref. IMGSPRO   Number ToolsIndia  tax on Goods Movements Logistics general  Ranges
    1.29 Message Control
     SAP Ref. IMG SPRO   Message ToolsIndia  tax on Goods MovementsLogistics general  Control
    Regards,
    Rajesh Banka

  • "No subtransaction type allowed for this invoice"

    Dear Gurus
    While creating excise invoice (j1iin) from billing I am getting an error "No subtransaction type allowed for this invoice" . I get this error when I try to save the excise invoice. I am using subtransaction type.
    The required config for subtransaction is done. The necessary excise account detemination is done.The config done is
    1. excise account per transaction
    2. G/ L account per excise.
    Is there any setting that is missing?
    Regards,
    DDP

    Hello,
    Please have a check again for the below and the sub transaction type
    G/L accounts  sub transaction type
    default groups for all the combinations that are relevant for your transaction
    if it still does not work, re login and check again
    these are the only settings through the sub transaction is activated
    else have a debug with abaper to know the cause as the last option
    Thanks
    akasha

  • Custom ETT can be created?

    hiiall
    In CIN , i have some doubts, whether custom excise transaction type can be created ??
    If any body have this exp , can be shared here .
    If not possible , revert with reason.
    Thanks

    No it can not be created
    As they are preconfigured in sap and inmany of the programs its hard coded. So its not at all possible to creat ETT.
    And more over SAP have not provided and SPRo settings where in u can created your own ETT.
    As its not at all necessare to create this ETT wahat ever SAP have provided those are more than sufficent for all the senerious. As this ETT are used for excise account GL account , SAP have provide a faculatiy of Subtransaction type if u have some diffrent account determination for a perticular case
    so i think SAP have not provided any facility to create ETT
    hope this clears

  • Error while Creating Presentation variable

    Hi,I am new to OBIEE
    I am facing this error:
    "A numeric value was expected (received "max("Sales Measures".Dollars)").
    Error Details
    Error Codes: EHWH2A7E"
    1.I am using paint rpd.I want to use presentation variable.
    2.So i took two column in criteria 1.Region 2. Dollars
    3.In Dollars edit formula ,I created presentation variable i.e. @{Doller_presentation}{max("Sales Measures".Dollars)} in the column formula.
    4.And In the same column i use filter
    Add ->presentation variable->variable exp =Doller_presentation and default =max("Sales Measures".Dollars)
    5.I have added this request on dashboard page,but error is coming.
    6.Also i have created dashboard prompt,
    Set presentation variable to "Doller_presentation"
    and in column formula :@{Doller_presentation}{max("Sales Measures".Dollars)}
    and took that prompt on the same dashboard page.
    so promt with 2 values are coming.1.All choces 2.13087528..may be ths is max value of dollar but on click its showing error as
    "Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42021] The query does not reference any tables. (HY000)
    SQL Issued: SELECT 13087529 FROM Paint ORDER BY 1"
    I am confuse abt use of presentation variable
    Please Help,
    Thanks
    Kapil
    [email protected]
    Edited by: user13098263 on May 9, 2010 10:58 PM
    Edited by: user13098263 on May 9, 2010 11:01 PM
    Edited by: user13098263 on May 9, 2010 11:02 PM
    Edited by: user13098263 on May 9, 2010 11:04 PM

    Hi Rachit
    You answered my doubt.This one really works . Thanks a lot !
    But i have one more doubt i.e if have created the Presentation variable in the dashboard prompt and I want to use it in a report
    i.e the scenario is If I have created a new column i.e " Revised Salary " in the Presentation Services and want the values to be entered there dynamically upon end users choice. For ex the end user selecrts value of 1 then the report would display an increament of 500 to all the employees in the " Revised Salary " column and if the end user select value of 2 .. the report would display a decrement of 500 in the " Revised salary column".
    I am getting the following error :
    ========================================================================
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)
    SQL Issued: SELECT "D0 Time"."T05 Per Name Year" saw_0, "D2 Market"."M04 Region" saw_1, "D4 Product"."P01 Product" saw_2, "D1 Customer"."C1 Cust Name" saw_3, "F1 Revenue"."1-01 Revenue (Sum All)" saw_4, CASE WHEN 0='1' then "F1 Revenue"."1-01 Revenue (Sum All)" +500 else "F1 Revenue"."1-01 Revenue (Sum All)" - 500 end saw_5 FROM "Sample Sales" ORDER BY saw_0, saw_1, saw_2, saw_3
    ========================================================================
    Please NOTE : The column on which I want to do an increament is : "F1 Revenue"."1-01 Revenue (Sum All)"
    Thanks

  • Error while creating a Characteristic Variable with Replacement Path

    Hi all,
        I am trying to create the Characteristic Variable ZVLOWDT (Low Date') with Replacement Path on characteristic ZSTARTDT (Start Date) and it gives the error 'Source to replace 'Low Date' is not defined.
       I have created a User Entry Variable VAR_DATE (Start Date) with interval like '01/01/2009 - 01/15/2009'  and  Customer Exit variable ZVCPDAY (does some calculation based on the input of VAR_DATE) on the same ZSTARTDT characteristic. I want to get the 01/01/2009 (lower range date of the selection) into this Characteristic Variable ZVLOWDT. We are in BI 7.0 and the following are it's properties:
    General Tab:
    Description: Low Date
    Technical Name: ZVLOWDT
    Type of Variable: Characteristic Value
    Processing by: Replacement Path
    Reference Characteristic: ZSTARTDT Start Date
    Details Tab:
    Variable Represents : Single value
    Variable is: Mandatory
    Variable is Ready for Input : unchecked
    Replacement Path Tab: Replacement Rule
    Replace Variable with : Variable
    Variable : VAR_DATE
    Replace with : KEY
    Why I am getting this error, PLEASE ?
    Thanks,
    Venkat.

    Hi Khaja,
       We could derive a Variable value from another Variable with out Customer Exit. There is a white paper.
    First have the User Entry Variable (ZV_X) and it accepts the date range like '01/01/2009 - 01/31/2009'. Next create the Characteristic variable (ZV_Y) of Replacement Path for which source variable will be ZV_X and we could get the 'FROM Date' (01/01/2009) from the selection (ZV_X) into it (ZV_Y).
    While creating the Characteristic variable (ZV_Y) of Replacement Path, I didn't find my newly created ZV_X variable in the list of available variables under 'Variable' header in 'Replacement Path' tab and it is causing the error  'Source to replace variable ZV_Y is not defined'. How could I create the Characteristic variable of Replacement Path, PLEASE ?
    Thanks,
    Venkat.

  • I create a birthday calendar in iCal and then click on it in iphoto at the begining of the calendar project each year.  Some how the birthday did not populate the photo calendar.  Is there a way to add the birthday iCal calendar into the calendar project?

    I created a birthday calendar to use in iphoto for calendar.  When a new calendar project is started each year, I click on it in.  Some how the birthday did not populate the photo calendar this year.  The photo calendar is almost complete.  Is there a way to add the birthday iCal calendar into the calendar project? I would prefer not to start over.

    Hi,
    If you first select the calendar on the left, so that its background is highlighted blue/grey, when you make a new events they should be added to that calendar.
    Best wishes
    John M

  • Is there a way to create a year at a glance with detail and print?

    Is there a way to create a year at a glance with detail and print?

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • How can I create a new iCloud account for a familiy member having a new iDevice and reuse one of my aliases for it

    Hi there,
    I moved into iCloud from the very beginning and started with one iCloud account for me and my family, making use of email aliases for family members. Now the number of personal iDevices grows and I want to create a new and separate iCloud Account for my son. The pity is, that I reserved his full name already as alias address on my initial iCloud account. If I now delete this alias, can I create a new account with the former alias as new primary email address?
    Or is there at least any transfer procedure supported for aliases between different accounts?
    Thanks for your help, lauterbachj

    Couldn't agree more... the folks who are getting penalized for this are the early adopters of .Mac/iCloud dating from the days when the only way to implement a "family" account was to use aliases. Now all my kids' / my wife's name aliases sit in my account, unable to move. I guess the good news is that if I delete them nobody else will get them, but this seems a pretty poor consolation.
    Would it really be so difficult to implement a "move this alias to another iCloud account" option that requires the "sender" and "receiver" to exchange some sort of code to implement the transation in order to prevent fraud?

Maybe you are looking for

  • Why do most of my stacks come ungrouped when I make changes to other files in the same folder?

    I have a folder of about 3000 graphics and photos that I use for work. I've meticulously organized them all by using unique file names, keywords, and sorting. However, when I make changes to a set of files (especially using the batch rename tool), a

  • Links to PDFs Created with Illustrator Won't Work

    I am using CS3. I create a document in Illustrator, save it as a PDF, and create a link to the PDF either through our website developer or through a newsletter program I am using. If I create the PDF using other programs (such as MSWord or Excel), th

  • Update InDesign Server Version on Mac OS X Server

    Hi folks, quick question - quick answer: How can I update an InDesign Server running on an Mac OS X Server 10.5.8? Tried to use the installed Extends Script Toolkit, but the menu item under Help->Updates was disabled! Cheers Tino

  • Server crashed trying to find the cause

    I'm trying to find the cause of our server crashing. It creates a memory.dmp file. I used a tool to look at it and the below is the output. But I can't find the cause in here can anyone else read these? Microsoft (R) Windows Debugger Version 6.3.9600

  • Issues with Flash Help output

    Hello there, hoping to get some advice on a couple issues with RoboHelp. We just started deploying FlashHelp here, and have run into a couple of snags. I am running RoboHelp version 6, Flash player version 9, and have the Flash authoring software (if