No Transaction on create -- Why?

Hello,
I have an entity bean (bmp) wherein I specified in my ejb-jar.xml the following in the container-transaction portion:
<method>
<ejb-name>AccountBean</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
However when I call home.create() on an application client
and in the ejbCreate() code I retrieve the UserTransaction using jndi lookup and call getStatus() I get a value for NO_TRANSACTION. Shouldn't I get a value of ACTIVE since the container should have started a transaction for the create method before calling ejbCreate()?
Thanks,
Weljo

The EJB spec forbids the use of the UserTransaction object when using CMT (Container Manager Transaction).
When using CMT, you do not have access to the transaction started by the container.
John

Similar Messages

  • How i can find out number of transaction code created in last 6 month

    Dear Friends,
    How i can find out number of transaction code created in last 6 month and last used date for each transaction code.
    System - ECC 5.0
    Plz help.
    Thanks,
    Regards,
    Sachin

    Hi,
    As per your query you can find out the list of t-code not to use in last time details in suim t-code.
    Anil

  • Create  of (demo for)OVAI (transaction for create entries for each vendor)

    hi all,
    can anyone plz tell me how 2 create (demo for)OVAI (transaction for create entries for each vendor)
    thans & regards,
    srinivas reddy.

    hiii
    yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like
    call transaction (variable)..in background process.
    regards
    twinkal

  • Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

  • Call an MM transaction without creating a new LUW

    Hello Experts,
    I have created a new Z_ transaction in which I want to call an existing Materials Management
    transaction (MB1B). Additionally, in my transaction I update some extra custom (z_) tables. I would like to have one LUW so as to perform all updates (both custom tables and SAP tables updated by the MM transaction) together at the final "commit work" in my program.
    Is there a way to call the MM transaction without creating a new LUW in my calling program (as the CALL TRANSACTION statement does)?
    I have read that one way is to use the CALL DIALOG statement instead. Is it a safe method to use?
    Please give as much detailed info (with examples) as possible.
    Thank you very much in advance,
    Orestis

    Hi Sandra,
    My requirement is to call a transacton in a subscreen. Created a screen 100 that is devided into 2 one for custom container to place tree control and  another for subscreen that is to call transaction.
    Call transaction works fine, but this transaction is being opened in new screen(as each transaction use new LUW)., is there any to display the transaction in the sub screen area instead of new screen..
    For ex, very similar to t-code SE80. In se80, choose other object, and choose more, and select trasaction  and enter any t-code, then it displays same of SE93 in the right side of the screen...hope it is clear..
    Regards, Laks

  • Transaction to create root object in genil component.

    hi all ,
    may be it seems to be basic question. i am following one tutorial where they are creating one genil component. in order to create root object, they told to run the transaction GENIL_MODEL_EDITOR. but i couldnt find the this transaction in my system. is there any other transaction to create root objects for genil component in CRM. kindly help me.

    Hey praveen,
    If you dont use ehp1, there is no any transaction to create root object. you can fallow this [wiki|http://wiki.sdn.sap.com/wiki/display/CRM/CreateaZBOLObjectPart1] page.
    Regards,
    Zafer,

  • J_1IINTPR2 object which transaction is creating this number range.

    J_1IINTPR2 : Despatch serial Number  Excise Group:21
    Current Number range is running ,in SNRO but i want to know where this number is generating  in data base Tables
    and in which sales transaction is creating this number range.

    Hi,
    This no. range is asigned at J1I9 also,
    it will be generated at J1IIN.

  • Transaction to create a new opportunity

    To create a business partner, it is rather simple to use transaction BP.
    But does there exist a transaction for creating an opportunity or a quotation for SAP CRM 7.0?
    I am not asking about the front end web tool where you can just use the site to create a new opportunity.
    I am asking on the SAP GUI side.
    Thanks,
    Jon

    You can use the Transaction CRMD_ORDER to create one order documents, Opportunity being one of it. Just to give you some information, SAP GUI is being phased out slowly for CRM. All latest developments are in Web UI, so don't be surprized to find the differences between Web UI/SAP GUI.
    Rg,
    Harshit

  • HT3702 Itunes and auto cc charges???my credit card was charged 19.99 by the apple itunes store....I have no purchases in my history....how do I cancel this transaction? and why is it on there....how do I find out?

    Itunes and auto cc charges???my credit card was charged 19.99 by the apple itunes store....I have no purchases in my history....how do I cancel this transaction? and why is it on there....how do I find out?

    You've checked the purchase history on your account via your computer's iTunes : log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases.
    There are instructions on this page for viewing / managing / stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098
    If nothing shows on your iTunes purchase history (you don't have a Mac and have any purchases in the Mac App Store), and you only have the one account, then you should contact your card issuer.
    If something does show on your history but you didn't buy it, and nobody else has access to your account or devices and made the purchase, then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Can you tell the transaction for creating the client.

    can you tell the transaction for creating the client.

    Hi,
    Please check this links.
    http://help.sap.com/saphelp_nw04/helpdata/en/69/c24c4e4ba111d189750000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/c24c0f4ba111d189750000e8322d00/frameset.htm
    http://www.sap-img.com/bc049.htm
    Cheers,
    Simha.
    Reward all the helpful answers..

  • Dump in transaction IB51 - create installed base

    Hi,
    We have installed CRM 2007 at our site. The transaction for creating installed base IB51 on selecting the category of installed base and pressing enter throws an ABAP dump.
    The category being used is a standard SAP delivered category; yet there is a dump.
    Kindly suggest the notes / corrections / SPs applicable if any; since the system is a new system and the error is not config related.
    Regards,
    Dhaval.

    Hi Dhaval,
    Sorry, but SAPGui is no longer a supported UI for SAP CRM 2007 for any end-user facing applications. Consequently, the transactions in SAPGui are no longer supported. So you won't find corrections (notes, SPs) that will correct his problem.
    SAP CRM 2007 comes with a complete new Web UI: The CRM WebClient UI. It allows a role based web access to all CRM applications. SAP CRM WebClient UI can be used integrated into the SAP Enterprise Portal but also "stand-alone" with a "local" application shell ("L-shape") which is delivered as part of SAP CRM ABAP server itself.
    Please refer to many other threads in this forum, the SAP help portal and the CRM BPX communitiy pages for more information about the WebClient UI.
    Best regards
    Peter

  • JPA classPK created, why

    Hi,
    I don´t know much about JPA. So I tried some examples and created my own. Some things were very strange for me. When I use two tables with a one to many relation, my IDE creates a class names somewhat as classPK, which has only the method equals()...
    What is it good for?
    Can I use this method for easier access.
    What is the suggestion to find an argument of an linked table, a query with a where clause or at firstt the entity and via the entities id the linked entity?
    Or is it necessary for JPA to work?
    By the way, I use OC4j JEE to develop and test. As it seems when I create a entiy (annotated with @Entity), a session facade and start filling a first instance with values, I can perform an query withot persist() afterwards. Why?
    I thought At first I have to persist my new Entity? Is it handled by the container automatically?
    When to use persist()?
    Thanks for your comments.
    I read some books (really) about JPA but coukldn´t find how exactly this works in JEE.
    Rolf

    These are probably pal accounts. How many subscribers do you have?
    I have two subscribers "transactional queued". What do you mean with "pal accounts" ?
    At one subscriber (test machine) i deleted now all these accounts, replication is still running, so i think they could be deleted.
    Maybe they where created during the setup of the subscription because at this time the Agent Queue Reader was not in the access list of the subscriber ?
    Beside an other question, also at the subscriber there are tables created like "dbo.conflict_<DBNAME>_<TABLENAME>" is that normal ?
    BTW: its a pitty that i couldnt find that topic (REPLCERTLOGIN_REPLCERT...) at the knowledgebase :(
    Thanks for answering
    MBChris

  • Does each SAP transaction iview create a log on to the backend ECC?

    Hi,
    If I put multiple SAP transaction iviews in a role, each pointing to a different SAP transaction in the same backend system, does the launch of each iview create a new logon in the backend system when using SAP logon tickets?  If so, is it possible to make it only launch a new session if one logon has already been created?
    Regards
    Cindy

    Hello Cindy,
    launching of diffrent Transactio Iview form same back end is quite similar as loged in to backend with Proper credentials and opening diffrent transaction's by useing
    /oxx(Transaction Name)
    Hope it will add to ur knowladge.
    Regards.
    Soni Vinit

  • BDC Call Transaction : FS00(Create G/L Account)

    Hi,
    BDC of FS00 is running properly in Forground (A) Mode, with success messages and G/L account being created in SKB1 table.
    But when I run it in Background (N) Mode, it is not creating the G/L account. Although I am getting the success messages in the end of the execution but in the table, there is no G/L account.
    FORM fill_bdcdata .
    loop at i_output.
    clear i_bdcdata.
    refresh i_bdcdata.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ACC_CRE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_KEY-BUKRS'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   i_output-SAKNR.                               "gl ac number
    perform bdc_field       using 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   i_output-BUKRS.                               "company code
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=2102_GROUP'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_COA-KTOKS'.                  "ac grp
    *perform bdc_field       using 'GLACCOUNT_SCREEN_COA-KTOKS'
                                  i_output-cc.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   i_output-xplacct.                             "pl account
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XBILK'
                                   i_output-xbilk.                               "balance sheet
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TAB02'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-KTOKS'
                                  i_output-ktoks.                                 "ac grp
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                  i_output-xplacct.                               "pl account
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                  i_output-txt20_ml.                               "short text
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                  i_output-txt50_ml.                               "long text
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TAB03'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-MITKZ'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                  i_output-xsalh.                                "Only Balance in Local Currency
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                  i_output-mwskz.                                "Tax Category
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                  i_output-xmwno.                                "Posting without tax
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                  i_output-mitkz.                                "Reccon A/C
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                  i_output-xopvw.                                     "Open Item Management
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                  i_output-xkres.                                     "Line Item Display
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                  i_output-zuawa.                                     "Sort Key
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTER'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                  i_output-fstag.                                     "Field Stauts
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                  i_output-xintb.                                     "post automatically
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-XGKON'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XGKON'
                                  i_output-xgkon.                                     "relevent to cash A/c
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-FSTAG'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                  i_output-fstag.                                       "Field Stauts
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                  i_output-xintb.                                       "post automatically
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XGKON'
                                  i_output-xgkon.                                        "relevent to cash A/c
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EEXIT'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-XGKON'.
    perform bdc_dynpro      using 'SAPLSPO1' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    perform f_elog.
    endloop.
    FORM f_elog .
    data len type i.
    clear i_msgtab.
      call transaction 'FS00'
                          using i_bdcdata
                          mode g_v_mode              "N
                          messages into i_msgtab
                          update g_v_update .          "S
    write: i_output-saknr.
    I am not getting where I am going wrong in the code.
    Regards,
    Priyanka.

    Hi,
      Make the mode 'E' and see excatly, where the warning or errors or coming.
    If you are having an currency or UOM ,related fields, see that the values should not be empty. If they are enpty. Put an if condition there and Quit filling such fields.
    First keep in mode 'e' and debug. 100% you will see the warnings or errors, then tell me what is the error.
      <b>call transaction 'FS00'
    using i_bdcdata
    mode g_v_mode "E
    messages into i_msgtab</b>
    Thansk'
    Manju.

  • How to restrict a Sales Transaction being created Straight up

    Gurus,
    We have a business requirement where a perticular Order type (Sales Transaction) can only be created as a follow on Order.
    But the problem is, when i configure the Sales Transaction type, it is also appearing in the standard Transaction type list.
    I have configured this Order type in the follow on Transaction configuration, but i cannot remove/hide this transaction type from standard transaction type list.
    Pls advise.

    Gurus,
    I would really appriciate some help here.
    Thanks in Advance.

Maybe you are looking for

  • Can I use more than one song in a slideshow?

    Can I use more than one song in a slideshow?  If so, how?  Thank you

  • ORA 01792 maximum number of columns in a table or view is 1000

    Hello every1, I wish to register a large xmlschema doc, I am using the command begin dbms_xmlschema.registerschema( schemaurl=>'xxxx', schemadoc=>bfilename('XMLDIR','xxxxxx.xsd'), csid=>nls_charset_id('AL32UTF8')); end; But the schema file exists 100

  • Windows can't start so I end up re-install​ing o/s

    Twice in the last week I have had to re-install the windows seven o/s because it would'nt start.  It seems to happen when windows tries to configure updates... How can I prevent this from happening ? This question was solved. View Solution.

  • Where can I find a MAC Laptop that was around between 2001 and 2003

    I'm trying to recreate some data files that were created on a MAC laptop or G4 between 2001 an 2003. In addition to the laptop, or G4 if necessary, I need the OS of that time, the other OS support software and a copy of AOL from that period.

  • Windows Installer Maybe?

    I have Windows 7.1 OS installed Whenever I try to install another program I get the error, "A system restart is pending" and I cant install my programs (IBM ISeries Access for Windows or Symantec) There is no restart pending I tried the work around o