WRITE_FORM_LINES. Need to change the style when printing in the SAP Script

Hi Experts,
I am using the WRITE_FORM_LINES function module to write a list of numbers.
But I need to change the font of the numbers when printing it.
I have changed it_header-tdstyle = 'S_DOCUS1'...SAP standard one but I need to create my own style.
I have created using SE72 and has given my own defined Character and Paragraph formats.
when I pass through the function module there is no change in it.
I think I need to create a text object is .. Can any one explain me hw to create a text object
http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db827494511d182b70000e829fbfe/frameset.htm
   CALL FUNCTION 'WRITE_FORM_LINES'
          EXPORTING
            function                 = 'APPEND'
            header                   = it_header
            window                   = 'MAIN'
          TABLES
            lines                    = it_serial
          EXCEPTIONS
            function                 = 1
            type                     = 2
            unopened                 = 3
            unstarted                = 4
            window                   = 5
            bad_pageformat_for_print = 6
            spool_error              = 7
            codepage                 = 8
            OTHERS                   = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
Waiting for u r replies...
Thanks,
Chaithanya K

In se75. go in change mode and click create button in application tool bar.
Now text object is something to which a text is attached, like, a material or a Purchase order etc.
Text format is like rich text format or plain text depending upon which an editor is invoked
Specify Editor application. SAP provides standard Editor application choose from one of them(TA or TN)
Line width
This attribute determines the line width to be used for this text in the text editor. A SAPscript text line may consist of up to 132 characters.
Save mode specifies how a text is saved in
dialogue task
When calling the corresponding save function, the system immediately writes the text module to the text database.
in update task
All changes to the text modules of a transaction are stored intermediately in a buffer. Only when the application object is updated does the system write the texts to the log file and, in the update task, stores them in the text file.
For not in text file
You can use SAPscript to edit texts that are not stored in the text database. In this case, SAPscript only returns the changed text table to the application program, which is itself responsible for storing the text

Similar Messages

  • I need to change my Cursor when I rollover the Image, Any feature is there in Muse...?

    I need to change my Cursor when I rollover the Image, Any feature is there in Muse, I searched it, But no use, Is there's any plugin is there to do...?

    Click here and request assistance.
    (89404)

  • Issue in alignment of PE51 data when printing it in SAP Script

    Hi Experts
    I have a SAP Script which is used to print Check at the top and Re-numeration Statement at the second half via RFFOUS_C program. The re-numeration statement is designed in PE51. The Check is designed in SAP Script and the PE51 form is printing inside the script using Main window/ Text Element : 525-HR.
    The FM RP_IMPORT_PAY_STATEMENT is used inside the RFFOUS_C program which returns the table PFORM and the contents of  the PFORM is exactly the re-numeration statement data and are getting  printed one by one in the script using the variable REGUD-TXTHR. My object is fine with all the above said things. Only issue is with the alignment which is weird in SAP Script for the re-numeration part. But when I look into PC00_M10_CEDT (TCODE to view re-numeration statement) the output of designed PE51 form is good with proper alignment.When it is printed via script the alignment is not good at all.
    There is some differences in the formats of printing between PE51 and SE71. Do not know what exactly it is. How I can resolve this issue?
    Thanks
    Siva
    Message:Siva

    Hi Madhu,
    Sorry for the delayed response.See the below screen shot.This is how it prints now.The amounts are not aligned.Increasing the line spacing will increase only the space between the lines and i am using same character format for the variable REGUD-TXTHR.I would like to align them.
    Thanks
    Siva

  • How can i choose a lower quality print density when printing from firefox on my Mac. I cant move the slider along the scale ( I can when printing from the computer).

    I can't change the print density when printing from Firefox. It is set at standard and although there is a "slider button" to use for choosing less or more density, it can't be moved. I can tick "grayscale". I can choose the density when printing from the computer. I have a Mac

    I also have this problem where I used to be able to shrink a 2 page doc to a single page. Since upgrade to FF4 it no longer works - but you can choose say 60% and it will work. All used to work fine in FF3

  • In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards.

    In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards. We enter various pieces of data, other than the standard name address & phone numbers and we print all information on each card so it fits in a 5x7 inch loose binder. We have used InTouch software for many years and it has served us extremely welll, however, the publisher (The Prairie Group) has not, and apparently has no plans to update their software to be compatible with any Mac OSX OS beyond 10.6. Any help will be appreciated!

    You can select what you want included in a list format. In the Print command from Contacts, click the Show Details button. Then in the Style pulldown menu select "Lists" and there you'll be able to select what you want included. You can also select what you wish included if you select the Pocket Address Book style.
    If neither of those options will work for you, then you will need to look to third-party software. Here's one possibility that seems to get good reviews:
    https://www.macupdate.com/app/mac/15485/labels-&-addresses
    I haven't done more than try it to make sure that it works with OS X 10.9's Contacts, which it does, but you can download their demo and try it yourself.
    Regards.

  • HP Officejet 4630 Printer....how do change from the default setting when printing from the web?

    HP Officejet 4630.....Windows 8, 64-bit
    When printing from the web I am not able to change the print size.
    1. Click File on Menu bar
    2. Click Print open dialog box
    3. Click Properties open printing shortcuts
    Everything in Printing Shortcuts have a lock on it. Including Factory Default.
    Any and all help with this problem will be appreciated.
    Thank you in advance

    I posted this to the wrong board. Can it be move to the right one?
    thank you

  • I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    Hi mafiose15,
    Thanks for visiting Apple Support Communities.
    Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
    How to restore iPod
    Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
    Download and install the latest version of iTunes if necessary.
    Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
    After a few moments, your iPod will appear in the Source panel in iTunes.
    Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
    Click Restore.
    If you are using a Mac, you will be asked to enter an administrator’s name and password.
    A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
    Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
    Leave iPod connected to computer to complete restore (typically applies newer iPod models).
    During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
    Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
    After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
    You can find the instructions in this article:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    All the best,
    Jeremy

  • Problem when printing from the browser

    The report is displayed in the browser properly. We are using rwcgi to view the reports in the browser. But when printed using the print option of the browser, the page setup is taken from the browser's page setup. How do we set the browser's page setup from the reports? Also the fonts are changed to the browser's font. How do we force the browser to take the same font as defined in the reports?
    null

    Oh my how embarrassing! The only place I neglected to check was in Firefox itself and under File-> Page Setup it was set to 50%. Reset it to 100% and problem solved!

  • Change paper size when printing

    How to change paper size when printing pdf? No option for paper size appear.

    That is a feature of AirPrint. If you do a Google search on "AirPrint paper size" you'll find documentation from major printer manufacturers. For example, this is copied from some HP documentation:
    What paper and media sizes are supported? 
    With AirPrint, paper and photo media sizes are automatically selected depending on the application you are using on your Apple device, your HP ePrint printer, and the region in which you are using AirPrint. You do not have the option to select different paper sizes.
    For example, from Apple’s Photo application, if the HP ePrint printer has a separate photo paper tray, AirPrint uses 4 x 6 inch photo media as the default paper size. If the printer does not have a separate photo paper tray, AirPrint uses letter-size paper. If you are printing from Apple’s Safaribrowser, letter-size paper is the default paper size in the US region, and A4 is the default paper size in Europe.
    AirPrint supports the following paper and media sizes:
    Letter
    Legal
    A4
    4 x 6 in photo paper
    A6 photo paper

  • Can you change the Bitrate when you use the "Compressor" High Quality...?

    I am having problems with the amount of video in DVD SP and I think I need to lower the bitrate when I compress out of FCP. Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Thanks,
    Stone

    Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Yes. Duplicate the preset, then customize it all you want.
    -DH

  • HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI???

    Question
    HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI??

    Thank you for the response. I tried to fix the problem with some of the suggestions on that page, but none seem to work. I believe that is the only website that I'm having that problem on. I got to fooling with it a bit more and when I highlight the whole page and select to print the selected area, it actually prints the whole page then, but it won't do it as a default. I guess I can just do it like that from now on, but I thought there would be something in the settings that I could have changed. Thanks again for the help.

  • I need to change my e-mail address in the app store to enable me to get updates and buy more. How does this happen??

    I need to change my e-mail address in the app store, how does that work??

    On apple website, seraching on support, the article HT1918 explains.
    Log into your apple ID and edit your personal information, where email can be changed as well. All applications as itunes stores, apple store and icloud use this same apple ID, so be aware of this.
    I hope I was helpful !

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    There may be some security issues related to the USPS PDFs.
    http://www.certified-mail-envelopes.com/signatures-usps-certified-mail-return-receipt-requested
    I can't help with the scan/print problem. You seem to have done everything I would try.
    I don't know if maybe using a registry cleaner would help.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • When i send a PDF file to out side print, some of the things I aded dose not print. Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sure

    when i send a PDF file to out side print, some of the things I aded dose not print.
    Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sure

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

Maybe you are looking for