Printing the text in CAPS in a script

Hi Gurus,
I have a requirement in which I have to print a check.
I am done with that.
Now they want the employee address to come in CAPS.
Can anyone help me regarding this?
Its very urgent. <= not allowed!!
Cheers,
naveen
PS: Points will be rewarded for every answer. <= not allowed!!
Edited by: Naveen Puligundla on Jun 10, 2008 12:41 PM
Edited by: Julius Bussche on Jul 15, 2008 2:05 PM

Hi max,
Do you mean I can use that statement directly in a script or I have use a perform for that?
I tried using a perform and there converting but Its not working.
Cheers,
naveen

Similar Messages

  • I need to print the text in secondary window in script

    hi all,
    how to print the text of purchase order (me22n) in script.
    plzz  explain with steps
    thanks in adv
    vidya

    Good that you know how to use read_text...
    In SAP script used it as shown below, in your script window call subroutine as shown below
    Go through this example
    Ex.
    /: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
    /:USING &<field name>&
    /:CHANGING &<field name1&
    /:ENDPERFORM
    Display &<FIELD NAME1>&
    Then create subroutine pool program and you have to write the code.
    FORM ><subroutine name> tables int_cond structure itcsy
    outt_cond structure itcsy.
    data : value(20), value1(20). "do your own declarations
    Read int_cond table index 1.
    value = int_cond-value.
    ***Use FM Read text and store the text in value1 and pass it back to SAPscript as shown below
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    Just rough idea given above.
    Close the thread if your question is answered and reward points to all useful answers.
    Regards,
    SaiRam

  • How to print the text in points wise in sap script

    hi friends,
    how to print the text in points wise in sap script.
    ex: if suppose paragraph consists of 15 lines. then according to one sentence or one fullstop (.) it should give point 1. like that...
    1. hai how ru.
    2. what r  u doing.
    3.where r u.
    like this i want numbering.. waiting for ur replys.
    thanks,
    kiran

    declare a counter
    data : cnt type char 4.
    print :
    cnt = cnt + 1.
    &cnt& &text&
    cnt = cnt + 1. and so on.
    or.
    if the data is in an internal table
    loop at internal_table.
    cnt = cnt + 1.
    write form.
    in script -&cnt& &text&
    endloop.
    Edited by: NIKHILKUMAR POOJARI on Nov 17, 2008 11:18 AM

  • How to print the text in only last but one page in sapscripts

    hiiiiiiiiiii,
             explian how to print the text in only last but one page in sapscripts? wher to write the code? plz if possible explain in detail with an example?

    Hello,
    The total no pages is given by &SAPSCRIPT-FORMPAGES& command.
    So u can handle the situation in ur form like this
    /: if &PAGE&  = &SAPSCRIPT-FORMPAGES&
    p1 TEXT
    /: endif
    Try in this way it may help u.
    Regards

  • In Pages (5.2), in a table, superscript is not only not printing, but not printing the text around it. Bizarre

    In Pages (5.2), in a table, superscript is not only not printing, but not printing the text around it. Any answers?

    Known issue now for almost 9 months.
    Use Pages '09 if you have it.
    Peter

  • How to print the texts retrived by using READ_TEXT fun module in Smartform

    Please tell me how to print the text which is rertrived by using the READ_TEXT function module in smartform.
    I have coded all things in the program lines and in that i am retriveing the long texts.
    I am getting the text lines in my internal table clearly, the thing is that I am not able to pass these lines to the text.
    I have to print the trouble ticket. in that the notes log I have to pass.
    its urgent. Points will be rewarded for any type of clue. whether it will work or not.

    There are a few ways to do it. If you need to take all of the text in the text type, in your SF text element choose "Include Text".
    Populate the fields with the data that corresponds to the text type. It is similar to the interface to the FM "Read_Text.
    Text Name
    Text Obje
    Text ID 
    Language
    Encase any variables with the "&" symbol.
    If you have already coded the call to the FM "READ_TEXT" and loaded the text into an internal table, create a loop and loop through the itab. Inside of the loop create a text element and add a variable in the text element for the field you are looking to output.

  • Problems with printing the text in JTextPane

    Hello
    I need to print the text in a text pane. It prints the first page of the text pane and it doesn't print the rest of the text. I don't know what the problem is.
    The code I am using, is below. I
    Thank you.
    LilyLay
    import java.awt.*;
    import javax.swing.*;
    import java.awt.print.*;
    public class PrintUtilities implements Printable {
    private Component componentToBePrinted;
    public static void printComponent(Component c) {
    new PrintUtilities(c).print();
    public PrintUtilities(Component componentToBePrinted) {
    this.componentToBePrinted = componentToBePrinted;
    public void print() {
    PrinterJob printJob = PrinterJob.getPrinterJob();
    printJob.setPrintable(this);
    if (printJob.printDialog())
    try {
    printJob.print();
    } catch(PrinterException pe) {
    System.out.println("Error printing: " + pe);
    public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
    if (pageIndex > 0) {
    return(NO_SUCH_PAGE);
    } else {
    Graphics2D g2d = (Graphics2D)g;
    g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
    disableDoubleBuffering(componentToBePrinted);
    componentToBePrinted.paint(g2d);
    enableDoubleBuffering(componentToBePrinted);
    return(PAGE_EXISTS);
    public static void disableDoubleBuffering(Component c) {
    RepaintManager currentManager = RepaintManager.currentManager(c);
    currentManager.setDoubleBufferingEnabled(false);
    public static void enableDoubleBuffering(Component c) {
    RepaintManager currentManager = RepaintManager.currentManager(c);
    currentManager.setDoubleBufferingEnabled(true);

    public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
    if (pageIndex > 0) {
    return(NO_SUCH_PAGE);
    } else {if (pageIndex > 0) return (NO_SUCH_PAGE)
    prevents printing any more than the first page.
    change >0 to >= numPages
    Howard Amos

  • Printing the text in JTextPane

    Hello
    I need to print the text in a text pane. It prints the first page of the text pane and it doesn't print the rest of the text. I don't know what the problem is.
    The code I am using, is below. I
    Thank you.
    LilyLay
    import java.awt.*;
    import javax.swing.*;
    import java.awt.print.*;
    public class PrintUtilities implements Printable {
    private Component componentToBePrinted;
    public static void printComponent(Component c) {
    new PrintUtilities(c).print();
    public PrintUtilities(Component componentToBePrinted) {
    this.componentToBePrinted = componentToBePrinted;
    public void print() {
    PrinterJob printJob = PrinterJob.getPrinterJob();
    printJob.setPrintable(this);
    if (printJob.printDialog())
    try {
    printJob.print();
    } catch(PrinterException pe) {
    System.out.println("Error printing: " + pe);
    public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
    if (pageIndex > 0) {
    return(NO_SUCH_PAGE);
    } else {
    Graphics2D g2d = (Graphics2D)g;
    g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
    disableDoubleBuffering(componentToBePrinted);
    componentToBePrinted.paint(g2d);
    enableDoubleBuffering(componentToBePrinted);
    return(PAGE_EXISTS);
    public static void disableDoubleBuffering(Component c) {
    RepaintManager currentManager = RepaintManager.currentManager(c);
    currentManager.setDoubleBufferingEnabled(false);
    public static void enableDoubleBuffering(Component c) {
    RepaintManager currentManager = RepaintManager.currentManager(c);
    currentManager.setDoubleBufferingEnabled(true);

    Could it be that in your print(Graphics g, ...) method you are saying if pageIndex is greater than 0 return. If you are using 0 based page numbers, that would print page 0 (the first page) and none after that.

  • Vertical printing the Text in Smartforms

    Hi Friends,
    Thanks in Advance,
    Is there any posibility to print the text in Vertical, in Dot Matrix Printer
    Please resolve the Issue.
    Thanks & Regards:
    Manjula.M

    Hi,
    This thread will helpful to you.
    vertical writing in smartforms
    Thanks,
    Sree.

  • I wonder about the colors in the program. When i work and later gonna print the text i have some problem. The color is not the same when im print it. One color on the screen and another when i print it why?

    I wonder about the colors in the program. When i work and later gonna print the text i have some problem. The color is not the same when im print it. One color on the screen and another when i print it why?

    I wonder about the colors in the program. When i work and later gonna print the text i have some problem. The color is not the same when im print it. One color on the screen and another when i print it why?

  • SCRIPT - How to print the text at the center of the footer window.

    In my SAP script,
    I have some text in my footer window ( which was set using tabs ).
    I need to print the footer text as centered.

    Hi sam,
    In paragraph format press standard button (default it will be coming when u go to paragraph format )
    <b>space before</b> - 0.50cm   give according to u r requirement
    space after
    <b>left margin</b>   - 0.5 cm  give according to u r requirement
    right margin
    ( or )
    directly u can give
    <b>alignment - CENTER</b>

  • Problem in printing the amount in one line in script

    Hi friends,
    iam facing a problem in scripts
    1st line: fifteen lakh thirty th
    2nd line : ousand three hundred
    instead i need in this way
    1st line: fifteen lakh thirty thousand
    2nd line :  three hundred
    ie if the line is not suffienct and if its breaking the word, it should not do that.
    it should not break the word it should print in next line.
    I dnt want the text in one line..
    I want to split when the there is a space before 35 chars in first line
    How can i do that.
    Regards
    Priyanka
    Edited by: priyanka jain on Feb 19, 2009 11:10 AM

    Hi,
    try giving the offset for the line.
    refer to this link:
    [Offset|http://help.sap.com/saphelp_47x200/HELPDATA/EN/d2/cb3d07455611d189710000e8322d00]/frameset.htm
    regards
    sarves

  • Print just what is typed in the text field without printing the text fields

    Hello,
    I'm trying to print a form after I filled in the text fields, but would like it to print just what I typed in the field, not the text field and the color in the text field. I use CS3.
    Any help would be appreciated!

    Hello Teddy and wellcome to the group!
    If you want to change fonts or other things then you might need to use the PrePrint method. What I normally do is select PrePrint from the "Show" section in the Script Editor (If you do not have it go to the toolbar at the top, Windows, and select Script Editor). After you select PrePrint you can now either type the name of the subform and field you want to change (or you can put your cursor in the Scripting Dialog box, hold CTRL and then select the field with your mouse) and then type in the JS to change the font. it is something like TextField1.fillcolor = "255, 255, 255"; (that changes the background fill to white). You can also replace fillcolor with font or border to change the color of the font or the border. I put a link to an Adobe website that goes over JS color changes below. You just need to add a PrePrint method for each field that you wish to remove the necessary highlighting on. Then once the user either hits a Print button that you have on the form or uses CTRL+P to print the form it will remove any highlighting.
    Now On the Text Field not printing itself that I am not sure what you are asking for. Are you asking for the caption not to print or for there not to be a box around the data that is entered? If you do not want to have a box surround the text field that is in the Object section of the field (see image below). You just need to select None if you just want the text. If you want to change that with JS I put another link below that has the code to change the border color to white and the user cannot see it. If you do not want the caption to print the only method is to delete the caption from the text field and replace it with static text that can be hidden, but I am assuming that is not what you are talking about (correct me if I am wrong though).
    http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/ChangingFieldAndSubf ormBGColors.pdf
    https://forums.adobe.com/thread/1409617

  • How to Print the text in a Text Area Component

    It is really amazing how much information is out there for
    Flex but you can never find what you are looking for :-(
    I am trying to print the contents of a text area component.
    If I just do addPage(Component Name) it works but it prints the
    whole conponent including the scrollbars, on the page. I just want
    the text. If I try to put the component name.text in addPage(), I
    get a "1067: Implicit coercion of a value of type String to an
    unrelated type flash.display:Sprite." error. Does anyone know how
    to do this?
    Any help would be greatly appreciated.
    Dave

    Is there anyone who can help with this? I really need a way
    to print the results.
    Thanks.
    Dave

  • I printed an AutoCad drawing to PDF and the PDF looks OK on the screen but when I print the PDF to a printer the text in the drawing is crosshatched with lines and you cant's see the letters, I printed an AutoCad drawing to PDF and the PDF looks OK on the

    I need to know why this crosshatching appears over the text when I print the PDF

    If you use the same Adobe Reader versions with the same PDF on Windows 7 and XP, then I would expect the outcome to be the same.
    Is this a local or online PDF?
    If local, is the file really exactly the same?
    If online, in what browser?

Maybe you are looking for

  • Performance Monitoring

    My CIO has tasked me with creating my own set of performance metrics. He basically wants me to create a stop light type of metric where green means the database is running fine, yellow means the database is still running, but it is under some stress

  • Can main user be renamed?

    I set up a MacBook (Aluminum) for my wife Marge as the user. She no longer uses it, so I have changed the admin account to my name, but I don't want to chage the user to my name without checking first.

  • Opening second copy of file in Dreamweaver

    Being, unfortunately, not very methodical, and having a poor memory, I often find myself asking "what did that line say before I changed it just now? " The only way I know to find out (provided I haven't saved the file in the interim), is to save it

  • SAP query load to Oracle

    Hi, I'm looking for the best way to automate the results of an SAP query (Quickviewer) to Oracle. The query would run nightly. I searched all SND forums but did not find much. I also looked at the SAP application help for Quickviewer. Regards, John

  • Audio Quality issues in You Tube

    Hi Guys I am really struggling to work out how to submit my music video to 'You Tube' without severe degradation of audio quality. V. Happy with the vid. side - H.264 output with optimised parameters on all fronts (debatable I know - but I guess I'm