Print some text before include in sapscript

Helllo Friends,
There is one standard include in sap script for example
INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT
i want to print text before this like
'packsize ' INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT
pls tell how is it possible
Regards,
Sunny

try like this by specifying character format..
<c1>'packsize '<c1>   <c2>INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT<c2>

Similar Messages

  • I have an Iphone 4S and I would like to print my text messages, including the thread and the Imessage date and time stamps.  How would I do this?

    I have an Iphone 4S and I would like to print my text messages, including the thread and the Imessage date and time stamps.  How would I do this?

    settings - message - imessage - OFF

  • How to print some text in BOLD in a classical report

    Hi,
    I need to print some selected text in BOLD in classical report.
    Went through SDN forum...came across some suggestions like using class cl_dd_document and its functions..
    The problem is that one of its function "add_text" allows to highlight text...but the display function "display_document" requires a container to display, whereas mine is a simple classical report...am i wrong somewhere..or is there any other method to do the same...
    Thanks!!

    Hi Deepti,
      I am not sure that is possible on a classical report ntu you can use colors to highlight a part of the report output in order to check the various options you have with format is to check F1 on format.
    Regards,
    Himanshu

  • Firefox "print" prints some text on top of other text. How can I fix it?

    I want to print a webpage with a travel itinerary on it. The itinerary is quite long, exceeds the page height and overflows onto the next page. Unfortunately the information below the itinerary is then printed on top of the itinerary information on the overflow page.
    I have tried the same page in Chrome, Safari and IE 10 and it prints correctly in all of them.
    I use a css (print.css media='print') to control some of the print output.
    Can anyone help please?
    Application Basics
    Name: Firefox
    Version: 24.0
    User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0
    Extensions
    Name: DownloadHelper
    Version: 4.9.14
    Enabled: true
    ID: {b9db16a4-6edc-47ec-a1f4-b86292ed211d}
    Name: easy Xdebug
    Version: 1.5
    Enabled: true
    ID: [email protected]
    Name: Firebug
    Version: 1.11.2
    Enabled: true
    ID: [email protected]
    Name: Live HTTP headers
    Version: 0.17
    Enabled: true
    ID: {8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}
    Name: Page Speed
    Version: 1.12.9
    Enabled: true
    ID: {e3f6c2cc-d8db-498c-af6c-499fb211db97}
    Name: DivX Plus Web Player HTML5 <video>
    Version: 2.1.2.145
    Enabled: false
    ID: {23fcfd51-4958-4f00-80a3-ae97e717ed8b}
    Name: FreeHDSport.TV
    Version: 1.2
    Enabled: false
    ID: [email protected]
    Name: Translate This!
    Version: 2.0
    Enabled: false
    ID: jid0-k75TfRGfOXPHfEZmJ9cKu5eCgLc@jetpack
    Important Modified Preferences
    accessibility.typeaheadfind: true
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.places.smartBookmarksVersion: 4
    browser.startup.homepage_override.buildID: 20130910160258
    browser.startup.homepage_override.mstone: 24.0
    dom.mozApps.used: true
    dom.w3c_touch_events.expose: false
    extensions.lastAppVersion: 24.0
    gfx.blacklist.webgl.msaa: 4
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1382955114
    places.history.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    plugin.state.ovshelper: 0
    print.macosx.pagesetup-2: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VO
    print.print_bgcolor: false
    print.print_bgimages: false
    print.print_colorspace:
    print.print_command:
    print.print_downloadfonts: false
    print.print_duplex: 0
    print.print_evenpages: true
    print.print_in_color: true
    print.print_margin_bottom: 0.5
    print.print_margin_left: 0.5
    print.print_margin_right: 0.5
    print.print_margin_top: 0.5
    print.print_oddpages: true
    print.print_orientation: 0
    print.print_page_delay: 50
    print.print_paper_data: 0
    print.print_paper_height: 11.00
    print.print_paper_name:
    print.print_paper_size_type: 1
    print.print_paper_size_unit: 0
    print.print_paper_width: 8.50
    print.print_plex_name:
    print.print_resolution: 0
    print.print_resolution_name:
    print.print_reversed: false
    print.print_scaling: 1.00
    print.print_shrink_to_fit: true
    print.print_to_file: false
    print.print_unwriteable_margin_bottom: 57
    print.print_unwriteable_margin_left: 25
    print.print_unwriteable_margin_right: 25
    print.print_unwriteable_margin_top: 25
    privacy.cpd.offlineApps: true
    privacy.cpd.siteSettings: true
    privacy.donottrackheader.enabled: true
    privacy.sanitize.migrateFx3Prefs: true
    privacy.sanitize.timeSpan: 0
    security.csp.enable: false
    security.OCSP.enabled: 0
    security.warn_viewing_mixed: false
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1381489144
    user.js Preferences
    Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.
    Graphics
    Device ID: 0x fd5
    GPU Accelerated Windows: 1/1 OpenGL
    Vendor ID: 0x10de
    WebGL Renderer: NVIDIA Corporation -- NVIDIA GeForce GT 650M OpenGL Engine
    windowLayerManagerRemote: false
    AzureCanvasBackend: quartz
    AzureContentBackend: none
    AzureFallbackCanvasBackend: none
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: false
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10
    Version in use: 4.10
    NSS
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSSMIME
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSSSL
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSUTIL
    Expected minimum version: 3.15.1
    Version in use: 3.15.1

    Hi midnig-
    I found this article on troubleshooting print issues:
    http://mzl.la/MCCq7H
    I see that you have covered some of the basic troubleshooting tips- but you might try resetting the printer. Here are some other suggestions:
    - If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    - Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    - Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but to use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    - You can use an extension to set a default font size and page zoom on web pages.
    Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • Printing some text on A4 size paper

    Hi friends, I am trying to print a simple text on my printer using java, I have included the code for printing in an action event of
    a button as follows:
    private void sim_printActionPerformed(java.awt.event.ActionEvent evt) {
    PrintJob pjob = getToolkit().getPrintJob(this,"ppk",(Properties)null);
    Graphics pg = pjob.getGraphics();
    Font times = new Font("arial",Font.PLAIN,12);
    pjob.getPageDimension();
    pg.setFont(times);
    FontMetrics tm = pg.getFontMetrics(times);
    pg.drawString("Hello World",20,20);
    pg.dispose();
    pjob.end();
    it works well for the first time when i click the button, when i repeat once again I receive a list of null pointer exceptions and there are no further printouts. Please tell me how to get print copies whenever I click the button at any time. Also suggest me some more examples if any, My aim is only to print the data entered by the user in the text boxes.
    thanks in advance.
    Message was edited by:
    prasad_khode
    Message was edited by:
    prasad_khode

    After trying variuos things I wrote another program to understand the problem, Now the program is as follows
    package sample;
    import java.awt.*;
    import java.awt.print.*;
    public class SamplePrint implements Printable {
    static public void main(String args[]) {
    PrinterJob pjob = PrinterJob.getPrinterJob();
    Book book = new Book();
    book.append(new SamplePrint(), new PageFormat());
    pjob.setPageable(book);
    boolean if_print = pjob.printDialog();
    if (if_print) {
    try {
    pjob.print();
    } catch (PrinterException e) {
    System.err.println("Printing error: " + e);
    public int print(Graphics g, PageFormat format, int pageIndex) {
    g.drawString("Hello world",100,100);
    return Printable.PAGE_EXISTS;
    The program works fine only once that is first time after starting the system and I get the required output on the paper. But while executing the same program once again the exception is raised, that is as follows.
    �Printing Error: java.awt.print.PrinterException: Printer is not accepting job.�.
    If I want another print copy I have to restart the PC and the same thing continues. The following information might help you on which I am experimeting.
    OS: Win XP.
    Jdk1.5
    Printer: HP Deskjet 3940.
    Any help is greatly appreciated.

  • Need to print some text only in last page in SAP script

    Moved to correct forum by Moderator.  General wasn't right either.
    Hi All.
    I need to print "Remarks" only in last page of sap script.
    Can anyone please help me on this.
    Thanks
    Senthil kumar V.
    Edited by: Matt on Nov 21, 2008 7:38 AM

    Hi,
    you have 4 possibilities.2 at non main window, 2 at main window.
    at non main window.
    1. /: IF &PAGE(C)& = &SAPSCRIPT-FORMPAGES(C)&
    remarks
    remarks
    remarks
       /: ENDIF
    2, /: if &NEXTPAGE& ='0'.
    remarks
    remarks
    remarks
       /: ENDIF
    at main window
    3. Add the remarks at the last item of the main which is printed
    4. add a new item to your main (/E)
        put your remarks in it.
       Change your program in such a way this item will print as last one.
       like
        /E REMARKS
    remarks
    remarks
    remarks
       and in sapscript program add logic at the end.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'REMARKS'
    EXCEPTIONS
    element = 1
    window = 2.
    I am sure this will do. Make a choice.
    Gr., Frank

  • While adding hyperlinks, is there a way to show some text before opening the hyperlinked page?

    From my help file, I need to add a link to an external source on the web. Is there a way for me to show some message like "You are being redirected to an external page" and when the use clicks the OK button in the message, the actual hyperlinked page is opened?
    Thanks in advance.

    Hi,
    This is a two step process. In your project add a topic with the disclaimer text. Add a hyperlink to the external site and add an refresh meta tag: http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm
    In you project, link to the disclaimer topic instead of the external site.
    Greets,
    Willam

  • Save Document ADD Some Text Before Extention

    Documentname_we.extention
    I want this type Naming for PSD.TIFF.JPG.EPS

    This will work if your filename only has one "." otherwise create a for loop to piece them together the same way I did dnsplit[0]+"_we."+dnsplit[1];
    var dname = app.activeDocument.name;
    dnsplit = dname.split (".");
    //dnsplit.length;
    var     newName = dnsplit[0]+"_we."+dnsplit[1];
    //$.write(newName);
    Cheers John.

  • Printing standard text with TAB

    Hi Folks,
    I am very new to SAP Scripts and need some help here. I am printing some text using Standard Text object (using INCLUDE statement in sapscript). But now I want to print the text after a TAB. I tried with below syntax but no luck.
    /: ,,INCLUDE ZTEXT OBJECT TEXT ID ST
    Request you to please suggest some approach.
    Thank you.
    Regards,
    Sud

    Thanks Christian !
    Yes, m using SO10 for creating this text.
    But as u suggested, I cannot use tab in ZTEXT, because this will affect the alignment for all the other scripts where I am using this ZTEXT.
    For every other script, I do not need this extra tab before the ZTEXT. Only for this one script I want to intorduce a Tab before printing this ZTEXT.
    Any other approach?
    Thanks
    Regards,
    Sud

  • White text on Black for SAPSCRIPT

    Hi Everybody
    I want to print some text as 'white on black'. Can you please tell me how to do that?
    Its from Sapscript.
    Rgds
    Chinmoy

    Hi,
    While creating the Box use the Intensify option to make it Black/Hash, so the entire box will become in that color, then you can write the text on that one ..
    <b>Syntax</b>
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Here INTENSITY is Grayscale of box contents as %. Default: 100 (full black)
    Regads
    Sudheer

  • How to print some data in alv which is not in table.

    hi all,
    Please can any one tell me how to print some text in the existing alv program to the second line of every record.
    the header is there but it is empty.In the data,
    there are two lines printing for a normal alv.the same text should be  printed in every second line of each record.Please reply soon.its urgent.

    This is not possible in ALV.
    When you say some text I assume the text is not in the same columnar format as the list is.
    ALV supports only a columnar format (except for subtotals).
    You can add the text to the ITAB by parsing the text to the record. It is not going to look good if you do that.

  • How to print hardcode text in alv

    hi folks,
    i am working on a report to display data using ALV.
    i want to print some text and its correspodning value. (corresponding value is calculated value).
    i am able to print calculated value using fieldcatalog but unable to understand how can i print the text(which is a hardcoded text).
    ex:
    statement      value
    select*                   0
    using macros         1
    in my example select* and using macros are hard coded texts so can anyone tell me how can i print do this.
    thanks in advance.

    hi
    thanks for the reply.
    my report has got 14 stmnts and has 14 error message types.
    earlier it text was hardcoded and displayed correspondingly but now we want to remove write statements.
    so i am not able to understand how can i send the hardcoded text as the output is not in the desired way.
    i want to know how can i add into fieldcatalog record by record i.e. stmnt1, value-1 record
    stmnt2,value-2nd record and so on. as this would definitely solve my problem

  • Printing bold text in char mode report

    Hi all,
    I have developed a character mode report. I am able to print some text in big letters and some in condensed. But I am not able to print some text in bold. What printer cde should be used for printing in bold. Please help.
    Thanks in advance
    Murthy

    Tanikella,
    The escape codes might be different for different printers. You might need to check with the printer documentation and use that appropriately in the deflt.prt file of reports or the .prt file you use in desformat
    Please refer to character mode printing chapter of
    http://otn.oracle.com/docs/products/reports/files/pbr_uxprt.pdf
    Thanks
    The Oracle Reports Team

  • Printing header text

    hi,
    when i went through smart form code ,i found the following code for printing texts for items(me23n-->item--
    >texts)
    in TEXT  node in smartform   (for printing item text):
    TYPE: INCLUDE TEXT
    TEXT NAME : &G_TEXT_KEY&
    TEXT OBJECT: EKPO
    TEXT ID: F01
    LANGUAGE: &SY-LANGU&
    How to create text name,text object,text id?
    when i gave text name & text id in SO10 &then display it's giving message Text Id F01 for Text Object  TEXT does not exist.
    how to create text object EKPO instead of  TEXT.where can i see this TEXT OBJECT option.
    how can i print header texts in ME23N?
    please help?

    hi mustafa,
      1. If you want to create text name, text object, text id.. you have to create functionally in spro settings....
       spro
    > mm
    > purchasing
    > messages
    > texts for messages
    > define texts for purchase order
        here you can define header texts or item text functionally
    If you want to create in you po then go to header text tab and create with respective  text
    2.  if you want to print header texts simply pass only
         po number in text_name,
         text_object : ekko
         text_id : depends up on ur text check i header text tab
        language key u know as usual
    Don't forget to reward points
    praveen

  • When I click Buy Book this appears our book appears to have default text that has not been edited. Printed books will not include this text. Do you want to continue? will the text I have sellected still be ok or will the book have missing text help Pleas?

    I just spent 3 days creating a book [32 pages], with photos and text but when I click Buy Book In iPhoto this appears>
    Our book appears to have default text that has not been edited. Printed books will not include this text. Do you want to continue?
    My question is will the text I have sellected to use still be ok, am I safe to continue and buy or will the book have missing text ?
    The book is for special birtday in 2 weeks time  Please Help.G
    <Email Edited by Host>

    Yes, you're safe to continue.  That means that there are text boxes that you did not put any text into and they contain the holding text which will not be printed.  That text is shown in a light grayt and is in Latin.  Normally you can just put a space in the text box to replace the holding text so as not to get that warning message.
    Before ordering the book proof the book according to this Apple document: iPhoto, Aperture: Previewing an order in iPhoto or Aperture. Check the pdf file for any missing text or photos and any warning indicators in the text boxes indicating that some of the text has exceeded the space allotted in the text box.
    Keep the pdf file to compare with the printed copy when you reciive it.
    OT

Maybe you are looking for