ZPL code in SMARTFORM

hi guys,
attach is the zebra code we use in SAPScript. For smartform i don't see the /E under the text editor. May i know do we need the /E label in smartform? thanks
/E LABEL
^FX
~DGR:ROHS.GRF,2222,22,jG0IFCI07LFCT07HFJ03HFJ07JFI07MFT03HFJ03HFJ0KF8H07
MF8S03HFJ03HFI03KFEH07MFES03HFJ03HFI07LFH07NFS
03HFJ03HFI0MF807NF8R03HFJ03HFI0MF807NFCR03HFJ03HFH01MFE07NFCR03HFJ03HFH0
7NFER03HFJ03HFH07HFC01IF07NFER03HFJ03HFH07HF801IF07FEI01IFR03HFJ03HFH07F
HFJ03HFH07FEI03HF87FEJ07HFR03HFJ03HFH0HFCI01HF87FEJ07HF8I03HFEJ03HFJ03HF
7FEJ03HF8H01JFCI03HFJ03HFH0HFCJ0HFC7FEJ03HF8H03KFI03HFJ03HFH0HFCJ0HFC7FE
J03HFH0HFEM07FEJ03HFH01LFEH03HFJ03HFH07HFM07FEJ07HFH03LFEH03HFJ03HFH07HF
OFH07JF8J07FEI01HFEH0IFC1IFH03OFH07KF8I07FEI03HFEH0IFH07HF803OFH03KFEI07
01MFH07NFI0HFCH01HFC03OFI0MF807NFH01HFCI0HFC03OFI0MFE07MFEH01HF8I0HFC03O
03OFJ0MF87NFH03HFJ07FE03HFJ03HFJ01LFC7NF803HFJ07FE03HFJ03HFL0KFC7NFC03HF
FC7FEI0IFC03HFJ07FE03HFJ03HFM01IFE7FEI03HFE03HFJ07FE03HFJ03HFN03HFE7FEJ0
FJ03HFO0HFE7FEJ0HFE03HFJ07FE03HFJ03HF01H08J07FE7FEJ0HFE03HFJ07FE03HFJ03H
EJ07FE03HF8I0HFC03HFJ03HF01HFCJ07FE7FEJ07FE01HF8I0HFC03HFJ03HF01HFCJ07FE
FC03HFJ03HFH0HFEJ0HFE7FEJ07FEH0HFCH03HFC03HFJ03HFH0HFEJ0HFC7FEJ07FEH0HFE
07HF803HFJ03HFH07HFCH07HFC7FEJ07FEH07HFC1IFH03HFJ03HFH07IF01IFC7FEJ07FEH
NF87FEJ07FEH03LFEH03HFJ03HFH03NF07FEJ07FEH01LFEH03HFJ03HFH01NF07FEJ07FEI
FC07hHFE7gJFC7E3TFE7gJFC7E3TFE7gJFC7E3RF8FE7gJFC7E3RF8FE7gJFC7TF8FE7gJFC
FEH03FE3H0FH0HF3803FC7E3FCH03FC6H0FC01E7CH01FCI0FE4H04H07F2H01FC7E3F8H01
FC7E3F8FE1FC1FC3F8FE78HF8F0HFC7E1FE1FE3F0HF8FC7E3F1HF8FC3FE3F8FE70HF8F0H
7E3FE1FE1F1HFC7C7E3JF8FC3HF1F8FE61IFE1HFE3E3FE3FE1F1HFC7C7E3JF0FC3HF1F8F
IFE3HFE3E3FE3FE1F3HFC7C7E3FCI0FC7HF1F8FE61IFE3HFE3E3FE3FE1F3HFC7C7E3F01F
7HF1F8FE61IFE1HFE3E3FE3FE1F1HFC7C7E3E3HF8FC7HF1F8FE61HF8F1HFC7E3FE3FE1F1
87C7E3E3HF0FC7HF1F8FE70HF8F0HFC7E3FE3FE1F0HF8FC7E3E3FE0FC7HF1F8FE787E1FC
E3FE1FI01FC7E3EI083C7HF1F81E7EH07FEH03FE3FE3FE1F1H07FC7E3F80383C7HF1FC1E
1gHFE7YF1gHFE7YF1gHFE7YF1gHFE7YF1gHFEhJ07YF1gHFE7hHFE7hHFE7hHFE7hHFE
^XA
^PRC
LH0,0FS
^LL610
^MD0
^MMT
^MNY
LH0,0FS
FO32,20A0N,45,45CI13FRFDPART #: &W_MSEG-MATNR&FS
BY2,3.0FO36,66BCN,56,N,Y,NFRFD>:&W_MSEG-MATNR&FS
IF &V_RAUBE& = 'X'
FO709,74A0N,45,45CI13FRFDMSD: &MARA-RAUBE&FS
ENDIF
FO32,137A0N,36,36CI13FRFD&W_MSEG-MAKTX&FS
FO32,183A0N,36,36CI13FRFDMPN: &W_MSEG-IDNLF&FS
BY2,3.0FO36,222BCN,56,N,Y,NFRFD>:&W_MSEG-IDNLF&FS
FO32,293A0N,36,36CI13FRFDBATCH NO:  &W_MSEG-CHARG&FS
BY2,3.0FO36,330BCN,56,N,Y,NFRFD>:&W_MSEG-CHARG&FS
FO400,240A0N,36,36CI13FRFDUser:&W_MSEG-USNAM&FS
BY2,3.0FO401,330BCN,56,N,Y,NFRFD>:&W_MSEG-USNAME&FS
FO673,293A0N,36,36CI13FRFDD/CODE: &P_DCODE&FS
BY2,3.0FO674,330BCN,56,N,Y,NFRFD>:&P_DCODE&FS
FO200,517A0N,36,36CI13FR^FDCOO: &P_CCODE& ^FS
BY2,3.0FO36,500BCN,56,N,Y,NFRFD>:&P_CCODE&FS
FO500,460A0N,36,36CI13FRFDQTY: &BAR_LFIMG&FS
BY2,3.0FO500,500BCN,56,N,Y,NFRFD>:&BAR_LFIMG&FS
FO32,399A0N,36,36CI13FRFDSAP  Doc: &V_MBLNR&FS
BY2,3.0FO36,432BCN,56,N,Y,NFRFD>:&V_MBLNR&FS
FO30,566ABN,25,15CI0FR^FDDate RECEIVED: &BAR_DATE& ^FS
IF &V_NORMT& = 'X'
FO713,455FRXGRoHs,1,1FS
ENDIF
FO0,282GB931,0,2^FS
FO0,126GB931,0,2^FS
FO0,172GB931,0,2^FS
FO0,390GB931,0,2^FS
FO0,558GB931,0,2^FS
^XZ
^FX End of job
^FX END OF FORMAT

Hi,
We do not need /E option in smartform since we can make use of program lines and write the code as we write it in se38. here we do not have any elements nor we make use of them as we do it in scripts..we used to make use in scriots since we need to code for a window separtly and call by means of /E but know we need not need it rather create progam lines in window where u want to wite the code and use it . It works similar to the /e...try this.
Regards,
Sana.
Reward if helpful....

Similar Messages

  • ZPL II Code in smartforms

    Hi all,
       How to write the ZPL II code in Smartforms? If anybody have idea about this help me.
    Thanks in advance,
      Sudha

    This can be done with command nodes.
    For example to rotate field by 90 degrees clockwise enter:
    Attribute name: S_LZPL_SETUP
    Attribute value:  '^FWR'
    You can find details in document "Bar Code Label Design and Printing from mySAP™ Business Suit via SAP® Smart Forms™"  which can be downloaded from
    www.zebra.com/sap

  • Zebra ZPL code

    We use smartform to print label using Zebra printer. Is there a way to get the ZPL code generated by the spool request.
    Regards

    Hello
    For the Zebra printers and Smartforms refer to SAP notes:
       750002 - Smart Forms: Support for Zebra label printer (ZPL2)
       750772 - Information on the ZPL-II printer driver for SmartForms
    Regards.

  • Printing ZPL code directly to a printer

    In my abap program a have a string that contains ZPL code.  I'd like to send that ZPL code directly to the user's local printer.  Is there a way to do this in ABAP?  I looked at FM PRINT_TEXT but I'm not sure if that is the best way to do it.
    If I were to do this outside of SAP. I would call up the windows command prompt and type:
    copy C:\Label.txt LPT1
    I just don't know how to do this from ABAP.
    Thank you,

    I'm try to set up a print control for device type LB_ZEB2.  However, I'm not sure what to put for the control charatcer sequence.  Here is my code:
    FORM test_print using barcode.
      DATA PARAMS LIKE PRI_PARAMS.
      DATA: DAYS(1)  TYPE N VALUE 2,
            COUNT(3) TYPE N VALUE 1,
            VALID    TYPE C.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          DESTINATION    = 'LABL'
          COPIES         = COUNT
          LIST_NAME      = 'TEST'
          LIST_TEXT      = 'Test NEW-PAGE PRINT ON'
          IMMEDIATELY    = 'X'
          RELEASE        = 'X'
          NEW_LIST_ID    = 'X'
          EXPIRATION     = DAYS
          LINE_SIZE      = 79
          LINE_COUNT     = 23
          LAYOUT         = 'X_PAPER'
          SAP_COVER_PAGE = 'X'
          RECEIVER       = 'SAP*'
          DEPARTMENT     = 'System'
          NO_DIALOG      = ' '
        IMPORTING
          OUT_PARAMETERS = PARAMS
          VALID          = VALID.
      IF VALID <> SPACE.
    *NEW-PAGE PRINT ON IMMEDIATELY 'X'.
        NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
        FORMAT COLOR OFF INTENSIFIED OFF.
        WRITE:/.
        PRINT-CONTROL FUNCTION 'BCPFX'.
        WRITE: barcode NO-GAP.
        PRINT-CONTROL FUNCTION 'BCSFX'.
        WRITE:/.
      endif.
    ENDFORM.

  • Generate bar codes in smartforms

    Hi,
    I wonder to know how can I add bar codes to a smartform. Bar codes should be generated in a automatic sequence and its number should be printed too.
    Thanks a lot,
    Nuno Moreira

    Hi Gregor,
    Let me try to explain better.
    1. I'm using the bar code in smartforms and I'm able to generate the bar code graphic. But I want to print the bar code graphic and the bar code number, so what I was asking is if there is some way to associate automatically the number with bar code graphic, instead of write the number again with a regular font format, because like this is very difficult to format properlly the graphic with the associated number.
    2. What I want to do is, print daily several letters identified with a bar code, so it'll be nice if the system could generate a automatic sequence of number to convert in bar code graphics.
    I hope you could understand my doubts.
    Thanks again,
    Nuno Moreira

  • Subroutine code in smartforms?

    How to write subroutine code in smartforms?

    Hi,
    Smarforms
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    SmartForms : some links
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    http://www.allsaplinks.com/smartform_example.html
    http://www.sap-basis-abap.com/sapsf001.htm
    Smart Form PDF Link
    http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://sap.ionelburlacu.ro/sap0/sapsf001.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    Debugging of a subroutine pool.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Kindly Award Points If You Find The Reply Helpful.
    Cheers,
    Chaitanya.

  • Performance wise Code In smartform

    Hello,
    I have one doubt for performance issue in smartform.
    While creating 'Z' smartform  data fetching can be done by two ways,
    Which one is better out of two mentioned -
    1. Code in smartform itself.
    2. Code in driver program and pass that data to smartform via form interface.
    In SAP standard smartforms it is always done in Smartform itself.
    Also please suggest which one is easy to debug?
    Regards
    Vishal
    Edited by: Vishal Chavan on Jun 11, 2009 7:55 AM

    Hi Vishal,
    As far as i am concerned it is always better to separate the data selection from the data used in the smartform.
    Having your code in a driver program has better advantage over the code in smartform.
    1.It is easy to change and maintain the code.
    2.You can use the driver program for different smartforms with minimal changes.
    Performance and debugging doesn't differ much either you code it smartform or in the driver program.
    For more information please go through the below link.
    Link: [http://help.sap.com/saphelp_nw70/helpdata/EN/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm]
    Regards,
    Babul.

  • Sample code for smartform required

    Hi all,
    I need a sample code in smartform for the following said ,
    I have a header(customer code address and basic info ion it) and 
    detail table contains (bill details).
    I have to display this data in the smartform . In anew page for each customer. The format for the first page header info and the second page info is not the same.
    My header and detail table contains data of all the customer together. I need to give page break based on the customer code.
    Points will be given if helpful.
    Regards
    Priya.

    sample program
    Hi
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.

  • To print bar code in smartforms.

    Hi,
             I want to print bar code in smartforms. how to do that one.
      Thanks ,
      sanjukta

    Hi,
    There's another way of doing it. Here we go... You can generate an ITF file for your data from any third party softwares.
    Once you have the ITF file, this is what you have got to do.
    <b>Uploading label file to SAPscript</b>
    1. Use the standard text editor (Transaction SO10) to upload the print file to SAPscript.
    2. Create a new standard text with any name. In the text editor load the created print file
    (.ITF file) with the function "Text->Upload" and select "ASCII" as a format. Store the ITF
    print file as a standard text.
    3. Include the standard text in your SAPScript.
    4. <b>Set up Device Type </b>Generally, a special device type (a variant of the device type ASCIIPRI) must be used for the correct printout of the layout set on a label printer. SAP supplies these device types on the ftp server sapservX and delivers them in the standard SAP system. The device type ASCIIPRI can normally be used for the basic test of procedure with other label printers.
    5. <b>Define your output Device</b> As the last step, an output device (printer) must be set up in the R/3 with Transaction SPAD. The special device type or ASCIIPRI is assigned to this output device (printer). The application program must now use this output device to print the labels. The label printer connects itself to the R/3 via one of the standard available connection types in SAP R/3 (local print on the application server/removed print via lpd server/removed print via Windows PC and SAPlpd/frontend print). Your thermal printer must be connected to one of the available output channels for print output.
    6. What is the Barcode Symbology you are using? Upload method doesn't support EAN.UCC 128. But still there is workaround.
    Feel free to revert back.
    --Ragu

  • Print variable with ZPL II in smartforms

    Hi all,
    How can I print a variable in smartforms with ZPL II code?
    I use commant in smartforms with ^FV but it could not be written to the label.
    ZPL II Command String is :  XX is a variable that is stored a value in Programs Line before ZPL II Command.
    S_LZPL_SETUP     'XAFO50,50GB0,203,5FSFWBFO115, 75A0,25,20FVXXFSXZ'
    Best regards,
    Munur

    Hi Jack,
    1.
    data : ZZPL2 type string.
    clear : zsaat,ztarih.
    concatenate ZZCZEIT(2) ':' ZZCZEIT+2(2) ':' ZZCZEIT+4(2)
           into ZSAAT.
    condense ZSAAT no-gaps.
    concatenate ZZCDATE+6(2) '.' ZZCDATE+4(2) '.' ZZCDATE(4)
           into ZTARIH.
    condense ZTARIH no-gaps.
    concatenate '^BY4,2.0^FO20,50^B7N,4,1,1,0,N^FD'
                  ZZKDMAT
                '^FS'
                '^FO490,15^GB0,250,5^FS'  
                '^FWB^FO500,60^A0,25,20^FD'
                ZSAAT                    
                '^FS'                      
                '^FWB^FO525,50^A0,25,20^FD'
                ZTARIH
                '^FS'                    
                '^FWN^A0,25,20^FD'
                '^FS'                      
           into ZZPL2.
    2. In the command :
    S_LZPL_SETUP           ZZPL2
    That's all.
    Best regards,
    Munur

  • BAR CODES in smartforms - conversion problems to PDF

    Hello,
    I have a problem. Have a look at the following points and see what I have done:
    1. I generated several different system bar codes using SM73
    2. I added those system bar codes to a smartformstyle
    3. and built a smartform using smartformstyle of system-bar codes.
    4. then I made some examples of bar codes in the smartform as text.
    5. next I sent this smartform via email as an pdf attachment using smartform mail functionality.
    6. shocking - all bar codes in the pdf-file are not readable. You can see that there is a barcode placed, but all barcodes looks like the same.
    Has somebody got a idea on what is going on here?
    I already had a look at OSS Notes 430887 and 645158.
    Greetings
    daniel

    Hi,
    Please can you have a look at Sap OSS Note 197177.
    Regards,
    Sudheer.

  • Code in smartforms

    hi.........
    I am developing a smartform........using Zprogram.My zprogram coding is as follows...............here from my Zprogram I am exporting the structures wa_proj and wa_prps........when I am executing my Zprogram the values are being populated into the smartform............but when I am trying to execute my smartform no values are being populated into wa_proj and wa_prps.........I had defined in Form Interface in smartform also.....................What might be the problem....
    Can anyone help me out........
    Thanks in advance
    tables:gmgr,proj,prps.
    PARAMETERS: p_gnbr like gmgr-grant_nbr.
    data:
    l_wbs_element like gmgr-wbs_element,
    wa_prps       like prps,
    wa_proj       like proj.
    data fm_name type RS38L_FNAM.
    *Read WBS element
    SELECT single wbs_element into l_wbs_element
      FROM gmgr
    WHERE grant_nbr = p_gnbr.
    if sy-subrc = 0.
        SELECT single * into wa_prps
          FROM prps
         WHERE pspnr = l_wbs_element.
      if sy-subrc = 0.
        SELECT single * into wa_proj
          FROM proj
         WHERE pspnr = wa_prps-psphi.
      endif.
    endif.
    call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = 'ZSAMPLE'
                    variant            = ' '
                    direct_call        = ' '
           importing  fm_name            = FM_NAME
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
      error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        exit.
      endif.
    call function FM_NAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
        WA_PRPS                    = wa_prps
        WA_PROJ                    = wa_proj
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5.
    if sy-subrc <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.

    Hi,
    put a break point in the smartforms
    i mean before displaying the vlaues
    write program lines
    and write some code
    in order to see the values are coming in to
    WA_PRPS
    WA_PROJ  or not
    regards,
    Venkatesh

  • Bar code in Smartforms

    Hi experts
    can u plz explain me how to bring bar code in to smartform like invoice  credit notes
    step by step procedure
    regards
    Siri

    Hai Sireesha
    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://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Details 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.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research -
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    Barcode Standard
    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
    Thanks & regards
    Sreenivasulu P

  • Transaction Code for Smartforms...

    Hi All,
      i have created smartform and now i want to create Transaction code for that..how can i do that, i knew tcode 93 for creating transaction code..but after creating transaction code while executing it is giving error...
    Pls help..
    Regards,
    yunus

    Hi,
    first u create the driver program.
    then call the smart from from that driver program. driver program is simply an exceutable report program.
    from that use the FM - > SSF_FUCTION_MODULE_NAME
    give the t-code for this report program.
    eg: code
    DATA: FM_NAME TYPE RS38L_FNAM.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    * VARIANT = ' '
    * DIRECT_CALL = ' '
    IMPORTING
    <b>FM_NAME = FM_NAME</b>
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    *at first give the 'Environment' menu-->'Function Module *Name' in the below code and call 'PATTERN'.
    *then Remove that number with FM_NAME
    call function <b>FM_NAME</b>
    * EXPORTING
    * ARCHIVE_INDEX =
    * ARCHIVE_INDEX_TAB =
    * ARCHIVE_PARAMETERS =
    * CONTROL_PARAMETERS =
    * MAIL_APPL_OBJ =
    * MAIL_RECIPIENT =
    * MAIL_SENDER =
    * OUTPUT_OPTIONS =
    * USER_SETTINGS = 'X'
    * IMPORTING
    * DOCUMENT_OUTPUT_INFO =
    * JOB_OUTPUT_INFO =
    * JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    rgds
    Anver
    pls mark all hlpful answers

  • Code in SMARTFORM

    What is the most efficient way to develop a SMARTFORM?
    to write the code in the smartform or the print program?
    please help me. I need to know this immediately.
    Thanks,
    Archana.

    Archana,
    The best way is to wite the code outside the smarform. If you have the code in the smartform then its useful to the specific SF  only.
    If yu want to reuse the same code (subroutine) then if the Subroutine is out the SF and in a separate program then you can use where ever the same out put is required.
    For Example. : For address you can write the code in a program and call the subroutine from any SF where ever you have to print the address.
    Regards....

Maybe you are looking for

  • Menus with background audio

    hi, i have project in DVD Studio 4 Pro. I create Main menu with looping background music and two Submenus. how to create background music on Main menu, so when i go to Submenus, background music from Main menu will nonbreaking and continuesly play to

  • Regarding scripting in adobe HCM process and forms

    Hi Gurus, I am working on adobe HCM process and forms. Configuration has been done for HCM process and forms and I am getting the scenario stage level in the forms based on which I will give the visibilty to differenct levels of approvals in the form

  • Java and Symbian Platform v6.0

    Hi there ! I'm not quite sure if this is the right forum, but here goes: I'm not too familiar with Java, and I'm beginning to develop app for Nokia 9210 using Nokia's own SDK. However, I haven't found a good tutorial about basics. I know how to creat

  • Unable to Use Garageband

    I've never used Garageband, but when I got an iPhone, I thought it would be fun to create some ringtones. The videos on Youtube made it look simple. So, I opened up Garageband for the first time since getting my mac pro. Well, it's just impossible to

  • How do I download my already purchased movies

    It only tells me tv shows and there is not an option for movies! Am I missing something??