EBS MT940 Ext Transaction Problem

Dear Gurus,
I have completed all config for MT940 upload and small sample statement worked fine but today testing with real EBS from bank found a typical issue.
For the EBS SAP is reading Ext transaction from the :86: line.
For Example:
:20:20081110
:25:126367007
:28:89
:60F:C081008THB137,14
:61:0810141014CB10,NCMZNONREF//0000300382
:86:/PT/DE/EI//BRC/0140014
:62F:C081008THB147,14
:86: item SAP gives msg as /PT ext transaction not defined in table.................
Ext tran are taken from :61:line why its taking from 86  I am confused::
But surprising is that in case of small test statement with little line items it was not happening.Is there anything to do do with the file (notepad)properties ?Please suugest.
Regards
Raju

Hi,
:61: contains only the transaction details and not the external transaction.  The external transaction also called the Business Code is always taken from the first three characters of the :86: line.  The :61: only contains the following:
mandatory:
<CR><LF>:61:                      Transaction line
Value-date                             exactly 6 characters numeric in the format YYMMDD
optional:
Booking date                         exactly 4 characters numeric
mandatory:
Debit/credit mark                  1 to 2 characters
                                            C         =   Credit
                                            RC      =   Reversal credit
                                            D         =   Debit
                                            RD      =   Reversal debit
optional:
Currency type                        1 Characters alphanumeric
mandatory:
Amount                                 1 to 15 characters numeric
                                               amount with , (comma) as decimal point
Booking code .                      exactly 4 characters alphanumeric
                                            codes according to Swift, 1. character always N
Reference                              1 to 16 Characters alphanum.
Customer reference; if not present, replaced by NONREF
//                                              Delimiter; only if field "Bank reference" present
Cont. :61:
You need to map the external transaction in the node Make Global Settings for Electronic Bank Statement in the Bank Accounting IMG.
In there, you have an option to assign external transaction types to your posting rules.  This decides how an external transaction, identified by this mapping, is to be posted, whether to the bank account or subledger account etc etc.  So you need to assign /PT here to a posting rule.
Cheers.

Similar Messages

  • EBS MT940 with BAI Codes

    Dear Gurus,
    I am aware of basic EBS configuration.Now I have to configure for EBS in MT940 format with BAI codes.
    Now I donot know whay in the Ext transaction for this that is when there is BAI code attached in MT940 format..Pls find sample code I took from Stanchart bank.
    My question is what in the EXT tran for above code.
    What selection I should select in FF_5 during upload in the field bank statement format.
    Regards
    Raju

    Hi Raju,
    External transaction code (also known and business transaction codes) list is generally provided by the bank which you need to customize in SPRO to create the internal / system generated transaction codes. In line number starting with 61 you can find the external transaction code - :61:0902020202DB150,00N451TRF // in this line N451 is the external transaction code.
    In FF_5 you should select "S / I" in the field Elect. bank statement format
    Hope this will help
    Thanks
    Neeraj

  • A Major Transaction Problem!

    "A" is a record which has already been inserted into a table(TBL).
    "insert(Y)" is a method that inserts a given record -Y- into TBL.
    "foo(X)" is a method that takes a record as a parameter and queries it on a view(VIEW). This view is a
    huge select statement that selects from TBL.
    Here is the problem:
    insert(B);
    foo( A ); /* returns true */
    but
    insert(B); /* B does not exist in TBL */
    foo(B); /* returns false and catches an exception that "A" is not found! */
    insert(Y) method is a CMP EJB method but foo(X) uses JDBC to access DBMS.
    so what can cause this transaction problem?
    thanks in advance,
    -selcuk

    Hi,
    Maybe foo is running in a different transaction than insert?
    Some possible causes:
    -you are starting a new transaction for foo, either via the UserTransaction or via REQUIRES_NEW
    -you are using a regular JDBC driver for foo instead of an XADataSource.
    Did you try to set foo's transaction attribute to REQUIRED?
    Best,
    Guy
    http://www.atomikos.com

  • Transaction problems

    If anyone can help point me in the right direction of what I should be looking for in my configuration files for the following transaction problem. It looks like the delete is being committed one entity at a time instead of at the ened of the transaction.
    I'm using OC4J, eclipselink and Spring.
    I have two entities that I am trying to delete. They have a OneToOne relationship which in the underlying database (Oracle) has a deferred foreign key integrity constraint. I believe that this means that if the intities are delted in the same transaction everything should work, but if they are deleted in seperate transactions then the constraint should kick in and disallow the delete. I am using code similar to below to attempt to delete in one transaction. I am using Spring to inject an EntityManager and to control the transaction handling.
    @Transactional(readOnly=true)
    public class ProductServiceImpl implements ProductService{ 
      @PersistenceContext(type = PersistenceContextType.TRANSACTION)
      private EntityManager emp;
      @Transactional(readOnly=false, propagation=Propagation.REQUIRES_NEW)
      public void deleteProduct(Product prod){
          Object managedEntity = em.find(product.getClass(), prod.getId);
          em.remove(managedEntity);
    }Spring configuration xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:jee="http://www.springframework.org/schema/jee"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xsi:schemaLocation="
            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
            http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
            http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
      <jee:jndi-lookup id="myEmf" jndi-name="persistence/JPA"/>
      <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
      <bean id="txManager" class="org.springframework.orm.jpa.JpaTransactionManager">
        <property name="entityManagerFactory" ref="myEmf"/>
      </bean>
      <tx:annotation-driven transaction-manager="txManager"/>
      <bean id="ProductService" class="ProductServiceImpl"/>
    </beans>On calling the delete I get the following error message
    org.springframework.transaction.TransactionSystemException -
        Could not commit JPA transaction; nested exception is
        javax.persistence.RollbackException: Exception [EclipseLink-4002]
            (Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080508)):
        org.eclipse.persistence.exceptions.DatabaseException Internal Exception:
        java.sql.SQLException: ORA-02091: transaction rolled back ORA-02292:
        integrity constraint (RVEL_FK) violated - child record found Error Code: 2091 Call:
        DELETE FROM RVEL_REVENUE_ELEMENT WHERE (ID = ?) bind => [6594]
        Query: DeleteObjectQuery(RevenueElement@1eafdce)I have also tried doing all this programatically, using a jndi lookup as follows
    EntityManager em = null;
    try{
      Context ctxt = new InitialContext();
      emf = (EntityManagerFactory)ctxt.lookup("jpaTest/ServerJPA");
      em = emf.createEntityManager();
      EntityTransaction et = em.getTransaction();
      try{
        et.begin();
        em.remove(managedEntity);
        et.commit();
      } finally{
        if(et != null && et.isActive()){
          et.rollback();
    } catch(NamingException nme) {
    } finally{
      if(em != null && em.isOpen()){
        em.close();
    } When debugging the error is thrown on the line
    em.remove(managedEntity);before the transaction commit is called.

    Thanks for the reply.
    The managed entity being deleted in the call to the delete method has one to many relationship with one of the entities in the one to one relationship which then has a reference to the second entity. These references are annotated with cascade ALL.
    A --> B --> C. The error is referring to entity C and its relationship back to B. The error is being thrown before the transaction is being committed.
    After doing a bit more research I believe that it is caused by the lack of the following property in my persistence.xml.
    <property name="eclipselink.target-server" value="OC4J_10_1_3"/>But if I put this property in then I get the errorException creating EntityManagerFactory using PersistenceProvider class org.eclipse.persistence.jpa.PersistenceProvider for persistence unit ServerJPA.

  • EBS - Problem with ext transaction

    Hi Gurus,
    I have thh following error, appreciate if you can advice...
    Error: system recognize external transaction as DBS rather than NCHK, how to force the system to recognise as NCHK?
    :61:1009220922C100920,27NCHK170817//NONREF         
    :86:DBS BANK                                                        
    CHQ170817                                                       
    CHEQUE DEPOSIT                                                  
    Regards
    CL

    Hi!
    I'm using a third party enclosure.
    The drive is formatted in MAC OS Extended(Journaled) format.
    I actually formatted the disk using the zero option in disk utility. What confounds me is the fact that there was no dismounting problem throughout the entire formatting process. However, once i want to transfer data from or to it, the problems occur.

  • File Ext Openning problem!

    I have searched all over my mac high and low and can not figure out out to make the default file ext. open in the correct program example .doc, .eps, .psd, .pdf, .indd I can only right click and have it open in program if I double click all files open in preview. This problem occurred after I installed snow leopard, please help me

    Select a file, choose File -> Get Info, set the app you want in the Open With pop-up and click the Change All button.

  • Error while uploading EBS (MT940) with FF_5

    Hi Experts,
    I have maintained below configuration for EBS:
    Account symbol creation.
    Account determination for account Symbol.
    Posting rules creation.
    Assigned the Account symbols to posting rules.
    Transaction type.
    Assigned external transaction type to transaction.
    Assigned to bank account to transaction type.
    I tried to upload the EBS using FF_5 but getting below Error:
    USD 10000,00MIT is not a valid amount
    Message no. FV117
    I am using below file (notepad) to upload:
    :20:20140617
    :25:2005928
    :28C:01
    :60F:C140617USD0,00
    :61:1406170617C10000,00 MITS3000000//
    :86:testing
    :62F:c140617USD10000,00
    Please give your expert advice:
    Thanks & Regards,
    Sudhir Harale

    Hi Atul,
    Thanks for reply.
    I checked in SU03 and decimal setting is correct.
    In the meantime, I assigned the GL account's to account symbol (standard Symbols - BANK and GELDEINGANG) and assigned the same in posting rule 0001, assigned the posting rule to exiting standard transaction type (FCHI). I tried to upload the file and observed that “Cheque In” transaction is created and got cleared.
    But as per requirement I have to create new posting rule and external transaction types.
    Request your help in the above issue.
    Thanks in advance.
    Regards,
    Sudhir Harale

  • Stored procedure in a transaction problem

    hello to everybody
    I have an application under weblogic8.1 sp3.
    I have to call an Oracle stored procedure that populate a table and I have to see the new record anly at the end of the ejb service transaction ( a Container transaction ).When the procedure terminate I see the db data before the transaction end.So I have created a XA DataSource and changed the oracle 9.2 thin drivers in oracle 9.2 thin drivers XA.But Now I receive this Oracle Error:
    ORA-02089: COMMIT is not allowed in a subordinate session
    Why?How Can I resolve my problem?Can Anyone Help Me?Thanks...

    giorgio giustiniani wrote:
    hello to everybody
    I have an application under weblogic8.1 sp3.
    I have to call an Oracle stored procedure that populate a table and I have to see the new record anly at the end of the ejb service transaction ( a Container transaction ).When the procedure terminate I see the db data before the transaction end.So I have created a XA DataSource and changed the oracle 9.2 thin drivers in oracle 9.2 thin drivers XA.But Now I receive this Oracle Error:
    ORA-02089: COMMIT is not allowed in a subordinate session
    Why?How Can I resolve my problem?Can Anyone Help Me?Thanks...It sounds like you have transactional syntax embedded in your
    procedure. You can't do that and still include it in an XA
    transaction.
    Joe

  • How to prevent users from creating transactional problems?

    Dear Sirs...
    Using JDeveloper 10.1.2 and ADF UIX technology. If i created a web application that contains many pages. Assume the application contains pages A,B,C,D.
    The end user should access the pages A then B then C then D to get the transaction executed and commited correctly.
    the problem is:
    1- if a user navigates from A to B to C then he press the Back button to A then he commits the transaction, the data would be stored in correctly.
    2- if page C requires some preparations in page B (initalization of session variables) and the user enters page A then he changes the URL to C, then this would cause inproper execution of application and so the data would be stored incorrectly.
    so how can i prevent the user from pressing the back button of the browser (which i do not think is possible) or how can i prevent him from making any errors by inproper page navigation?
    thanks for any help in advance and best regards

    I really don't know if this is the correct way of doing it, but we prevent navigation directly to any page within our application if the HTTP Referer header is null. If it's null, we redirect to a page that says the user should use the navigation buttons provided and not enter the page via bookmarks, history, or direct navigation via a typed in URL.

  • Add a New Field to Selection Screen of VL10 Transactions problem

    Hello,
    i have tried to add a selection field in the VL10G. I have used the docu from Gaurav Jagya (Thanks to Gaurav) an followed the steps. Here you can find the docu: Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07c282f-e2b4-2c10-e4b3-a314fc17b6a1]
    In the Step 2 , Point 4 i declare the Select option ST_MTART and use it later in Step 5  in the form USEREXIT_SELECT_OPTIONS_TRANSF.
    Step 2.
    4. Write the declaration of new select-option inside include ZV50RSEL_MTART.
    DATA: V_MTART TYPE MARA-MTART.
    SELECT-OPTIONS: ST_MTART for V_MTART.
    Step 5. Transfer values from selection screen to range.
    For this step, again an access key is required to modify include V50R_USEREXIT_TRANSF.
    1. Open include V50R_USEREXIT_TRANSF in change mode. It will ask for an access key. Enter the same and proceed.
    2. Write following line of code inside form USEREXIT_SELECT_OPTIONS_TRANSF:
    CX_SELECT_OPTIONS-MTART = ST_MTART[].
    When i start the VL10G it works fine, but when i start another VL10* transaction i get a dump. Example VL10:
    Runtime Errors         SYNTAX_ERROR
    Date and Time          20.04.2010 13:54:00
    Short text
         Syntax error in program "RVV50R10C ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLV50R_PRE" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         The following syntax error occurred in program "RVV50R10C " in include
          "V50R_USEREXIT_TRANSF " in
         line 18:
         "field "ST_MTART unknown. .."
    It dumped, because the form V50R_USEREXIT_TRANSF is used in EVERY VL10* transaction and the select-option is declared ONLY in my Z-include.
    Is the someone out there, who has solved the problem? Is the an error in the docu or am i wrong?
    Thanks!
    Andreas

    Has there been any further information on this issue in this or any other threads. I am encountering the same issue as identified by Andreas.
    Thanks,
    Brian

  • Transaction problem in ejb

    Hi
    I have a problem related to CMP entity beans.
    I am using Oracle 9i and weblogic 6.1
    Here is the description of the problem.
    The transaction attribute of all the beans is set to 'Required'.
    I have a PersonBean (CMP) in Person.jar mapping to Person table along with other
    beans.
    I have a MemberBean(CMP) in Member.jar file mapping to Member table along with
    many other beans.
    There is a one to many relation ship between person and member tables in Oracle
    9i database :
    Id in the person table is the P_Key and Person_Id in Member table is the related
    foreign key.
    No relationship was made between Person and Member beans as there were in two
    different jar files with different deployment descriptors.
    I have a stateless session bean PersonService bean.
    There is a method in PersonService bean called createPerson(String name);
    This method creates Person in the database using Person p = PersonHome.create(),
    long personId = p.getId()..returns the primary key of the person.
    PersonService calls createMember(long personId) now.
    which will try to create a Member record in the database using the personId.
    Now the Member bean fails to create and the transaction is rolled back with a
    foreign_key violation exception.
    because it cannot locate the Person EJB Primary key entry in the underlying table.
    But the EJB cache is still inserted properly with Person EJB (findByPrimaryKey
    works).
    I feel that Member bean is not able to participate in the same transaction of
    the Person bean inspite of keeping the transaction attribute to 'Required'.
    When I keep the transaction of Person bean to 'RequiresNew', then the transation
    of createPerson is getting committed and Member is starting a New transaction
    and it gets created.
    But I donot want like this.
    I want all the beans to be participating in the same transaction.
    According to Oracle / Weblogic documentation the default database isolation mode
    Read_Committed should allow participants in transaction to see uncommitted data
    while participants outside the transaction see only committed data. I have tried
    other dataabase isolation modes (such as Read_Uncommitted, "Serializable") these
    appear to either create other problems or not have an affect.
    Any solution to this problem is highly appreciated.
    Thanks
    Lavanya

    Previously our code was running on Weblogic where
    methodA() -> Transaction Attribute -> Supports
    methodB() -> Transaction Attribute -> Required
    But in JBOSS in order to run the same thing we have to do
    methodA() -> Transaction Attribute -> Required
    methodB() -> Transaction Attribute -> Required
    Any Pointers??

  • Transaction problem with jconn5.2

    jconn5.2 and iASsp2
    I am using Bean Managed Transaction in my application, start the first
    transaction is fine, but once the application going to start another
    transaction, errors occoured:
    "the transaction onwer is not in current thread".

    Hi,
    I've had the very same problem with RAD.
    Try to set the Transaction attribute to SUPPORTS. With SUPPORTS the EJB method will use the same transaction as the caller.
    package hu.bme.ett.raktar.facade;
    import hu.bme.ett.raktar.ejbs.Raktar;
    import hu.bme.ett.raktar.ejbs.controller.RaktarManager;
    import javax.ejb.Stateless;
    import javax.ejb.TransactionAttribute;
    import javax.ejb.TransactionAttributeType;
    @Stateless
    @TransactionAttribute(TransactionAttributeType.SUPPORTS)
    public class RaktarListazas implements RaktarListazasLocal {
         RaktarManager rm = new RaktarManager();
         * Default constructor.
        public RaktarListazas() {
            // TODO Auto-generated constructor stub
        public Raktar getRaktar(long raktId) {
             return rm.findRaktarByRaktId(raktId);
        public void createRaktar(long raktId) {
             Raktar r = new Raktar();
             r.setRaktId(raktId);
             r.setRaktAzonosito("Y1RAK-01" + raktId);
             r.setMegnevezes("Elso raktaram");
             try {
                   rm.createRaktar(r);
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Cheers,
    Viktor

  • EBS BAI2 file - Transaction 475, check clearing - extra character appending

    Hello experts,
    We are using Algorithm 13 for processing checks which are processed using the transactin 475 on the incoming bank file.
    In the BAI2 file format, the check numer is contained in record 16 in the following format-
    16,475,58740,0,9180914733,67689/
    88,CHECK NO=0000000067689
    The problem that we are having is - if the EBS program is run as a automated batch job then SAP is appending the '/'  (that appears at the end of the line in record 16) in the check number that it uses to match the documents for clearing. Therefore in the above example, our SAP system is trying to find the check number '67689/' in the check lots to match against the payment document. However our check numbers are just 67689 therefore SAP is not able to find a match and posts the document in 'On Account' state.
    But if the same file is run manually in the Workstation upload mode, then there is no extra '/' appearing in the check number and SAP correctly clears the Cash Clearing account. I know there is nothing wrong in the file sent to us by the bank. Plus running it manually does not cause this issue.
    Has anyone else faced this problem before and if you can suggest on what possibly could be going wrong then it would be a great help for me.
    Thanks!

    I understand wanting to find the issue - not just apply a band aid.  And I understand the frustration of not being able to recreate an issue in a test system.  But at least a search string is only configuration and not ABAP code in a user exit....  And if it works, it will relieve your users from clearing the checks manually.
    If you do go with a search string, you should be able to isolate the last 5 digits by only mapping those.  For example, you'd set the search string to: 
    CHECK NO=00000000#####
    Then in the mapping, blank out all values except for the 5 # symbols - so the mapping would be 17 blank spaces followed by 5 #'s.  I've been able to successfully extract reference numbers for ACH deposit clearings this way - I don't see why it wouldn't also work in your situation with check numbers.
    Regards,
    Shannon

  • Regarding Bank stmt upload using mt940 format transaction ff_5

    Hi Experts,
    Please help me in the mt940 upload using transaction ff_5.
    i am getting all the items except cheque number.
    please help me how i can get the cheque number in the output of the report.
    where the cheque number i should pass in mt940 formt.

    Hi ,
    Check SAPnote 13283. This has information on
    Multicash
    SWIFT MT940
    DTAUS
    BAZ
    MAOBE
    SAP.TXT and SAPKURZ.TXT
    Also you can see the link  http://www.swedbank.lv/lib/en/SWIFT_MT_940_formata_apraksts_ENG.doc
    for the detailed description of SWIFT MT940 File.
    Hope it helps
    SJ

  • DB Transaction problem in 9.0.2i

    The problem is in Oracle 9iAS version 9.0.2.
    Windows 2000
    Oracle 8.1.7i R3 DB
    When I shutdown (manualy) the server in the midle of some DB transaction, some of data are commited in the database. Everything is OK when the my application throws some Exception in the midle of transactin, no data are commited in the DB (DB rollback the transaction).
    So, the server that is manualy stoped commit started transaction no matter that transaction is not finished yet.
    This problem consist in both EntityEjb updating and JDBC updating DB.
    Thanks in advance
    Dusan Petrovic

    9.0.2.0.1 is certified with XP Pro only (not Home edition), if you check on Metalink.

Maybe you are looking for

  • Error when trying to create printed documentation in RH 7

    Hello, I've created a WebHelp project in RH 7 that I'm trying to make a PDF for, as well. An error always appears when trying to generate printed documentation, even if only the PDF option or the Word option is selected. RH 7 processes and builds eac

  • How to display String/text in a JFrame ?

    Hi, I set up a simple browser and pinging a server (say localhost). Then under that server directory, I am looking for a file. Then, I use input or output stream to bounce the text back to browser to display out on the screen. It was successful. But,

  • AirPlay video streaming problem

    Hi, Whenever I stream a video to Apple TV from either an iPad or iPhone (via AirPlay) the picture is slightly zoomed in on my television. This problem seems to occur on all video apps, e.g. YouTube etc., and I have experienced it on both the 720p and

  • Update Supplier details on iSupplier Portal - Impact on existing  Purchasing Documents

    I would like to understand the impact of updating Supplier details on iSupplier Portal on the existing Purchasing documents like POs, BPAs.

  • Problems w/epson expression XL scanner

    we recently bought the above scanner in order to archive fine art silver gelatin prints.  We have been scanning or rather trying to scan at 600 dpi, 16 bit gray scale with medium level dust removal saving as TIFs.  We managed to do about 60 scans bef