Text output

hello experts
I met a strange problem as below
the item can not be output in the same line.
like   
item no    decription        currency    amount
aaaaaaas
1-- USD--
10000
the  SAPScript
/E           HEAD_TEXT
/:           INCLUDE &VARI1& OBJECT BELEG ID Z008 PARAGRAPH IE
/E           LINE_ITEM
H8           &item&,,
/:           IF &T_INV_ITEM-SGTXT& NE ''
=           &t_inv_item-SGTXT(50)& &it_rebzg(20)&,,
/:           ELSE
=           &t_inv_item-SGTXT(62)& &it_rebzg&,,
/:           ENDIF
=           ,,&t_inv_hdr-waers&,,,,&it_pay_tot1&
would u please help me to solve it
Thank u in advance
Kevin
Message was edited by:
        Kevin Gao
actually i maintianed the text in the header of fi document
Message was edited by:
        Kevin Gao

hello prashant
thanks for you quick reply.
The requirement is that output the decription of item.
when the header text exist, the text should be output in the decripiton column.
otherwise , the text of item will be output in same position.
the latter is okey. but the former is not okey.. like above mentioned
thank u
do u understand what i said?
Message was edited by:
        Kevin Gao

Similar Messages

  • Creating a text output using XML Publisher

    Hi All,
    Recently i created a  report for my client using XMl Publisher. The Data Definition was XML and the template type was RTF and i got the output in a PDF format. All was going smoothly until the client decided at the last moment that they wanted to print this in a dot matrix printer!
    I've read some articles on XSL- Text layout templates. But i can't get my head around it (I'm Functio-Technical as opposed to Techno-Functional )
    How do i convert my RTF template to give me a text output?
    Miranga

    From what I know, you will have to create another template based on "XSL" layout or eText layout (both of them require different coding methods). The RTF can not create text outputs even in 11g. This is based on my experience so far. You can create RTF output (available by default) based on the current layout that you use for PDF and see if it can be printed in a dot matrix printer though.

  • Open Text output of a Report in Excel  - Bad format

    Hi All,
    We have a report in Oracle Apps 11i(11.5.10) with Text as output format. We would like to open the file in Excel format.
    We have done the recommended setups from the metalink note ID 316752.1.
    Output is generated in Excel, but the format is not proper. Column level data is not displayed on Cell wise in the Excel, instead all the output is
    dispalyed in single column in the Excel.
    Any pointers on how to format the output to align each column in the output to the individual cell in the Excel.
    Or else.. how to generate the output to Excel file?
    Regards,
    Ram

    user504044 wrote:
    Helios,
    Kind regards for the reply.
    I have surfed all the notes. My problem is.. I can open the text output in Excel. But the format is bad.
    Output is nor properly alinged to the cells in the Excel.
    And being the report is .RDF, any way we can do on the format?Hi Ram,
    1. Are you using XML publisher to get the excel output?
    2. If yes did you set the layout to excel when you run the concurrent request on the SRS screen?
    Thanks
    Shailendra
    >
    Regards,
    Ram

  • '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

  • Generating TEXT output from RTF template/reports

    Hi ,
    We have been working with XML Publisher for a long time now.. and we have come across some requirements such as
    1. Page break in TXT report output
    2. Page Headers after every 'X' lines in TEXT output.
    This was easily achieved with RTF template and PDF/HTML/RTF output, but not with TEXT output in eTEXT template.
    So we started looking into two approaches
    1. Generate TXT from PDF/RTF/HTML output(generated from RTF template), though it will addon to the time, but we are looking for this approach. We are looking for some JAVA api's which can help us to extract text from PDF/HTML/RTF while preserving the format.
    2. Pass the TXT generated by eTEXT template to our custom util , which will split the report in diff. pages.This will get complex as we recieve more and more reports.
    We have also tried hacking the RTF parser used in XML P so as to get a TXT output or using XSL-FO objects in eTEXT parser, but we could not get anything of our help.
    Does anyone have any pointers in this.
    regards
    Gaurav

    You can burst with eText and I have done it
    successfully.
    I don't believe pagebreaks are an option in eText and
    I don't think it makes sense either since your
    generating a flat-file and not a customer or internal
    facing document. Does that make sense?
    Also, if you would like you can use the
    BIPublisherIDE, this code can be converted pretty
    easily to handle jcp. There is a an oa framework
    version I have developed but I haven't posted on my
    blog yet. I plan on adding a bolt on for java
    concurrent programs soon. it's really pretty simple
    just haven't had the time.
    http://bipublisher.blogspot.com/2008/03/bi-publisher-b
    ipublisheride.html
    Ike Wiggins
    http://bipublisher.blogspot.com
    Thanks Ike for your reply.
    I agree with your points on TXT files, but in our case,the reports are generated in TXT format for the customer so we are looking for the above mentioned features.
    I have gone through BIP IDE and its a wonderful small utility which eases the task of BIP development.
    As I mentioned in my original post that we are currently processing the generated TXT report using a custom util. in JAVA to get the desired output in TXT again.
    I assume thats not what a JCP would do,so I am looking to explore that too.
    As I understand the process for report generation is
    1. Generate XSL from eTEXT template.
    2. Get the XML data from DB using XDO
    3. Apply XSL on XML to get the required template.
    If we are looking to achieve some customizations then we need to have the XSL generated with those customizations.
    In this case, where do we plug in the JCP to alter XSL or am I missing something.
    regards
    Gaurav

  • Executing a native process and getting the text output

    Hi,
    I have the following problem.
    When I execute a native DOS process (lets say a batch file), and
    expect some text output from this process I use the following code:
    String command = "test.bat";
    Process process = runtime.exec(command);
    BufferedReader rd = new BufferedReader(new InputStreamReader(process.getInputStream()));
    String s = new String();
    while((s = rd.readLine())!=null) {
         out.println(s + "<br/>" );
    The problem is that as long as rd.readLine() does not return null, the page does not display the result. When the process crash, sometimes nothing return.
    I would like to display the output as it comes, i.e. line by line.
    I have no clue on how to do that except writting the output in a text file, and reading the text file with a page that reload every x seconds.
    I do not beleive this is a good solution.
    Additionaly, I may have a huge output. It seems to make the process
    to hang. Is there a was to fix it.
    Could someone give me some hints.
    Regards,
    Arnaud.

    I am having the same problem...did you ever solve it?

  • 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

  • How to take Text Output in File as It shows error of Printer definition file

    I want to take Output of a report in text file or rtf format so that i could be able to print on a DMP, it is very difficult to take printing on Inkjets with wide information. How can i take fast printing on Dot Matrix Printer.
    Looking forward for a quick & positive response.

    Hi ,
    Text outut dump can be got by running the report with desformat as delimited. Alternatively You can run the Report in character mode and set the desformat=dflt and destype=file. This will give you a simple text output of the report which can then be printed.
    Thanks
    Oracle Reports Team.

  • How can I conditionally change text output?

    Trying to modify text output, inline, based on a True|False condition
    i.e.:
    "the condition is: <condition>" should become
    "the condition is: Yup" or "the condition is: Badboy"
    I'm trying to use some inline code.  for example: "{if ($condition) {"Yup"} else {"Nope"}}" but can't seem to get it to work.
    cls
    $condition=$true
    if ($condition) {"Yup"} else {"Nope"}  #this actually provides the proper output, but I can't seem to integrate it to the complete string output.
    #the following line does not provide the proper result. 
    "Test string " + ({if ($condition) {"Yup"} else {"Nope"}}) +"."

    Hi Murdan,
    In addition, add some explanations to the methods above, we could use the “dollar sign + round brackets” and the expression in the brackets in double-quoted strings, whatever is in
    the brackets should be evaluated first.
    For more detailed information, please check this article:
    PowerShell - Special Characters And Tokens:
    http://www.neolisk.com/techblog/powershell-specialcharactersandtokens
    For more detailed information about the format operator “-f”, please refer to this article:
    about_Operators:
    http://technet.microsoft.com/en-us/library/hh847732.aspx
    If you have any feedback on our support, please
    click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • RTF OR Text Output

    Hi All,
    We are migrating from 11.5.10 to R12. We have check printing customize program. In this program we are priting text output using Concurrent progam which is based on Oracle report writer. Concurrent program output is Text.
    Now I want to migrate this to R12, I was searching everywhere to find sample program which generates TEXT output similar to RTF template provided by Oracle IBYDC_STD1.rtf.
    Please tell me how to proceed further.
    Thanks

    Not sure for a pre-printed stationary, you need the concurrent program output to be in Text format. Ideally, you can design you check in a RTF/PDF format. Additonally, you can look into following files.
    IBYDC_LSR.rtf
    PAYUSCHKWVXML_en.rtf
    APCHECKPYMTSUP.rtf
    Cheers,
    ND

  • Setting text output color

    Is there a way to change the color of text output through System.out.println()? I want to have some text be shown in bright white while the rest of the output is in its normal attribute. I considered using some kind of ANSI opcodes but that is not portable to other platforms!

    No.

  • 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.

  • 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

  • Color text output

    Hi,
    how can I give colored text output to a screen???
    Tnx!!
    Romisr

    From that link I gave you, it looks like Solaris directly supports escape sequences which allow color. Some Windows enviroments support ansi.sys which will handle escape sequences and allow color. If you do a little searching, you can probably find something in JNI which will allow you to do this.
    So the answer is...
    is it possible? Yes
    Is it easy and platform independent? No

  • CPU usage while generating text output from reports

    hi
    while we attempt to generate the text (delimited) output from reports and when the query fetches more than 1500 rows, the cpu usage stays around 100% for long time paralysing the operation...
    we faced the problem when we attempted to generate text output for around 10000 records.
    any suggestions?
    ravi kumar chandran

    You can burst with eText and I have done it
    successfully.
    I don't believe pagebreaks are an option in eText and
    I don't think it makes sense either since your
    generating a flat-file and not a customer or internal
    facing document. Does that make sense?
    Also, if you would like you can use the
    BIPublisherIDE, this code can be converted pretty
    easily to handle jcp. There is a an oa framework
    version I have developed but I haven't posted on my
    blog yet. I plan on adding a bolt on for java
    concurrent programs soon. it's really pretty simple
    just haven't had the time.
    http://bipublisher.blogspot.com/2008/03/bi-publisher-b
    ipublisheride.html
    Ike Wiggins
    http://bipublisher.blogspot.com
    Thanks Ike for your reply.
    I agree with your points on TXT files, but in our case,the reports are generated in TXT format for the customer so we are looking for the above mentioned features.
    I have gone through BIP IDE and its a wonderful small utility which eases the task of BIP development.
    As I mentioned in my original post that we are currently processing the generated TXT report using a custom util. in JAVA to get the desired output in TXT again.
    I assume thats not what a JCP would do,so I am looking to explore that too.
    As I understand the process for report generation is
    1. Generate XSL from eTEXT template.
    2. Get the XML data from DB using XDO
    3. Apply XSL on XML to get the required template.
    If we are looking to achieve some customizations then we need to have the XSL generated with those customizations.
    In this case, where do we plug in the JCP to alter XSL or am I missing something.
    regards
    Gaurav

  • Getting JCO version as text output

    Hi,
    I'm using JCo 3.0.5 as a connector between SAP and an application that I write.
    I am looking for a way to verify that the JCo JAR that I use is the correct one.
    When I run the command "java -jar sapjco3.jar" I get the JAR information in a window.
    In order to verify the version I need the output as text to stdout so I can parse it.
    Is there a way to accomplish that or this information is only available in a GUI window?
    Thanks!

    A quick look in the API documentation would've given you for example the following static method:
    com.sap.conn.jco.JCo.getVersion()
    Note that also the About class used when running the jar can provide the information as text output, e.g. you can use
    java -jar sapjco3.jar -stdout
    or alternatively from Java code
    com.sap.conn.jco.About.getFullVersion()

Maybe you are looking for

  • SNAPSHOT : clause IN not working for more than 1 entry

    Greetings, I'm trying to use snapshots templates to confine a snapshot to a particular set of data. My 'where' clause of my snapshot is something like this: (...) where attribute IN (:VALUES) -When I define my template variable VALUES as "'value1'",

  • I have a new Mac OS X Version 10.6.7. When trying to dowload Firefox updates, it wont comlplete the download, that is it simply runs and runs and runs!!

    When the offer to update Firefox appears when I open Firefox, I accept the offer, but then the download will not complete itself. Apple have told me they cannot support me as it is Firefox and not Safari. I hope you can help Cheers Rob Harper

  • Reinstalling iphone apps

    i recently lost my harddrive on my imac and do not have any of the old apps backed up. when i go to sync my iphone with my new harddrive it says it will erase the apps on the sync. how do i get my apps back without haveing to pay for them again?

  • Can anyone help me with Facetime on Mac.

    I can call and connect from iphone to ipod and ipod to iphone, but when i try from mac, the iphone/ipod gets called, but when I press 'accept', it stays in 'connecting...' mode, until it times out. It then tells me the called iphone/ipod "is not avai

  • Purchasing songs on Itunes

    Whenever I try to purchase a song on itunes it says "We could not complete your itunes store request. An unknown error occurred (-9807). There was an error in the itunes store. Please try again later.