Problem Printing Zebra labels

Hi Experts,
I am printing a zebra label, it is printing fine when I am testing it from SAP form. But it is not printing if I am printing it from the print program.
I have done some research about this, some one using LBZEB as device type. some one using include RVADOPFO.
What is the correct proceduce. How to give the Device name in the OPEN_FORM.

hello,
i would strongly suggest, you consult the metalink knwoledge
base and seach for existing problems. if you can not find
anything, contact oracle support services.
regards,
the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Problem printing when spool print documents is selected as apposed to print direct

    I have an officejet 6500 and I'm having a problem printing a label created using Label Factory Deluxe software.  The job will not print if spool print documents so that printing finishes faster is selected under the printer properties.  The job appears to be sent to the printer.  The printer icon appears in the task tray for less than a second and the printer makes a trill sounding beep but nothing prints.  In addition there is nothing in the print que.  It will print however, if print directly to the printer is selected.  Any ideas???

    Hello,
    Well with out any info on versions the easiest way is to check the Not Printer Option on in the Page Setup of the Report.
    Don

  • Problem printing horizontal text in smartform with zebra Z6M label printer

    hello,
    The situation is this:
    There is a Z smartform wich prints a label to a zebra Z6M label printer with the text and barcodes vertically.
    The form have a command in the main windows with the parameter: S_LZPL_SETUP     '^FWR'
    This label works fine, but the client want to change the form, they have told me to create a new smartform and print the info horizontally, using the same printer.
    The tests i have done are the following:
    create a smartform from ground and write a template text and a barcode with a new font of system barcodes. the bardoce is shown ok(it is shown horizontally), the problem is that the template text is shown vertically, as in the original smartform.
    then i tried on another zebra ZM600 label printer, similar model, but not the same, and the smartform printed was ok (text and barcodes shown horizontally). So i think is a configuration setting problem, but i dont know where to search.
    i have checked the label printer parameters in SPAD, but didnt find anything souspicios.
    have you any idea?
    thanks in advance.

    See these if they be of any help.....
    BARCODE:
    goto smartform styles-> create a style-->
    create a character format.
    under standard settings give the bar code name
    use this style in ur smartform. select the data field which u want to barcode print and assign the character format
    Similarly
    SAPSCRIPT
    open the form and click the character format button and
    repeat the step as above....
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/frameset.htm
    Go to Character formate in your form.
    create a new char formate with enable BAR code AND
    you can give its type too.
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    a barcode printer
    a barcode reader
    a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Creating Bar code:
    ) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Check this thread for detail information.
    How to print Barcode in te SAP SCRIPTS?

  • Problem Printing Labels on Zebra label printers

    Hi Every one
    (there may be old solution for my problem, if there is, point me
    to that)
    my environment is oracle 6, windows 2000. server is runnig on
    windows NT.
    I am generating labels using oracle reports 6 for an application
    customised for pharmaceutical company. report has driver report
    calls another label generator report. no matter from where i
    print the report to zebra S400 label printer, my report builder
    crashes. if i run the report from rep file in application, my
    application crashes. if i save the report to a pdf file and
    print it using acrobat reader, it prints perfectly. if i use any
    other application like access, vb etc. they generate label and
    print without any problems.
    i have the latest windows 2k drivers for the printer. i also
    have tried re-install oracle cleint on my pc. the result is
    same. applications crash when print using oracle report to label
    printer?
    has any one come across such a problem? is there a solution for
    it?
    zebra label printers are pretty much a standard and are being
    used in allmost all the client location that my deals with. and
    they (printers) number in 1000's. in most of the cases labels
    are generated using zpl language in ascii, but why cant oracle
    reports print report generated labels to these printers?
    zebra has no comments on this, but they demonstrate their
    printer capabilities using all other windows based applications
    and point back to oracle reports for the problem.
    i appreciate any solution, lead, tip to overcome this problem.
    thanks and regards
    shiv(anand)
    dcss, houston

    hello,
    i would strongly suggest, you consult the metalink knwoledge
    base and seach for existing problems. if you can not find
    anything, contact oracle support services.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem in Chinese Label Printing with the Zebra Printer

    Hi Experts,
    I have a requiement in which I have to print the Chinese Label with the Zebra Printer. But it's not printing the same.
    I have created SAP-Script for it.
    It's seems that I am missing some prerequisites.
    If anybody have worked on such issue, can u help me in the following scenarios:
    1 What are the prerequisite to print Chinese label??
    2  What are the SAP server side requirements?
    3  What are Client side requirements??
    4  What are Printer Side requirements??
    5  Which font we need??
    6  Can we print with SAP script??
    I am using the Zebra  110XiIII Plus (200dpi) printer for this purpose.
    Please tell me all the above prerequisite.
    Thanks
    krishan

    Hi Krishan,
    I want to print latin and chinese characters on the Zebra printer. How did you solve? What device type do you use?
    I have created a standard text with SO10.
    Currently I use ASCIIPRI and all chinese characters are printed as #. The device type is obviosely wrong.
    I hope you can help me.
    Frank

  • Problem printing in Zebra from hand held device

    Hello ,
    I have a problem in a label print in Zebra  printer . I have uploaded the ZPL commands in the Smartform .
    and Iam able to print from my desktop using the SPAD option of ' Front end printing ' . But when I use the option 'L - Local printing using LP/LPR , it is not printing the barcode .
    Actually we are trying to print from a handhelp device using SAP console ( Telnet based character screen ) .

    Hi aravind,
    WELCOME TO SDN............
    Check this link.It might help you
    http://www.redbooks.ibm.com/redbooks/pdfs/sg247166.pdf
    Best of luck,
    Bhumika

  • Hp 4015: Printing problem on A5 LABEL

    Hi, my new HP LJ 4015 have a problem when I print A5 LABEL, because the ink are not fixed hard on label.
    I Use MANUAL TRAY 1, LINEAR OUTPUT on the back oh the printer,  I set Size and Label type, I try to setup Fuser setting to HIGH 2, ENABLE SLOW SPEED, but the problem are not solved.
    The problem increase to the bottom of the A5 label, maybe because the ink needed more times on the fuser for fix it hard on label...
    Can you please suggest me the BEST CONFIGURATION for printing LABEL on this Laserjet??
    Thanks. Bye

    I have a couple of suggestions here, but these are both just guesses, since I can't see the label media that you are using.
    1.  If the label is thick, you may want to try setting the paper type to "heavy media".  
    2.  If the label is slick or shiny, it may not work well with any laser printer.    Was this label made for laser printing?

  • Issues with Crystal 2008 Printing to a Zebra Label Printer with SP2

    Hi there
    We are having issues printing to a Zebra Label Printer using Crystal 2008 SP2.
    When you attached a .rpt file to the .NET Application which is accessed via RDP/ICA the reports in Crystal XI worked fine.
    Steps we have taken are:
    Printing direct from Crystal 2008 Designer to the Zebra Printer works using a Generic Text Driver
    Printing direct from Crystal 2008 Designer to the Zebra Printer using a Zebra Universal Print Driver DOES NOT work (we were advised the Universal Print Driver may assist with the issue)
    The report when accessed via the .NET Application via RDP/ICA using the Universal Print Driver it doesn't work.
    The report when accessed via the .NET Application via RDP/ICA using the Generic Print Driver it doesn't work.
    The report when accessed via the .NET Application drectly from Server Console prints fine using Generic Print Driver, but not with RDP/ICA.
    Can anyone offer any suggestions to a fix?
    Many thanks.

    Hello,
    I'll look at this tomorrow when I get into the office. An I am moving this to the developer forum.
    Thank you
    Don

  • Problem printing labels on dot-matrix printer

    I am currently using Oracle Reports v 3.0 on an NT network. I need to print labels on an Epson LQ-570+ printer. The user will run a number of reports which will create a file for each location we need to send to. The user will then send 10 - 20 files to the printer at a time. The problem I am having is that since we went to Reports 3.0 on NT if a file has only one label, it will print that label then page forward spitting out 10 blank labels. It then prints the next file. We are using continuous feed labels and are wasting a LOT of labels. I have tried to reset the page size in the properties page of the report but no luck. Any help would be greatly appreciated!

    hello, I could not write English, but I will help you
    You could see it in SYSTEM PARAMETERS of reports, in the MODE option, putting the to initial value Character type
    You also have to see the Dflt.prt file, that this located in the C:\ ORAWIN95\ REPORT60\ PRINTERS, the who you control the margins of
    impression in manner [caracter]. They for [default] are 80 Columns and 66 Lines, the
    who you could publish and change the courages
    You count me if I operate you.
    Greeting

  • Printing Postage labels problems

    I purchased a new HP p6203 computer with Win 7 Home Premium 64 bit O/S....
    I Attached my not so new H/P c4240 printer which worked fine with Win XP... now when I try to print a Postage label via the U.S.P.S with Paypal  that use Pitney Bowes system, it will only print 1/2  of the page with the word "SAMPLE " in red thru it.I have tried both buttons ,meaning the "Print Label button" and the "Print Sample Label" button ,both with the same results.
    I am just trying to narrow the problem down  .... H/P... the U.S.P.S....Pitney Bowes....Win 7
    ,or a new printer driver for the C4240 for Win 7 ??? ,any help would be appreciated . Thanks, Yorkvette

    Ohhkays.. Can you try installing Reader 10.1.2 from http://get.adobe.com/reader/enterprise.
    And then follow the instructions as indicated on: http://kb2.adobe.com/cps/928/cpsid_92870.html to see if it fixes the print issue on your end.

  • Trying to print USPS label.  Never had a problem before

    I have been printing labels with postage for years now with no problems.  Suddenly, I cannot print any labels ...   The help desk at USPS has had me try various remedies but no success.  Should I uninstall Reader X?  and, if I did that, how could I install an earlier version.  Any answers will be greatly appreciated.  I have wasted a lot of time here.

    Ohhkays.. Can you try installing Reader 10.1.2 from http://get.adobe.com/reader/enterprise.
    And then follow the instructions as indicated on: http://kb2.adobe.com/cps/928/cpsid_92870.html to see if it fixes the print issue on your end.

  • How do we enable cutter option in the SAP Script for Zebra Label Printer

    Hi Gurus,
    We use Zebra Label(ZM400) printers to print the material documents(SAP Script). Could someone please tell me how do we enable the cutter option in the Zebra printer for the SAP Script?
    Your vaulable answers will be highly appreciated.
    Thanks in advance.
    Regards,
    Manoj.

    Hi Manoj,
         In Script you dont want to add any logic for Label Cutter, It should be in the Zebra printer settings if the printing is over it should cut the paper. If the print area is predefined for your material label then you can make use of standard label papers (Like 2"x4", 3"x4"....)
    Regards
    GK.

  • Printing sapscript label using zebra printer

    Hi,
    Can anybody please help me regarding "printing sapscript label using zebra printer"?
    i hav set the following print default settings in the transaction mb90:
    output device :
    NO01
    device type: YZZX_ZEB
    but when i try to print ,i am getting error message stating that "the respective sapscript form is not active ".
    i hav also attached my print program for ur easy reference.
    ====================================================================*
    FORM open_form_slv.
    *'  Description:
    *'  Add information for the SAP spooler
    *'  Change the name of the standard customized form for Zebra print
    *'  Last Change Vers Programmer   Reason
    *1
      DATA: BEGIN OF print_infos.
              INCLUDE STRUCTURE itcpo.
      DATA: END OF print_infos.
      DATA: form_name(16) TYPE c, char1(1) TYPE c, ind_beg TYPE i.
      PERFORM itcpo_fuellen.
      MOVE-CORRESPONDING itcpo TO print_infos.
      WRITE sy-datum USING EDIT MASK '__.__.____'
                                               TO print_infos-tdcovtitle+1.
      WRITE sy-uzeit USING EDIT MASK '__:__:__'
                                              TO print_infos-tdcovtitle+12.
      CONCATENATE itcpo-tddest sy-uname ' PO'(001) ekpo-ebeln ' Doc.No'(002)
                                           mseg-mblnr print_infos-tdcovtitle
                              INTO print_infos-tdcovtitle SEPARATED BY space.
    form name from the table YZZM_GR_LABEL
      IF NOT g_fonam IS INITIAL.
        tnapr-fonam = g_fonam.
      ENDIF.
    if the used printer is a Zebra label printer, then the customized
    layout set name ???_???_XXX will be changed to ???_???_ZP
      SELECT SINGLE * FROM  tsp03d WHERE  padest  = nast-ldest.
      IF tsp03d-patype = 'YZZX_ZEB'.
        ind_beg := 15.
        WHILE ind_beg > -1.
          char1 := tnapr-fonam+ind_beg.     " substr(tnapr-fonam,ind_beg,1)
          IF char1 = '_'.
            form_name := tnapr-fonam(ind_beg).
            CONCATENATE form_name '_ZP' INTO tnapr-fonam.
            EXIT.
          ENDIF.
          ind_beg := ind_beg - 1.
        ENDWHILE.
      ENDIF.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          language = language
          OPTIONS  = print_infos
          form     = tnapr-fonam
          dialog   = ' '.
      x_open := x.
      IF mseg-weanz = 0. mseg-weanz = 1. ENDIF.
      IF syst-tcode <> 'MB90'  AND  NOT g_flag_popup IS INITIAL.
    check for requirement of printing label and ask for gr-quantities (popup)
        SELECT SINGLE * FROM yzzm_gr_quantity WHERE ebeln = mseg-ebeln.
        CLEAR yzzm_gr_quantity-no_popup.
      ELSE.
    and ask not for gr-quantities
        IF syst-tcode = 'MB90'.
          yzzm_gr_quantity-erfmg := mseg-menge.
        ELSE.
          yzzm_gr_quantity-erfmg := mseg-menge / mseg-weanz.
        ENDIF.
        yzzm_gr_quantity-no_popup := x.
      ENDIF.
    determination inspection lot number
      CLEAR qals-prueflos.
      SELECT SINGLE * FROM qals WHERE mblnr = mseg-mblnr
                           AND zeile = mseg-zeile
                           AND mjahr = mseg-mjahr.
    determination vendor batch
      CLEAR mch1-licha.
      SELECT SINGLE * FROM mch1 INTO mch1 WHERE matnr = mseg-matnr
                                            AND charg = mseg-charg.
    ENDFORM.                    "open_form_label
    =================================================================== *
    FORM we01_print_slv.
    *'  Description:
    *'  print out of hazardous symbol
    *'  controls the Zebra printer
    *'  Last Change Vers Programmer   Reason
    *****26.09.2007 Starts
      DATA: l_objky TYPE nast-objky,"Object key
            l_vstat TYPE nast-vstat. "Processing status of message
    *****26.09.2007 Starts
      TABLES: mgef, t300.
      FIELD-SYMBOLS: .
      DATA: aux_index LIKE sy-index.
      DATA: count_haz_sym, position TYPE n, zw TYPE p DECIMALS 1.
      DATA: aux_value(5) TYPE c.
      DATA: txt(10) TYPE c, pos(5) TYPE c.
      t001w-werks = r_werks.
      t001w-name1 = r_name1.
      PERFORM read_address.
    *2
      SELECT SINGLE * FROM ekpo WHERE ebeln = mseg-ebeln
                                  AND ebelp = mseg-ebelp.
      CLEAR mara-stoff.
      SELECT SINGLE stoff INTO mara-stoff FROM mara WHERE matnr = mseg-matnr.
      IF NOT mara-stoff IS INITIAL.
        CLEAR t300.
        SELECT SINGLE * FROM t300 WHERE lgnum = mseg-lgnum.
        IF NOT sy-subrc IS INITIAL.
      for plants without warehouses try to use the country code
          CASE mseg-werks.
            WHEN 'BUP'.
              t300-regkz := 'US '.
          ENDCASE.
        ENDIF.
        CLEAR mgef.
        SELECT SINGLE * FROM mgef WHERE stoff = mara-stoff
                                  AND   regkz = t300-regkz.
      ENDIF.
    in case of more then one label, use for each a new output window
    (not only for the first)
      IF g_count > 1.
        CALL FUNCTION 'CONTROL_FORM'
          EXPORTING
            command = 'NEW-WINDOW'.
      ENDIF.
    Ausgabe Gefahrstoffsysmbole        Neustadt,  V.Hilgert  14.07.98
    *For output type YNL7, the hazardous warning symbol has to be printed at  the bottom of the label.So label is called before that.
      IF tnapr-kschl = 'YNL7'.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            element = 'LABEL'.
      ENDIF.
      count_haz_sym = 0. position = 0.
      WHILE count_haz_sym  = 'XN'.
    For output type YNL7, the width of the standard text is small.
          IF tnapr-kschl = 'YNL7'.
            zw = position * '0.2' + '0.1'. pos = zw.
          ELSE.
            zw = position * '1.3' + '0.1'. pos = zw.
          ENDIF.
          IF tsp03d-patype = 'YZZX_ZEB'. " device type for ZEBRA label priter
            aux_value := count_haz_sym.
          ELSE.
            aux_value := pos.              " HP/Kyocera or other laser printer
          ENDIF.
          CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
            EXPORTING
              name   = '&XPOS&'
              value  = aux_value
            EXCEPTIONS
              OTHERS = 1.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element   =
              window    = 'MAIN'
            EXCEPTIONS
              element   = 1
              function  = 2
              type      = 3
              unopened  = 4
              unstarted = 5
              window    = 6
              OTHERS    = 7.
          IF sy-subrc = 0.
    *Varying the position for YNL7
            IF tnapr-kschl = 'YNL7'.
              position = position + 2.
            ELSE.
              position = position + 1.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDWHILE.
      IF NOT mseg-vfdat IS INITIAL.
        am07m-mhtxt = text-105.
      ENDIF.
      IF NOT am07m-mhdat IS INITIAL.
        am07m-mhztx = text-106.
      ENDIF.
      IF ekko-bsart = 'UB'.
        am07m-litxt = text-101.
        am07m-libzg = ekko-reswk.
      ELSE.
        am07m-litxt = text-100.
        am07m-libzg = ekko-lifnr.
      ENDIF.
      belpos-mblnr = mkpf-mblnr.
      belpos-zeile = mseg-zeile.
      CONDENSE belpos NO-GAPS.
      am07m-belpos = belpos.
      IF t156-shkzg = h.
        am07m-hdlne = text-020.
      ELSE.
        am07m-hdlne = text-010.
      ENDIF.
    Ausgabe der Etiketten mit den ind. Mengen
      IF NOT g_flag_popup IS INITIAL.
        SELECT SINGLE * FROM yzzm_gr_quantity WHERE ebeln = mseg-ebeln
                                              AND   weanz = g_count.
      ELSE.
    * print the number of labels is handeled by the Zebra printer
    IF tsp03d-patype = 'YZZX_ZEB'. " device type for Zebra label prts
    g_lbls_tot := mseg-weanz - g_count + 1.
    g_break_print := x.
    ENDIF.
    ENDIF.
    mseg-erfmg := yzzm_gr_quantity-erfmg.*
    ********26.09.2007 Starts
    CONCATENATE mseg-mblnr mseg-mjahr mseg-zeile INTO l_objky.
    SELECT SINGLE vstat INTO l_vstat FROM nast WHERE kappl = 'ME' AND
    objky = l_objky AND
    kschl = 'YNL7'.
    ********26.09.2007 Ends
    CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
    EXPORTING
    name = '&nummer&'
    value = g_count.
    IF tnapr-kschl <> 'YNL7'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'LABEL'.
    else.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'BAR_CODE'
    EXCEPTIONS
    ELEMENT = 1
    FUNCTION = 2
    TYPE = 3
    UNOPENED = 4
    UNSTARTED = 5
    WINDOW = 6
    BAD_PAGEFORMAT_FOR_PRINT = 7
    SPOOL_ERROR = 8
    CODEPAGE = 9
    OTHERS = 10.
    IF sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
      ENDIF.
    ENDFORM.                    "GR_label_print
    *&      Form  lesen
          text
         -->OBJKY      text
    FORM lesen USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      IF NOT mseg-evers IS INITIAL.         "Versandvorschriften lesen.
        PERFORM t027_lesen.
      ENDIF.
      PERFORM bestellung_lesen.
      IF NOT ekpo-knttp IS INITIAL AND NOT
             ekpo-weunb IS INITIAL.
        PERFORM kontierung_lesen.           "für multikontierte Bestellungen
      ENDIF.
      IF NOT mseg-ematn IS INITIAL.
        PERFORM lesen_htn.
      ELSE.                                                     "111277/PH
        CLEAR am07m-mfrpn.                                      "111277/PH
      ENDIF.
      IF mseg-matnr IS INITIAL.
        mseg-menge = mseg-bpmng.
        mseg-meins = mseg-bprme.
        PERFORM bestelltext_lesen.
        CLEAR mabdr.
      ELSE.
        PERFORM material_lesen.
      ENDIF.
      PERFORM tab024_lesen.
      PERFORM t064b_lesen.
      PERFORM ladr_lesen.
    ENDFORM.                    "lesen
    Lesen für WE-Schein Fert.Auftrag -
    FORM lesen_wf USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      PERFORM auftrag_lesen.
      IF NOT mseg-matnr IS INITIAL.
        PERFORM material_lesen.
      ELSE.
        mseg-menge = mseg-erfmg.
        mseg-meins = mseg-erfme.
      ENDIF.
      PERFORM tab024d_lesen.
      PERFORM t064b_lesen.
      PERFORM ladr_lesen.
    ENDFORM.                    "lesen_wf
    Lesen für Warenausgang -
    FORM lesen_wa USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      IF NOT mseg-matnr IS INITIAL.
        PERFORM material_lesen.
      ENDIF.
      PERFORM ladr_lesen.
    ENDFORM.                    "lesen_wa
    Druck Vorbereiten -
    FORM open_form.
      PERFORM itcpo_fuellen.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          language = language
          OPTIONS  = itcpo
          dialog   = ' '.
      PERFORM lesen_t159p.
      x_open = x.
    ENDFORM.                    "open_form
    Druck Vorbereiten Sammelscheine -
    FORM open_form_sammel.
      PERFORM lesen_t159p.
      PERFORM itcpo_fuellen.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          language = language
          OPTIONS  = itcpo
          form     = tnapr-fonam
          dialog   = ' '.
      x_open = x.
    ENDFORM.                    "open_form_sammel
    Druck schließen -
    FORM close_form.
      CHECK NOT x_open IS INITIAL.
      CALL FUNCTION 'CLOSE_FORM'.
      CLEAR x_open.
    ENDFORM.                    "close_form
    Hilfsfelder versorgen für Sammelscheindruck -
    FORM helpdata1.
       *mkpf = mkpf.
       *mseg-lgort = mseg-lgort.
       *ladr = ladr.
      save_mkpf = *mkpf-usnam.
      save_mblnr = *mkpf-mblnr.
      save_budat = *mkpf-budat.
      save_cpudt = *mkpf-cpudt.
      save_ematn = *mseg-ematn.
      save_lgort = *mseg-lgort.
      save_ladr = *ladr.
       *t001w = t001w.
      save_werks = *t001w-werks.
      save_name1 = *t001w-name1.
       *ekko = ekko.
       *am07m = am07m.
      save_lifnr = *ekko-lifnr.
      save_ebeln = *ekko-ebeln.
      save_ekgrp = *ekko-ekgrp.
      save_linam = *am07m-name1.
      save_lina2 = *am07m-name2.
       *t024 = t024.
      save_eknam = *t024-eknam.
      save_ektel = *t024-ektel.
       *mkpf-usnam = old_mkpf.
       *mkpf-mblnr = old_mblnr.
       *mkpf-cpudt = old_cpudt.
       *mkpf-budat = old_budat.
       *mseg-ematn = old_ematn.
       *mseg-lgort = old_lgort.
       *ladr = old_ladr.
       *t001w-werks = old_werks.
       *t001w-name1 = old_name1.
       *t024-eknam = old_eknam.
       *t024-ektel = old_ektel.
       *ekko-lifnr = old_lifnr.
       *ekko-ebeln = old_ebeln.
       *ekko-ekgrp = old_ekgrp.
       *am07m-name1 = old_linam.
       *am07m-name2 = old_lina2.
      save_lfa1  = lfa1.
      IF NOT old_lfa1 IS INITIAL.
        lfa1  = old_lfa1.
      ENDIF.
    ENDFORM.                                                    "helpdata1
    --- Versorgung der Hilfsfelder vor CLOSE_FORM bei Sammelscheindruck --
    FORM helpdata2.
      old_lfa1 = save_lfa1.
      lfa1     = save_lfa1.
      old_mkpf = save_mkpf.
      old_lgort = save_lgort.
      old_ladr = save_ladr.
      old_budat = save_budat.
      old_cpudt = save_cpudt.
      old_werks = save_werks.
      old_name1 = save_name1.
      old_mblnr = save_mblnr.
      old_lifnr = save_lifnr.
      old_linam = save_linam.
      old_lina2 = save_lina2.
      old_ebeln = save_ebeln.
      old_ekgrp = save_ekgrp.
      old_eknam = save_eknam.
      old_ektel = save_ektel.
      old_ematn = save_ematn.
       *mkpf-usnam = save_mkpf.
       *mkpf-mblnr = save_mblnr.
       *mkpf-budat = save_budat.
       *mkpf-cpudt = save_cpudt.
       *mseg-ematn = save_ematn.
       *mseg-lgort = save_lgort.
       *ladr = save_ladr.
       *t001w-werks = save_werks.
       *t001w-name1 = save_name1.
       *t024-eknam  = save_eknam.
       *t024-ektel  = save_ektel.
       *ekko-lifnr  = save_lifnr.
       *ekko-ebeln  = save_ebeln.
       *ekko-ekgrp  = save_ekgrp.
       *am07m-name1 = save_linam.
       *am07m-name2 = save_lina2.
    ENDFORM.                                                    "helpdata2
    Form Lesen Warenausgang Lohnbearbeiter -
    FORM lesen_wlb USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      IF NOT mseg-matnr IS INITIAL.
        PERFORM material_lesen.
      ENDIF.
      ON CHANGE OF mseg-lifnr.
        PERFORM read_address.
      ENDON.
    ENDFORM.                    "lesen_wlb
    *eject
    Fuellen der ITCPO -
    FORM itcpo_fuellen.
      IF xscreen NE space.
    *- Testausgabe auf Bildschirm -
        itcpo-tdpreview = 'X'.
        itcpo-tdnoprint = 'X'.
      ELSE.
        CLEAR: itcpo-tdpreview,
               itcpo-tdnoprint.
      ENDIF.
      MOVE-CORRESPONDING nast TO itcpo.
      itcpo-tdcover   = nast-tdocover.
      itcpo-tddest    = nast-ldest.
      itcpo-tddataset = nast-dsnam.
      itcpo-tdsuffix1 = nast-dsuf1.
      itcpo-tdsuffix2 = nast-dsuf2.
      itcpo-tdimmed   = nast-dimme.
      itcpo-tddelete  = nast-delet.
      itcpo-tdcopies  = nast-anzal.
      itcpo-tdprogram = sy-repid.
    ITCPO-TDTELELAND = US_COUNTRY.
      itcpo-tdsenddate = nast-vsdat.
      itcpo-tdsendtime = nast-vsura.
      itcpo-tdnewid   = x.
    ENDFORM.                    "itcpo_fuellen
    *eject.
    ------------ FORM lesen der Lagerortadr. ---------------------------*
    FORM ladr_lesen.
      DATA:    BEGIN OF addr_sel.
              INCLUDE STRUCTURE addr1_sel.
      DATA:    END OF addr_sel.
      CLEAR ladr.
      SELECT SINGLE * FROM twlad WHERE werks = mseg-werks
                           AND  lgort = mseg-lgort
                           AND  lfdnr = '001'.
      IF NOT twlad-adrnr IS INITIAL AND sy-subrc IS INITIAL.
        MOVE twlad-adrnr TO addr_sel-addrnumber.
      ENDIF.
      CALL FUNCTION 'ADDR_GET'
        EXPORTING
          address_selection = addr_sel
        IMPORTING
          sadr              = ladr
        EXCEPTIONS
          OTHERS            = 1.
    ENDFORM.                    "ladr_lesen
    **&      Form  REPRINT
          text
    *FORM reprint.
    TABLES : nase.
    DATA  : x TYPE string.
    IF nase-vermo = 2.
       x = 'REPRINT'.
    ENDIF.
    *ENDFORM.                    "REPRINT
    Kindly do the needful.
    Thanks in advance
    Regards
    Swarna

    Hi Swarna,
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    device = 'PRINTER'
    language = language
    OPTIONS = print_infos
    <b>form = tnapr-fonam</b>
    dialog = ' '.
    x_open := x.
    I thing its not a good way to pass the Form name to the Parameter.
    Try like,
    data : temp_form like tnapr-fonam.
    <b>form = temp_form</b>
    Thanks.

  • Problems printing international shipping labels in PayPal since updating to iOS 7

    Problems printing international shipping labels in PayPal since updating to iOS 7. When I press the reprint label button, another tab opens up, which it did in the previous version but instead of the shipping label bring displayed I get a message saying cannot open page as the network connection has been lost. By this point I have already been charged for the shipping. Any ideas why???

    I have the same problem, not just with international labels, but with any shipping labels in Paypal.  iPhone 5 and iPad w/ Retina Display using iOS 7.0.2.

  • Problems printing labels and envelopes with related names

    When I try and print out labels for Christmas cards from Address Book, the program creates the first line of the label with the name on the Address Book "card", plus the names of the "Related Name" entries on the card. This works for most cards except in the following situation.
    The Related Name field (Spouse, Child, etc.) does a 'fuzzy lookup' to match other cards in the Address Book database. If there is another card with the same name as one of the related names, the address is checked to see if the address matches. If it matches (or if there is no card that matches the related name), Address Book will include the related name on address labels. (Address information is required for this test since Address Book will not print a label for a card that does not have and address.) This was the source of my first problem as I had a card for a related name that had an old address on it, so Address Book chose not to print that related name on the labels as they did not live at the same address. I agree with this logic.
    The real problem is revealed when you add a related name to a card in which the first name of the related name matches the first name of another card which is NOT the same person. So I have a card for "John Hart", and on that card I have two relate names, a Spouse of "Nancy Hart" and a Child of "Eric Hart". I also have a card for "Nancy Hart" with a Spouse of "John Hart" and a child of "Eric Hart" and the address matches that on the card of "John Hart". If I print a label for "John Hart", Address Book properly prints "John, Nancy and Eric Hart". Now if I add a card for "Eric Smith" and either have a different address or no address at all on that card, when I print a label for "John Hart" Address Book will print "John and Nancy Hart", effectively losing the child. I can only think that Apple made the search for related cards TOO FUZZY and forgot to include the last name in the search.
    Apple... are you out there? Please help!!!
    PS: My full database has many records that are incurring this problem, and it's annoying.
    PowerMac G5 Dual 2.5 Mac OS X (10.4.3)

    After going through 3 2nd level support personnel, I finally reached one who cared enough to actually type in what I asked him to, and then to research the findings.
    As I pointed out above, Address Book compares the related names with the other cards in the database. If there is no card for the specific related name, Address Book will stop at a record with a matching first name and then compare addresses. If the addresses do not match, it will not print the related name. The support rep stated that hopefully in future version this might be refined.
    AS A WORKAROUND, he suggested I create cards for any of the related names on my cards. Once this is done, and the cards have matching addresses, all of the related names on the selected card for label or envelope printing are printed.

Maybe you are looking for

  • Ipod touch doesn't recognized by itunes password

    My ipod touch doesn't recognized my itunes password, so I am not able to purchase anything from the ipod touch, but I am able to do it through my computer.

  • Unable to open 2007B database in SAP Business One version 8.8

    Hi Experts,    We are in the process of upgrading one of our client from SAP Business one 2007B PL13 to SAP Business One 8.8. While trying to open  the client's live database in 8.8, system throws a message "You cannot upgrade company databases from

  • Copy between host and guest

    I'm a student at a Uni and I'm currently learning the basics about Windows Server Domain Controllers. One of the assignments required us to use a excel spreadsheet file to setup users in the domain, I tried copying this file from my host to the virtu

  • Unable to save workflow types and create workflow stage  in CUP

    Hi Guru's, We are currently installling GRC AC 5.3 and are stuck in configuration. we are unable to create workflow stage in CUP. Whenever we try to open the tab for stage it gives below mentioned error. Webpage error details Message: Expected ';' Li

  • Crashes upon rearranging photos in grid view

    3.5, and also happened in 2.7. I don't remember before that. Dell Precision with Windows 7 Pro 64x, 4Gb RAM, NVIDIA Quadro FX 880M. When I do a lot of rearranging (more than a few), by dragging the thumbnails to another place, frequently LR crashes a