ODI - Produce .txt or .csv output file

Hi Guru's,
I am new to ODI and have hit a problem I am hoping someone could help me with!
I have a table/datastore in MS SQL (2005) that I would like to use ODI to produce a .txt or .csv output file. I have looked into the documentation but cannot find an obvious way to do this - can someone please advise how this can be done?
Many Thanks,
Joe

Hi Joe,
Here is a link for an "Oracle by Example" explaining how to load to a flat file :
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_ff-to-ff/odi_project_flatfile-to-flatfile.htm
You just need to change the LKM used to pick one for MS SQL.
Regards,
Jerome

Similar Messages

  • Line Feed within the cell in .CSV output file

    Hello Experts,
    I have created one z-report, and the output of the report is in .CSV file format separated by 'semi-colon' as separator.
    Their is one column "Product" in which data is in the format
    <b>"[Product1][Product2][Product3][Product4]"</b>
    My code looks something like this:
    LOOP AT product_new INTO wa_product. 
      CONCATENATE Prod_str
                  wa_product-tdline             
             INTO prod_str.
    ENDLOOP.
    Our requirment is to insert Line-feed between each product entries within the cell.Line-Feed between each product within the cell is possible with ALT+ENTER key
    The output required is
    "[Product1](ALT+ENTER)
    [Product2](ALT+ENTER)
    [Product3](ALT+ENTER) 
    [Product4]"
    I would appreciate if anybody can help me to solve this.. (urgent)
    Thanx.

    Hi
    Go thru these links
    Regarding line feed
    add line feed to string
    When you concatenate try using the abap char utility for newline as well.
    i.e CL_ABAP_CHAR_UTILITIES=>NEWLINE.
    LOOP AT product_new INTO wa_product.
    CONCATENATE Prod_str
    wa_product-tdline
    CL_ABAP_CHAR_UTILITIES=>NEWLINE.
    INTO prod_str.
    ENDLOOP.
    Regards,
    balaji
    **rewrds for helpful answers

  • Csv output file help

    hi
    I wrote a code as
    buf :=
    ' " ' || AREC.l
    ||lim||AREC.f
    ||lim||AREC.m
    ||lim||' " '||AREC.d|| ' " '
    ||lim||' " '|| AREC.c||',"' ||' " '
    I wrote this code for getting the output as
    l f m d c
    a b c 000234 000234 in excel file
    but I am getting the output as
    l f m d c
    a b c 000234"" 000234""
    I declared lim:=' "," '
    please help me in this
    thanks

    try to post the complete code so we can see where might have the lim change it's value. or try to open your created file in notepad to see the format.
    i tried to simulate and here is what most likely you will get when you try to open the file in notepad:
    SQL> select ' " ' || 'l' || ' "," ' || 'f' || ' "," ' || 'm' || ' "," ' || ' " ' ||
      2         'd' || ' " ' || ' "," ' || ' c ' || ' "," ' spool_text
      3    from dual;
    SPOOL_TEXT
    " l "," f "," m ","  " d "  ","  c  ","
    SQL>

  • Need help in CSV output.

    Hi all,
    We have a requirement to produce a csv output file. we have created RTF template since we have dynamic column requirement. Now when i export in CSV format a blank file is generated in text format. When i tried to view in excel the output looks fine.
    Instead of saving in xls format, when i tried to save in csv, junk values get saved.
    Any pointers regarding the issue will be helpful.
    Regards,
    Vinoth.

    You might have created RTF template.
    if you need a csv/Flat-file you have to create E-text template for this.
    On what is e-text and how to create, refer
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481436.htm

  • How to create multiple output files using TrAX?

    I am new in this field. I'm trying to create multiple xml output files using TrAX. I have to parse a xml source file and output it to multiple xml files. My problem is that it only creates one output file and puts all the parsed data there. When i use saxon and run xsl and xml files, it works fine and creates multiple files...it has something to do with my java code...Any help is greatly appreciated.
    Here's my XSL file
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
    <xsl:template match="data_order">
    <data_order>
         <xsl:copy-of select="contact_address"/>
         <xsl:copy-of select="shipping_address"/>
         <xsl:apply-templates select="ds"/>
    </data_order>
    </xsl:template>
    <xsl:template match="ds">
    <xsl:variable name="file" select="concat('order', position(),'.xml')"/>
    <order number="{position()}" href="{$file}"/>
    <xsl:document href="{$file}">
    <xsl:copy-of select="."/>     
    </xsl:document>
    </xsl:template>
    </xsl:stylesheet>
    xml source file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE operation SYSTEM 'data_order.dtd'>
    <data_order job_id='00-00-000' origin='PM-ESIP'>
         <contact_address>
              <first_name>ssssss</first_name>
              <last_name>sssss></last_name>
              <phone>2323232</phone>
              <email>dfdfdsaf</email>
         </contact_address>
         <ds ds_short_name ='mif13tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
              <ds ds_short_name ='mif15tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
    </data_order>
    My java file
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import java.io.*;
    public class FileTransform {
    public static void main(String[] args)
    throws Exception {
    File source = new File(args[0]);
    File style = new File(args[1]);
    File out = new File(args[2]);
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer t = factory.newTransformer(new StreamSource(style));
    t.transform(new StreamSource(source), new StreamResult(out));

    Saxon has specific extensions. In this case it is <xsl:document>. That looks like a standard XSLT element, but it actually isn't. The history behind it is this: There was a proposal to create a new version of XSLT, called XSLT 1.1. One of the new features of this version was to be this xsl:document element. The author of the Saxon product, Michael Kay, is one of the people on the W3C committee directing the evolution of XSLT, so he upgraded his product to implement XSLT 1.1. But then the committee decided to drop XSLT 1.1 as a recommendation. So that left Saxon in the strange position of implementing a non-existent extension to XSLT.
    The other outcome of this process was that XSLT (1.0) does not have a way of producing more than one output file from an input file. And so the short answer to your question is "Trax can't do that." However, XSLT 2.0 will be able to do that, although it is not yet a formal W3C recommendation, and when it does become one it will take a while before there are good implementations of it. (I predict that Saxon will be the first good implementation.)
    One of the problems with XML and XSLT is that what you knew a year ago is probably obsolete now, because of all the evolution going on. So being new in the field is not a disadvantage, unless you get stung by reading obsolete tutorials or magazine articles.

  • Customize CSV output?

    Hi Experts,
    Is it possible to customize CSV output files via XSL?  When I specify ContentType=text/csv in a request, MII appears to ignore the StyleSheet parameter.  Is this expected behavior?
    Specifically, my issue is that I'm trying to customize the CSV output so that null string data appears as blanks, not "---".
    Thanks in advance.

    All,
    When you put that content type on the end, MII knows to look for IllumRowsetCSV.xsl and applies it. This is done behind the scenes, however you can access the system stylesheets and modify them to get the desired result. Then you can apply them as a transform to a query or a transaction.
    http://<server>:<port>/XMII/Stylesheets/IllumRowsetCSV.xsl
    Hint: Anytime you want to play with stylesheets, you can open a query > Transformation > Load,  and see what predefined XSL files that are out there. Just save (using above format) and modify and you save the time of creating one from scratch
    Regards,
    Kevin

  • Can Flex make a Design Tool with a quality output file?

    Hi there,
    I have a team of developers working on a web-based design tool for a large-format print shop. They built the prototype on a Flex platform and used ImageMagick to handle text and image effects.
    Unfortunately, ImageMagick cannot produce the quality of output file we need for our products (prints up to 3 ft by 6 ft / 1m x 2m). It rasterizes all of the design objects, including text and vector clipart.
    Is it possible for Flex to handle all of these elements (object rotation, scale changes, etc.) and output a final design to high quality PDF or AI files without ImageMagick?
    I'm just not sure if my developers are missing something or if they're just not communicating the technical challenges involved in creating such large, high quality output files for a custom, web-based application.
    Many thanks in advance for any insight!

    I'm still not sure I understand what you need.  Sounds like the image map is the same for all the pages, but the image itself is different, although the images are the same size on each page.  Is that it?
    In that case, you could do this in a number of ways, but the best might be -
    Make the page have a transparent PNG/GIF image the same size as the map that has the 5 mapped areas defined on it.  Make the container for that image have a CSS BACKGROUND image that is the actual map.  Specify this CSS background image's path in an embedded stylesheet in the editable region of the head of the page.
    With this as the template, all you need to do on each page is to respecify the background image - since the embedded stylesheet is in an editable region that's do-able.  In other words the TEMPLATE would be -
    <html>
    <head>
    <!-- TemplateBeginEditable name="head">
    <style type="text/css">
    #foo {
         background-image:url(path_to_map.jpg);
         background-repeat:no-repeat;
    </style>
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <div id="foo">
         <img width="map_width" height="map_height" src="transparent.png" usemap="#foomap">
    <map name="foomap">
    </map>
    </body>
    </html>
    The map image can, itself, be in an uneditable region of the page....

  • REG: Output File Name

    Hi All,
              I have a file to file scenario where mapping is not used. My  Input file name is "XXXX.txt" and i want the output file name as "XXXX.dat". But the problem is XXXX is not a constant value but a dynamic value and i cant use a UDF because there is no mapping for this interface. Is there any other method by which this can be achived?
    Thanks,
    Siva

    Hi!
    For your input file you can work as follows:
    Put the file in a special directory and then read this directory using wildcard filename definition:
    e.g. *.txt looks for and processes all files ending with *.txt
    For your output file (receiver file adapter) you may work with os command "rename" and/or try it using this stuff:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6a316af5a23672e10000000a114a6b/content.htm
    Regards,
    Volker

  • Problem with ghostscript ['Distiller' did not produce the output file ]

    Hi,
    We are trying to convert the checked in files to pdf using ghostscript.
    The Steps i have followed in installing the Distiller
    First I have installed gs8.64 and configure distiller
    Refinery server--> Conversion settings --> Third-party Application Settings --> Distiller Engine --> options -->
    Use GhostScript and provided the path to install dierctory as C:/Program Files/gs/gs8.64/
    Installed Printer as per the pdf
    Conversion Settings --> Primary web redention --> convert to pdf using third party applications
    Server details:
    CS: 10gr3
    ghost script 8.64
    Plz find the below logs details
    Error Log...
    Copying c:/ucm/server2/vault/~convert/idc/2/2.txt to c:/ucm/server2/vault/~convert/idc/2/temp.ps
    Waiting for exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps
    Obtained exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps
    Waiting on Distiller
    Check for file c:/ucm/server2/vault/~convert/idc/2/temp.pdf failed
    'Distiller' did not produce the output file 'c:/ucm/server2/vault/~convert/idc/2/temp.pdf'.
    Exception type is 'java.lang.Throwable'. Details
    An error has occurred. The stack trace below shows more information.
    !$Copying c:/ucm/server2/vault/~convert/idc/2/2.txt to c:/ucm/server2/vault/~convert/idc/2/temp.ps <br>Waiting for exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps <br>Obtained exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps <br>Waiting on Distiller <br>Check for file c:/ucm/server2/vault/~convert/idc/2/temp.pdf failed <br>'Distiller' did not produce the output file 'c:/ucm/server2/vault/~convert/idc/2/temp.pdf'. <br>!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(Unknown Source)
         at intradoc.common.Log.addMessage(Unknown Source)
         at intradoc.common.Log.errorEx2(Unknown Source)
         at intradoc.common.Log.errorEx(Unknown Source)
         at docrefinery.agent.Logger.logError(Logger.java:138)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:140)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:165)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:109)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
         at java.lang.Thread.run(Thread.java:595)
    Conversion completed -- Step PostscriptToPDF forced conversion failure by conversion engine because of error: ''Distiller' did not produce the output file 'c:/ucm/server2/vault/~convert/idc/8/temp.pdf'.'. Exception type is 'java.lang.Throwable'.
    Please suggest me where i am going wrong...
    Thanks in advance,
    Prasad V.

    Hi Srinath,
    Thanks for your reply. It worked fine with 8.63 version.
    Is there any other way to get it worked with out installing ghostscript.exe as the client doesnt want to instal any exe file on the server as it has broader impact on other instances also, can we acheive the conversion by copying the extracted zip files of ghostscript-8.63.tar.gz .....
    We tried with extracted zip files by following the below settings
    Refinery server--> Conversion settings --> Third-party Application Settings --> Distiller Engine --> options -->
    deselected Use GhostScript and provided the Path to generic PostScript to PDF engine D:\ghostscript\ghostscript\lib\ps2pdf14.bat
    Parameters to pass to generic PostScript to PDF engine.
    <$postscriptFile$> <$pdfFile$>
    Path to generic PDF optimization engine.
    D:\ghostscript\ghostscript\lib\pdfopt.bat
    Parameters to pass to generic PDF optimization engine.
    <$pdfFile$> <$optimizedPdfFile$>
    Installed Printer as per the pdf
    Conversion Settings --> Primary web redention --> convert to pdf using third party applications
    We are getting the below error:
    Waiting for exclusive access on c:/temp/idcoutput.ps
    Obtained exclusive access on c:/temp/idcoutput.ps
    Waiting on Distiller
    Error Distilling
    Exception type is 'java.lang.Throwable'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !$Waiting for exclusive access on c:/temp/idcoutput.ps <br>Obtained exclusive access on c:/temp/idcoutput.ps <br>Waiting on Distiller <br>Error Distilling <br>!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(Unknown Source)
         at intradoc.common.Log.addMessage(Unknown Source)
         at intradoc.common.Log.errorEx2(Unknown Source)
         at intradoc.common.Log.errorEx(Unknown Source)
         at docrefinery.agent.Logger.logError(Logger.java:138)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:140)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
         at java.lang.Thread.run(Thread.java:595)
    Conversion completed -- Step PostscriptToPDF forced conversion failure by conversion engine because of error: 'Error Distilling'. Exception type is 'java.lang.Throwable'.
    Plz let us know if it is possible to convert the docs to pdf with out installing the ghostscript.exe file on server.
    Thanks in advance,
    Prasad V.

  • Renaming files using a list of names in a txt or csv file

    Hello everyone,
    I'm trying to use AppleScript (although I'm a total noob to it) to rename the files in a folder (if possible using something like this - set folder to choose folder) to coincide to a list of names (in a txt or csv - can be any extension needed).
    To paint the picture clearer I'll have something like this
    Files_as_they_are
    Files_renamed
    01.mkv
    Valar Dohaeris.mkv
    02.mkv
    Mhysa.mkv
    Here is what I've tryed so far : (some point through the night I've tryed to repeat part of the process thus the "fcount" but the result was even worse)
    set theFolder to choose folder
    set ep to {"Valar Dohaeris", "Dark Wings, Dark Words"}
    set fcount to 1
    tell application "Finder"
      set name of file fcount of theFolder to item fcount of ep
    end tell
    set fcount to fcount + 1
    Tnx in advance...

    This will work with a comma separated text file,
    i.e.:
         Files as the are, Files Renamed
         01.mkv, Valar Dohaeris.mkv
         02.mkv, Mhysa.mkv
    Note that if the file to be renamed exists, it will be overwritten (A test can be added to skip if exists if needed)
    set theFoler to POSIX path of (choose folder with prompt "Choose folder with Files" default location path to desktop)
    set theFile to POSIX path of (choose file with prompt "Choose TXT file" default location path to desktop)
    do shell script "
    cd " & quoted form of theFoler & "
    while read line  
    do  
         OldImageName=${line%,*}
         NewImageName=${line#*,}
         if [ -e \"$OldImageName\" ] ; then
              mv \"$OldImageName\" \"$NewImageName\"
         else
              echo \"$OldImageName\" >> ~/Desktop/Errors.txt
         fi
    done < " & quoted form of theFile & "

  • Dynamic file name in case of .txt output files

    Hi all,
    I have a query related to dynamic file name scenario.
    In case of IDOC-XI-FILE sceanrio,
    <b>Is it possible to generate .txt file name based on Plant number like</b>
    <b>%<Plantname>%_%<BusinessDay>_filename.txt</b>
    <b>Note:I have implemneted this for .xml output files but I am not able to implement it for .txt output files .</b>
    PLEASE HELP ME .
    Regards
    Prabhat

    Hi Prabhat,
    I think, the normal Dynamic File Name generation should work fine in your case also. Even if you perform Content Conversion, you can use Variable Name Substiution to create your Destination file name as, the name of the file is determined first and only then is the content converison perfromed.
    for info on content conversion, I would suggest that you go through this thread and check my reply,
    Re: Dynamic  File Name for Receiver File Adapter
    Regards,
    Bhavesh

  • Exe file not producing the output files

    Could anyone please help me with my exe file. I have an exe file "exeFile" which takes more than one file as input from the source "c:/files" and produces some files as output into the destination "c:/files". Both my source and destination is same. My code given below is neither showing any error nor outputting any files. My code is:
    private static void compilingFiles() throws IOException
         String FirstParam = "C:/files";      
         String SecondParam = "C:/files";
         Process proc =Runtime.getRuntime().exec("cmd /c start /MIN C:/files/exeFile " + FirstParam, (String[])null, new File(SecondParam));
    }

    After going through The reference, I modified my code as under. My first exe file "tex" is doing the necessary as before, that is producing the output files to the destination, but the second exe file "fi2t1" is not producing the necessary output.
    My output after running this file is:
    <ERROR>
    </ERROR>
    Process exitValue1: 0
    <ERROR>
    </ERROR>
    Process exitValue2: 0
    <ERROR>
    </ERROR>
    Process exitValue1: 0
    <ERROR>
    </ERROR>
    Process exitValue2: 0
    <ERROR>
    </ERROR>
    Process exitValue1: 0
    <ERROR>
    </ERROR>
    Process exitValue2: 0
    So as per The reference, I think my code is right - "So, MediocreExecJavac works and produces an exit value of 2. Normally, an exit value of 0 indicates success; any nonzero value indicates an error.".
    So please tell me where am I wrong. My code is:
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.util.*;
    public class FontDriverCompile
         public FontDriverCompile()
         void compileFile(File newFile, String renameSub, File outputfile) throws IOException
              String FirstParam = "C:\\Temp\\sample\\font-driver.tex";  
              String FirstParam2 = "C:\\Temp\\sample";
              String SecondParam = "C:\\Temp\\sample";  
              try
                   Process proc1 =Runtime.getRuntime().exec("cmd /c start /MIN C:/Temp/sample/tex " + FirstParam, (String[])null, new File(SecondParam));
                   InputStream stderr = proc1.getErrorStream();
                   InputStreamReader isr = new InputStreamReader(stderr);
                   BufferedReader br = new BufferedReader(isr);
                   String line = null;
                   System.out.println("<ERROR>");
                   while ( (line = br.readLine()) != null)
                        System.out.println(line);
                   System.out.println("</ERROR>");
                   int exitVal1 = proc1.waitFor();
                   System.out.println("Process exitValue11: " + exitVal1);
              catch (Throwable t)
                   System.out.println("t.printStackTrace()_1");
                   t.printStackTrace();
              try
                   Process proc2 =Runtime.getRuntime().exec("cmd /c start /MIN C:/Temp/sample/fi2t1 " + FirstParam2, (String[])null, new File(SecondParam));
                   InputStream stderr = proc2.getErrorStream();
                   InputStreamReader isr = new InputStreamReader(stderr);
                   BufferedReader br = new BufferedReader(isr);
                   String line = null;
                   System.out.println("<ERROR>");
                   while( (line = br.readLine()) != null)
                        System.out.println(line);
                   System.out.println("</ERROR>");
                   int exitVal2 = proc2.waitFor();
                   System.out.println("Process exitValue2: " + exitVal2);
              catch (Throwable t)
                   System.out.println("t.printStackTrace()_2");
                   t.printStackTrace();
    }Message was edited by:
    sony_tj

  • DME output files in CSV format

    Hi,
    Can anybody please let me know whether we can get the DME output files in CSV format using program RFFOJP_L?
    Your help and time will be really appreciate.
    Thanks & Regards,
    Niki Shah
    Edited by: Niki Shah on Aug 5, 2009 10:14 AM

    No it will not work. You need full Photoshop (CS5)

  • Java application export output file of Crystal Report in .TXT format

    Hi,
    I have a Java application which is able to export the output file of Crystal Report in PDF format. But I'm trying to change the export file to .TXT format. Is this possible? I'm using Crystal Report XI. Is there any available updates or fixes to solve this? Please advice.
    Thank you

    I've tried, but I have an error
    frm-40735: when button-pressed trigger raised unhandled exception ORA-06502
    ORA-06502 when I try write a text field to the file the text field in question is a date.
    Did a similar problem ever occured to you?

  • Submitting xml publisher not producing output file when submiting from Oracle Procedure

    When Running XML publisher program from Oracle Procedure, Program not generating output file, but same XML publisher program running from Concurrent program runs and produces the output file.
    Here is the code
    CREATE OR REPLACE PROCEDURE apps.wmmgd_sepa_formats (
       p_return_msg      OUT      VARCHAR2,
       p_return_code     OUT      NUMBER,
       p_payment_batch   IN       VARCHAR2                                    ---,
    --- p_bank_name          in varchar2
    IS
       name:      wmmgd_sepa_formats
       purpose: this procedureis to  create SEPA payment formats
       revisions:
       ver      date        author           description
       1.0     6/11/2013  V Gongireddy  Created the Procedure
       l_ret         BOOLEAN;
       l_req_id      NUMBER;
       v_org_id      NUMBER;
       v_cntr        NUMBER;
       v_file_name   fnd_concurrent_requests.outfile_name%TYPE;
       v_language    VARCHAR2 (20);
    BEGIN
       SELECT fnd_profile.VALUE ('ORG_ID')
         INTO v_org_id
         FROM DUAL;
       fnd_file.put_line (fnd_file.LOG, 'org id ' || v_org_id);
       fnd_file.put_line (fnd_file.output, 'Start org id ' || v_org_id);
       FOR i IN 1 .. 10000
       LOOP
          v_cntr := v_cntr + 1;
       END LOOP;
       l_ret :=
          fnd_request.add_layout ('SQLAP',
                                  ' WMMGDSEPAFORMATXSL',
                                  'en',
                                  'US',
                                  'XML'
       IF l_ret = TRUE
       THEN
          BEGIN
             fnd_file.put_line (fnd_file.output,
                                'Payment batch ' || p_payment_batch
             l_req_id :=
                fnd_request.submit_request ('SQLAP',
                                            'WMMGDSEPAFORMAT',
                                            FALSE,
                                            p_payment_batch
             v_cntr := 0;
             FOR i IN 1 .. 10000
             LOOP
                v_cntr := v_cntr + 1;
             END LOOP;
             p_return_msg := 'Request submitted. ID = ' || l_req_id;
             p_return_code := 0;
             COMMIT;
          EXCEPTION
             WHEN OTHERS
             THEN
                p_return_msg :=
                      'Payment Request set submission failed - unknown error: '
                   || SQLERRM;
                p_return_code := 2;
                fnd_file.put_line (fnd_file.LOG,
                                   'the_request_id ' || l_req_id || p_return_msg
          END;
       END IF;
    END wmmgd_sepa_formats;
    Thanks in advance

    And metalink note 1100253.1 states that this issue (java.lang.StackOverflowError) might be caused by a too large set of data to be sorted in the layout file. Recommendation is to removed the sort from the layout file and instead sort the data already in the data definition.
    regards,
    David.

Maybe you are looking for

  • Outlook 2013 error: The connection to Microsoft Exchange is unavailable

    Environment: Windows 7 Enterprise Setup: Fresh install of Office 2013 Issue: When I launch Outlook I get the error: The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action. Steps to resolve: I

  • Gray Screen of Death on my MackBook Pro

    Hi there I have a new MakBook Pro 2GB memory, and whenever it says still for a while (time veries), it hangs/crashes with this screen http://macosx.com/forums/attachment.php?attachmentid=5789&d=1152353488 MakBook Pro Mac OS X (10.4.7) 2GB Memory it i

  • Problems syncing iPhone4 and new MacBook Pro

    I just bought my MacBook Pro and am trying to add songs from my iPhone4 to my new itunes library. For some reason it will only sync my purchased songs and movies.. But will not allow me to add all my other songs downloaded from other sources, as well

  • WEB Service usage

    Hi All, Please share with me any documents available for web service usage in TM 7.0. Thanks, Selvakumar M.

  • BDC Error:- Runs OK in foreground but NOT in background.

    Hi All, I am trying to do a BDC for stock putaway using LT01. When I run this BDC in foreground it runs successfully and transfers the stock OK with the following message:- Field RL03T-ANFME. input value is longer than screen field (this is not an er