Handling Non J2ee Transaction

Hi,
I need to handle non j2EE transactions.How to go about this.Non J2ee transaction can be that for XML,LDAP,text files etc.

Hi,
You can try to use a CORBA OTS transaction manager and implement the OTS Resource interface for each type of data you have.
Concretely, that means that you need to understand OTS, RMI-IIOP, and have to implement (for each type of data access you need) a mechanism that can prepare, rollback and commit a change made to that type of data.
Depending on the support you can find for this, things can get rather complicated... Especially since the prepare function requires recoverable locks on your data.
I don't know of a java framework that can help you with this, but I am working on one myself. One of my goals is to get rid of a lot of the complexity in these cases...
Best,
Guy

Similar Messages

  • Best Material Type for Handling Non-valuated Materials in Distribution

    Our distribution business will soon be handling non-valuated material and I am trying to determine the best material type to use.  I am considering material type UNBW but would like to know if anyone has advice.  We are strictly providing a service to the vendor for handling these non-valuated materials (for example, wood products).  We will not purchase or sell the product.  Our service consists of receiving the product into inventory from the vendor, tracking the inventory, (in Warehouse Management) and then shipping the material to a customer of the vendor's choosing.  For these non-valuating materials, we are paid strictly for our service of warehousing the material and shipping to a customer.
    Up until now, our distribution business has distributed only valuated materials, i.e., materials we purchase at a price and sell at a price.  We also use vendor consignment.  NOTE: This is not a vendor consignment scenario because we never buy the product.
    Here are our requirements:
    - We don't own the non-valuated product.
    - We need to be able to ship these new non-valuated products on the same shipments as the valuated product we own.
    - We use handling unit and warehouse management for all of our finished goods.
    - We would like to use our existing processes and HU/WM RF transactions to receive and pick the non-valuated product.  This means:
    1) Creating inbound deliveries and packing into HUs.  And applying our HU bar code labels.
    2) Physical inventory counts by HU.
    3) Creating sales orders that have both the non-valuated materials and valuated materials we own.
    4) Creating outbound deliveries and picking via transfer orders in WM.
    5) Assigning the outbound deliveries to a shipment.
    Questions:
    1)  Can a UNBW material that will be stocked but not valuated be received into inventory via a PO?  Any way to receive into inventory with an inbound delivery without using a PO?
    2)  Are there any problems with putting a non-valuated material on a sales order with a zero price?
    3)  Any challenges that other have run into?
    Thanks in advance.
    Rob

    I must be missing something regarding the use of material type UNBW.  When I post the goods receipt for a PO with a UNBW material, no inventory is created.  When I create the PO, an account assignment is required.  I tried both a cost center account assignment (K) and balance sheet account assignment (Z - using a Profit Center).  In both cases, I am forced to check the "Free item" checkbox to avoid entering a price; which also seems strange since the material is UNBW.
    I have searched everywhere for a "Best Practice" for my scenario with little results.  Again, we are simply managing the inventory for a vendor and shipping the inventory to our vendor's customers.  So we are acting as a third pary warehouse and shipper for the vendor.  We do not buy or sell the inventory - we are paid a monthly service fee by the vendor for warehousing their product and shipping it to their customers.  We may ship the product on sales order deliiveries that include both the "non-valuated" product (i.e., free goods we manage for this vendor) and goods that we actually own.
    As an alternative, I am wondering if I should look into somehow using vendor consignment with a settlement price (consignment info record price) of zero.  Vendor consignment is nice because you can track the stock by vendor.  However, we would never truly "settle" with the vendor because we would not be paying the vendor for the inventory and would never own it.
    Our business refers to this as "reload business" but I am not sure this is an industry standard term.
    Any other thoughts out there?

  • Synchronizing with J2EE transaction

    Hello,
    I am diving into Kodo's ability to synchronize with J2EE transactions. I
    have altered JDOFactory and added a method 'getEEPersistenceManager' which
    returns a new PM from a singleton EEPersistenceManangerFactory ( much the
    same way the code already worked for the JDBCpmFactory... ).
    I am using JBoss and added the line
    <tm-location>java:/TransactionManager</tm-location> to my system.prefs file
    as specified in the docs, but when I run my simple test case, I get a
    java.util.MissingResourceException: tm-location.
    Has anyone else tried integrating transactions with JBoss, and if so, did
    you have any problems like this? Sorry for the somewhat undetailed post, I
    know this is a bit of a long shot...
    Thanks in advance,
    Eric Lindauer

    READ the last part
    Abe's response:
    To use Kodo with an external datasource from JNDI, do the following:
    1. Make sure the system.prefs are set up correctly. Even though Kodo will
    be using an external datasource, it still needs to know how to connect to
    the DB itself so that it can use external connections for getting sequence
    numbers and getting the list of persistent classes (if you're not using the
    <persistent-types> array in prefs).
    If you like, the system.prefs can point Kodo to a different database than
    your production one, so long as you don't mind Kodo creating a sequence
    table in this DB and so long as you're using the prefs to list your
    persistent types, or have used the schematool to register all your
    persistent types with this second datababse.
    2. Set the JNDI location of the external datasource in the
    PersistenceManagerFactory via the setConnectionFactoryName() method. When
    Kodo needs a datasource, it will see that you've given it a location to look
    for one in JNDI. It will obtain a JNDI Context and perform a lookup on the
    given location, casting the result to a javax.sql.DataSource.
    To obtain the Context, Kodo by default will simply create a 'new
    InitialContext ()'. This means that your system JNDI properties should be
    set up correctly for the JNDI provider you are using (see the
    javax.naming.Context javadoc for details).
    You also have the option of completely controlling how Kodo obtains the JNDI
    context by implementing your own com.techtrader.modules.jndi.ContextProvider
    and telling Kodo to use your custom implementation in system.prefs. As the
    user guide mentions, this is covered in the javadoc for the
    com.techtrader.modules.jndi package.
    That's all there is to it. A couple of warnings, though:
    * The use of external datasources is untested.
    * If using the datasource within an appserver, the Connections from it
    should not be automatically committed/rolled back with the completion of the
    global transaction. Kodo performs its own transaction management on the
    Connections it uses. In future releases we'll be able to handle Connections
    that are controlled by the appserver.
    Good luck.
    -- Abe White
    TechTrader
    Eric Lindauer <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    I am diving into Kodo's ability to synchronize with J2EE transactions. I
    have altered JDOFactory and added a method 'getEEPersistenceManager' which
    returns a new PM from a singleton EEPersistenceManangerFactory ( much the
    same way the code already worked for the JDBCpmFactory... ).
    I am using JBoss and added the line
    <tm-location>java:/TransactionManager</tm-location> to my system.prefsfile
    as specified in the docs, but when I run my simple test case, I get a
    java.util.MissingResourceException: tm-location.
    Has anyone else tried integrating transactions with JBoss, and if so, did
    you have any problems like this? Sorry for the somewhat undetailed post,I
    know this is a bit of a long shot...
    Thanks in advance,
    Eric Lindauer

  • Report in Payment Wizard - Non Included Transaction Report

    Hi Guys,
    Within the Payment Wizard is a report called " Non Included Transaction Report", later in the wizard also referred to as "Error Log Report (System)".
    I would like to recreate this report so that I can add some additional fields on the Purchase Invoice side only, to make the report more helpful.
    I believe the tables I require are PWZ5 and OPOR, however when I run my query I get 96,000 plus entries returned which is not correct for just one month !
    This is the query I have:
    SELECT distinct T0.[InvID], T0.[CardCode], T0.[CardName], T1.[DocDate], T1.[DocDueDate], T1.[Ref2] AS [Supplier Invoice No], T0.[Amount], T0.[ErrDisc] FROM PWZ5 T0 , OPOR T1 WHERE T1.[DocDueDate] >=[%0] AND  T1.[DocDueDate] <=[%1]
    Am I on the right tracks or have I missed the mark by a country mile - could someone please point me in the right direction or has anyone else recreated this ?

    Hi,
    Try this:
    SELECT distinct T0.InvID, T0.CardCode, T0.CardName, T1.DocDate, T1.DocDueDate, T1.Ref2 AS 'Supplier Invoice No', T0.Amount, T0.ErrDisc FROM dbo.PWZ5 T0
    INNER JOIN dbo.OPCH T1 ON T0.InvID=T1.DocEntry
    WHERE T1.DocDueDate >=[%0] AND T1.DocDueDate <=[%1]
    Thanks,
    Gordon

  • TO confirmation for picking: difference between RF and non RF transactions

    Hello,
    I am confirming one TO for picking in a outbound delivery process. My storage location is WM and HU managed and materials are batch managed.
    I noticed if I confirm TO through RF transaction (LM61), I have the following results per material on outbound delivery:
    one main item with 0 as delivery quantity
    several sub items (9000x), with as many lines as HUs confirmed. Qty is HU qty
    Now if I confirmed TO with non RF transaction (LT12), I do not have the same results:
    one main item with 0 as delivery quantity
    one or several sub items (9000x), with as many lines as batch confirmed (then potentially less sub items). Qty is aggregated per batch with several HUs.
    I need to use TO confirmation through RF.
    But this seems to have an impact on an inter company process where I'm using SPED functionality.
    Indeed, when I process post goods issue in the issuing plant, I have an automatic creation of the inbound delivery for the receiving plant (with same HUs).
    And then I have to proceed QM controls:
    - if I have confirmed picking TO with RF, inspection lots are created for each HU.
    - if I have confirmed picking TO w/o RF, inspection lots are created for each batch
    I need to manage inspection lots per batch and confirm TO with RF!
    I changed several QM settings on material, without success.
    Now I would like to know if this could be much more managed on LE side, specifically TO confirmation.
    Have you got an idea?
    Thank you

    I got a feed back out of this forum.
    The solution is to change delivery update settings in interface between WM and shipping, so that update delivery is not done after each confirmation item but after the the whole TO confirmation.

  • Payment Wizard - Non included transactions

    Hi Experts,
    When we run the payment wizard to make batch payments to vendors, there are two vendors that it excludes. In the Non-included transactions report is says - "No data" when I try and run it.
    I have double-checked that those vendor bank account details are correct and the payment method is also correct.
    Any reason for this?
    Thank you,
    Regards

    Hi,
    Can you check and update the following :
    1) Does the detect query in Note No. : 1041101 display any result?
    2) Is the Invoice or the BP marked blocked for payment?
    3) Is there any add-on working or any additional code under SP_TransactionNotification. Test whether stopping the Addon and the additonal code under SP_transactionNotification helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Got error - You must supply payment terms for your non -credit transaction

    Hi Experts,
    Recently we upgraded the 11.5.8 Instance to 11.5.10.2.
    we have one customized application which is related to recievables.
    If we submit Surcharge demand generation request it has completed with error.
    but in ra_interface_errors_all table i'm seeing the error like You must supply payment terms for your non -credit transaction in message_text column.
    we ran the profile option migration report concurrent request for product specific task after upgradation.
    due to this issue we cant able to run the demand generation request.
    Please help me to solve this issue.
    Thanks
    R.Sundaravel

    have a look at Note 178298.1 & 331099.1!!!
    HTH
    Prashant Pathak

  • Non included transactions in Payment Wizard

    After running the payment Wizard there are some payments in the Non included transactions report.
    Where can I find the explanation of the 'Error description'
    example : Payment amount is greater dan balance amount (rule 4)

    hello,
    The next payments have the message.
    The balance amount is 130,00 € and the payment amount is 126,10 €. Why gives it this message
    Greetings,
    André

  • Where are the non J2EE Templates ???

    I'm posting this after hours of frustration. A little background is required:
    I've been working on a project utilizing Java 2D to manipulate 16 bit images. In dealing with a BufferedImage.TYPE_CUSTOM image originating on a CT scanner, I've come across what I believe might be a JAva 2D bug.
    So I searched the Java site for info about the forums and bug reports, and realized that I had to get a 30 day Standard subscription, which of course meant installing Java Studio Creator. The hoops I had to jump through to do that I will not go into here. (I had been using Netbeans 3.6 for my development.)
    So, I was finally able to log a report. I included the code which led to the problem (a pipeline of JAI.create calls on the original image, which could, by the way, be displayed without any exceptions). Looking at my email this morning I found that I am required to provide information to recreate the bug in Studio Creator in order for it to be examined. This has a couple of complications:
    1. The image in question is obtained from an image file formatted according to the DICOM protocol
    2. Reading the image file and converting it to a BufferedImage requires the use of a third party Image I/O plugin.
    I can provide both of these if required, but first back to the issue at hand.
    I whittled the bug scenario down such that I have a single class which can be used to recreate the error scenario. All I need to do now is create a simple non-J2EE, non-web, non-GUI "standalone executable" project. This appears to be impossible with Studio Creator "out of the box". A template is demanded, and the only one available is the J2EE one, which of course leads to an inundation of JSP, Beans, JSF etc clutter.
    IS THERE NO WAY TO JUST USE THIS PRODUCT TO JUST COMPILE AND RUN A SIMPLE JAVA CLASS???? I suppose this information can be found somewhere, but I don't look forward to digging around for many more hours to locate what seems to me a basic question for any IDE
    If not, is there ANY way to communicate with Sun regarding possible bugs? Hell, I'd be happy to pay $100 just to log and get feedback on this one issue. I'm contracting on an hourly basis, and this has already cost me more than that.
    Thanks for any advice, opinion, mild abuse, etc.

    Hi Bob,
    Sun Java Studio Creator is a tool for building web applications. To complie and run a simple java class NetBeans is the tool to use. NetBeans 4.1 is available and you could try this.
    You should be able to log a bug with your trial license. If not you can post it here in the forum and we will file the bug on your behalf.
    Cheers
    Giri :-)
    Creator Team

  • Passivation strategy question: "None" and "transaction"

    What's the exact meaning of these two choices "None" and "transaction" for
    passivation strategy?
    Thanks,
    Levi

    No, Arjuna is right. Passivation-strategy is never used in WLS 6. It's been
    removed from the descriptors in the upcoming WLS 7.
    -- Rob
    Nick Minutello wrote:
    I dont think it has been deprecated.
    Whether it is used or not depends on the concurrency strategy.
    Quoted "The passivation-strategy element determines whether or not WebLogic
    Server maintains the intermediate state of entity EJBs in its cache" from
    http://e-docs.bea.com/wls/docs61/ejb/reference.html#1071446
    -Nick
    "Arjuna Chala" <[email protected]> wrote in message
    news:[email protected]..
    I think passivation-strategy has been deprecated for WLS version >= 6 andit
    does not do anything in these versions.
    "levi" <[email protected]> wrote in message
    news:[email protected]..
    What's the exact meaning of these two choices "None" and "transaction"
    for
    passivation strategy?
    Thanks,
    Levi

  • Java Application Performance Monitoring - J2EE Transaction Monitoring

    Hi,
    Does SCOM 2012 R2 support J2EE transaction monitoring, ie how application behaves from end users. Apdex scores,response time and throughput , Execution method and SQL queries.I could not find transaction monitoring information in Java MP guide.
    Is that Java managment pack supports monitoring only Tomcat and not weblogic,websphere and jboss on Linux servers,
    Appreciate help in this
    Thanks in advance
    Bharath

    Hi Bharath,
    "Apdex scores,response time and throughput , Execution method and SQL queries."
    You're talking about the metrics similar to those which we have after configuring application monitoring in .NET Application Performance Monitoring (AVIcode APM) template, right? If so, this sort of APM profiling for Java apps introduced in SCOM 2012
    R2. But it's only for Tomcat5.5+ hosted Web Applications:
    http://blogs.technet.com/b/random_happy_dev_thoughts/archive/2014/01/07/system-center-2012-management-pack-for-java-application-performance-monitoring-released.aspx
    If you use another application server rather than Tomcat (WebLogic, WebSphere, JBoss), I would recommend you to take a look at BeanSpy instrumentation itself:
    http://www.systemcentercentral.com/demystifying-jee-app-performance-monitoring-in-opsmgr-2012-jee-faqs/
    Download link:
    http://www.microsoft.com/en-us/download/details.aspx?id=29270
    This is not AVIcode-like APM (AVIcode-like APM relies on it as a prerequisite), but if you are familiar with MBeans structure, you could configure quite interesting monitoring transactions for your java apps:
    http://blogs.inframon.com/post/2012/04/27/WebSphere-monitoring-with-the-JEE-Application-Performance-Monitoring-management-packs.aspx
    http://stefanroth.net/2012/04/10/scom-2012-jee-application-availability-monitor-template/
    Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)

  • Difference between enjoy and non-enjoy transaction

    hi
    can anybody tell me the difference between enjoy transaction and non-enjoy transactions
    for example ME21N is enjoy transaction and ME21 isnt
    we can do a BDC for ME21 and not for ME21N
    basically, is it all transactions finishing with 'N' is enjoy transaction?

    Hi sia,
    1 can anybody tell me the difference between enjoy transaction and non-enjoy transactions
    The main difference, bcos we cannot do bdc is :
    a) The enjoy transactions are based on
       GUI Control (eg. Grid control based on class)
       which are instantiated/created
       on the front-end machine.
      Hence, they cannot be accessed directly by code,
      running on the application server.
      (instead their value is set on the front-end)
      Hence, we cannot do bdc on them.
    regards,
    amit m.

  • Is enterprise portal development non-j2ee development?

    HI,
    IT is mentioned here at
    http://help.sap.com/saphelp_nw04/helpdata/en/56/c8633e0084e946e10000000a114084/content.htm
    "  Non-J2EE Java applications (J2EE Engine libraries, WebDynpro applications, Enterprise Portal applications, standalone Java applications, and so on) "
    Are the enterprise portal applications non- j2ee? can someone please clarify this to me..
    Thank you

    That's true.
    Enterprise Portal applications are developed from Portal Development Kit (PDK). There are Java and .NET versions of Enterprise Portal applications. Java-based Portal application involves HTMLB, JSP, and DynPage (JspDynPage), which is not purely J2EE.
    A J2EE application involves the Web (JSP, Servlets) and Enterprise JavaBeans (EJB).
    Hope it makes sense,
    - Teecheu

  • Duplicate check via BAS (ADDRESS_SEARCH)-- how to handle non-crm customer?

    Dear all,
    I'm implementing a duplicate check and using the BADI Address_search. Within this BADI I use the method "Address_Search" for calling a third party software tool with customer information. This tool checks whether the entered customer is already available in CRM AND in other system in our company holding.
    The method provides me a list of all found duplicates (incl. non-crm customers)
    My problem is that I need to fill a export table "ex_t_search_result" (type adkey_indx_tab) of this method which expects ADRC number. For the CRM customer it is not a problem. I can figure them out by table BUT020 and the customer number. But for the non-crm customer I do not have a ADRC number.
    I know there are some methods for creating addresses in BAS (function group SZA0), but actually Im not sure how to handle them.
    Does anybody of you had faced a similar issue?
    Thanks for your help
    Firat C.

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

  • JTA/JTS for non-EJB & non-J2EE server used

    I have a standalone java program which calls methods on 2 java classes (c1, c2) These are Non-EJB/non-RMI/non-CORBA plain java classes.
    the method in c1 updates table t1 in database db1
    the method in c2 updates table t2 in database db2
    I would like to use JTA for conducting a 2PC based transaction. I know this can be done in an application/server or a J2EE container environment because they have built-in Transaction Managers (TM). and one just has to use JNDI to look up the UserTransaction object and then define the transaction boundaries. However, how do I all the above if I don't have access to a J2EE server and an EJB server?
    It seems like I would have to use a standalone Transaction Manager (not bundled with the app-server).

    Hi,
    My company has just released a (beta!) version of a generic java transaction manager. Although it offers some lightweight beans as standard development model, this does not have to be the case: the core idea is an extensible and very advanced transaction kernel. JTA comptable.
    This software is server-oriented: the transactional kernel (which also does recovery) startup and shutdown events trigger the start (initialization) and shutdown of your 'extension' classes. This is necessary because otherwise your resources will not be recoverable: if the transaction manager starts up, then it will first do recovery, and therefore your resources need to be available.
    You can ask for a beta version through our website:
    http://www.atomikos.com
    Note, however: we did not yet implement the XA DataSources. Rather, we have a kind of 'external' stored procedures that allow distributed transactions over regular JDBC connections. You would have to implement your solution along this line, or wait for the XA datasources.
    If there proves to be a lot of demand,
    we can of course speed up development on XA. It is not a very big effort.
    Best regards,
    Guy
    Guy Pardon ( [email protected] )
    Atomikos Software Technology: Transactioning the Net
    http://www.atomikos.com/

Maybe you are looking for