Plain text output

HI all!
Is there any simple way to generate plain text output in BI Publisher?
The situation is very simple: the query is (for example)
select text1 from my.table1So I need to put only one column (as is, without special padding etc) in *.txt output, I don't need special formatting.
row1
row2
row3
...How can I perform this task?
I tried to create an RTF template where there is a simple table without borders and withoud headers, and made CSV format. But in csv format I see
a) the column heading (alhough there are no headings in RTF)
b) each output row is quotted
c) crlf character is not as I expected (if I open the output in NOTEPAD, I see squares where there should be CRLF character)

I can't try RTF - we need txt files which are subsequently loaded into the system which sends sms to clients.
Each file contains rows with information about client, mobile phone etc. All these rows are prepared in one field of the table, so the query in the Publisher is simple: select text_sms from table1.

Similar Messages

  • Leaving mapped idoc segments out of plain text output

    Hello all,
    I mapped a customer IDoc with one header and detail lines to a message maping with one header and detail lines. The value's in the header are used for variable substitution for the file name.
    The has to be writen as csv to a ftp server. I do this by using the file content conversion. Now I only want the detail lines to be written to the file so I only mensioned the detail line as the record set structure.
    When I look at the output the header is stil part of the csv file.
    Is there a way to prevent the header line being part of the output ? (of course without deleating it from the message type structure)
    Regards,
    Jasper

    check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm
    Try Using the following
    Customer.addHeaderLine = 0
    Customer is the structure here.
    Reward if helpful.
    Sachin

  • Need to generate check writing output in plain text format in 12.1.3.

    In 11.5.10.2 a plain text file output can be created which is then used with a third-party software from Secure32 to create AP checks. Now in 12.1.3 I cannot get this same plain text output for check writing. The XML output contains flags which cannot be used with older version of Secure32 (upgrading Secure32 is not an option)
    Go-live is 30 days away and AP check cannot print. Because of time constraints theire is no time to set up and use the embedded R12 check writing features.
    Any help of tips would be appreciated - thanks.
    Edited by: user702225 on Dec 20, 2011 9:24 AM

    In 11.5.10.2 a plain text file output can be created which is then used with a third-party software from Secure32 to create AP checks. Now in 12.1.3 I cannot get this same plain text output for check writing. The XML output contains flags which cannot be used with older version of Secure32 (upgrading Secure32 is not an option)
    Go-live is 30 days away and AP check cannot print. Because of time constraints theire is no time to set up and use the embedded R12 check writing features.
    Any help of tips would be appreciated - thanks.
    Edited by: user702225 on Dec 20, 2011 9:24 AM

  • ASCII text output

    How do I generate a ASCII report with Reports Builder (Oracle9i DS)?
    I want plain text output with white spaces between columns.
    Thanks,
    Alex

    Hello Alex ,
    ASCII report with Reports Builder (Oracle9i DS):
    Generate to file in delimited format.
    File -> Generate to file - > Delimited -> Delimeter = space
    With Regards
    Sachin

  • MII 12.1 Support for plain text (text/plain) output

    I'm hoping someone can guide me on how to output plain text from an MII 12.1 transaction
    I have three MII systems to test against: MII 11.5.6 b73, MII 12.0.6 build 15, and MII 12.1.5 build 85
    Here's the test files I used on all three systems...
    1) Create a new MII transaction
    2) Create a new Transaction parameter called "Output" of type string and set the value to "Hello World"
    3) Save the transaction anywhere as "HelloWorld"
    4) Create a new Xacute Query and point it to the "HellowWorld" transaction
    5) Map the output parameter to "Output"
    6) Save the Xacute Query as "HelloWorldQuery"
    Scenario - Execute an MII Transaction via URL
    1)Open a new browser window
    2) Type in the following URL (replacing the bracketed params):
    http://[[SERVER]]:[[PORT]]/XMII/Runner?Transaction=[[PATH_TO_HELLOWORLD]]&OutputParameter=Output&Content-Type=text/plain (12.x,12.1)
    or
    http://[[SERVER]]/Lighthammer/Runner.jsp?Transaction=[[PATH_TO_HELLOWORLD]]&OutputParameter=Output&Content-Type=text/plain (11.5)
    3) Both MII 11.5 and MII 12.0 will output the "Hello World" string (no XML). MII 12.1 will return the Output in XML format (text/xml).
    Thanks in advance!

    Create transaction with a SAP MII Document output, where you have inserted the text as a SAP MII message. The output will be in the form:
    <Rowsets><Messages><message>text to output</message></Messages></Rowsets>
    Insert the transaction into a XAcuteQuery
    Create a stylesheet which only output is the message node in the output from the transaction
    <xsl:output method="text" encoding="UTF-8" />
    <xsl:template match="/Rowsets/Messages/Message">
    <xsl:value-of select="." />
    </xsl:template>
    Run the query from the url:
    "http://SERVER:PORT/XMII/Illuminator?QueryTemplate=QUERYTEMPLATE&Stylesheet=STYLESHEET"

  • How to get plain text out of a multi line text field in Client Side Object Model?

    I am trying to read plain text from a MultiLineTextField in a List. This is how my code looks so far:
    //Get connection
    ClientContext context = new ClientContext("URL");
    Web site = context.Web;
    context.Load(site);
    context.ExecuteQuery();
    //Get list collection
    ListCollection lists = context.Web.Lists;
    context.Load(lists);
    context.ExecuteQuery();
    //Get specific list
    List menu = lists.GetByTitle("menu");
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXML = "<View/>";
    ListItemCollection dishes = menu.GetItems(camlQuery);
    context.Load(menu);
    context.Load(dishes);
    context.ExecuteQuery();
    //Iterate through all dishes
    foreach(ListItem dish in dishes)
    Console.WriteLine("Dish: {0}:", dish.FieldValues["Name"]);
    Console.WriteLine("Price: {0}:", dish.FieldValues["Price"]);
    //Here I get my problem
    Console.WriteLine("Ingredients: {0}:", dish.FieldValues["Ingredients"]);
    In the last line where I try to read the ingredients, I am reading from a MultiLineTextField which is set to RichText. It is also supposed to stay in RichText format, as hyperlinks are supposed to be added there. The problem is that the output not only contains
    div-tags but also some weird question marks I never added to the field. I am trying to solve this issue for a couple of days now but it seems that there are only two possible solutions.
    Set the field from RichText to PlainText, which is not an option in my case.
    Use Regex to remove the div-tags. Please do not suggest this option. Mainly because I do not consider this to be a clean solution for this issue. Plus, I tried it and it removes the tags but those weird question marks stay.
    There seems to be a third option I found
    here. It is also mentioned in this
    question and it seems to work. But I can not get it to work for me. This is how it looks:
    string myString = item.FieldMultiLineText[Field_Name];
    So I wonder what is item supposed to be here? I suppose it is not a
    ListItem because in my case it does not offer a FieldMultiLineText-property.
    A short, informative code snippet would be great if you decide to help me with this issue.
    Thanks in advance.
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki

    Thank you for your reply. Unfortunately ListItem does not contain a definition for the Fields method.
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki
    You need to use the Microsoft.SharePoint class library and then use the sharepoint version of all the list objects you are using. See below.
    //Get connection
    ClientContext context = new ClientContext("URL");
    Web site = context.Web;
    context.Load(site);
    context.ExecuteQuery();
    //Get list collection
    SPListCollection lists = context.Web.Lists;
    context.Load(lists);
    context.ExecuteQuery();
    //Get specific list
    SPList menu = lists.GetByTitle("menu");
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXML = "<View/>";
    SPListItemCollection dishes = menu.GetItems(camlQuery);
    context.Load(menu);
    context.Load(dishes);
    context.ExecuteQuery();
    //Iterate through all dishes
    foreach(SPListItem dish in dishes)
    Console.WriteLine("Dish: {0}:", dish.FieldValues["Name"]);
    Console.WriteLine("Price: {0}:", dish.FieldValues["Price"]);
    //Here I get my problem
    SPFieldMultiLineText multilineField = dish.Fields.GetField("Ingredients") as SPFieldMultiLineText;
    string ingredients = "";
    if (multilineField != null)
    ingredients = multilineField.GetFieldValueAsText(dish["Ingredients"]);
    Console.WriteLine("Ingredients: {0}:", ingredients);}
    I hope this helps
    Alex

  • Save results of javascript operation to a plain text file

    Hi,
    How do you save to a file using Acrobat javascript? Not a PDF file - I know how to do that - but to a plain text file.
    I have javascript that searches through a PDF document and generates some output. I can send the output to a Report (in PDF format, obviously) or to the console, but I can't see how to send it to a plain text file, which is what I need.
    Any assistance gratefully appreciated.
    Thanks,
    Tim.

    Ah, great, yes that seems to do what I want.
    However, I get an error ...
    My code is as follows:
    function CreateOutput()
         // assembles text and puts it into the variable: output
         // e.g.:
         output = "Hello, world";
    var output = "";
    CreateOutput();
    this.createDataObject("testfile.txt", output);
    Unfortunately I get this error and I don't understand it!
    InvalidGetError: Get not possible, invalid or unknown.
    Doc.pageNum:6:Batch undefined:Exec
    Obviously I'm doing somethign wrong ... but what?
    Thanks very much,
    Tim.

  • HTTP Receiver Adapter payload as single line plain text with out any tags.

    Hi PI experts,
    I have a strange problem in http receiver adapter.
    Sender RFC (SAP)  Receiver: HTTP.
    Receiver system expects the output from XI in the below format in a single line plain text with out any tags in the payload. and the content type should be application/x-www-form-urlencoded
    Group=Test&Sentinel=Web%20Server&Facility=5345&Order Number=XT-XWHM-Y-NA&Serial Number=123456&@LABEL_QUANTITY=5&@LABEL_NAME=111114_Q
    Is there any way to achieve this using http receiver adapter. Business is not ready to accept the output from XI not even in a single element instead they only need it as a JUST a plain text.
    Appreciate early response on this.
    Thanks in Advance,
    Jitender

    Dear Ola,
    Could you elaborate how you achieved in catching the response data from the receiver in case of HTTP receiver adapter?
    The target service is not a WebService but some python script that must to receive some paramters via POST request.
         HOW can I post this parameters?
    Here you entered the fields of the message type of the request in the header parameters of the receiver adapter? Thats fine.
    But what about the message type and vice versa of the response from the receiver?
    Regards
    Rebecca

  • Plain Text Control in Form - Add carriage return in text

    Hi, I'm trying to output a carriage in a Plain Text Control.  I've tried several combinations like CHR('13'), but can't get it to work.   Anyone know how to do this?
    Thanks,
    Ken Murray

    Hi Kenneth,
    did you try "\n" ? Like:
    "Entering a \n new line"
    HTH,
    Carsten

  • ITunes v8.1 does not export music library in plain text w/proper CR/LFs?

    Just an FYI...I can recreate this every time. Has anyone else tried and seen the same issue with the new v8.1? I never had this issue with the previous iTunes release. Thanks!
    The new iTunes v8.1 released yesterday does not export the music library in plain text with proper CR/LFs.
    To recreate this bug:
    Select Music from your library
    Go to File -> Library -> Export Playlist...
    Save as a Music.txt and view the output file.
    You will see a continuous single line that contains correct tab separations. However, the correct end of the subject headers in addition to each song (which should be it's own line) is missing proper CR/LFs to format the file correctly.

    Seeing it with 8.1 under 10.4.11 too.
    I was really hoping that 8.1 was going to fix the problem with text export mangling accented characters, not to keep that bug and add a major new one on top of it!

  • BIP report in plain text/fixed format.

    Hi,
    Is there an option for a BIP report to go out in plain text/fixed format. I dont see that option in the drop down where we select the format and view/send/schedule reports. Is this plain text/fixed format available in BIP at all? Also if I need to send/schedule a report with report name+date...can BIP do that? Please adivce. Thanks.

    There is no plain text format.
    Fixed format means you can select the format you need from the Limited Output Format.If You select only PDF for example the user able to see only the PDF output.
    While You schedule the Report under the Report parameter tab
    you will get the Template and the Format option .There u can select the Format you want to send.
    Thanks

  • Plain Text Not available in Control Properties

    Hi,
    I am not sure if this is a strange behavior or its an expected one. We have a BI query and pulled in an Input Form and then the output to a table. On clicking on this recoed it should display all the output fields in a form with its name and value. For the parameters I do not see an option for selecting Plain Text. It gives me only input field, dropdown, text editor.
    Why is this happening? Is there any way that I can map these fields to a plain text?
    Thanks,
    Nagarajan.

    Hi,
    Sorry for not being clear. From the BI Query Out port I have a Table which will display the result values. Now when I select any of the row item in the table there is a form connected from the table out port. This form should display all the details of the row item. When I try to look into the control properties for these parameters in the form I don't have an option to select plain text.
    I can only display the values in the input field. I want these values to be displayed in plain text instead of input field. Logically it makes sense because there should be two plain text fields for a value because one text field will display the Parameter name and one will display its corresponding value. That's the reason it is not available.
    But just chekcing if there are any easier way to do this other than creating 2 plain text fields for one parameter and mapping these items. Because I have around 40 fields to be displayed which will be make my life worse by manual creation
    Thanks,
    Nagarajan.

  • Superscript converts into plain text

    Hi,
    I´m trying to generate a rtf output with an rtf template.
    The text marked as superscript on the template, shows like plain text on its output but if I generate a pdf, it goes all ok.
    Could it be a word issue? Or perhaps it´s a Bi publisher limitation?
    Is there a way to avoid this problem?
    Thanks

    I would suggest you to raise an SR for this.

  • 26194 (7080/tcp) Web Server Uses Plain Text Authenti ...

    Our recent tenable security scan on the PeopleSoft web server shows the web
    server is using the plan text authentication. We are using the both secured
    (port 7081) and non-secured (port 7080) web services (PeopleSoft Weblogic
    web server). I have attached the detailed message to the submitted case. It
    looks that the LoginForm.jsp is passing the plain text password. I just
    don't know how to fix this? any suggestions?
    Vulnerability Details
    Vulnerability Report Description:
    Synopsis :
    The remote web server might transmit credentials over clear text
    Description :
    The remote web server contains several HTML forms containing
    an input of type password which transmit their information to
    a remote web server over plain text.
    An attacker eavesdropping the traffic might use this setup to
    obtain logins and passwords of valid users.
    Solution :
    Make sure that every form transmits its results over HTTPS
    Risk factor:
    Medium / CVSS Base Score : 5.0
    (CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Plugin output :
    Page : /console/login/LoginForm.jsp;ADMINCONSOLESESSION=LGY........
    Destination page : /console/j_security_check
    Input name : xxxxxxxxx
    Page : /console/login/LoginForm.jsp;ADMINCONSOLESESSION=LGY........
    Destination page : /console/j_security_check
    Input name : xxxxxxxxx

    The most common solution to the problem is to only transmit user/pass over https. You might want to only enable https on your server. Or (more finer grained solution might be to access the app only over https)

  • Generating html links from plain text

    How can I scan a text (a String) and add links when a word is an URL?
    I tried the following which works but it's too slow:
      String text = rs.getString("text");         
                    text2scan=text.split("[\n ]")
                    for(int i = 0; i < text2scan.length; i++){
                        String replacement = null;
                        String word = text2scan;
    log.info(word);
    if(word.indexOf(".com")!=-1){
    replacement="<a href=\""+word+"\">"+word+"</a>";
    text=text.replaceAll(word, replacement);
    text=text.replaceAll("www","http://www");
    text=text.replaceAll("http://http://","http://");
    text=text.replaceAll(">http://",">");
    Isn't this already implemented somewhere?
    Thanks
    Niklas

    Because I was semi interested by this issue, and how best to solve it, heres a quick and dirty example program.
    It does a very basic job, but should be pretty much equivalent to what you had originally.
    package mypackage;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class RegexpMakeHyperlinks {
          * Loads a file into a StringBuffer
          * @param f File to read
          * @return StringBuffer with contents of text file.
          * @throws IOException
         public StringBuffer loadFile(File f) throws IOException {
            System.out.println("Reading file " + f.getAbsolutePath());
              BufferedReader in = new BufferedReader(new FileReader(f));
              StringWriter sw = new StringWriter();
              PrintWriter pw = new PrintWriter(new BufferedWriter(sw));
              String line = null;
              while ((line = in.readLine()) != null) {
                   pw.println(line);
              pw.flush();
              in.close();
              return sw.getBuffer();
          * Writes the contents of a StringBuffer to file
          * @param f File to write to
          * @param sb Text to write to file
          * @throws IOException
         public void writeToFile(File f, StringBuffer sb) throws IOException{
              System.out.println("Outputting to " + f.getAbsolutePath());
              BufferedReader in = new BufferedReader(new StringReader(sb.toString()));
              PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(f)));
              String line = null;
              while ((line = in.readLine()) != null) {
                   out.println(line);
              out.flush();
              in.close();     
          * Converts all urls like "www.google.com" into hyperlinks in the text.
          * @param initialText The text to convert
          * @return Converted text.
         public StringBuffer convertText(StringBuffer initialText) {
              StringBuffer result = new StringBuffer(initialText.length());          
              Pattern p = Pattern.compile("(href=\")?(http://)?www\\..*?.com\\b");
              Matcher m = p.matcher(initialText);
              while (m.find()) {
                   String href = m.group();
                   // ignore links that are already hyperlinks
                   if (href.startsWith("href")){
                        continue;
                   // add on the http:// if necessary
                   if (!href.startsWith("http://")) {
                        href = "http://" + href;
                   // add the new text into the output.
                   m.appendReplacement(result, "<a href=\"" + href + "\">" + href + "</a>");
              m.appendTail(result);
              return result;
          * Testing method for experimenting with the patternmatching
          * @param text
         public void matchLink(String text) {
              System.out.println("Analyzing text " + text);
              Pattern p = Pattern.compile("(http://)?www\\..*?.com\\b");
              Matcher m = p.matcher(text);
              while (m.find()) {
                   System.out.println("Found: " + m.group());
         public static void main(String[] args) {
              RegexpMakeHyperlinks hyper = new RegexpMakeHyperlinks();
              String[] testStrings = { "www.google.com", "www.myspace.net", "make sure you visit www.yahoo.com for details", "Two sites: http://www.java.com and http://www.javabeans.com" };
              for (int i = 0; i < testStrings.length; i++) {
                   hyper.matchLink(testStrings);               
              System.out.println();
              System.out.println("----------------------------");
    System.out.println();
    File inFile = new File("makeHyperlinkTest.txt");
    File outFile = new File("makeHyperlinkTest.output");
    try{
    StringBuffer sb = hyper.loadFile(inFile);
    StringBuffer result = hyper.convertText(sb);
    hyper.writeToFile(outFile, result);
    catch(Exception e){
         System.out.println("Error " + e.getMessage());
         e.printStackTrace(System.out);      
    And a test file makeHyperlinkTest.txt
    This file just contains plain text with hyperlinks to places like www.google.com and http://www.yahoo.com.
    The program I have written will convert these links like www.google.com into hyperlinks for displaying as html.
    Make sure you visit http://www.java.sun.com and read all about Java.
    And if I already have an <a href="www.google.com">Hyperlink</a> in this file it should leave it alone right?

Maybe you are looking for

  • Reg: ALV report -  output download

    Hi Friends, I am having one issue reg download of  ALV (Grid display) report output. we are having vendor number at 1st colomn. It's displaying correctly in output. (eg:0000100069). But, when I download the output into a excel file, last digit of the

  • REPORT GETS HUNG WITH THE REPORT QUEUE SHOWING THE STATUS OF OPENING

    I have installed Oracle 9ids on windows 2000 platform. This installation is part of the oracle clinical installation process. The installation went on fine except few problems during generating reports. I am able to generate report but as soon as any

  • Can I have control Quicktime to play full screen?

    My QT player will allow me to choose a full-screen mode when I play movie clips. Is there a lingo method to make a QT movie scale to full screen like this?

  • Index of word in a String

    How can I find the index of a word in a String? E.g. String a = "This is a book"; In this the index of word "is" is 5 not 2. A word is a sequence of char separated from other char sequences by a one of " \t\n\r\f", i.e. the default StringTokenized de

  • Why are podcast episode titles not displaying properly.

    I publish the "Twilight Guitar" podcast on iTunes, Sticher and other platforms. My feed is at http://feeds.feedburner.com/twilightguitarpodcasts I use Wordpress and feedburner to publish without problems elsewhere. But when subscribing to my podcast