Is this transaction scenario possible?

Can anyone tell me if the following scenario is possible, and if so, how
          it can be achieved? (I'm using WLS6.0 sp 1):
          1) From a Stateless Session EJB, start a UserTransaction.
          2) The SB then invokes methods on one or more Java helper objects (not
          EJBs), each of which modifies one or more Entity EJBs.
          3) If any one of the helper objects throws an exception, rollback the
          transaction; otherwise, call UserTransaction.commit().
          If an exception occurs, I would like the modifications made to all
          Entity EJBs (modifications made via the different helper objects) to be
          rolled back. I'm not sure how to achieve this, since the methods called
          by the SB within the transaction are not methods on a resource manager,
          such as a JBDC connection. I'd appreciate any suggestions!
          Thanks,
          Tim Perrigo
          

Hi...
Is the transaction being called standard or custom? If it is custom,you can trigger an event on clicking 'save' and you can link this event to a workflow (transaction SWETYPV) and the work flow will start. The Approver and the WF steps seem to be possible in case if this is a custom transaction since you can create the master data in the workflow itself.
In case its a standard SAP transaction, then i think we may have a problem with delaying the commit till the workflow executes. You can still trigger the event in an exit and link it to the workflow, but you will need to find a way of delaying the master data creation till the approver approves it. If this is not going to be possible, i suggest you create a custom transaction, and follow the steps mentioned in the first paragraph and then call a BAPI / BDC in the workflow to create master data.
But your scenario looks very much possible and feasible to me.
Does this help you?
rgds,
Raghav.

Similar Messages

  • BW Extractors/DXC/BODS + HANA Native Star Schema: Is this mixed scenario possible?

    Dear Experts,
    (Excuse me for providing an extra detailed background before the actual question)
    Our Transaction systems portfolio (Industry Pharma/Manufacturing, operating in 170+ countries)
    SAP ECC on SQL Server (implementation in-progress) + 10 Other Custom Applications
    Our BI Portfolio
    Nothing. Already purchased HANA (7.4 planned version) + Business Objects and will be implemented along with SAP ECC ERP
    So point is our BI is a greenfield project and we don't have legacy of any BW Cubes / BEx Queries. As a BI/DW Architect I am evaluating different models to implement HANA, where design objective is to have maximum simplicity, extremely fast speed to respond to change requests, SQL based modeling and fully exploiting the raw power of HANA.
    Question -
    What is the best way to utilize the "tremendous" power of ready made DataSources / Extractors and delegating this work to BW part and still allowing myself the freedom to do my custom modeling - relational / star (on top of imported data into HANA using these DataSources) and not restricting myself to Artifacts of Cubes & Similar providers. Whether to use DXC, BW Extractors => DSO... ? (final exposure will be through HANA Analytical / Attribute / Calculation Views)
    Also would appreciate if you can express your views on this way of HANA implementation.
    Along with this custom modeling, for operational reporting we are anyways going to use HANA Live and SLT.
    A detailed explanation / rationale behind this approach is mentioned in the attached file.
    Thank you for reading this.
    regards, Abhishek.
    [email protected]

    Abhishek,
    yes, the mixed scenarios are explained in https://www.experiencesaphana.com/community/solutions/net-weaver-bw/bwonhanafaq/content, and especially in the section EDW https://scn.sap.com/docs/DOC-59781 and Mixed Scenario: https://scn.sap.com/docs/DOC-59762.
    thank you
    erich

  • Is This Porting Scenario Possible?

    I saw the other post that was similar to this, and it didn't answer my question.
    I was wondering if it is possible to port out my main line's phone number to Ring Central (since I use my main FS line as my main business line), and have Verizon reassign me a new number (for my main line on the FS account) without getting charged a ETF?
    Can the porting department make a note on the account so once the main number is ported, it will be replaced with a new number? That way I will not be charged an ETF since I still want to continue my service (just split my business number into a new service to separate it from my personal FS plan).
    If it is possible, how would I go about doing this? I would have to port out the main line's number to Ring Central first since it takes up to 10 business days to complete the porting process to Ring Central.
    Are there any fees involved in this?
    Thanks in advance for anyone's help.

    Hello eja185,
    Thank you so much for reaching out to us in the community forums on this issue. We are making a change in our billing system to meet the needs of our customers with this EXACT concern! We are currently migrating to a bill format called account level pricing (ALP). ALP is when the account is bill for the minutes and each line on the Family Share Plan is bill individually for access to the minutes. Now I know what you are thinking! What does that mean to ME? It means that there is NOT a primary line anymore and you can move lines as you see fit. In addition to that, access to the minutes will be distributed evenly amongst the mobile numbers, thus making it easy to identify who's responsible for any overages that may occur. 
    You mentioned in your posting that you want to keep your main line separate from your personal line for business purposes. We have a great option that can accommodate this type of request. I can transfer your primary line into a sub-account under your name that will be bill out completely separate from your current account. This way you will have two separate bills and won't incur an early termination fee if your agreement hasn't been fulfilled. Many people take advantage of this option for accounting purposes with their company and/or for tax purposes. If you are interested in this option then feel free to send me a private message with your full name & mobile number. We can discuss this option in further details for you. I look forward to hearing from you.
    Thank you...

  • I have problem with account that i can't make update or buy from app store There is massage appear in my payment page that i must contact with i tunes support to complete this transaction Please help me to fixe this problem as soon possible Hany hassan 00

    I have problem with account that i can't make update or buy from app store
    There is massage appear in my payment page that i must contact with i tunes support to complete this transaction
    Please help me to fixe this problem as soon possible
    Hany hassan
    0096597617317
    0096596677186
    Thank you

    You need to Contact iTunes Support...
    Apple  Support  iTunes Store  Contact Us

  • JMS - PI - IDoc scenario: possible to disable check for duplicate JMS message ID?

    Dear all,
    we have a scenario JMS - PI - IDoc. We are on 7.4 SP 7 AEX.
    Once and again we get this error in PI Logs
    com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(MessageFilterContext filterCtx)
    Duplicated and already processed JMS message with JMSMessageID ID:414d512053415050523120202020202053f0f4852000fb39 and XI message id b0beffdbcee64c2605779eaacf27b335 detected.
    We are currently investigating the error and it seems that the duplicate message IDs already exist on the JMS (MQ) side. The messages with the same ID reside in the same queue but have different payloads, so really are different messages
    While it's certainly true that we need to get rid of those duplicate IDs in the long run, I'd like to ask if it is possible to tackle the problem from both sides.
    My sender JMS Adapter looks like this:
    Transactional JMS Session = Checked
    Set PI Message ID (MessageID) to = GUID
    Set PI conversation ID (ConversationID) to = No Value
    Enable Duplicate Handling = Unchecked
    Prefix Channel ID = Unchecked
    --> Is there any way to tell PI to just ignore the duplicate JMS ID and continue processing?
    Many thanks
    Kind regards
    Jens

    Hi Jens - Please have a look at the below note if it helps.
    If you want the duplicate messages received from different channels (that is JMS Messages with the same Message ID) to be processed as a distinct JMS messages and not as duplicate messages, select Prefix Channel ID to JMS Message ID
    Reference :
    Configuring the Sender JMS Adapter - Advanced Adapter Engine - SAP Library

  • Error "Please contact itunes support to complete this transaction" when in-app purchases

    Dear Sirs,
    As frequent customer buying iTunes Gift Card, I would appreciate your kind clarification on below points, for my best reference:
    - I'm using Apple ID Canada and playing a game (i.e. Clash of Clans from http://www.supercell.net) which identifies each game account by their GameCenter account. Hence in case of using only this Apple ID, for how many account game I can buy in-app purchases?
    http://itunes.apple.com/ca/app/clash-of-clans/id529479190?mt=8
    - I use my Apple ID buy gem ( intem of this game ) for 2 anccout game ( 2 iDevices) , but now I can't buy more Error "Please contact itunes support to complete this transaction" .How I can fix it ?
    For ex: My Apple ID is [email protected] and share to a friend. Both of us log to this Apple ID "[email protected]" to download a game on 02 different iDevices namely "acc1" and "acc2". Is it possible to use only this Apple ID to buy in-app purchases for both account games "acc1" and "acc2".
    Looking forward to hearing from you soon.
    Thanks and Regards,

    noobdoon wrote:
    ... "Please contact itunes support to complete this transaction" .How I can fix it ?
    Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us
    noobdoon wrote:
    ... Is it possible to use only this Apple ID to buy in-app purchases for both account games "acc1" and "acc2".
    See Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • You cannot use this transaction type to post to this asset Message no. AA83

    < MODERATOR:  Message locked.  Please post this message in the [Asset Accounting forum|SAP ERP Financials  - Asset Accounting;. >
    Hi,
    I am settling credit values [-ve values] from WBS to Asset Under Constructions Assets during CJ88 period settlement run.
    These assets belongs to Investment Measure. For few assets I am getting below error and
    You cannot use this transaction type to post to this asset
    Message no. AA834
    Diagnosis
    The transaction type entered belongs to transaction type group 15. According to the specifications for this transaction type group, posting with transactions types belonging to this group are only allowed in specific asset classes (for example, asset classes for assets under construction).
    The asset to which you are posting belongs to class XXXXX (chart of depreciation XXXX). You cannot post to this class using the transaction type you have entered.
    Procedure
    Check the asset number entered. You may want to allow posting with this transaction type group for the asset class of the asset.
    I know normally we do this way
    During charging
    Dr Exp  A/c WBS name
    Cr B.S A/c
    During settlement
    Cr Exp A/c WBS name
    Dr AuC GL A/c
    But we have situation that during settlement, we are doing reverse
    ie., Cr AuC GL A/c
          Dr Exp A/c WBS Name
    These expenses are through POs and no downpayments. The below error taking me to down payment accounts config but we dont have down payment scenario, can any one advise, thanks
    Regards,
    Sridhar

    Hi,
    Please check the SAP note 1091728 for this.
    Regards

  • You cannot use this transaction type to post to this asset Message no.AA834

    Hi,
    I am settling credit values -ve values from WBS to Asset Under Constructions Assets during CJ88 period settlement run.
    These assets belongs to Investment Measure. For few assets I am getting below error and
    You cannot use this transaction type to post to this asset
    Message no. AA834
    Diagnosis
    The transaction type entered belongs to transaction type group 15. According to the specifications for this transaction type group, posting with transactions types belonging to this group are only allowed in specific asset classes (for example, asset classes for assets under construction).
    The asset to which you are posting belongs to class XXXXX (chart of depreciation XXXX). You cannot post to this class using the transaction type you have entered.
    Procedure
    Check the asset number entered. You may want to allow posting with this transaction type group for the asset class of the asset.
    I know normally we do this way
    During charging
    Dr Exp A/c WBS name
    Cr B.S A/c
    During settlement
    Cr Exp A/c WBS name
    Dr AuC GL A/c
    But we have situation that during settlement, we are doing reverse
    ie., Cr AuC GL A/c
    Dr Exp A/c WBS Name
    These expenses are through POs and no downpayments. The below error taking me to down payment accounts config but we dont have down payment scenario, can any one advise, thanks
    Regards,
    Sridhar

    When you have an investment order/WBS create from there the AUC. You collect the cost on the AUC. Final you fill in the settlement rule the final asset in (from a normal asset class) and then you transfer the costs to the final asset.
    In the IO or WBS should be assigened a investment profile and the asset class AUC should be set-up correct
    Search on this forum for more information or read the SAP help

  • Asset Settlement You cannot use this transaction type to post to this asset

    Hi All,
    A CAPEX is created. An Asset is created. The asset is assigned to CAPEX under settlement rule. Out of several purchases made against the CAPEX, settlement for 2 months are carried out and the value of CAPEX was transferred to Asset.
    However, during the current month, while doing the settlement, the system is giving the following error :-
    "You cannot use this transaction type to post to this asset"
    Message no. AA 834
    The details diagnosis of the error message is
    "The transaction type entered belomgs to transaction type group 15. It has been specified for this transaction type group, that it is only allowed to post to asset classes for which it has been explicitly allowed (for example, the asset class for assets under construction). The asset to which you are posting belongs to class PM-501 (chart of depreciation DEIL). You cannot post to this asset class using the transaction type entered"
    Request to please let me know what could be the possible reasons for system giving such message adn how to rectify it.
    Regards
    Santosh

    Hi Santosh,
    I would suggest that you Check the <b>asset number</b> you entered. You may want to allow posting to this asset class using this transaction type group. If this is not the case, then, you may have to ask the business to reverse the initial posting causing this error and re-post with the correct transaction type that is allowed for this asset class.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Err in PO creation-Sales document item is not defined for this transaction

    Dear Consultants the errror  occurs when we process  Individual Purchase Order scenario.
    Err in PO creation-Sales document item is not defined for this transaction  
    Thanks&Regards,
    SanthaRam

    This error because the item category is not determined correctly in the sales order.
    Check the item category in Sales order line item, for Individual Purchase order scenario its TAB.
    If its not TAB, then check the assignement for Item category in VOV4.
    This thread is more of the SD part, so also put it in SD forum for better solutions.
    Regards,
    Sheetal

  • ME57 transaction with possibility to show in ALV layout

    Hi experts,
    I need change the alv grid in  the transaction ME57. To this, I copied the program RM06BZ00 (scree, includes... )
    When I try execute the program with ALV layout the message ''Scope of list ALV not defined (please correct)" shows.
    To resolve this problem I change the parameter im_service in the ME_REP_GET_TABLE_MANAGER function (Way to function: program ZSAPFM06B / include ZFM06BF04 / Include ZFM06BF04_PRUEFEN_LSTUB)
    When I change this parameter on Debug (manual change) the ALV shows correctly, but when I change in program code the message remains.
    How the way to copy the Me57 transaction with possibility to show in ALV layout?
    Follows the code change:
        CALL FUNCTION 'ME_REP_GET_TABLE_MANAGER'
          EXPORTING
            im_service = 'RM06BZ00'
            im_scope   = l_scope
          IMPORTING
            ex_manager = gf_factory.
    Thank you!
    Edited by: Andréa Molina on Aug 4, 2011 5:12 PM
    Edited by: Rob Burbank on Aug 5, 2011 9:22 AM

    I solved my own problem...
    The change in im_service was right.
    The problem is that:
    The gf_factory back empty in some places and in standrad transaction back with values. The memory clean the gf_factory result.
    So... the only way to show ALV is fill the gf_factory in anywhere the gf_factory is check.
    The places are:
    1. sapfm06b - fm06bf04 - fm06bf04_pruefen_lstub
         Call in RM06BZ00 - perform pruefen_lstub(sapfm06b) using p_lstub.
    2. sapfm06b - fm06bfsl - fm06bfsl_ban_aufbauen
        Call in RM06BZ00 - ban_aufbauen(sapfm06b).
    3. sapfm06b - fm06bf01- fm06bf01_submit
       Call in RM06BZ00 - perform   perform submit(zgb_sapfm06b) using sucomm.
    If the gf_factory is filled in this places... The ALV will show!

  • Restrict this transaction code only to create sets starting with 'ZMR'

    Hello,
    I need to create custom transaction code for 'GS01' and restrict this transaction code only to create sets starting with 'ZMR' No other sets should be allowed to be created.
    If anyone have done before with the same scenario. Please give me clear documentation on this .
    Reagdrs
    Kiran

    YOu cannot find the call to the badi's by searching the main program.
    The badi is called a t run time.
    To find a badi attached to a main program, goto se38,
    GIve the program name.
    Goto->Object Directory Entry. Find the package.
    Go to se18 transaction, Press f4.
    give the package name in the popup.
    you can get the badis associated with the main program.
    Regards,
    Ravi

  • Transaction aborted (possibly due to transaction time out) - Question

    This one is driving me insane!
    Bellow you will find the code, the descriptor stuff and the exception. The code belongs to a CMP EJB using CMT (transactions). This gets called from a session bean. Please help.
    Here is the code:
    public Object ejbCreate( String id )
         throws CreateException {
         s_logger.debug( "ejbCreate()" ); // this prits
         //setId( id );
         return null;
    public void ejbPostCreate( String id )
         throws CreateException {
         s_logger.debug( "ejbPostCreate()" ); // this also prints
    here is descriptor stuff:
    <container-transaction>
    <method>
    <ejb-name>AgentBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    here is the !@#$ exception (sorry been tracing this one for hours):
    RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Transaction aborted (possibly due to transaction time out).; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback; nested exception is:
    javax.transaction.RollbackException: Transaction marked for rollback
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Transaction aborted (possibly due to transaction time out).; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback; nested exception is:
    javax.transaction.RollbackException: Transaction marked for rollback
    java.rmi.RemoteException: Transaction aborted (possibly due to transaction time out).; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback; nested exception is:
    javax.transaction.RollbackException: Transaction marked for rollback
    javax.transaction.RollbackException: Transaction marked for rollback
    <<no stack trace available>>

    It usually means that you're doing something which creates a loop in your locking. Something like setting a value in each instance from an update method of one of the instances. Your posted code doesn't seem to be the trouble, but I could be missing something.
    Success,
    S.

  • BPEL and WS-Transaction (not possible atm)

    Hi,
    I'm new to BPEL and intrested in the transaction model. I'm familiar to the compensation construct.
    I recently read some papers which explains bpel to be completed with ws-transaction. Now my question:
    how?
    I think at the moment this isn't possible. Maybe an engine could support ws-transaction (automaticaly add some information to the invocations and so on) but bpel doesn't have some language constructs to control transactions.
    Does somebody know somehting about this? Any articles? Ideas?
    best regards
    Dominik

    jesus, one of my friends wrote an article how to handcode wsa by using inuutHeaderVariables ..
    http://weblogs.asp.net/gsusx/archive/2006/06/01/WS_2D00_Addressing-interoperability-between-Oracle-BPEL-Process-Manager-and-Microsoft-Windows-Communication-Foundation.aspx
    the same can be probably be applied to your usecase .. and instead of wsa you create ws-tx headers that way
    better this way?
    /clemens

  • Scenario Possibility

    Hi -
    I am not sure if this functionality is possible in SAP XI 2.0. If someone can help me with this quickly it would be of great help.
    I wanted to know if it is possible to transfer a message from one Interface to Another.
    The scenario is something like this:
    I1(Out) -> M1 -> I2(In) -> M2 -> I3(Out) -> M3,M4 (Split) -> I4(In), I5(In)
    I want to pass somedata from Interface I1 to I2 and from Interface I2 to I3 and then from I3 I want to split up the message to I4 and I5.
    My problem is to pass the message from an Inbound Interface to an Outbound Interface.
    In my receiver determination I want just define sender as I1 and receiver as I4 and I5.
    Any comment would be of great help?
    Ashish

    hi Ashish,
    You have to use XI3.0, BPM to model your sceanrio.
    Thanks
    Prasad

Maybe you are looking for

  • Saving a form in Adobe Reader

    Ok, so I have a form that I distribute to other users to use on a shared drive on the company network.  The problem is that when they go to click the "save" icon, the "save as" box appears for them to save the file.  The problem with this is that use

  • Trying to return a defective Lenovo Mini Wireless Keyboard 57Y6336

    I am hoping someone can help me since at this point I am completely frustrated. I received a Mini Wireless Keyboard Friday I ordered direct from Lenovo. It turns out it is defective and phone support has been completely useless as far as I can tell.

  • Connecting Dell UltraSharp U2212HM to Belkin Thunderbolt Dock

    Hi , ive just bought a new MBPro 13 retina and also a Dell UltraSharp U2212HM and a Belkin Thunderbolt express Dock so that i can connect via single th/bolt cable, could anyone help me with regards to which cable that i need to connect the monitor to

  • Lightroom 2.1 - 32-bit vs 64-bit performance tests

    Hey all...I posted quite a while back about Lightroom 2.0's 64-bit performance issues. Anyway, I just posted some updated tests of Lightroom 2.1, running in both 32- and 64-bit modes; I was very pleasantly surprised by the great 64-bit performance. H

  • How to delete a style, "Heading 1"

    So I chose one of the outline templates, played around with it, and saved it as my own template. Everything was fine. However, now that I'm working with it, I noticed that two instances of the "Heading 1" style have appeared. One of them isn't used -