Local onde é gerado o XML, R/3 ou PI ou Mensageria ?

Bom dia pessoal,
Estou lutando para entender onde é gerado o XML quando usa-se o R/3 e o GRC e caso optemos por usar sistema de mensageria externo, o XML é gerado no R/3 ou fora do R/3 para envio ao legado de mensageria ?
Quais funções são usadas no R/3 para gerar o XML , além da BADI ?
grato,
Alessandro

Bom dia Carlos,
se vc for usar um que precise de um arquivo XML, sugiro que vc customize a BADI CL_NFE_PRINT para que ao inves de enviar ao GRC ele gere um arquivo com os dados que vc necessite que não necessariamente precisa ser no ofrmato XML, a vantagem de usar XML é que os dados ficam mais organizado ao inves de virar uma tripa de caracteres com varias linhas por exemplo.
Você pode até fazer funcionar por aí mas não é o ponto de disparo.
O ERP irá sempre chamar a J_1B_NFE_XML_OUT que é uma casca e recebe todos os dados, iguais ao que o GRC recebe.
Este é o ponto correto.
Se esta mensageria de terceiro basear-se no PI, então basta importar a RFC J_1B_NFE_XML_OUT no PI daí todos os dados estarão disponiveis automaticamente.
Em não sendo possível fazer a ligação, o consultor tem a opção de fazer um enhancement implicito nesta função no ERP, fazendo a ponte dos dados conforme você comentou (gravar em arquivo, por exemplo).
Atenciosamente, Fernando Da Rós
PS: Alessandro, apesar do nome esta função não gera, nem passa XML... ele recebe dados e seria onde na mensageria o XML tem a chance de gerar o XML.

Similar Messages

  • Local data storage with XML vs SQLLite

    Short version:
    I have a mobile app that gathers and stores a large amount of data. The current XML solution (all in one file) is having performance issues as the volume of data increases beyond a certain point.
    Can I be confident that using SQLLite and a local database will be a better option and improve performance?
    Long version:
    I have built a mobile app that is used by my client to collect data.
    When we started the project the amount of data was relatively small. Given that, and given the past experiences of my team, we chose to use an XML file to store the collected data. When the app starts it loads the whole xml file into a set of data objects in memory for use by the app. The data is not loaded again for as long as the app stays running. We then run a routine whenever the app wants to save to the HD that converts all of the data back into XML.
    The data is split into 'projects' and each project naturally has its own xml node. To improve performance when saving, each instance of the Project class stores its loaded node string. Then, when the save routine is called, if the classes data has not been changed it simply returns the original string instead of going through the whole process of re-compiling it.
    Of course this does not change the fact that whenever a save is performed, the whole xml structure must be saved back to the file on the HD.
    The app has now been used in anger for quite some time and we are starting to get reports of performance issues. The main culprit is during loading which only happens once but can apparently now take an exeptionally long time and causes problems during startup to the point where users think it has crashed.
    I am now tasked with trying to improve the data storage for the app. My original reaction was to try breaking down the xml into multiple files which can then we loaded and saved when needed instead of handling everything all at once. I am worried though about the implications of the app trying to handle in excess of 2000 xml files in some cases. It may not be an issue at all but it just stands out to me as something to be concerned about.
    So the best other option that I am aware of is to use SQLLite to save all the data into a local database. I have very little personal experience with sql and databases though so while a lot of the documentation and blog posts I see seem to suggest that this is the way to go for mobile apps with a large amount of data, I cannot be quite certain. The big issue is that I cannot afford to sell the idea of such a radical change (and more importantly the time it would take to implement it) to my client without being quite sure that this will be a valid solution to the problem.
    So my question to you, Flex community, is would you continue to use XML or is SQLLite the better way to go for large amounts of data? Do you think that I would see an improvement by using SQLLite? Additionally, do you have any tips or experience with a similar situation that might be helpful to me?
    Thank you
    Jamie

    I've been very happy using the internal SQLite database with Flex.  You should definitely get much better performance from it.  Just being able to load your data asynchronously if nothing else you should get a great benefit.  The sheer amount of data in your XML file that is being passed around is probably quite a hit (especially on mobile).  Breaking up the XML shouldn't be too crazy to do (as you're already doing it somewhat, I'd imagine, when you're accessing the information from within your app).  Give switching to SQLite a try, but I'd say that's a great place to start.

  • Reading in a File Locally and outputting to XML

    Hello all,
    I want to read in a local file and output it to a JDOM document. Can anyone provide assistance.
    Thanks!

    What have you tried?
    Also, check these out:
    http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-jdom.html
    http://www.javaworld.com/javaworld/jw-07-2000/jw-0728-jdom2.html

  • Populate Local XML File, and Loop through it

    I created a local property of type XML.   I want to populate this variable with the results of a SQL query, and store it in local memory.  Then later, I will loop through this file and perform actions.   Basically I am going to have to loop through this resultset many times, and if I can store it in memory, I won't have to re-qurey the DB>
    #1 Is this possible? 
    Right now, I use a repeater on the SQL, and assign the rowset/rowset/row to the local XML Variable.(Assign XML). SHould I use Assign XML, or APpend XML for the Link Type
    THen later I am trying a repeater to loop through the flle, and I have no idea where to point the xpath expression to.
    Thanks for the help in advance,
    JEff

    From what I understand you are trying to do - Rather than repeating on the SQL query you can link the "Result" of the SQL Query action to the local property (type xml) [and yes you just say Assign XML instead of Append or anything else].
    What this would do is assign the local variable the results of the SQL Query in an xMII XML format and then you can further work on this XML.
    But rather than using the local variable you can repeat on the SQL Query Action (the way you are doing currently) and manipulate what ever you want to. There is no question of requerying the DB as ur DB would be queried only one time (the SQL Query Action Block will ensure this) and then the repeater would be repeating only on the resulset rendered by the SQL Query action.
    Did this make it clearer or have I not understood your  problem?

  • XML Publisher report not printing German character ü properly

    Hi
    We have a BI PU Report which gets the XML from the 10g report.
    When I run the report in Oracle Apps, the XML generated by the report has the correct name, but the pdf output doesnot show the correct name on it.
    Name (in XML file): *<FSE_NAME>Kühn, Thomas</FSE_NAME>*
    Name printed on pdf output: Kühn, Thomas
    This issue doesnot occur when I run the report on the local system using the xml file and rtf template.
    Please let me know if anyone has any idea about this issue. Attached is the xml file, rtf template and the pdf output.
    Thanks & regards,
    Anoop

    Hi,
    Please find below sql which will find the special characters in column of table,
    SET serveroutput ON size 1000000
    DECLARE
    PROCEDURE gooey (v_table VARCHAR2, v_column VARCHAR2)
    IS
    TYPE t_id IS TABLE OF NUMBER;
    TYPE t_dump IS TABLE OF VARCHAR2 (20000);
    TYPE t_data IS TABLE OF VARCHAR2 (20000);
    l_id t_id;
    l_data t_data;
    l_dump t_dump;
    CURSOR a
    IS
    SELECT DISTINCT column_name
    FROM dba_tab_columns
    WHERE table_name = v_table
    AND data_type = 'VARCHAR2'
    AND column_name NOT IN ('CUSTOMER_KEY', 'ADDRESS_KEY');
    BEGIN
    FOR x IN a
    LOOP
    l_id := NULL;
    l_data := NULL;
    l_dump := NULL;
    EXECUTE IMMEDIATE 'SELECT '
    || v_column
    || ', '
    || x.column_name
    || ', '
    || 'dump('
    || x.column_name
    || ')'
    || ' FROM '
    || v_table
    || ' WHERE RTRIM((LTRIM(REPLACE(TRANSLATE('
    || x.column_name
    || ',''ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+
    -=,!\`~{}./?:";''''[ ]'',''A''), ''A'', '''')))) IS NOT NULL'
    BULK COLLECT INTO l_id, l_data, l_dump;
    IF l_id IS NOT NULL
    THEN
    FOR k IN 1 .. l_id.COUNT
    LOOP
    DBMS_OUTPUT.put_line ( v_table
    || ' - '
    || x.column_name
    || ' - '
    || TO_CHAR (l_id (k), '999999999999')
    DBMS_OUTPUT.put_line (l_data (k));
    DBMS_OUTPUT.put_line (l_dump (k));
    DBMS_OUTPUT.put_line ('*********************');
    END LOOP;
    END IF;
    END LOOP;
    END gooey;
    BEGIN
    gooey ('GL_ALLOC_BATCHES', 'DESCRIPTION');
    END;
    Thanks,
    Amogh

  • Unable to open local file using af:goLink and anchor link in JSF page.

    Hi,
    I want to open a file at a perticular location on client machine. I am using af:goLink to openg the file. But when i tried to click on the link it is not opening the file. If i give any other value like name of other site, it opens the link. It is not giving any exception also. I tried by puting notmal HTML anchor link. That is also not working. But if i put this anchor link in normal HTML page, it works.
    Following is the JSPX page that i have created. Here c:\dmmsi.log is a temp file on my local system.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document title="File Upload">
    <af:form usesUpload="true">
    File Uploader Test
    <af:inputFile label="Input File" autoSubmit="true"/>
    <af:spacer height="20" width="50"/>
    <af:goLink targetFrame="_new" destination="file:///c:/dmmsi.log" text="Test"/>
    <af:spacer height="20" width="50"/>
    <!--a id="you" href="c:\dmmsi.log" target="_new">Open File</a-->
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    HTML Page i tried using anchor link
    <html>
    <body>
    <form>
    Please specify a file from your local machine</b>
    <input name="file" type="file" onblur="document.forms[0].hello.value = document.forms[0].file.value; document.getElementById('you').innerHTML =document.forms[0].file.value; document.getElementById('you').href = 'file://'+document.forms[0].file.value;">
    <br><br>
    <input type="text" name="hello" value="">
    <br><br>
    <!-- a id="you" href="c:\dmmsi.log" target="_new">Click Me to Open file< / a -->
    </form>
    </body>
    </html>
    (Note: Please remove the comments that i have added in creating anchor link. I was facing some issue in putting my code in this editor. It was creating the HTML link when i see the preview.)
    I hope you will be able to reproduce my problem.
    Sujay

    What version of IE are you using? IIRC, IE 7 is supposed to prompt you. ("The web site is attempting to open a page in your Trusted Zone. This can let hax0rs pwnz0r you. Continue?" or something to that effect.)
    If you use the verbatim tags, do you get an actual error message? That might help diagnose the problem.

  • How can i change a xmltype column's xml schema?

    i create a table that have a xmltype column.this column is schema-based.
    my problem is ,
    now i want to this column's schema will be redefined to a global schema?
    [b]how can i change the column's schema which already have a schema?

    When a schema is registered a lot of additonal annotations are added to the XML schema by the schema registration process - Look at the version of the XML schema under /sys/schemas/... in the XML DB repository. This information is unqiue to that version of the XML schema and is used internally to manage instance level metadata.
    When instance documents are stored in the DB a set of metadata is generated for each document so that we can make sure that we can maintain DOM Fidelity. This metadata is tied directly to the XML schema the document is associated and is only valid in the context of that XML Schema.
    So when the schema is registered locally and instances are stored the generated metadata is only valid in the context of the local schema. If the same schema is now registered globally new values will be generated for the annotations applied to the global version of the XML schema. Consequently the metadata associated with a document belonging to the local version of the XML schema has no meaning when viewed in the context of the global version of the XML schema.
    The net effect of this is that you will need to copy the data in order to get documents where the metadata for each document is based on the global version of the XML SChema.

  • EJB 3.0 Session bean local interface NullPointerException

    I am trying a very simple test of a Stateless EJB 3.0 bean called from a servlet.
    The bean has a local interface, annotated with @Local. The bean implements that interface and is annotated with @Stateless.
    I have a servlet with a variable of the local interface type, annotated with @EJB. The servlet's doGet method invokes the bean's one method using that interface and it works fine.
    BUT if I put the same variable, annotated with @EJB into another class in the web container, it is not injected correctly and I get a NullPointerException on the variable. This class is in WEB-INF/classes with the servlet class, so I assume it is loaded by the same classloader.
    I don't understand why the servlet can instantiate the EJB local interface successfully but another class in the web container can't. I get the same result in OC4J standalone 10.1.3.1 and 10.1.3.3.

    Only managed classes like servlets, filters etc. will have context and EJB references injected into them, and only with servlet version 2.5. A work colleague found the answer in Debu Panda's blog:
    http://debupanda.blogspot.com/2006_10_01_archive.html#116184543992078773
    This behaviour appears to be part of the EJB 3.0 standard.
    The solution is to use JNDI lookup in the client class (POJO) and declare an ejb-local-ref in web.xml.

  • Import xml file from server to itab

    Hi all,
    I have a little issue loading data from xml file in server into my itab.
    With my file in local (C:\example\example.xml) works fine, but if try this with the same file in the server (e:\example\example.xml) dont work. This is my code resume.
    TYPES: BEGIN OF TY_TAB,
    NAME TYPE STRING,
    VALUE TYPE STRING,
    END OF TY_TAB.
    DATA: ITAB TYPE STANDARD TABLE OF TY_TAB,
    WA TYPE TY_TAB.
    * Nombre del fichero
    DATA: NOMBREFICHEROXML LIKE IBIPPARMS-PATH,
    * data XML
    DATA: LCL_XML_DOC TYPE REF TO CL_XML_DOCUMENT,
    V_SUBRC TYPE SYSUBRC,
    V_NODE TYPE REF TO IF_IXML_NODE,
    V_CHILD_NODE TYPE REF TO IF_IXML_NODE,
    V_ROOT TYPE REF TO IF_IXML_NODE,
    V_ITERATOR TYPE REF TO IF_IXML_NODE_ITERATOR,
    V_NODEMAP TYPE REF TO IF_IXML_NAMED_NODE_MAP,
    V_COUNT TYPE I,
    V_INDEX TYPE I,
    V_ATTR TYPE REF TO IF_IXML_NODE,
    V_NAME TYPE STRING,
    V_PREFIX TYPE STRING,
    V_VALUE TYPE STRING,
    V_CHAR TYPE CHAR2.
    NOMBREFICHEROXML = 'E:\example\example.xml'.
    CREATE OBJECT LCL_XML_DOC.
    CALL METHOD LCL_XML_DOC->IMPORT_FROM_FILE
    EXPORTING
    FILENAME = NOMBREFICHEROXML
    RECEIVING
    RETCODE = V_SUBRC.
    IF V_SUBRC EQ '0'.
    V_NODE = LCL_XML_DOC->M_DOCUMENT.
    CHECK NOT V_NODE IS INITIAL.
    V_ITERATOR = V_NODE->CREATE_ITERATOR( ).
    V_NODE = V_ITERATOR->GET_NEXT( ).
    WHILE NOT V_NODE IS INITIAL.
    CASE V_NODE->GET_TYPE( ).
    WHEN IF_IXML_NODE=>CO_NODE_ELEMENT.
    V_NAME = V_NODE->GET_NAME( ).
    WHEN IF_IXML_NODE=>CO_NODE_TEXT OR
    IF_IXML_NODE=>CO_NODE_CDATA_SECTION.
    *text node
    V_VALUE = V_NODE->GET_VALUE( ).
    MOVE V_VALUE TO V_CHAR.
    IF V_CHAR <> CL_ABAP_CHAR_UTILITIES=>CR_LF.
    WA-NAME = V_NAME.
    WA-VALUE = V_VALUE.
    APPEND WA TO ITAB.
    CLEAR WA.
    ENDIF.
    ENDCASE.
    *advance to next node
    V_NODE = V_ITERATOR->GET_NEXT( ).
    ENDWHILE.
    WRITE:/ 'file ok'.
    ELSE.
    WRITE:/ 'file ko'.
    Anyone can help, or tell me a easy way to load xml file from server to my itab that works with my old sap 4.7.
    thanks
    Edited by: DIEGO_GT on Nov 18, 2011 12:04 PM

    Hi Diego.
    Next time try to search in [www.sdn.sap.com] first.
    See the following example: [http://wiki.sdn.sap.com/wiki/display/ABAP/UploadXMLfiletointernal+table]
    Regards.
    Rafael Rojas.

  • Web.xml parsing error

    Hello,
    I am a newbie to servlet programming. I am using Tomcat4.1.24. When I
    am trying out some examples, I got a bunch of parsing errors. After double-checking my web.xml, I still do not see why it caused so many parsing errors. I am using NotePad to edit web.xml, does that affect this? These errors are always about the last line and the last column.
    Very weird. Please help.
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <servlet>
         <servlet-name>HelloWorld</servlet-name>
         <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorld</servlet-name>
    <url-pattern>*.myservlet</url-pattern>
    </servlet-mapping>
    <servlet>
         <servlet-name>Primes</servlet-name>
         <servlet-class>coreservlets.Primes</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Primes</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    </web-app>
    [ERROR] Digester - -Parse Error at line 29 column 11: The content of element typ
    e "web-app" must match "(icon?,display-name?,description?,distributable?,context
    -param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-conf
    ig?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resou
    rce-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,e
    jb-local-ref*)". <org.xml.sax.SAXParseException: The content of element type "we
    b-app" must match "(icon?,display-name?,description?,distributable?,context-para
    m*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,m
    ime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-r
    ef*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-lo
    cal-ref*)".>

    Hi.
    The answer is rather simple. The file is not valid against the XML v.1.0 standard. That's because all <servlet> elements must come first before all <servlet-mapping> elements. If you change the order of the Primes <servlet> element, the file is valid and Tomcat should not throw an exception.
    This is the correct web deployment descriptor:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <servlet>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>Primes</servlet-name>
    <servlet-class>coreservlets.Primes</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorld</servlet-name>
    <url-pattern>*.myservlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>Primes</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    </web-app>

  • Inconsistent datatypes:expected - got - error in handling xml

    hi i am getting the error Error(45,12): PL/SQL: ORA-00932: inconsistent datatypes: expected - got - in this procedure
    i tried a lot and landed in confused state..
    create or replace
    PROCEDURE BT_CPE_XML_READ1 IS
    dest_clob CLOB;
    src_clob BFILE := BFILENAME('DOC_PATH', 'tester.xml');
    dst_offset number := 1 ;
    src_offset number := 1 ;
    lang_ctx number := DBMS_LOB.DEFAULT_LANG_CTX;
    warning number;
    ex number;
    v_cast xmltype;
    v_varchar varchar2(32767);
    BEGIN
    DBMS_LOB.CREATETEMPORARY(dest_clob,true);
    ex := dbms_lob.fileexists(src_clob);
    if ex = 1 then
    INSERT INTO test_clob(id, file_name, XML_FILE_COLUMN, timestamp)
    VALUES(1001, 'test.xml', empty_clob(), sysdate)
    RETURNING XML_FILE_COLUMN INTO dest_clob;
    DBMS_LOB.OPEN(src_clob, DBMS_LOB.LOB_READONLY);
    DBMS_LOB.LoadCLOBFromFile(
    DEST_LOB => dest_clob
    , SRC_BFILE => src_clob
    , AMOUNT => DBMS_LOB.GETLENGTH(src_clob)
    , DEST_OFFSET => dst_offset
    , SRC_OFFSET => src_offset
    , BFILE_CSID => DBMS_LOB.DEFAULT_CSID
    , LANG_CONTEXT => lang_ctx
    , WARNING => warning
    DBMS_OUTPUT.ENABLE(100000);
    DBMS_LOB.CLOSE(src_clob);
    COMMIT;
    DBMS_OUTPUT.PUT_LINE('Loaded XML File using DBMS_LOB.LoadCLOBFromFile: (ID=1001).');
    v_cast :=xmltype(dest_clob);
    --dbms_output.put_line(v_cast);
    select extractvalue(XML_FILE_COLUMN,'/modifyProductPortfolioRequest/ns1:stateCode') from test_clob;
    end if;
    END BT_CPE_XML_READ1;
    is there any other way to get the value(xml)from the clob column of a table

    I see two issues off a quick eye-ball of the code<br><br>
    #1) You insert an empty clob into your table, load a local variable with the XML from disk, and then query the table. You never insert the XML into the table so you are querying on an empty column in the table.<br><br>
    #2) extractValue allows a third parm which is the namespace string. Since your XPath contains ns1: you'll need to use the third parm

  • Convert FMB to XML File on Unix

    Hello,
    I want to convert a FMB-File to XML in my HP-UX-Middletier-Environment.The Script frm2xml.sh is only shipped with IDS.
    Can someone upload the frmf2xml.sh from a linux or Solaris IDS-Enviroment?
    Robert

    So if we were to keep text-based source files, the process would have to be:
    - check-out to local working copy
      - convert XML to FMB
        - make changes using Forms Developer
      - convert FMB to XML
    - commit to svn
    I'm concerned about the side-effects of the conversion process (edge-cases, incompatibilities), and I also expect that even with some automation, the above will be a pretty slow process that will slow the team down. I guess we'll probably stick with fmb.
    I guess as a compromise, it may be worthwhile generating the xml or fmt alongside the fmb and committing both. At least we'd then have a text-based file to compare revisions with. So the process then becomes:
    - check-out to local working copy
      - make changes using Forms Developer
      - generate XML from FMB
    - commit both to svn
    I'm still baffled as to why Oracle has chosen a binary source format, even 15 years ago. This basically precludes a vast number of tools and techniques that are essential to the software craft :(

  • Java exception appear during file adapter to handle large xml

    Hi,Guys,
    I am using file adapter to poll one folder of my local.one get input.xml,then do something,then write out output.xml.
    input.xml format is :
    <mes:DataRequestIns xmlns:mes="http://xml.netbeans.org/schema/MessageDefined">
    <!--1 or more repetitions:-->
         <mes:DataIns>
              <mes:address>Ang Mo Kio 5,63 street</mes:address>
              <mes:birthday>14/12/1970</mes:birthday>
              <mes:firstName>Sing1</mes:firstName>
              <mes:gender>0</mes:gender>
              <mes:ID>1001</mes:ID>
              <mes:lastName>NorthMan</mes:lastName>
              <mes:postcode>2002</mes:postcode>
              <mes:telephone>6665222</mes:telephone>
              <mes:surname>Sur</mes:surname>
              <mes:status>single</mes:status>
              <mes:location>sgp</mes:location>
              <mes:HP1>11111</mes:HP1>
              <mes:HP2>22222</mes:HP2>
              <mes:passport>123456878</mes:passport>
              <mes:company>ST</mes:company>
              <mes:department>TO</mes:department>
              <mes:occupation>engineer</mes:occupation>
              <mes:experience>10</mes:experience>
              <mes:level>2</mes:level>
              <mes:certificate>high</mes:certificate>
              <mes:specialisation>computer</mes:specialisation>
              <mes:staffNumber>1020</mes:staffNumber>
              <mes:fax>00200</mes:fax>
              <mes:email>[email protected]</mes:email>
              <mes:national1>sgp</mes:national1>
              <mes:national2>sgp</mes:national2>
              <mes:interestingField>bpel</mes:interestingField>
              <mes:national>earth</mes:national>
              <mes:oversea>yes</mes:oversea>
         </mes:DataIns>
    <mes:DataIns>
    </mes:DataIns>
    </mes:DataRequestIns>
    if my input.xml contain less than 1000 records,then it's working,once greater than 1000,then appear exception.for normal case ,must have more than 10000 records need to handle,and file size is 11.2MB.
    so,Does any other way or how to use file adapter to handle it ?
    thank you
    exception :
    SEVERE: An error occured while scanning for the next trigger to fire.
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data sou
    rce 'soaNonManagedDS': java.sql.SQLException: Could not retrieve datasource via
    JNDI url 'jdbc/SOALocalTxDataSource' weblogic.jdbc.extensions.ConnectionDeadSQLE
    xception: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.
    ResourceException: Could not create pool connection. The DBMS driver exception w
    *as: Socket read timed out [See nested exception: java.sql.SQLException: Could no*
    *t retrieve datasource via JNDI url 'jdbc/SOALocalTxDataSource' weblogic.jdbc.ext*
    *ensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadExc*
    *eption: 0:weblogic.common.ResourceException: Could not create pool connection. T*
    *he DBMS driver exception was: Socket read timed out]*
    at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(Jo
    bStoreCMT.java:167)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLoc
    k(JobStoreSupport.java:3652)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobSt
    oreSupport.java:2654)
    at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:
    *235)*
    Caused by: java.sql.SQLException: Could not retrieve datasource via JNDI url 'jd
    bc/SOALocalTxDataSource' weblogic.jdbc.extensions.ConnectionDeadSQLException: we
    blogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceExce
    ption: Could not create pool connection. The DBMS driver exception was: Socket r
    ead timed out
    another exception:
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.invoke.InvokeInstanceMessage"; the reported exception is: Transaction Ro
    lledback.: weblogic.transaction.internal.TimedOutException: Transaction timed ou
    t after 302 seconds
    BEA1-3468FC5E3C698D2A82F7
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTran
    sactionImpl.java:1742)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTim
    edOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(Transacti
    onManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(Ser
    verTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *; nested exception is: weblogic.transaction.internal.TimedOutException: Transact*
    ion timed out after 302 seconds
    BEA1-3468FC5E3C698D2A82F7
    This error contained an exception thrown by the message handler.
    Edited by: aris yu on Dec 27, 2009 11:55 PM

    Hi,
    we have to explicitly mention batch while configuaring file adapter.
    i.e. in step 5 : Check file contains multiple messages and mention how many messages u want to process in a batch.
    i.e. if you have 10000 msgs in ur file mention the size as 500. Then it will read 10000 records in 20 batches.
    Now while writing to a file use Append=true property.
    U have to add this property to fileadapter.wsdl (in jca:operation tag) which will be created when u complete the configuaration of file adapter with write operation.
    Regards
    PavanKumar.M

  • Loading XML file failed

    Hi All,
    I am facing a strange problem. I have prepared one addon file with B1 addon installer wizard and have also provided all the XML support files.
    when It is run locally, it loads the XML menu and forms. things are fine. when the SAP B1 client is accessing remote server, the addon still gets connected without any error but, the XML never loads. also, it does not give any error like "XXX.xml" or "XXX.srf " not found on specified location. but it just does not load it.
    What could be the reason and how I can resolve it?
    thanks and regards,
    Binita Joshi

    here is the code
    Private Sub Loadfromxml(ByRef filename As String)
            Dim oxmldoc As Xml.XmlDocument
            Dim spath As String
            oxmldoc = New Xml.XmlDocument
            Try
                spath = IO.Directory.GetCurrentDirectory
                oxmldoc.Load(spath & "\" & filename)
                SBO_Application.LoadBatchActions(oxmldoc.InnerXml)
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
            GC.Collect()
        End Sub
    I am loading the form immediately after connecting to company and David, it really does not throw any error at all; regarding wrong path. I think it has got something to do with the networking.
    reason being, when the same addon in the same company on the same server is run locally, it loads it. when the server is accessed through remote client , it does not. I may be wrong but, running out of ideas.
    Binita

  • OUTBOUND XML FILE CONTAINS SPECIAL CHARS AFTER SP08 UPGRADE

    Experts,
    Recently MDM server upgraded to SP08 from SP05.
    In our outbound interface scenario we have 1 hierarchy field. The hierarchy field mapped as complete path(parent to Child)
    ex: 1,Parent > 11,Child > 111,Child > 1111,Child.
    In SP05 XML files are generating correctly & PI also dont have any issues while passing this data to ECC.
    After SP08 Server pack upgrade, xml file generating like  below:
    1??, ??Parent??, ???>?11??, ??Child??, ???>?111??, ??Child??, ???>?1111??, ??Child??, ???
    If open the xml file in non ASCC editor I could able to see these special chars. Due to this ISSUE PI could not processing xml files.
    All XML files are failing& blocking in PI.
    Could you let me know what needs to be done at MDM or PI level.
    Appreciate your inputs.
    Thanks
    Audinarayana

    Hello,
    Please check the Destination preview in the syndicator.
    So an syndication on the local machine, open the XML in an Browser, to see check for the special characters.
    If every things is ok, then just place the file in the outbound ready folder.
    If not then, raise an OSS message with SAP, as this a latest release, error resolution would be best provided by SAP
    Regards,
    Abhishek

Maybe you are looking for

  • Advice on buying camera for stills and high speed video

    Hello video pros, I'm a music composer who occasionally dallies with some simple photographic and video work. I'm looking for some advice re picking up a camera to make some simple videos, but with the highest quality I can get with consumer grade ge

  • Internal Error message - Need help please

    I have the administration aspect of my site done. It tests wonderfully on my testing server. Once I uploaded it to the web-server I get this error: Error: Internal error. Developer Details: tNG_update.getLocalRecordset: Error message: No database sel

  • PDFMaker for MS Word 2003 posts UnCheckout on UnSaved documents

    Hi We are getting a very strange unexpected bahavior with the PDFMaker plug-in for MS Word. Use Case: 1. A user opens a MS Word document hosted in SharePoint. 2. Makes some changes to the document but does not hit the save button. 3. User uses Toolba

  • Create frames using JSP tags

    I am trying to create two frames in my JSP page . However it just displays a blank page on execution. I am using following code to create frames: <hbj:content id="myContext" >       <hbj:document>      <hbj:documentHead>          <frameset cols="100,

  • How much swelling for battery replacement?

    How much swelling is necessary to be eligible for a battery replacemet? My battery seems to be swelling a bit, really only a crack for now. The seam beside the test button has opened up, and with the battery installed, you can see it protrude a tiny