How to print pallet labels in abap

Can anyody tell me the code for printing a pallet label details from abap editor based on a handling unit and sequence count number??
Thank you

Hi,
I have no idea about Pallet Labels?  What do you mean by Pallet label?
Basically Labels are creating using
Main window
-->Loop node with corresponding Internal table
>Template with required structure of Label
Otherwise
Loop in Print program
-->Call Function  "Smart form Generated function module
         xxxxxx  "In this smart form create one secondary window -->Create Template and design the Label structure
         xxxxxx
endllop.

Similar Messages

  • How to print Column Labels on each print page of an ALV report

    Hi,
    I have an ALV report which is of 10 print pages.
    I need to print Column Labels on each print page.
    How it is possible.
    Plz write the solution
    Narendra

    Hi Narendra
    try this code.
    reward pts if help.
    Deepanker.
    *& Report  ZDEMO_ALVGRID_EDIT                                          *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display specific fields as          *
    *& editable depending on field value                                   *
    REPORT  ZDEMO_ALVGRID_EDIT                 .
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes
    pls reward pts is help,

  • How to print a label in the last page of the report

    Hi, I have a report af bottom page I trid to put a label, the label is in the margin, but when I change the print condition send me a error, illegal print condition, how can I print this label only in the last page at the botton of the page
    Thanks

    Herbe,
    You can do this using format trigger
    Please see the building reports manual / Tutorial for details
    at http://otn.oracle.com/docs/products/reports/content.html
    Thanks
    The Oracle Reports team

  • How to print mailing labels from my Thunderbird adress book?

    I want to print mailing labels, such as Avery 8164, from an address book or a mailing list in my Thunderbird Address Book. How can I do that?

    Thunderbird only has the ability to print emails or an address book.
    Thunderbird is not the correct software for wanting to perform something like printing labels. You would need to use MSOffice package or OpenOffice.org (free) see link: https://www.openoffice.org/
    Using OpenOffice.org Base you can select to connect to an existing database and select Thunderbird Address Book. After saving to a suitable location, you can then use OpenOffice.org Writer.
    File > New > Labels
    select the saved filename.odb database.
    See image:

  • How to print GR label from MB90?

    Can you please guide me as to how to print a GR label from MB90?
    I need some steps where I will be assigning the output type, the associated sapscript label etc.
    Thanks,
    Ven

    - Go to t-code NACE.
    - Select ME.
    - Select output type/or add new output type and then processing routine and assign your form & program.
    - go back and select condition record. Select your output type & then select WE and indicator 1 and assign the values here.
    - in the same screen select commeunication tab and select your printer, print immediately indicator etc.
    - Once post your document in MIGO then go into MB90, select your output type defined in above and then execute
    hope it will help.
    Reward if yes.
    Thanks,
    KHAN

  • How to print external file using ABAP program

    Hello
    I want to print an external file which is located in server (
    20.99.0.18\GUI\xyz\8.0QUALITY\QM_TS.DOC) .....i want to print these kind of files(which i have retrieved from table 'DRAW' field 'filep' )......i need to print these files using ABAP program.
    thank you
    Vikram.
    Message was edited by:
            Vikram Bojja

    extract the data and pass to script or smartform for printing

  • How to print the label in multiple times

    Hi,
            I wrote a program which will display the label. But  I want to display the labels according my input.
             Pleae Explain the process How can I get.
      Ex  If I give 4 as input number in  selection screen.  that should display 4 labels.
    Regards,
    Surya

    Hi,
           Thanks for your answer.  I used  SS-FUNCTION_MODULE_NAME  function module to call the smartform and I called  that generated function module.
    To which parametr I want to pass the number of copies to print Please explain clearly.
    Regards,
    surya

  • How to print adress labels with both, name of company AND person?!

    Hello,
    how can I print adress labes for business use in the following form:
    Company name
    Employee name
    Street
    Zip City
    It seems that Adressbook is only able to print either the employee name (if the entry is not marked as company) or the company name (if the entry is marked as company). But to send a letter to a specific employee you need both on the label.
    I would be astonished if this case is not considered by Apple's software engineers!
    Thanks for all helpful hints and suggestions.
    Michael

    Hi Michael
    Address Book is limited which is a shame as falls down on some of the basics
    You might find this meets your requirements however as it can use the AB data
    http://www.belightsoft.com/main.php
    chris

  • How to print custom label print after Pick drop happen

    Dear All,
    I have a requirement,
    Have to print the custom label printing report after pick drop happening.
    can you please suggest how to do this, Seems there is no workflow business event or other methods. please suggest to how do achieve this.
    Thanks in advance.
    Thanks
    satya

    You know, in a user exit or a BADi you can access any variable of the program you want.
    Just find what which program calls the Exit User, put a break-point in it, and find the variable you need to access.
    Then add this kind code in your Exit :
    DATA: l_var TYPE ....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)variable') TO <fs_var>.
    IF sy-subrc = 0.
      l_var = <fs_var>.
    ENDIF.
    Same thing for a table :
    DATA: lt_var TYPE TABLE OF....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)table[]') TO <fs_var>.
    IF sy-subrc = 0.
      lt_var[] = <fs_var>.
    LOOP AT lt_var ASSIGNING ...
    ENDLOOP.
    ENDIF.

  • Pallet Label printing through delivery note

    Hi All!
    As a user of SAP,how will he print pallet labels.I know that when the user browses through VL02N and gives the delivery note and identifies the handling unit of the pallet he wants to print and from there to outout screen and print.
    My query is per HU there is one label to be printed whether it may be pallet or box.Can the user make multiple selections to make a print.I mean if the user wants to print 10 box labels at a time how he is going to do that.
    Please explain me the procedure to do that.
    Regards
    Pavan

    Pavan,
    Try transaction VL71.  You can print multiple delivery related output from this transaction.
    Brian

  • Pallet Label Printing

    Hi Experts,
    During Goods receipt process, we are printing GR note consist of Total Quantity received.
    My Client also want us to print, Pallet Label - For each pallet per Material {Suppose we receive Item A= 100 qty; received as 10 pallets} then Print 10 Pallet Label - Consists of Material Name, Qty, Pallet No., GR Date , Weight etc.
    Do we have standard Pallet Label functionality. { We are not implementing WM}
    Regards,
    Jackie
    Edited by: sappassion2011 on Feb 8, 2012 4:36 AM
    Edited by: sappassion2011 on Feb 8, 2012 4:36 AM

    Hi Experts,
    Could you provide some inputs....
    Regards,
    Jackie

  • Storage unit labels along with pallet labels in wm

    Hello,
    could you please explain how to generate storage unit label along with pallet label in wm. for example if 1pallet contains 4 boxes and each box will have20 bottles then we need to print pallet label for 4boxes and unit label for each box with 20 bottles information.
    Thanks
    Regards,
    Pavan Kumar

    Hi Pavan,
    Based on your requirement and as far as standard SAP are concern there is no form which will help to generate the label in the above format. You need to take the help from development team who can design the format using SMARTFORM functionality as per your requirement. once the form is ready you can assign the print code and the SU lable form to below mentioned node. which will print the label on the printer specified
    SPRO ---LE---WM ---Storage unit ---Define print control
    additionally have a look on the below mentioned SAP standard link which will give you an idea about the printing of SU
    Printing SU Documents Manually - Warehouse Management System (WMS) - SAP Library
    Let me know if you need any further information

  • Print HU label from Outbound delivery using output determination

    Hi,
      We have a business requirement to print HU labels from outbound delivery. The steps followed are
    1) User executes VL02N
    2) User clicks on packing
    3) Material is entered to pack. HU is automatically generated.
    4) After saving the delivery, output message is triggered.
    Output determination is as follows
    1) An Z output type is created.
    2) Form entry and smartform name is assigned to this output type
    Issue:
    The issue is when the output message is triggered and the code in the form entry is executed, the handling unit (from nast) is not yet committed in the database. Since it is not updated in the database table, we cannot get any handling unit data to be printed.
    Any inputs on how to print HU labels using output determination from outbound delivery is appreciated.
    Thanks,
    Sandeep

    Hi Surya,
         Thanks for the reply. But, my question was how to print labels from VL02N when i pack a material on this delivery.
    Regards,
    Sandeep

  • Can I print mailing labels with a "The ____ Family" as the name?

    I know how to print mailing labels from my contacts, but I would like to be able to print the labels showing only the last name of the person inserted into "The ___ Family" in life of the full name.  Like The Smith Family rather than Bill Smith.  I was able to do this using outlook and my old PC.  As a new Mac user, I have been unable to figure this one out.  Any help would be much appreciated.

    David Scott9 wrote:
    Pages is a great word processing program, but Numbers is a piece of junk.
    It's a piece of junk fore those which are too dumb to read Numbers User Guide and iWork Formulas and Functions User Guide.
    I used (and continue to use) AppleWorks for years but when I need a new spreadsheet document, I build it in Numbers whose unique drawback is that it's slow.
    Those which took time to search in existing threads know that there are at least two easy ways to create labels with Pages and Numbers.
    (1) my script which is available on my iDisk (address below)
    Download :
    For_iWork:iWork '09:for_Numbers09:for_labels.sparseimage.zip
    (2) https://discussions.apple.com/message/12481761
    Not the peterBreis answer but ElViejo1939's one.
    Yvan KOENIG (VALLAURIS, France) lundi 19 septembre 2011 17:20:26
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Printing shelf labels

    Hi,
    does someone know how to print material labels for shelves within SAP?
    Is there a standard procedure?
    I would like to select a couple of materials and then print labels with material no, material description, etc.
    Thanks in advance.

    Hi,
    Please see the below link,
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/dfc024cee165d0e10000000a155369/frameset.htm
    Regards,
    Mohd Ali.

Maybe you are looking for