SAPSCRIPT : Line Printing Three Times?

Here is the code: Anybody see why this would print three times?
/E   HEADER_TEXT                                                              
L    <H>   </>                                                                
/:   INCLUDE &EKKO-EBELN& OBJECT 'EKKO' ID 'F01' LANGUAGE &EKKO-SPRAS& PARAGR >
                         Thank-You.

Hi Tom
look at ur program where it calls the FUNCTION 'WRITE_FORM' when
EXPORTING
   ELEMENT                        = 'HEADER_TEXT'
maybe it's doing a loop, do times, etc...
Regards
Allan Cristian

Similar Messages

  • SAPscript getting printed multiple times.

    Hi Folks,
          I got a strange problem , when we are try to print a SAPscript it is getting printed 5 times.
    We cant understand why it is happening because I checked everywhere and I found everything to be fine. This script is absolutely working fine in the quality server but in the production it is getting printed 5 times.
    Regards.

    Hi santosh,
    Please check out FM OPEN_FORM & CLOSE_FORM .
    Degug script once again.
    Did you try to copy your first-page to one named 'next' and set this next-page as follow-up of first .
    Cheers,
    Pravin s

  • MM Sapscript Medruck - print two times in different way

    Hi,
    I have to use the form medruck to print orders and deliveries. Only if ekpo-pstyp & ekpo-knttp = F, it should be printed one order form and one delivery form. The delivery form is like the order form, only a few text-differences and so on...
    So I also want to use medruck, if it´s possible.
    My problem now is, how can I print the order form and also the delivery form, if the mentioned fields have the specific content? How do I have to make the changes in the print program SAPFM06P? Is it possible to loop the print process two times and set a flag to decide in the sapscript, if the order or the delivery should be printed, or only the order?
    I hope, You have got my problem!
    Thank You very much for our help!
    Cheers Arne

    First copy the function group MEDRUCK to ZMEDRUCK, including all function modules.
    Copy the SAPFM06P to SAPFZM06P.
    In the SAPFZM06P program, copy the include FM06PE02 to ZFM06PE02 and comment out the FM06PE02.
    In the FM06PE02 include program, there is a FORM called ENTRY_NEU, change the call to ME_PRINT_PO to ZME_PRINT_PO.  Now you will be making all of your modifications to the ZME_PRINT_PO function module which is in charge of printing the PO. 
    The main program for the function group will be SAPLZMEDRUCK.  There will be a lot of includes.    Check the include LZMEDRUCKF02.  There are alot of includes there also.  To change something, just copy the include into a "Z" version, include it here, and comment out the standard include.  Then you can make your changes accordingly.    We have done modifications to many includes in the LZMEDRUCKF02.
    Also, you have to make sure to change the configuration to point to the SAPF<b>Z</b>M06P.
    Regards,
    Rich Heilman

  • Firefox makes pay pal labels print three times their size

    All of a sudden when using FireFox my mailing labels from Pay Pal are printing out 5x their normal size. I deleted FireFox and reinstalled it but it didn't help. I know it's not my computer or printer as the labels are printing fine in Internet Explorer. This didn't happen until I allowed the latest version of FireFox on my computer. Now I'm sorry I did. I have wasted more paper and ink and still cannot print out my labels properly.

    Hi RoseyG856,
    I'm sorry you're having this printing problem with Firefox. There are some suggestions at the bottom of the following article that might help, since printing is working in your other browsers:
    [[Firefox prints incorrectly]]
    Thanks,
    Michelle

  • SharePoint Designer workflow executing same lines\steps multiple time in single instance

    I am working SharePoint 2010 workflow. I am facing an issue.
    Problem:
    1) I have few workflows running on different situation
    2) Out of all workflows one is set to execute on "Item Created"
    3) This workflow having some lines to execute and then create an item and then wait for a change in field value.
    4) Expectation: This should create one instance and execute the lines\steps only once and wait for field change.
    5) Actual Out-Come: The workflow is executing the lines\steps three times in a single instance.
    6) The workflow history is showing the three time execution of all lines\steps using log to history.
    7) It is a SPD workflow so there is no while loop. but it behaving like while loop.
    8) On create Item, we are creating task, so it is creating three tasks. It is sending three emails and also we are appending text in title so text is appended three times.
    I did a lot of research but not able to find the solution.
    Please help.
    - Khan Abubakar Disclaimer: The opinions expressed herein are my own personal opinions and do not represent any others view in anyway.

    Hi Khan,
    According to your description, my understanding is that your workflow executed some actions three times.
    What actions did you for the problematic actions?
    If they are "Start Approval Process" action, please check whether there are multiple approvers for tasks. If yes, the action will create one task for each approver.
    Please create a new list and a new workflow based on the problematic workflow, test again, compare the result.
    For reproducing your issue, I suggest you provide more information about your list and workflow (detailed actions or some screenshots). It will make others in the forum easy to find a solution for you.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Photo printing slow one line at a time

    My first time printing phots on my Officejet 4620 and it is taking 20 minutes per picture one line at a time. Very frustrated. Call the help line and was told tht how this printer works.....

    Many things can affect printing photos. Wireless connectivity (if applicable), paper size, print quality, software used to print the photo, printer design optimization (photo printer vs. office printer), security software used on your computer,  etc.....
    That being said, this photo printing document may offer some information of benefit:
    http://www.hp.com/united-states/consumer/digital_photography/print_better_photos/tips/printer-settin...
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Line Item are Printing 2 Times

    Hi Experts,
                      when i am trying to take quotation print out line item is printing 2 times.......
                      Can anyone help me to solve this problem.....

    Hi,
             No i didn't select any other  tables apart from sales quotation rows, and i have two system variable field.......

  • Ical time shows when looking at it but printed three dots show up

    Just wondering if anybody could help me out. When I look at the calendar everything looks correct but when I print the time is not showing and three dots show up in front instead of the time any ideas.

    This happens if the timezone for an event is "Floating". It doesn't matter if Timezone support (in iCal preferences) is enabled or not.
    These are just my observations:
    If TZ Support is OFF, and you manually create an event -- times will print. If you then enable TZ support, those events will become "floating".
    If TZ support is ON, and you enter an event, TZ for that event will be filled in automatically, and time printing will work. If you change the event to a "floating" time, the time will not print.
    For me, floating would be preferable. I tend to think about times in whatever timezone I'm in.

  • HT1040 I have previously submitted a book for printing three different times and Apple has told me it's been unreadable. I have previously previewed it before sending and it was perfect. I have followed all other directions. Help.

    I have previously submitted a book for printing three different times and Apple has told me each time it's unreadable. I have previously previewed it each time before sending and it was perfect. I have followed all other directions - updated software, all other applications off etc. What am I doing wrong?

    Boot into Safemode and Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    If it is good order while in safe mode
    LN

  • HELP please! :) My ipod gets like lock, everything appear with lines, I already restore like three times the ipod and still happens the same, what can I do? and on some app store they just told me that restore, but well I do and is the same!

    My ipod gets like lock, everything appear with lines, I already restore like three times the ipod and still happens the same, what can I do? and on some app store they just told me that restore, but well I do and is the same! What can I do?? and is new, I buy it on march!
    This is a image of the ipod already restore, and everytime looks like that!

    If restoring the iPod to factory defaults/new iPod dow not solve the problem you likely have a hardware problem.  In that case either make an appointment at the Genius Bar of an Apple store or call AppleCare.  If defective, Apple will replace your iPod at no cost.

  • Small window changes in line printer

    We are using a line printer EPSON FX-980. We are using sapscripts to print.
    We are printing in a not so flexible format. We have the formats already pre-printed and we need to make small changes to adjust the output.
    Almost everything is alright, except some variables that cross some pre-printed lines.
    We only need to move a window aprox. 1mm down to adjust the exit.
    However, when we try to make small changes, the windows jumps a whole line, not like laser printer that adjust to fractions.
    For example, my problematic windows is in 28 ln. No matter if I change it to 28,01 or 28,5, the widow jumps to 29ln.
    I tough it was the printer couldn't print small details, but I drew several lines with small spaces between in ms paint and it prints them fine. So I'm guessing is the driver.
    I already used the two drivers for line printers, also changed the device type line lenght and nothing has been resolved.
    Is there a way to do this?

    hi,
    Modifying the SWIN (SAPWIN) Device Type
    The SWIN device type allows you to use any printer or fax that the Microsoft Windows Print Manager can use, regardless of whether the SAP R/3 System has a device type for the corresponding device. In this case, it is actually the Microsoft Windows Print Manager and Windows driver that format a document and make an output-ready data stream out of it.
    Modifying SWIN is a little different than working on other device types because SWIN does not deliver an output-ready data stream. Rather, it converts the internal SAP R/3 document format into a special SAP R/3 formatting language. The SAPSprint service understands this formatting language. SAPSprint, in turn, converts the SAP R/3 formatting commands into Microsoft Windows GDI commands, which the Print Manager and the Microsoft Windows device driver can use for preparing print-ready output data.
    The upshot: rather than modifying printer commands in actions and print controls, in SWIN you need to work with SAP R/3 formatting commands. The SWIN formatting language is documented in this section.
    SWIN Device Format Actions
    With SAPscript formats, SWIN does not use the Printer initialization or Reset actions. Enter a comment line -- # Not used -- in these two actions in the SAPscript device formats in your copy of SWIN. This ensures that the actions will be ignored when they are called during output. SWIN list formats do use the Printer initialization and Reset actions.
    In your copy of SWIN, insert commands only in the device type format actions that the SAP R/3 standard device type SWIN uses.
    Frequently Made Changes to SWIN
    &#9679;      Adjusting the position of output on the paper.
    In a SAPscript form definition, positioning information refers to the absolute dimensions of the paper to be used for outputting the form. However, the position information in SAPscript forms is added to the coordinates system of the target output device during execution to determine where the form objects are to appear on the output page.
    Since output devices use different origins for their coordinate systems, this means that SAPscript and the spool system must offer a way to adjust form positionings to reflect the coordinate system used by an output device.
    You can adapt your forms to the differing coordinate systems of output devices in the device definition, where individual printers and fax machines are made known to the SAP R/3 spool system.
    Set the fields: Choose Tools ® CCMS ® Spool ® Spool Administration, change the corresponding output device, and switch to the Output Attributes tab page. There, you can set the horizontal positioning in Horizontal move, the vertical positioning in Vertical shift. Positive values (> 0) move the output down or to the right. Negative values in the format xxx move the output up or to the left. No decimal values are permitted. For fine positioning, use MM (millimeters) or PT (points, 10 points / inch).
    If a window in a form definition is to appear 1 cm from the left edge of the paper, the window will actually be printed 1.5 cm from the left edge of the paper on a Hewlett-Packard LaserJet printer. The LaserJet starts its X-axis coordinate system 0.5 centimeter from the left edge of the paper. On a PostScript printer, on the other hand, the window will start 1 cm from the left edge of the paper, because PostScript uses the physical boundaries of the paper for its coordinate system.
    You can adjust the positioning of the output on the HPLJ4 (LaserJet) printer by entering -5 MM in the Horizontal move field in the second screen of the device definition of each HPLJ4 printer.
    &#9679;      Setting Basic List Print Properties: Character pitch, line leading, type size.
    To make these adjustments, you need to change the Printer initialization action in the X_ formats in your copy of the SWIN device type.
    There, you can adjust the character pitch (character spacing), leading (line spacing), and type size with the following commands:
    Property
    SWIN Formatting Command to Use
    Character pitch
    ec is the type size in twips (20 twips = 1 point).
    For example: eS200X sets the type size to 10 points (200 twips / 20 = 10 points).
    The SWIN data stream protocol is an internal SAP R/3 format that may change without prior notice. SAP intends to make only upwardly compatible changes to the SWIN protocol. That means that you should always be able to use the newest version of SAPSPrint, even if you have not upgraded your SAP R/3 System itself.
    SAP guarantees, however, only that the SWIN device type will function correctly with the development level of the SAPSPrint transfer program that is specified for a particular SAP R/3 Release.
    SAP Printing Guide (BC-CCM-PRN)
    Implementation considerations
    The SAP Printing Guide describes the functions of the SAP Spool System. This system was designed to be used on various platforms. SAP provides its own spool service and a spool database so that users do not have to deal with operating system-specific issues.
    The platform-independent SAP spool system is responsible for the output of forms and documents. The data to be printed is first temporarily stored (“spooled”), then formatted, and finally transferred to a host spool system to be output. You can control all of your output from the SAP System and do not need to arrange further processing in the host spool system.
    The following are among the main tasks of the SAP spool system:
    ·        Processing and managing print requests
    ·        Administering output devices
    ·        Technical mapping of the output devices in the SAP System
    Features
    Among other things, the SAP Printing Guide describes the following:
    ·        Print Process in General
    An introduction for users and administrators, in which the print process from document to printout is explained in general.
    The focus of the introductory sections is the Output Controller (transaction SP01), which can be used by both administrators and users to manage print requests.
    ·        Spool Access Authorizations
    This sections and its subsections describe the access authorizations required specifically for the spool system.
    ·        Possible Print Architecture and Print Methods
    The various print architectures are described in this section and its subsections, that is, the different constellations of hardware and software components with the corresponding access methods: Each architecture also requires a specific print method, such as:
    ·         Local printing: The spool server (application server with a spool work process) and host spool system (operating system spooler) are on the same host.
    ·         Remote printing: The spool server and the host spool system are on different hosts.
    ·         Frontend printing: Print data are to be printed on the default printer of the user’s PC.
    ·         Printing using SAP GUI for HTML
    ·        Output Devices in the SAP Spool System
    Output devices must be defined in the SAP System so that they can be addressed from the SAP System.
    You do this using device definitions with which the devices are managed in the SAP System.
    This link takes you to a description of these device definitions and their printer settings.
    ·        Spool Server
    This section explains what a spool server is, how you define it, and what using logical servers and alternative servers involves.
    ·        Device Types for SAP Output Devices
    Device types are explained in this section. A device type in the SAP system is the category of printer to be addressed. The information in the device type, such as font selection, page size, and character set selection is used to convert a document from the internal SAP format to a device-specific, printable data stream.
    ·        Connecting to an External Output Management System (OMS)
    This section explains how you can connect the SAP spool system to an external Output Management System.
    ·        Maintaining the Spool Database
    This link takes you to a section explaining how you maintain your spool database to ensure optimal performance.
    ·        TemSe Database Storage
    This section and its subsections explain what TemSe is and how you can manage TemSe objects.
    ·        Analyzing Printing Problems
    This link takes you to examples that will provide you with support in identifying and correcting errors
    Printing from the SAP System
    Features
    Using the SAP output system, you can output many types of documents on output devices such as printers or fax machines: purchase orders, invoices, delivery note, payroll documents, e-mails, report lists, and so on.
    Process Flow
    Unlike most other programs, which forward print requests directly to the printer, the SAP System temporarily stores the print data. If you want to print data in an SAP System (online or in the background) and choose a print function, such as , the SAP output system creates two types of print requests:
           1.      a spool request, which temporarily stores the data to be printed in the system
           2.      an output request, which sends the data to the desired output device
    If you want your document to be printed immediately on your printer without temporary storage, you must have made a setting in the print window for immediate output. In this case, the spool request and output request are generated immediately, and the data is printed.
    If you want to temporarily store the data, do not choose print out immediately. You can display the temporarily stored print request (spool request) in the output controller and/or print it at a later time
    thanks
    karthik

  • How do I scroll more than one line at a time in Firefox 4? Scrolling with down-up keyboard arrows is much faster in IE/Chrome.

    I have tried using about:config options mousewheel.withnokey.sysnumlines > false and custom set mousewheel.withnokey.numlines, but it makes a difference only when I use a mouse, which I don't use most of the time on this laptop. I use down/up keyboard errors to scroll, and the page scrolls one-line-at-a-time, very slow and lagging. Is there a way around this?
    I have reinstalled Chrome as secondary browser only because of this, FF4 otherwise really kicksass. Thank you for an amazing browser and any feedback on my issue.

    Well I am using those, but it is not very practical. What puzzles me is that only Firefox has this behaviour, I have tried last versions of IE, Chrome, Opera - all three scroll much faster than Firefox 4 using down/up keyboard arrows.
    Thanks for the reply, I really hope to get a solution to this.

  • After uploading our phones with the latest update, we have noticed that the battery life has deminished considerably.  I now have to charge my phone overnight and two or three times a day. Prior to the update, my battery life lasted me at least a full day

    After uploading our phones with the latest update, we have noticed that the battery life has deminished considerably.  I now have to charge my phone overnight and two or three times a day. Prior to the update, my battery life lasted me at least a full day.  We have several phones in our office and the ones that have updated (4) now have issue holding a charge/battery life. I really liked this phone and can not believe that you are now going to charge us $79 a battery to fix what is most definately a problem with your latest update.  I know other people outside of our company that are having the same problem. Not to mention when I called AT&T it was confirmed to me that they are hearing the same issue and then some from other customers as well.  Your own people, once I talked to them earlier today, told me they are showing a history of issues that are showing up after the update was put in place. Of course she tried to say, "Maybe the age of the battery and the update both contributed".  Whatever. 
    I want you all to know how disappointed I am in your company for the handling of this issue.  I always thought "Apple" was the line I didn't have to worry about having any types of issue. And that you all would stand behined your product 100%. Now I am not so sure.   
    I would love to hear back from your company on how you perceive the issue with all of these phones that prior to the update didn't have any issues and how after the update THEY ARE NOW having issues.  I do not believe this was an issue due to the age of a battery and that was pretty lame to say so.  It was fine and now its not.
    Please feel free to contact me and help me figure out a way to pay for all of the batteries that will be needed for our company to contiue doing business as needed.
    Thank you.
    Web Address (URL):
    5106 McNarney

    Sorry this is a user to user technical forum.  There is NO APPLE here as stated in the term of use when you signed up for this forum.
    here are some battery tips
    http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/
    http://www.apple.com/batteries/iphone.html

  • How to print date & time stamp on photos?

    How to print date & time stamp on photos?

    Three methods:
    File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
    Use the horizontal or vertical type tool to add the information manually to each picture file
    If the same information is to be applied to several pictures, e.g. a copyright notice, use  of a brush made in PSE is very efficient

  • How to print three 4x6" prints on 8.5x11" page in Lightroom?

    Is there any way to create a Lightroom print template that prints three different 4x6" images onto a single 8.5x11" page? There's plenty of room on the page to do this--it just involves printing two in one orientation and a third in the opposite orientation. For example, on a portrait letter size page print 2 portrait orientation 4x6" images butted up against one another and a third 4x6" landscape image below those.
    I have figured out how to create this layout arrangement in the Picture Package portion of the Lightroom 2 print module, but then I get three copies of the *same* image whereas I want to print 3 different images. As far as I can tell the Contact Sheet/Grid printing (which prints 1 of each image) doesn't have the capacity for adding "cells" of different sizes or orientations. It offers only a simple 'rows and columns' approach to laying out photos on a page.
    Ultimately my goal is to select a bunch of images in Lightroom and print one copy of each image at 4x6". I want them all printed on a series of 8.5x11" pages fitting the maximum number of images on each page. In case you're wondering, the '2x2 Cells' template that comes in Lightroom doesn't work for me because you can't quite get the size up to 4x6".
    Can anyone help me? I have Lightroom 2 and Lightroom 1.4. I also have Photoshop CS3 and can't figure out how to do it there either (though I'd prefer to stay in Lightroom the whole time). I'm running Windows XP Pro SP3 and I have a Canon S900 printer using Epson Premium Semi gloss Photo Paper.

    >I was afraid that was the answer. It seems like such a basic need for photographers to print 4x6's and efficiently use paper.
    Believe me, you're not the first to ask about this.
    >Jao--what's a minilab? Do you mean sending them out to print either online or at a physical store?
    Either. They typically use the exact same machines. I use costcos for supercheap prints with a quality that is hard to match using your own printer. They even provide profiles that give you superb color. The only problem is that you don't have a choice of papers the same way you have at home and that the gamut is a little smaller than a very good inkjet. I use several more pro services too for better papers and only occasionally print myself. Usually making me curse at the EPSON clogging inkjets (TM) make-me-lose-twice-the-amount-of-ink-per-print-as-advertised feature. Printing myself costs me 4 to 5 times as much as labs and that is when Lightroom behaves and doesn't without warning start double managing the color. Sometimes you want that personal attention though or that art paper and then the cost of the print is often negligible with respect to the sale.

Maybe you are looking for

  • Itunes says Ipad needs 11.1 but Ipad says up to date at 7.1.2 whats the deal

    I tunes says it is unable to use my Ipad unless it is updated to 11.1 or greater but when I attempt to upgrade I get a message that says you arfe up to date at 7.1.2 they have always worked together but today nothing.

  • Nonlinear least square fit problem

    Hello,        I have been trying to fit the data given in the attached file. When you click command button1, the routine goes thru the NonLinearFitModelProcedure, calculates some points and gives an error message like "The return parameter in NonLine

  • Data Dictionary - Primery  Key

    What will be the  Maximum numbers of Primary key, which we can assign in z table.

  • 27" iMac backlight bleed

    I bought the 27" iMac i7 and had bad backlight bleed in the bottom right corner.  This issue isn't new, but now I'm wondering if any imacs work properly.  I returned it for another and opened it up to find the same issue and a nasty dead pixel dead c

  • Open Source j2me Library

    hi to all. i am working in Netbeans 5.5 with j2me WTK 2.5. As all know there is no special GUI controls. Now my questions is 1. is there any j2me GUI library that integrate in Netbeans environment (5.5 or 6.0).. Can anybody help me in this regards. B