Xml format

Hello all,
I'm stuck at an output file, so I have my program generated the output file, I have everything in internal table itab. But I need to generate the output file in xml format. My question is do you know any function module doing the job? like export import everything from my internal table and create an xml file? Or that's something I have to hardcode in my program?
Any helpful idea will be highly appreciated. Thanks!

In the Class CL_XML_DOCUMENT, we have a method EXPORT_TO_FILE to download an XML file.
DATA:  l_subrc    TYPE sysubrc,
       l_lfile    TYPE localfile,
      l_file     TYPE string,
      l_title    TYPE string,
      l_path     TYPE string,
      l_fullpath TYPE string.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
      window_title      = l_title
      default_extension = 'XML'
      file_filter       = 'XML'
    CHANGING
      filename          = l_file
      path              = l_path
      fullpath          = l_fullpath
    EXCEPTIONS
      OTHERS            = 1.
  IF sy-subrc = 0.
    l_lfile = l_fullpath.
    CALL METHOD l_xml->export_to_file
      EXPORTING
        filename = l_lfile
      RECEIVING
        retcode  = l_subrc.
  ENDIF.
Raja

Similar Messages

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • How to generate Campaign details in XML format for sending to downstream sy

    Dear gurus,
    we have a requirement to send the Campaign details from CRM to some Downstream system in the XML format through PI interfaces. We want to include the following campaign details in the structure.
    <SAPTOAL DATE="03-MAR-2011" TIME="13:25pm">
          <CAMPAIGN>
                <ID></ID>
                <NAME></NAME>
                <RUNDATE></RUNDATE>
                <RUNTIME></RUNTIME>
                <STARTDATE></STARTDATE>
                <ENDDATE></ENDDATE>
                <RECORDCOUNT></RECORDCOUNT>
          </CAMPAIGN>
          <TARGETGROUP>
                <ID></ID>
                <NAME></NAME>
    </TARGETGROUP>
          <BUSINESSPARTNERS>
                <BUSINESSPARTNER>
                      <ID>001</ID>
                <TARGETGROUPID></TARGETGROUPID>
                <FIRSTNAME></FIRSTNAME>
                      <LASTNAME></LASTNAME>
                      <TITLE></TITLE>
                      <SUFFIX></SUFFIX>
                      <EMAIL></EMAIL>
                      <REPFIRSTNAME></REPFIRSTNAME>
                      <REPLASTNAME></REPLASTNAME>
                      <REPPHONE></REPPHONE>
                      <REPSIGNATUREURL></REPSIGNATUREURL>
                      <REPPICTUREURL></REPPICTUREURL>
                      <REPEMAIL></REPEMAIL>
                </BUSINESSPARTNER>
                <BUSINESSPARTNER>
                      <ID>002</ID>
                <TARGETGROUPID></TARGETGROUPID>
                      <FIRSTNAME></FIRSTNAME>
                      <LASTNAME></LASTNAME>
                      <TITLE></TITLE>
                      <SUFFIX></SUFFIX>
                      <EMAIL></EMAIL>
                      <REPFIRSTNAME></REPFIRSTNAME>
                      <REPLASTNAME></REPLASTNAME>
                      <REPPHONE></REPPHONE>
                      <REPSIGNATUREURL></REPSIGNATUREURL>
                      <REPPICTUREURL></REPPICTUREURL>
                      <REPEMAIL></REPEMAIL>
                </BUSINESSPARTNER>
          </BUSINESSPARTNERS>
    </SAPTOAL>
    We have already tried the following things in SPRO.
    CRM --> Marketing --> Marketing Planning and Campaign Management --> Campaign Execution --> Define File Export Variants
    But with this we were not able to get the full XML structure, as required above. We got only this much.
    <?xml version="1.0" encoding="utf-8" ?>
    <DATA>
    <ITEM>
       <Field_1>Test Email.</Field_1>
       <Field_2>Test Email.</Field_2>
       <Field_3>ABC Company.</Field_31>
    </ITEM>
    </DATA>
    Any pointers or help on this will he greatly appreciated.rgrds,
    Randhir Soni

    Hi Prabhu,
    The program SAPFPAYM generates the payment Medium  on the basis of your configuration and background settings, this program does not bydefault give the output in the XML.
    Varient creation for the PMW in T. Code OBPM4, use the same program, which i already done it, even without this it is not be possible to create any payment Medium.
    Regards,
    Rony

  • Concurrent request submission displays Output in xml format ?

    Hi ,
    I am submitting a concurrent request from workflow which is an xml publisher report . my problem when the program is run individually it displays the output correctly in rtf format but when the same request is submitted from worklfow the output comes in xml format ?
    What could be the problem ?
    I am using the standard submission "FND_WF_STANDARD.SUBMITCONCPROGRAM " program and assigning the values directly to it . the submission activity is working fine but the output comes as mentioned above.
    Regards,
    Skg

    Kiran ,
    I am not using fnd_request.submit request coc I don't need to capture the user information for my workflow .
    I am only using the standard " FND_WF_STANDARD.SUBMITCONCPROGRAM " . this Package only submits the concurrent program through workflow in a function.
    no need of backend programming.
    My job is to submit and move to the next function . the output will be determined via custom profile option.
    now, for this package I am directly assigning the values like appshort name , prog shrt name , and parameter.
    there is no mention of layouts anywhere in the standard workflow package .
    its very urgent for me friend.
    Regards,
    Shashank.

  • Problem with getting a D2K report in XML format

    Hi all,
    Could any body give a solution for this problem.
    I have a matrix report like following:
    Q_Statement_Of_Net_Assets ----> main query
    |
    G_Cross ----> Cross product
    | CS_VALUE
    | CS_NET_ASSET
    | CF_COSTI
    |
    | --------------------------------- |
    | | G_CTIF | | ------> Like this I have two more groups
    | --------------------------------- |
    ...... |
    -----------------------------------------------|
    My requirement is i want to print CS_VALUE, CS_NET_ASSET, CF_COSTI values in XML report, these values i am getting in a Normal/RTF format reports.
    But i am not getting in XML format report.
    thanks in advance.
    Vasu

    Thanks Schellyc
    actually I want to creat a new SOAPMessage for the very beginning like this:
    try{
                MessageFactory mf = MessageFactory.newInstance();
                SOAPMessage msg = mf.createMessage();
                SOAPPart sp = msg.getSOAPPart();
                //create the header container
                SOAPEnvelope se = sp.getEnvelope();
                SOAPHeader sh = se.getHeader();
                SOAPBody sb = se.getBody();
            }catch(Throwable e) {
                e.printStackTrace();
            }and I want to get the empty header from this newly created SOAPEnvelop and add my own content into the header as well as the empty body.
    I wrote the code by following the example from the jaxm api.
    can anybody tell me any further information about the NullPointerException?

  • Data is not converting in XML format in output while download in report

    Hi All,     While downloading the report in XML format value '&' is not changing its XML format '&amp', but showing in debug mode and sam thing while download its not showing in output. showing in debug like; MS NA - DCS Tooling & Automation but in output showing the data like:  MS NA - DCS Tooling & Automation because of this getting issue. Please help me out . Thanks and Regards Sankil

    In that case, it is correct.
    Try replacing & with &amp; before downloading xml in case you want & to appear as &amp; in web browser view.

  • How can I convert IDoc in XML format w/DTD into a string?

    I want to send by e-mail outbound IDoc in XML format with its document type definition (DTD).
    I want to be able to get the same output result into a string than the XML file IDoc port type with DTD activated.  I have created a FM (based on SAP "OWN_FUNCTION") assigned to an IDoc port of type ABAP-PI that executes the following processing steps:
    1-Extract outbound IDoc information to get the sender & recipient mail addresses (EDP13 / EDIPHONE tables).
    2-Convert & Transform IDoc data into XML string using FM IDX_IDOC_TO_XML.
    3-Prepare and send e-mail with XML attachement using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    I cand generate the e-mail with the XML file attachement but FM IDX_IDOC_TO_XML does not convert the IDoc with proper formating and DTD.
    What should I use to accomplish the IDoc conversion to XML w/DTD into a string?
    Should I use XSLT tools ?
    How does that work?
    Thank you
    Carl

    muks wrote:
    Use decimal string to number
    Specifically, you can define a constant with a different datatype on the input on the lower left if you need a different datatype (e.g. U8, I64, DBL, etc) Are all your values integers or do you also need to scan fractional numbers? In this case, you should use "fract/exp string to number" instead.
    LabVIEW Champion . Do more with less code and in less time .

  • How to get the metadata (in xml format) of all the fileds in SQl query ?

    Good day ,
    I am using the dbms_xmlgen.getXMLfunction to get the result of any query in xml format.
    With this XML I also want the metadata information about all the fields used in the query (passed to getXML function). Is it possible and how can I achieve this.
    I tried to Google it but couldn't find any solution , it's easy to do it in java where I can get the resultset meta data from the resultset but I have to do it in Oracle function since I want the result in xml format and want to use the oracle XML API.
    You may think why I need metadata , the reason is the application will later use this information to sort the data contained in these fields according to their data type provided to.
    Regards
    Sajjad Ahmed Paracha

    Hi,
    Please always say which version of Oracle you're using (SELECT * FROM v$version).
    With this XML I also want the metadata information about all the fields used in the query (passed to getXML function). Is it possible and how can I achieve this.It is possible but with a bit of effort.
    I would use DBMS_SQL utility to parse the query, extract each column's description and then build a METADATA element with the required information.
    Here's an example (11g) :
    DECLARE
      v_query      varchar2(30) := 'select * from scott.emp';
      v_cur        integer;
      v_desc_tab   dbms_sql.desc_tab;
      v_col_cnt    number;
      v_col_lst    varchar2(4000);
      v_xml_query  varchar2(32767);
      xml_metadata_coll xmlsequencetype := xmlsequencetype();
      xml_metadata      xmltype;
      res          clob;
    BEGIN
      v_cur := dbms_sql.open_cursor;
      dbms_sql.parse(v_cur, v_query, dbms_sql.native);
      dbms_sql.describe_columns(v_cur, v_col_cnt, v_desc_tab);
      dbms_sql.close_cursor(v_cur);
      for i in 1 .. v_col_cnt loop
        if i > 1 then
          v_col_lst := v_col_lst || ', ';
        end if;
        v_col_lst := v_col_lst || v_desc_tab(i).col_name;
        xml_metadata_coll.extend;
        select xmlelement("COLUMN"
               , xmlattributes(v_desc_tab(i).col_name as "name")
               , xmlforest(
                   case v_desc_tab(i).col_type
                     when 1   then 'VARCHAR2'
                     when 2   then 'NUMBER'
                     when 12  then 'DATE'
                     when 180 then 'TIMESTAMP'
                     else 'UNKNOWN'
                   end as "DATATYPE"
                 , v_desc_tab(i).col_max_len as "MAX_LENGTH"
                 , v_desc_tab(i).col_precision as "PRECISION"
                 , v_desc_tab(i).col_scale as "SCALE"
        into xml_metadata_coll(i)
        from dual;
      end loop;
      v_xml_query :=
    'SELECT XMLSerialize(document
             XMLElement("ROOT"
             , :1
             , XMLElement("ROWSET"
               , XMLAgg(
                   XMLElement("ROW", XMLForest(' || v_col_lst || '))
             ) as clob indent
    FROM ( ' || v_query || ')';
      select xmlelement("METADATA", xmlagg(column_value))
      into xml_metadata
      from table(xml_metadata_coll)
      execute immediate v_xml_query into res using xml_metadata;
      dbms_output.put_line(res);
    END;
    /Ouput :
    <ROOT>
      <METADATA>
        <COLUMN name="EMPNO">
          <DATATYPE>NUMBER</DATATYPE>
          <MAX_LENGTH>22</MAX_LENGTH>
          <PRECISION>4</PRECISION>
          <SCALE>0</SCALE>
        </COLUMN>
        <COLUMN name="ENAME">
          <DATATYPE>VARCHAR2</DATATYPE>
          <MAX_LENGTH>10</MAX_LENGTH>
          <PRECISION>0</PRECISION>
          <SCALE>0</SCALE>
        </COLUMN>
        <COLUMN name="JOB">
          <DATATYPE>VARCHAR2</DATATYPE>
          <MAX_LENGTH>9</MAX_LENGTH>
          <PRECISION>0</PRECISION>
          <SCALE>0</SCALE>
        </COLUMN>
        <COLUMN name="MGR">
          <DATATYPE>NUMBER</DATATYPE>
          <MAX_LENGTH>22</MAX_LENGTH>
          <PRECISION>4</PRECISION>
          <SCALE>0</SCALE>
        </COLUMN>
        <COLUMN name="HIREDATE">
          <DATATYPE>DATE</DATATYPE>
          <MAX_LENGTH>7</MAX_LENGTH>
          <PRECISION>0</PRECISION>
          <SCALE>0</SCALE>
        </COLUMN>
        <COLUMN name="SAL">
          <DATATYPE>NUMBER</DATATYPE>
          <MAX_LENGTH>22</MAX_LENGTH>
          <PRECISION>7</PRECISION>
          <SCALE>2</SCALE>
        </COLUMN>
        <COLUMN name="COMM">
          <DATATYPE>NUMBER</DATATYPE>
          <MAX_LENGTH>22</MAX_LENGTH>
          <PRECISION>7</PRECISION>
          <SCALE>2</SCALE>
        </COLUMN>
        <COLUMN name="DEPTNO">
          <DATATYPE>NUMBER</DATATYPE>
          <MAX_LENGTH>22</MAX_LENGTH>
          <PRECISION>2</PRECISION>
          <SCALE>0</SCALE>
        </COLUMN>
      </METADATA>
      <ROWSET>
        <ROW>
          <EMPNO>7369</EMPNO>
          <ENAME>SMITH</ENAME>
          <JOB>CLERK</JOB>
          <MGR>7902</MGR>
          <HIREDATE>1980-12-17</HIREDATE>
          <SAL>800</SAL>
          <DEPTNO>20</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7499</EMPNO>
          <ENAME>ALLEN</ENAME>
          <JOB>SALESMAN</JOB>
          <MGR>7698</MGR>
          <HIREDATE>1981-02-20</HIREDATE>
          <SAL>1600</SAL>
          <COMM>300</COMM>
          <DEPTNO>30</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7521</EMPNO>
          <ENAME>WARD</ENAME>
          <JOB>SALESMAN</JOB>
          <MGR>7698</MGR>
          <HIREDATE>1981-02-22</HIREDATE>
          <SAL>1250</SAL>
          <COMM>500</COMM>
          <DEPTNO>30</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7566</EMPNO>
          <ENAME>JONES</ENAME>
          <JOB>MANAGER</JOB>
          <MGR>7839</MGR>
          <HIREDATE>1981-04-02</HIREDATE>
          <SAL>2975</SAL>
          <DEPTNO>20</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7654</EMPNO>
          <ENAME>MARTIN</ENAME>
          <JOB>SALESMAN</JOB>
          <MGR>7698</MGR>
          <HIREDATE>1981-09-28</HIREDATE>
          <SAL>1250</SAL>
          <COMM>1400</COMM>
          <DEPTNO>30</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7698</EMPNO>
          <ENAME>BLAKE</ENAME>
          <JOB>MANAGER</JOB>
          <MGR>7839</MGR>
          <HIREDATE>1981-05-01</HIREDATE>
          <SAL>2850</SAL>
          <DEPTNO>30</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7782</EMPNO>
          <ENAME>CLARK</ENAME>
          <JOB>MANAGER</JOB>
          <MGR>7839</MGR>
          <HIREDATE>1981-06-09</HIREDATE>
          <SAL>2450</SAL>
          <DEPTNO>10</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7839</EMPNO>
          <ENAME>KING</ENAME>
          <JOB>PRESIDENT</JOB>
          <HIREDATE>1981-11-17</HIREDATE>
          <SAL>5000</SAL>
          <DEPTNO>10</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7844</EMPNO>
          <ENAME>TURNER</ENAME>
          <JOB>SALESMAN</JOB>
          <MGR>7698</MGR>
          <HIREDATE>1981-09-08</HIREDATE>
          <SAL>1500</SAL>
          <COMM>0</COMM>
          <DEPTNO>30</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7900</EMPNO>
          <ENAME>JAMES</ENAME>
          <JOB>CLERK</JOB>
          <MGR>7698</MGR>
          <HIREDATE>1981-12-03</HIREDATE>
          <SAL>950</SAL>
          <DEPTNO>30</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7902</EMPNO>
          <ENAME>FORD</ENAME>
          <JOB>ANALYST</JOB>
          <MGR>7566</MGR>
          <HIREDATE>1981-12-03</HIREDATE>
          <SAL>3000</SAL>
          <DEPTNO>20</DEPTNO>
        </ROW>
        <ROW>
          <EMPNO>7934</EMPNO>
          <ENAME>MILLER</ENAME>
          <JOB>CLERK</JOB>
          <MGR>7782</MGR>
          <HIREDATE>1982-01-23</HIREDATE>
          <SAL>1300</SAL>
          <DEPTNO>10</DEPTNO>
        </ROW>
      </ROWSET>
    </ROOT>A couple of comments :
    <li> I handle only four datatypes here (VARCHAR2, NUMBER, DATE, TIMESTAMP). Of course you can add more.
    The list of Oracle Type Number is available here : http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#i54330
    Starting with 11g (not sure which release), DBMS_SQL package also declares these numbers through named constants.
    <li> I don't use DBMS_XMLGEN in this example. Instead I rebuild the query using SQL/XML functions and the list of columns that's just been described.

  • Customization of DAC to send emails in XML format

    Hi,
    We need to customize DAC to send emails in XML format to the support team whenever there is a failure of the ETL load.
    We use the HPSC ticketing system.
    Any help to achieve this functionality is much appreciated.
    we have tried to customize the existing email template of DAC, but it is not serving the purpose to generate the ticket in HPSC.
    To generate the HPSC ticket, we have a XML format. We need to customize DAC to use this format.
    This is the version of Oracle BI application we are using:
    Build: 10.1.3.2.1.070411.1900
    Release Version: Oracle Business Intelligence 10.1.3.2.1
    Package: 070411.1900
    Build: 7.9.1.032307.0900
    Release Version: Oracle Business Intelligence Applications 7.9.1
    Package: 032307.0900
    Regards,

    Hi,
    We have raised a SR with Oracle support and are in touch with Engineering also today onwards. However, would like to try out options while waiting for a solution/workaround for this issue.
    Regards,

  • Generating an XML formated text file

    Hi all
    I am a PL/SQL programmer and have no idea about XML :-(
    I am using ORACLE 10g and my application generates atleast 100 text files a day for customers. These files are manipulated using Utl_File package and gets data from the DB.These files are tab or comma delimeted. Now company wants to give an option to customers to get the same output in XML format. My understanding is that I need to get information from customers first to make the report template for them and then use some XML parser to get data from DB and give an output using that customer's specific template.
    I wanna know, if there is any whitepaper or manual that can guide me step by step. I just need to make an idea how the things can go togather and the sequence of operation. I also wanna use only PL/SQL and not Java at this time.
    Rashid
    Message was edited by:
    rashid68

    check it out at http://www.orafaq.com/faqxml.htm

  • Oracle reports in xml format end with stat_low = 6 stat_high = 0

    hi
    i have a problem with my reports
    i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
    after apply the RUP 6
    my character_set is :American_America.AR8MSWIN1256
    base lang American
    install lang ARABIC
    when i generate the reports in xml format i get:
    Inventory: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    ZMCINVTRREG1 module: ZMC Transaction Register Report
    Current system time is 04-AUG-2009 14:32:30
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    XML_REPORTS_XENVIRONMENT is set to:
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    AR8MSWIN1256
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    Converting parameters to UTF-8
    -- Start of Reports Command Converted to UTF-8 --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    XML_REPORTS_XENVIRONMENT is :
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.AR8MSWIN1256
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    *** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
    Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Reset original NLS_LANG in environment as :
    American_America.AR8MSWIN1256
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
    Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2009 14:32:38
    can any one help me with it????

    hi,,,
    it seems OS package version conflict
    Please check glibc and openmotif version (its responsible for reports)
    and
    Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
    MALLOC_CHECK_ can be changed in two places :-
    1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
    MALLOC_CHECK_=0
    Then restart the concurrent managers and retest
    2. Change it in the adovars.env file
    Again bounce the concurrent managers and retest
    THANKS (ZzZ)
    Edited by: zzz on Aug 5, 2009 8:59 AM
    Edited by: ZzZ on Aug 5, 2009 9:00 AM

  • Concurrent Program Open in XML format Instead of PDF in R12

    Hi ,
    I register 1 concurrent program and set its output in "XML" also attach this CP with XML template , when i run CP it show warning but output show in XML format instead of PDF format which is define in XML Template .
    Below text is log file of CP
    When i run concurrent program from oracle r12
    Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXSGHAPCPV module: SGH Payment Voucher Report
    Current system time is 18-SEP-2012 10:12:50
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORG_ID='88'
    P_VOUCHER_NUMBER='60000001'
    P_VOUCHER_NUMBER_TO='60000001'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_SAUDI ARABIA.AR8MSWIN1256
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    Report Builder: Release 10.1.2.3.0 - Production on Tue Sep 18 10:12:51 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    1703
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1218186 on node ERPPRDAS1 at 18-SEP-2012 10:12:53.
    Post-processing of request 1218186 failed at 18-SEP-2012 10:16:53 with the error message:
    The Output Post-processor is running but has not picked up this request.
    No further attempts will be made to post-process this request, and the request will be marked
    with Warning status.
    Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 18-SEP-2012 10:16:53
    Thanks ,
    Zulqarnain

    plz see
    R12: Request Logs Contain the Message "REP-0004: Warning: Unable to open user preference file" [ID 1120529.1]
    Concurrent Processing - Concurrent Reports Failing With Errors REP-0004,REP-0082 and REP-0104 [ID 844976.1]
    R12: Executing a Report fails with REP-0004: Warning: Unable to open user preference file. [ID 1303903.1]
    also
    - xml output is correct?
    - what type of execution method for cp?
    - when you run cp the template picked up for cp?

  • Convert PDF to XML Format . Can´t get it working :(

    Hi everybody,
    I am a Rocky in Acrobat Scriptingand I need some helpd to convert a PDF file into an XML format using the build in javascript console.
    The only thing I got so far is:
    this.saveAs("/e/test.xml","com.adobe.acrobat.xml-1-00")
    I got this information from the refrence guide, but I did not find an accurate example. Can you lend me a hand ? If you find a solution can you also explain me the different sections of the code because I still want to learn something besides using the copy and paste option.
    Thank you very much:
    Roland

    Bernd Alheit wrote:
    What happens when you try it?
    The problem is I tried it several times, but nothing happens at all.  The reference guide mentioned a second file with the ending *.xls will be created but nothing happens at all. Can you help me out ?

  • DME file in XML format in SAP 4.6C

    Hi Experts,
    For a Belgium client, I have a requirement to generate DME file in XML format for payments made to foreign and domestic vendors.  I want to know the following,
    1.  Can DME file be generated in XML format using classic payment medium programs RFFOBE_E and RFFOBE_I.
    2.  If not why and what are the other options.
    3.  I also came to know that there is an options of using Payment medium workbench - through XML format trees BE_BEPDTA and BE_PIBDTA.  But since we are in 4.6C, i am not able to create a payment format.  Is there any support package or patch that is required.
    4.  I tried for SEPA_CT - again a XML format tree but was not very successful as that too was not available in SAP 4.6C.  Is there any way that I can get this done in 4.6C - any support packages or patches available?
    Thanks

    Hi Kaylan,
    could you please share that documentation with me too.
    Thanks, Regards,
    Alex Cardona

  • Conversion of Minitab to xMII XML format

    Hi,
      how to convert minitab file into xml format. i tried possibilities but facing problems. i tried for two psiibilities.
    1) i imported minitab file(.mtw) into BLS text loader. then i added flat file parser then StringList to XML parser. but it doesnt show correct xml output. it shows each row as single item.
    2) I saved minitab file as text file by applying comma seperator. then i opened that file in BLS. this file having column names but in BLS it consider each item as single row. for example if  i have 2x2 rows / columns means, BLS consider it as 4 rows and take column name also as row.
    how to solve it? how to convert minitab file as it is(with .mtw) extension to xMII XML format.
    -senthil

    Senthil,
    In xMII 11.5 SP3 in the Logic Editor under Misc Functions -> Minitab Export
    -Sam

  • How to Place a file on application server in XML format

    Hi,
    Our requirement is to place  a file from SAP to a folder on  application server in XML and vice-versa.
    please suggest.
    Thanks
    Narendra

    Hi,
    1. convert your internal table data to XML format using function module SAP_CONVERT_TO_XML_FORMAT.
    2. Convert the XML data into Xstring format using Function module SCMS_BINARY_TO_XSTRING. pass the file size got from the step 1 in importing parameter.
    3. loop on the internal table got from the step 2 and use OPEN DATASET, TRANSFER AND CLOSE DATASET

Maybe you are looking for