External transaction Type

Hai All,
I am configuring Electronic Bank statement.There once we define the posting rules we have to go with create  trasanction type and assign external trasaction type.To assign the external Trasaction type do we have to define there only or else do we have to create elsewhere and have to assign in assign external trasnaction type.I have doubt in this.Please suggest me how to assign external trasaction type.
Thanks

Dear:
              You can map external transactions to  posting rules within a transaction type. After that  assign each bank key and bank account combination to the transaction type that should be used for processing statements for that account. If you want different external transaction mappings for different account IDs, then you need to create different transaction types and assign each account to the relevant transaction type. Since the TT are assigned to the account numbers, you can have different TT for accounts with the same bank key. 
To have different posting rules for debit and credit, you don't need using separate transaction types: the assignment of a posting rule to external transaction is done separately for + and - signs, so you can assign 2 different posting rules to an external transaction, one for debit and one for credit.
Regards

Similar Messages

  • EBS - Electronic Bank Statement Multiple Posting Rule for One External Transaction Type NTRF

    hello SAP Gurus,
    I'm configuring EBS - Electronic Bank Statement. My requirement is for Bank External Transaction Type NTRF <for Incoming Payment> I want to assign 2 posting rules for Posting Area 2 that is Sub-Ledger posting viz. <1> For the payments received from Customer which should clear the Customer Open item since it is bill to bill exactly matching the open line item and <2> For the payments which should not clear the Customer Open item since i know that they are not bill to bill and only partial against the original line item
    Is this possible? if yes then how?
    Currently, SAP allows only one assignment like one external transaction type NTRF => one Posting Rule <either clear the sub-ledger-system picks FB05 or just post on Sub-ledger so that not to clear - system uses FB01 >
    Journal for Posting Area 2:
    Bank Clearing Account Dr
       To Customer Account Cr  <either set this to clear with original invoice / or just post on customer so as to clear/handle it manually later on once paid fully>
    So, what is the solution; how can i differentiate my incoming whether fully payment or partial payment; since bank statement always tag it to external transaction type NTRF always for any incoming payments !
    regards,
    `raj. 

    Hi,
    You cannot create separate rule with sub ledger postings while executing electronic bank reconciliation.The reason is your bill to bill transfers should posted to bank sub ledger account first and then you can write a BDC to clear sub ledger account.Otherwise use F.13 to clear the sub ledger account.
    Regards
    Chrishantha

  • External transaction types in EBS

    hi friends,
    where do we define external transaction types...are these TT*s given by the bank?
    thanks
    charlie

    Hello Charlie,
    Yes these transaction types are given by the bank.
    These are their output which we are feeding into the system to do accounting.
    So we should match it field by field.
    if there is a comma, then u shud also have a comma...
    jus copy paste buddy
    Regards
    anantha

  • Electronic Bank Statement - Assign External Transaction Types to Posting Rules

    Hello,
    I am trying to assign external transactions (BAI codes) to posting rules in global settings of electronic bank statement.
    Here is my scenario -
    If it is a credit transaction then I assign BAI code 167 to a posting rule (ex. Z555) that is assigned to GL account lets say 1234. Now I want to assign a credit transaction 167 from a different customer to a different posting rule (ex. Z666) so it posts to different account lets say 9991. SAP won't let me do this. It gives me an error that entry already exists. It won't let me assign two posting rules to the same external transaction code. Is there a way to address this scenario?
    Please advise.
    Thanks,
    Priya

    Hi Priya
    If you have something different to distinguish between the two transactions, you can use the search string configuration. Generally, such kind of information is available in Notes to Payee  information in your bank file. The below link will help you in how the search strings are configured in SAP
    EBS: configuration of search string, part 1
    If the search string does not work for you, you may also at implementing the enhancement FEB00001. You can check out the relevant exits in this enhancement in t code SMOD.
    Thanks & Regards
    Sanil Bhandari

  • Automatic BRS - External transaction Keys

    Dear Gurus,
    Please provide the standard external transaction keys used for MT490
    are these external transaction types are common across all the banks or are they different.. ?
    Regards,
    Abhijeet

    Hi Abhijeeth,
    From your previous post it seems you are trying to configure Electronic Banking Statement Configuration and if i'm not wrong,looks like you are bit confused about the basic account determination objects used. Below is the high level understanding  of these, let me know if you have any further questions.
    As you might know about the functionality of EBS, lets not get into. Basic terminology used in this customizing 1. Internal Trans type 2. External Tran Type 3. Posting Rules 4. Posting Key 5. Account Symbols. Its important how this is interlinked and data flow from bank statement to GL.
    1. Internal Trans Type: Typically bank provides data in various formats, few of these formats are BAI, MT940, SWIFT and MultiCash. Each formats differs by how data is provided by housebank. Most commonly in US we use BAI(2) format. You match these with ECC by configuring Internal Trans Type to correspond to bank these formats(BAI, MT940...). SAP ERP provides defaults with all these and as per your clients requirement, you can create additional ,if required. You can assign only one Internal Trans Type to one bank account. (For ex: BAI2 format to Chase)
    2. External Trans Type: For each Internal Trans Type(Ex: BAI) you maintain multiple number of External Trans Types. Using these Ex Tran Type, we Identify different bank transactions in the EBS provided by bank(in this case, format is BAI).  Few of the examples of are Incoming Payment by check, Incoming payment by wire, bank charges, etc: Typically, bank has few hundreds of these trans type's identify each of the individual trans type. As said in the above post, these Ex Trans types are provided by bank to you, depending up on your requirement(I believe, we don't need all of these). Here you might notice one thing, Interpretation Algorithm, Mainly this help in interpreting the reference document number in the trans data(Check number, Account doc. number). One thing to keep in mind, when we assign Internal trans type to you bank account, all these external types implicitly assigned. Hope you got the logic.
    3. Posting Rule: This is basically a connector between Ex Trans type we discussed about to the GL account determination. We define the posting rule with Debit & Credit GL accounts(actually we use account symbols, in turn we assign this to GL a/c). Importan thing here is, knowing about determining posting area and Account Symbol(Instead of assigning GL accounts directly we assing account symbols to debit/credit posting keys.
    4. Account Symbol: We create generic account(For ex: ++++++001) For ex: If you have multiple bank accounts in US, for all these bank accounts configuring individual step of configuring GL account takes time and efforts to make this process easy, we make use of this technique. Make sure, your COA is designed in such  a way to match this.
    As a recap of above,
    1.  We first assign Internal Trans Type to a bank account( For Ex: Chase - BAI2)
    2. The above Internal Trans Type is assigned to multiple External Trans Type (BAI2 --> 101-Incoming Payment by check, 102, Incoming payment by wire transfer.....)
    3. Transaction in the incoming data contains an External Tran Type (For Ex: 101 & 102)
    4. As you might know from above, We connect the External Trans type to GL account using Posting rule. For that reason, we assign posting rule to Ex Trans type.
    5. Posting rule is Assigned to Account Symbol which in-turn assigned to GL account.
    6. Finally data flows to your respective bank GL account.
    MBS & Check Depost: As you might observed or know, MBS and Check deposit, follows the same technique differs at few places.
    Tran-Codes: Configuration: IMG, Import Bank Statement to ECC: FF_5
    Helpful links:
    http://srilogix.com/casesWhitepapers/Electronic%20Bank%20Statement.pdf
    http://en.sap.darkduck.com/en-SAP-FI-FAQ/setting-up-the-electronic-bank-statment
    http://sap-f2.blogspot.com/2009/08/functionality-of-electronic-bank.html
    http://www.sap-topjobs.com/bankreco.pdf
    most important, Previous threads in the forum.
    Gurus, Do correct me if i missed at any point.
    Hope this helps. Enjoy your day!.
    Thanks
    Srinath Challa

  • Feban external transation type issue

    we use FF_5 upload multicash statement, but after I check posting log, I find posting rule is H036, which is different from extrernal transaction type setup in SPRO, which is H040.  The transaction type we used is MT940. the external transaction type in FEBAN is cash sweep.
    is it because in the upload line item file, we can overwrite the setting? or there is other mechanism? thanks

    For mapping of ext. transaction posting rule by tcd: OT51 should be straight forward, for e.g. if ext. transaction CASH SWEEP (positive sign) is mapped to posting rule H040 then it will be used for posting directly or via post processing in FEBAN. Likewise, if ext. transaction INTRA-DAY SWEEP is mapped to posting rule H036, then in FEBAN H036 is displayed unless the posting rule is changed manually  via internal transaction during post processing.

  • EBS external transactions – Interpretation algorithms and processing types

    When assigning external transactions I am unclear about how best to use the Interpretation Algorithm and Processing type fields.  Does anyone have some practical examples to help me understand how to use these tools?

    In the global configuration for EBS, you map external transactions to internal transactions (posting rules) within a transaction type.  You then assign each bank key and bank account combination to the transaction type that should be used for processing statements for that account.  If you want different external transaction mappings for different account IDs, then you need to create different transaction types and assign each account to the relevant transaction type.  Since the transaction types are assigned to the account numbers, you can have different transaction types for accounts with the same bank key.
    Regards,
    Shannon

  • Transaction type 100 not possible (posting to affiliated company)

    Hi All SAP Guru's
    I am trying to post asset acquisition through F-90
    Asset Dr Transcation Type 100
    To, Vendor Cr
    while saving the above document  i am getting an error Transcation type 100 is not possible (Posting to Affiliated Company)
    to explain further my client are using Trading Partner Concept, may be that is the reason document is not getting posted
    In Transcation Type I tried to change Post to affiliated Company then system allowing to post the document, but in real sense we should not give post to affiliated company at Transcation Type
    can anybody help, is there any alternative to go ahead
    Regards
    Sreenivasulu
    Edited by: sreenivasulu VAS on Feb 26, 2009 1:57 PM

    Hi,
    When there's a trading partner in the document, you need to use a different transaction type for external acquisition.
    Have you tried this? (I've used this one. without chaging document type setting)
    150     Acquisition from an affiliated company
    Difference from Transaction type 100 is posting type. 150 has a posting type of 'Post to affiliated company' whereas 100 has not.
    Check with IMG (T-code: AO73)
    Heeseon.

  • How to use DataSource and External transaction in 9ias?

    I'm working on a project that the application server needs to connect to over 100 databases.
    I'd like to use connection pooling and external transaction service defined in OC4J's Datasources.
    I wonder if anyone has an example of using datasource and external transaction service for OC4J.
    Right now, I export toplink project to a java source and do the initialization there manually but I don't know how to use Datasource to get connections and how to use the external transaction service in the java code for OC4J.
    I really appreciate you help.
    Wei

    Here is a fill in the blank example on how you could set this up through code:
    Project project = new MyProject();
    // alternatively, use the XMLProjectReader
    server = project.createServerSession();
    server.getLogin().useExternalConnectionPooling();
    server.getLogin().setConnector(new JNDIConnector(new javax.naming.InitialContext(), "jdbc/DataSourceName"));
    // the next line depends on the type of driver you want to use.
    server.getLogin().useOracleThinJDBCDriver();
    server.getLogin().useOracle();
    server.getLogin().setUserName("username");
    server.getLogin().setPassword("password");
    server.getLogin().useExternalTransactionController();
    server.setExternalTransactionController(new Oracle9iJTSExternalTransactionController());
    server.logMessages();
    server.login();

  • In the SLFN transaction type partner function sold-to-party

    Dear all,
            We have connected 7 satelite systems to the solution manager server when the end user create the ticket in the satelite system  automatically transaction type will create .When the super user open the transaction type In the Sold-to-party partner function that satelite system name have to display how to canfigure that can Suggest ?.
    Regards,
    Pavan.
    Edited by: pavan reddy on Feb 28, 2008 11:23 AM

    Dear pavan,
    If am not wrong you already created IBASE component for all the 7 components
    Now create BP using BP tcode  of organization & sold to party type of satellite system name using external naming system.
    And in IB52 just assign using goto partner to these sold to party for e.g.
    system A client 500.......................create a BP of name System A of sold to party with BP tcode
    and
    Goto IB52 select the component and assign the System A to sold to party.
    PLEASE REWARD POINTS

  • Purchase Order with Transaction Type: Missing on scrren

    Hi Guys,
    I've been searching for the place in config and master data that determines where the Transaction type is linked the the org. unit or user, but have not been succesfull.
    The selection for transaction type is emty in the "Create Purchase order" screen.
    I have activated ECPO in "Define Transaction Types" in IMG.
    I have had the same problem before but forgot where it was.
    Can any of you mighty people out there point me in the right direction?
    Thanks in advance,
    Thomas
    Message was edited by:
            Thomas Midtbøll

    Hi Thomas,
    The transaction types ECPO & ECDP are maintained in the attributes (BSA) of the org. structure at the Co. Code level or which ever level (P.Org, P.Group) based on the requirements. The user assigned at any of these levels inherit these attributes.
    Also you define number ranges (external & Internal) both for the transaction types in the SPRO > IMG along with the point you mentioned for the activation of Transaction types.
    Hope this answers your query. Clarifications are welcome.
    Rgds,
    Teja

  • Mapping of transaction types to catalog categories.

    Dear Experts,
    Can you please explain me the reasons and the process in details why do we map transaction types to catalog categories in multilevel categorisation..what are its effect and where.
    its urgent.Kindly suggest
    thanks in advance,
    d panda

    Just to make sure:
    You have ensured that the following Customizing settings in CRM and SAP SD are identical:
    - Transaction type (CRM) and sales document type (R/3) identifiers
    - Item categories
    - External number assignment for sales order with identical number ranges
    Actually you can read more about this in OSS note 490932 and it the attachment in this note: BUSINESS_TRANSACTION_EXCHANGE_30.pdf
    This should answer your question I suppose.
    please reward
    davy

  • Definition of Message Type and Transaction Type from the Implementation per

    My assumption is that both, Notification Type and Message Types are same.
    <b>Is the above assumption right?</b>
    In Sol Man 4.0, the notification types required are
    1)     ABSC  2) SLF1 3) TASK
    <b>Are there any other notification types required for Sol Man 4.0?</b>
    The main transaction types required in Sol Man 4.0 are
    SLFI, SLFT and SLFN
    <b>What is the significance of External Number range and Internal Number range used in the transaction type?</b>

    Hi
    1 > A data type</i> in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer, floating point unit number, character, string, and pointer.
    The characteristic of columns and variables that defines what types of data values they can store. Examples include character, floating point and integer
    Check out the details:
    http://en.wikipedia.org/wiki/Data_type
    A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:
    details:
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm
    2) Regarding the difference between XI 3.0 and PI 7.0, this threads will clear your doubts:
    difference between XI 3.0 and P.I 7.0
    Difference/ changes from XI 3.0 to PI 7.0
    Regard's
    Chetan Ahuja

  • EclipseLink Error looking up external Transaction resource under JNDI name

    I want to verify my EJB 3.0 setup for a Java EE project to be deployed on Weblogic 10.3.3 (11gR2) - however when trying to run the JUnit test from eclipse I keep getting the following exception :
    Exception [EclipseLink-23004] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.TransactionException
    Exception Description: Error obtaining the Transaction Manager
    Internal Exception: Exception [EclipseLink-23001] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.TransactionException
    Exception Description: Error looking up external Transaction resource under JNDI name [weblogic.transaction.TransactionManager]
    Internal Exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at org.eclipse.persistence.exceptions.TransactionException.errorObtainingTransactionManager(TransactionException.java:125)
         at org.eclipse.persistence.transaction.JTATransactionController.<init>(JTATransactionController.java:69)
         at org.eclipse.persistence.transaction.wls.WebLogicTransactionController.<init>(WebLogicTransactionController.java:27)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.newInstanceFromClass(PrivilegedAccessHelper.java:354)
         at org.eclipse.persistence.platform.server.ServerPlatformBase.initializeExternalTransactionController(ServerPlatformBase.java:247)
         at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.preConnectDatasource(DatabaseSessionImpl.java:656)
         at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:581)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:228)
         at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:369)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:151)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:207)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:195)
         at com.junit.ejb.orclperf.EjbValidation.setUp(EjbValidation.java:27)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
         at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: Exception [EclipseLink-23001] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.TransactionException
    Exception Description: Error looking up external Transaction resource under JNDI name [weblogic.transaction.TransactionManager]
    Internal Exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at org.eclipse.persistence.exceptions.TransactionException.jndiLookupException(TransactionException.java:47)
         at org.eclipse.persistence.transaction.AbstractTransactionController.jndiLookup(AbstractTransactionController.java:434)
         at org.eclipse.persistence.transaction.wls.WebLogicTransactionController.acquireTransactionManager(WebLogicTransactionController.java:35)
         at org.eclipse.persistence.transaction.JTATransactionController.<init>(JTATransactionController.java:67)
         ... 40 more
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at org.eclipse.persistence.transaction.AbstractTransactionController.jndiLookup(AbstractTransactionController.java:432)
         ... 42 more
    [EL Finest]: 2010-05-23 21:29:36.629--ServerSession(30149247)--Thread(Thread[main,5,main])--End deploying Persistence Unit PERFEJB; session file:/C:/Users/owner/workspace/PERFEJB/build/classes/_PERFEJB; state Deployed; factoryCount 2The code for the JUnit test is the following:
    package com.junit.ejb.orclperf;
    import static org.junit.Assert.*;
    import java.util.Calendar;
    import java.util.Date;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    import org.junit.Before;
    import org.junit.Test;
    import eJBgetSet.Attachment;
    import eJBgetSet.Request;
    public class EjbValidation {
         private static final String PERSISTENCE_UNIT_NAME="PERFEJB";
         private EntityManagerFactory factory;
         @Before
         public void setUp() throws Exception {
              factory = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME);
              EntityManager em = factory.createEntityManager();
              em.getTransaction().begin();
              Query q = em.createQuery("select r from Request r");
              Calendar c = Calendar.getInstance();
              c.add(Calendar.DAY_OF_MONTH,5);
              Date dnow = c.getTime();
              String[] type= {"Databank","SQL File","Script","Scenario Recording","Other"};
              byte[] junitattachment  = (byte[])"abcdefghijklmnopqrstuvwxyz".getBytes();
              boolean createNewEntries = (q.getResultList().size()==0);
              if(createNewEntries){
                   assertTrue(q.getResultList().size() == 0);
                   Request request = new Request();
                   request.setRequestid(0);
                   request.setReqdescription("JUnit Testing record addition with JPA");
                   request.setReqjustification("Validate EclipseLink/WebLogic/EJB 3.0 setup for this project");
                   request.setProjectreference("Development Task Performance Analysis 1");
                   request.setReqresultdate(dnow);
                   request.setReqstatus(0);
                   em.persist(request);
                   int x=0;
                   for(int i=0; i<10;i++){
                        Attachment attachment = new Attachment();
                        attachment.setAttachmentid(i);
                        attachment.setAttachname("File"+i);
                        attachment.setAttachdate(c.getTime());
                        if(i==5){
                             x=0;
                        }else{
                             x++;
                        attachment.setAttachtype(type[x]);
                        attachment.setAttachuser("User"+i);
                        attachment.setAttachsize(String.valueOf(junitattachment.length));
                        attachment.setAttachfile(junitattachment);
                        em.persist(attachment);
                        request.getPerfAttachments().add(attachment);
                        em.persist(attachment);
                        em.persist(request);
                   em.getTransaction().commit();
                   em.close();
         @Test
         public void testFindAll() {
              EntityManager em = factory.createEntityManager();
              Query q = em.createQuery("select a from perf_attachment a");
              assertTrue(q.getResultList().size() == 10);
              em.close();
         @Test
         public void testSave() {
              EntityManager em = factory.createEntityManager();
              Query q = em.createQuery("select r from req_perf_header");
              assertTrue(q.getResultList().size() == 1);
              assertTrue(((Request) q.getResultList()).getPerfAttachments().size() ==10);
              em.close();
    }Finally the persistence.xml file being used is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0"
         xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
         <persistence-unit name="PERFEJB" transaction-type="JTA">
              <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
              <jta-data-source>jdbc/ORCLPERF</jta-data-source>
              <class>eJBgetSet.User</class>
              <class>eJBgetSet.Transaction</class>
              <class>eJBgetSet.Request</class>
              <class>eJBgetSet.PerfStatus</class>
              <class>eJBgetSet.Attachment</class>
              <class>eJBgetSet.Approver</class>
              <properties>
                   <property name="eclipselink.target-server" value="WebLogic_10" />
                   <property name="eclipselink.logging.level" value="FINEST" />
                   <property name="eclipselink.jdbc.driver" value="oracle.jdbc.OracleDriver" />
                   <property name="eclipselink.jdbc.platform"
                        value=" org.eclipse.persistence.platform.database.oracle.OraclePlatform " />
                   <property name="eclipselink.jdbc.url"
                        value="jdbc:oracle:thin:@localhost:1521:orcl11g:create=true" />
                   <property name="eclipselink.jdbc.user" value="<username>" />
                   <property name="eclipselink.jdbc.password" value="<password>" />
                   <property name="eclipselink.logging.level" value="ALL" />
                   <property name="eclipselink.logging.timestamp" value="true" />
                   <property name="eclipselink.logging.exceptions" value="true" />
                   <property name="eclipselink.logging.session" value="true" />
                   <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
                   <property name="eclipselink.ddl-generation.output-mode"
                        value="database" />
              </properties>
         </persistence-unit>
    </persistence>Any help would be much appreciated. Many Thanks

    You have it set to run on the WebLogic platform so it is looking up the TransactionManager from JNDI, but are running the test from within the EclipseIDE. Try deploying it to Weblogic and running it there, or change your persistence.xml settings so that it can connect/run outside the server.
    Best Regards,
    Chris

  • Local transaction types and Backend PO types

    We are using SRM 6.0 using Ext Classic. We are taking External requirements from R3 (purchase requisitions) and creating POs in SRM.
    Our problem is the following.
    We want to create four different document types of POs (ZPO, ZCS, ZIA, ZAD). The problem is that when we are creating the purchase order from the external reqt (through sourcing hub), we select the document type ZCS or ZIA or ZAD but SRM always creates ZPO locally and in R/3..
    Our question is: How can we create the PO according to the user's selection of transaction type and make sure that the correct PO type is created locally and in the backend. We have maintained all four transaction types in attribute BSA and also in R/3.
    Thanks!
    -Bakulesh

    Yes. DP_PROC_TY is meant for manual creation PO.
    and you can specify the doc types desired for the PO.
    Also please check that you have specified the internal no ranges for these doc types
    and they lie in the range of the external no range you will define in the back end PO no range interval
    and specify as external no range in ECC PO doc type.
    BR
    Dinesh

Maybe you are looking for

  • Middle mouse button in FF 4.0, Linux, does not open new url from clipboard

    In new version FF 4.0 on Linux, middle mouse button doesn't open url (which is copy from clipboard in Linux style) without http:// prefix. It open url in format "http://www.mozilla.com" but doesn't open "www.mozilla.com". It works properly in previou

  • Why can't I copy, paste or save as text?

    I use a Mac v. 10.6.7 and Adobe reader v. 9.4.4. In my job, I get sent a variety of documents in Adobe. Sometimes I can copy and paste text and sometimes I can't. What is the secret that will allow me to quickly and reliably copy and paste text from

  • Zero Session and bet_blob_file_src error

    My application has several public pages that include links to PDF files stored in my database. The links are generated by a call to APEX_UTIL.GET_BLOB_FILE_SRC, which is wrapped by APEX_UTIL.PREPARE_URL. I am using the 0 session ID for these public p

  • XML Transformation help required

    Hi, I want to read the contents of XML file, so i want to use Transformation. I require your help in getting that. XML File contents - <SOAP_FAULT> - <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/add

  • In inspection lot..task list does not fetch

    Hi QM Guru.. when i do UD for fish material. with QA32....in QA32 showing inspection lot no..but when i select line item of inspection lot and click on inspection lot..one window open..when i go inspection specification for task list..when i  click o