Concurrent generating wrong output format with TEXT as output type

Hi,
I have create a custom rdf and set TEXT as its output type.
I want the text output to be specific format but the concurrent is not generating the exact expected output.
Expected Output:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
<labels FORMAT="E:WIPMATX.ZPL" _QUANTITY="1" _PRINTERNAME="Printer
1" _JOBNAME="LBL101">
<label>
<variable name="$$WIP_ENTITY_NAME$$">BLFTOP</variable>
<variable name="$$WIP_ENTITY_NAME$$">BLFTOP14</variable>
<variable name="COM">19AWG</variable>
<variable name="LOT_NUMBER"></variable>
<variable name="ASSEMBLY">A05A0084-1</variable>
<variable name="QUANTITY_ISSUED">0</variable>
</label>
</labels>
*Wrong Output:*
<?xml version="1.0" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
<labels _FORMAT="E:WIPMAT_X.ZPL" _QUANTITY="1" _PRINTERNAME="Printer
1" _JOBNAME="LBL101">
<label>
<variable name="$$WIP_ENTITY_NAME$$"> BLFTOP </vari
</variable>
<variable name="$$WIP_ENTITY_NAME$$"> BLFTOP
BLFTOP14</variable>
<variable name="COM">19AWG</variable>
<variable name="LOT_NUMBER"></variable>
<variable name="ASSEMBLY">A05A0084-1</variable>
<variable name="QUANTITY_ISSUED">0</variable>
</label>
</labels>
And Actually i am trying to generate this output format type because , wer are using Zebra Printer to print lable and it is a XML enabled bprinter and understand this specifice XML DTD type. We found when set Output type to XML, it was not generating XML in accordance with DTD which Zebra printer understand Hence we are tring to use TEXT output.
Please suggest.
Edited by: user5499188 on Oct 3, 2011 12:12 AM
Edited by: user5499188 on Oct 3, 2011 12:13 AM
Edited by: user5499188 on Oct 3, 2011 12:14 AM
Edited by: user5499188 on Oct 3, 2011 12:23 AM

I get the solution for this issue.
The solution is to use XML Publisher etext temaplate.
Etext is used to get text output in any format.
Regards, :)

Similar Messages

  • Portal Doesn't Display page with text/plain content type

    Hi,
    I created a WSRP portlet with text/plain content type and added it to my page, but I get the following error message:
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    when I add the portlet to my page.
    It works when I use text/html content, but text/plain doesn't work.
    Any ideas how I can get my portlet to display in the portal?
    Thanks in advance,
    GB

    IE6 cannot display text/plain (support.microsoft.com/kb/329661).
    Does the server know what to do (i.e. how to render) with text/plain?

  • Error in REST Web Service with Output Format as Text

    Hi All,
    I am referencing a REST web service, and can successfully connect to it and retrieve results with the Output Format set to XML.
    I don't need the individual node values, I just want to capture the entire XML as a string, and populate a table column with it.
    When I create a new Rest web service reference, with Output Format set to Text, and then create a form/report to run it, I get the following error when I click 'Submit':
    ORA-06550: line 1, column 63: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: ( - + case mod new not null others avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
         Error      Error sending request.
    There are control characters in the XML, but surely this is handled by Apex, so I'm not sure what the problem is here.
    Any ideas most welcome.
    Thanks,
    Rhodri

    Rhodri:
    Application Express expects text response to actually be text response, delimited by other characters denoting a new value, and a new record set. You should leave the response as XML. The XML document will be stored in the xmltype01 column of the collection you specify. You can then convert that xmltype01 column to a clob if you like using .toClobVal().
    Regards,
    Jason

  • Change Pick List Output Format with automated Output format  froTO creation

    hi.,
    When creating TO for delivery using VL06P or LT03 there is no opportunity to print the Company Custom  Format(X1) of the pick list.
    But if it is reprinted in LT31, Print Code X1(Company defined picking list Output format) can be selected. This is our custom formatted TO output format.
    The delivery address is on the document, so if X1 format is used with the automated output from TO creation, Warehouse personel will have the Hardcopy of the delivery address.
    Question: How can i have the Print Code X1 to default when i am creating delivery using VL06P or LT03.
    All help is much appreciated.
    Tx

    Resolved by Myself

  • Output format as text

    Hi All,
    I am trying to run a report in 9i. when i run it from developer it is generating the correct output in text document. But when i run it thru apps it is giving me some special characters of the kind - &d@in many places.Please let me know the solution.
    Thanks

    Rhodri:
    Application Express expects text response to actually be text response, delimited by other characters denoting a new value, and a new record set. You should leave the response as XML. The XML document will be stored in the xmltype01 column of the collection you specify. You can then convert that xmltype01 column to a clob if you like using .toClobVal().
    Regards,
    Jason

  • JEditorPane with text/html content-type still displaying as plain-text?

    Hello all,
    I recently started work on a very basic HTTP GET program that gets the HTML source of a page and, using a JEditorPane, displays the page as normal (i.e. like a browser would).
    Anywhoo, the HTTP GET is fine, and the source is loaded into a String called "html". Then I do this:
    displayArea.createEditorKitForContentType("text/html");
                        displayArea.setText(html);However the content appears in the editor pane as plain-text (i.e. the HTML code appears as-is, not in a 'compiled' form).
    Any ideas why this is?
    Thanks,
    Tristan

    Thanks for the replies, however the setContentType didn't work either. When I changed the code to what you suggested, nothing got inserted into the editor pane at all (i.e. no HTML - nor plain-text?). More of the code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.net.Socket;
    import java.util.Scanner;
    public class ClassName extends JFrame implements ActionListener
         public JTextField urlIn, pageIn;
         public JButton go;
         public JScrollPane scrollPane;
         public JEditorPane displayArea;
         public JPanel topPanel;
         public String url, page, html;
         public int index;
         public ClassName()
              setSize(1230,680);
              setLayout(new BorderLayout());
              JPanel topPanel = new JPanel();
              topPanel.setLayout(new FlowLayout());
              urlIn = new JTextField(18);
              pageIn = new JTextField(18);
              JButton go = new JButton("Go!");
              topPanel.add(urlIn);
              topPanel.add(pageIn);
              topPanel.add(go);
              add(topPanel, BorderLayout.NORTH);
              displayArea = new JEditorPane();
              displayArea.setEditable(false);
              add(displayArea, BorderLayout.CENTER);
              go.addActionListener(this);
              urlIn.addActionListener(this);
              setVisible(true);
         public static void main(String args[])
              new ClassName();
         public void actionPerformed(ActionEvent e)
              if( e.getActionCommand() == "Go!" )
                   url = urlIn.getText();
                   page = pageIn.getText();
                   if (url != null && page != null )
                        try
                             final int HTTP_PORT = 80;
                             Socket s = new Socket(url, HTTP_PORT);
                             InputStream inStream = s.getInputStream();
                             OutputStream outStream = s.getOutputStream();
                             Scanner in = new Scanner (inStream);
                             PrintWriter out = new PrintWriter(outStream);
                             out.print("GET " + page + " HTTP/1.0\n\n");
                             out.flush();
                             while( in.hasNextLine() )
                                  String input = in.nextLine();
                                  html = html + input;
                             s.close();
                        catch (Exception exception)
                             System.out.println("Error: " + exception);
                        displayArea.setContentType("text/html");
                        displayArea.setText(html);
                        urlIn.setText("");
                        pageIn.setText("");
                 else
                      System.out.println("Please enter something!");
    }Am baffled as to what the problem is? :-(
    Thanks,
    Tristan

  • Output determination with base pricing condition types

    Hi folks,
    got a question regarding the Output determination..
    In the outptut type i.e order confirmation and change order confirmation, it is showing the the base price condition type i.e PR00.
    But the client wants it to pick up the condition type material discount k004...
    is it possible ?   because what my understanding was that the output types typically picks the base condition type PR00.
    but the client wants it to pick up this K004..
    can anyone say how to do this....
    thanx in advance,
    sourav
    I

    In the Pricing procedure configuration there is a column Print, where for each condition you may specify if and how the condition should be printed. There is good documentation (F1) available on this field. Clear this field on PR00 and set to 'a' (or any other applicable value) for K004. This change will affect all the documents that are using the same pricing procedure though.
    Otherwise either the output processing program or the form (both names may be found in the Output configuration) will have to be changed or, if the standard ones are being used, those will have to be copied as the custom (Z...) objects and then modified accordingly.

  • APEX BIP report query output format - not able to set with a variable

    I have a Named Columns (RTF) report that is working great, but I can't control the output format with a variable. I can set the "Output Format" in the Report Query Attributes, but it doesn't work when I set the report output format to "Derive from item". No matter what the item contains, I always get PDF output. I can see the variable in my session, but it doesn't control the output format. I have tried using the values "xml", "XML", "rtf", and "RTF".
    Any help would be appreciated...

    My guess is that an exception is being thrown for some rows. Since you've stubbed out your catch phrase to do nothing you're not going to have any visibility into what exception was thrown. You need to put some kind of logging in the catch phrase to see
    what is happening.

  • Changing Oracle Report Output Format at runtime

    Dear All,
    I've custom Oracle Report in Oracle Apps., and would like to give the users an option to select the output format (XML, TEXT, PDF, etc.) whilst submitting the request.
    As a SYSADMIN, we can modify the Output Format value of the concurrent program(Oracle Report in this case) to one we like.
    But I would like the user to select this output format option at runtime, rather then hard coding at SYSADMIN level. For that I've to create a Value Set with the desired report output format options, and attach this to the concurrent program.
    My question is, how we can make the desired output format to work at runtime?
    If any one can help?
    Thanks,
    Sandeep

    Hi Steve,
    I couldn't get it...???
    I'm running an Oracle Report in Oracle Apps. release 11.5.9
    The default output format of this report is TEXT, which is defined in its concurrent program.
    This report is submitted using standard request submission screen, and after successful completion we can view the output by pressing "View Output" button on "Requests" screen. This will open an another window and we can view the output page by page. Using "Tools>Copy File..." menu option, we can view the same output in IE window.
    Now, how does your resolution fits here and how can I view the same report in XML format?
    Many Thanks,
    Sandeep

  • SCOT Configuration for output format XLS in ECC6

    Dear All,
    Currently the ECC6 that I'm trying to configure the SCOT does not have a XLS format for Abap List, so I couldn't proceed with it.
    Since the ECC6 only have standard output format. (HTM , PCL , PDF , TXT)
    Is there anyway to add the output format for the XLS output format for SCOT configuration.
    Thanks & Best Regards,
    Rahim.

    Hi,
    Please refer SAP note 1151258.
    Thanks
    Sunny

  • Issue with the music output

    There's a major issue with my z1's music output,infact with all audio outputs,the sound quality including the volume is too less to be heard, this us seriously dissapointing as SONY is known for good music output as the trademark representing WALKMAN being an name for best awards. I wana know that is that an issue with my phone or is it the same basic settings with every phone. i want a good high,loud music experience and buying behind xperia z1 was one of many reasons. So please solve this problem as im too much dissappointed
    Regards

    Hi msd69,
    Welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    Have you tried powering the handset in to safemode to see if the audio has changed in volume? this could be related to software or a third party application. use the link below to get the handset in to Safemode for testing.
    Safemode instructions
    let us know how you get on.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • 'Format Payment Instructions with Text Output' program ending in error

    Hi All,
    'Format Payment Instructions with Text Output' program of the payment cycle is completing in to error.
    error is:
    length of the output - baos::4914
    After formatting, periodicSeq is null or empty.{}
    length of the output - baos::4914
    Exit: iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCommon()
    Saving format output.
    Enter: iby.scheduler.FDExtractAndFormatting.queryFileSysAttributes
    Querying file system output attributes
    ppDir: null
    ppExt: null
    ppPre: null
    File system output settings that override the concurrent program default: {}
    Exit: iby.scheduler.FDExtractAndFormatting.queryFileSysAttributes
    Enter: iby.scheduler.FDFormatProgramUtils.saveToFileSystem()
    Concurrent request output file name: /NGFQ2/oraapps/NGFQ2/inst/apps/NGFQ2_dngfdb25/logs/appl/conc/out/o19301342.out
    Opened file in append mode: /NGFQ2/oraapps/NGFQ2/inst/apps/NGFQ2_dngfdb25/logs/appl/conc/out/o19301342.out
    Exit: iby.scheduler.FDFormatProgramUtils.saveToFileSystem()
    Enter: iby.scheduler.FDExtractAndFormatting.saveFormatOutput()
    Nov 25, 2009 7:59:16 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.;
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.OAApplicationModuleFactory.createRootOAApplicationModuleInternal(OAApplicationModuleFactory.java:476)
    at oracle.apps.fnd.framework.OAApplicationModuleFactory.createRootOAApplicationModule(OAApplicationModuleFactory.java:608)
    at oracle.apps.iby.util.OAAttachmentServerUtilsWrapper.<init>(OAAttachmentServerUtilsWrapper.java:35)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.saveFormatOutput(FDExtractAndFormatting.java:450)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.doExtractAndFormat(FDExtractAndFormatting.java:421)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.runMainLogic(FDExtractAndFormatting.java:251)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.runProgram(FDExtractAndFormatting.java:141)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to load metamodel definition because the mmd file file:/NGFQ2/oraapps/NGFQ2/inst/apps/NGFQ2_dngfdb25/logs/appl/conc/log/null/jrad/JRADElementList.xml is invalid.
    /NGFQ2/oraapps/NGFQ2/inst/apps/NGFQ2_dngfdb25/logs/appl/conc/log/null/jrad/JRADElementList.xml (No such file or directory)
    at oracle.adf.mds.internal.ElementData.<init>(ElementData.java:113)
    at oracle.adf.mds.internal.MElementImpl.<init>(MElementImpl.java:480)
    at oracle.adf.mds.internal.jbo.JBODefManagerHelper.getSubstitution(JBODefManagerHelper.java:240)
    at oracle.adf.mds.internal.jbo.JBODefManagerHelper.getSubstitution(JBODefManagerHelper.java:178)
    at oracle.adf.mds.internal.jbo.JBODefManagerHelper.listBindings(JBODefManagerHelper.java:124)
    at oracle.adf.mds.jbo.JBODefManager.listBindings(JBODefManager.java:100)
    at javax.naming.InitialContext.listBindings(InitialContext.java:406)
    at oracle.jbo.mom.DefinitionManager.findSubstituteName(DefinitionManager.java:451)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:411)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
    at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
    at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
    at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)
    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
    at oracle.apps.fnd.framework.OAApplicationModuleFactory.createRootOAApplicationModuleInternal(OAApplicationModuleFactory.java:428)
    at oracle.apps.fnd.framework.OAApplicationModuleFactory.createRootOAApplicationModule(OAApplicationModuleFactory.java:608)
    at oracle.apps.iby.util.OAAttachmentServerUtilsWrapper.<init>(OAAttachmentServerUtilsWrapper.java:35)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.saveFormatOutput(FDExtractAndFormatting.java:450)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.doExtractAndFormat(FDExtractAndFormatting.java:421)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.runMainLogic(FDExtractAndFormatting.java:251)
    at oracle.apps.iby.scheduler.FDExtractAndFormatting.runProgram(FDExtractAndFormatting.java:141)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    An error occurred. Roll back any changes.
    Done roll back changes.
    Request completed in error.
    Has anybody came across this error. If yes, what needs to be done to resolve this error?
    Thanks in advance for your help.
    Thanks Again,
    Sachin

    Hi,
    oracle.adf.mds.exception.MDSRuntimeException: Unable to load metamodel definition because the mmd file file:/NGFQ2/oraapps/NGFQ2/inst/apps/NGFQ2_dngfdb25/logs/appl/conc/log/null/jrad/JRADElementList.xml is invalid. Please see if (Note: 556812.1 - R12 Error When Running The Payment Format: JRADElementList.xml is Invalid) is applicable.
    Regards,
    Hussein

  • Format Payment Instructions with Text Output issue

    Hi All,
    We have requirement like don't want print checks in oracle, just process the payment, generate the document number(check number) in oracle and send the data file to third party system. It takes care the check printing.
    For this I developed e-text xml template, created the payment format of type Disbursement Payment Instruction, attached to bank account and Payment process profile.
    When I am processing payment it is submitting 'Format Payment Instructions with Text Output' instead of 'Format Payment Instructions' but that program extracting the previous check information which not related to supplier and as well as payments batch.
    Please let me know what would be the issue?
    Thanks
    Praveen

    Hi Javvaji,
    Please check the following steps,
    1) Created XML Pubblisher template and attached the .rtf (Type - eText-Outbound, Default Output Type - eText)
    2) In Payable Manager responsibility Create a Payment Format ->
    Setup-> Payment Administrator-> Formats (Add XML Publisher Template created in step1)
    3) Setup-> Payments -> check existing Bank & Bank Branches
    4) Setup-> Payments -> Bank Accounts -> Create the payment Document Number
    5) Attach the Bank account to a valid supplier: Payables – Suppliers -> Entry
    6) Now to create the payment Process Profile (PPP)
    Navigation : go to Payables -> Setup-> Payment Administrator
    7) Now to attach everything (PPP,format,document etc.) to the Template
    First step to Create a “Template”
    Navigation: Payables,Vision Operations -> Payments -> Entry -> Payments Manager
    8) Then go to Tab “Payment Process Requests” Then click on “Submit Single Request”
    9) Check View -> Requests
    No output generated in 'Format Payment Instruction' program.
    which program I can get the eText output?
    Please suggest.
    Thanks & Regards,
    Sagarika

  • 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

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

Maybe you are looking for