Barcoding in smartform(urgent)

Hi folks,
  i am printing <b>2D barcode</b> in smartform by using PDF 417.it's somewhat large in size. but my customer wants the data matrix format for barcoding so that the barcode can be display in a smaller size.
  does SAP supports <b><u>DATA MATRIX</u></b> barcode ?? plz advice me , how to do this
data matrix barcoding in SAP???
Thanks & Regards
  madhu

Hi
see this link you will get idea of what is barcodes and use
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Steps to implement bar code in the smart form:
1. Create a Smart Style: Use the transaction code smart style. Give a suitable name .Choose Create.
2. Create a Character Node: In change mode of the Smart Style select the Character Formats Node and choose Create. In the Character format field enter a two-character key. Click Continue.
3. Select desired attributes of Bar Code: Select the desired attributes of the Bar Code on the tab Standard Settings.
4. Choose Activate.
5. Use the Smart style in the Smart form: Assign the character format to the field or character string in the smart form.
6. Activate the smart form.
7. Test the same.
http://help.sap.com/saphelp_nw2004s/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
Reward if usefull

Similar Messages

  • Urgent!! Printing Barcode using smartforms

    req: need to print barcode using smartforms.
    &#12304;Settings&#12305;
    The following settings are made already
    1.  Style ( paragraph, character type(Syatem Barcode ) )is created and activated (T-code:Smartforms)
    2.  In the smartform I used the above style to print barcode  .
    &#8251;TEXTTYPE = TEXT ELEMENT.
    &#12304;Execution&#12305;
    1.  I run the smartform in test mode with setting any print parameters
    2.  Trigger print preview
    &#12304;Problem&#12305;
    1. I am getting only BAR's no barcodes.
    The bracodes are not displayed properly.
    If I test the same system barcode in SE73 it displayed properly.
    Is there anyother settings are necessory?
    Plz help me in solving the peoblem

    Hi
    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
    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.
    Reward points for useful Answers
    Regards
    Anji

  • *BARCODE USING SMARTFORMS*

    hi experts,
    i need examples on barcodes using smartforms......
    in smartform dev(wht are the fields to take)
    rewards points will be there....
    thanks and regards
    fareeda

    Hi Fareeda,
    To print a barcode in a smart form,you need to create a character format for the barcode.
    TO create a character format,you need to do it in SMARTSTYLES tcode.
    Follow these steps:
    Go to the SMARTSTYLES tcode.
    Give a name to your style and create it.
    Give a description and save it.
    On the left hand side of the window,you will find character formats.
    Click on it and press F5.
    Give a name to the character format and select OK.
    Give a description for the character format and save it.
    There you will find a tab by name General Settings.In that Tab you will find BarCode.
    Select any one of the style for the barcode as per your requirement.This is the name of the barcode.
    Now save the character format and activate the samrtstyle.
    To use the bar code in the form,follow these steps:
    now in the window,you will find a tab by name OUTPUT OPTIONS.Ther give the name of the style same as the name that you have created in the SMARTSTYLES.
    In the text element window,Select the character format that you have created in the smartstyles.
    Now in  the text elements of the window, type the field name for which you want to print the bar code in the following way to print the bar code:
    &<work area/table name >-<field name>&
    Regards,
    Kaushik

  • Random generated number along with barcode in smartforms

    Hi All,
    Is it possible to add some random generated number by system to add along with the end of the barcode in smartforms. (what could be the field) If so how it can be done. Tanks in advance
    Regards
    GK

    Hi Tankx man 4 the valuable reply,
         I am able to get that, but what my problem is,
    Eg: In my GR a item with 10 qty, so i made the qty as input and based upon that i am printing 10 labels. for ur ref the code is below"
    menge = TRUNC( is_mseg-menge ).
    DO menge TIMES.
    header-slno = header-slno + 1.
    APPEND header TO itab.
    the complete program is like as follows;
    menge = TRUNC( is_mseg-menge ).
    DO menge TIMES.
    header-slno = header-slno + 1.
    APPEND header TO itab.
    CALL FUNCTION 'QF05_RANDOM_INTEGER'
    EXPORTING
    RAN_INT_MAX   = '999999999'
    RAN_INT_MIN   = '100000000'
    IMPORTING
    RAN_INT       = RANINT
    EXCEPTIONS
    INVALID_INPUT = 1
    OTHERS        = 2.
    IF SY-SUBRC EQ 0.
    ENDIF.
    WRITE :/ RANINT.
    ENDDO.
    but in my barcode all the label has the same random number, can u say how to solve this.

  • What r the steps to print barcode in smartforms

    hi experts,
    can anybody tell me what r the steps to print barcode in smartforms.
    with examples is appreciated.
    points will be rewarded if helpful.

    /people/javier.perez-ullivarri/blog/2007/12/03/create-barcode-in-abap-conversion-to-pdf
    Creating Bar code:
    -->From trans 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
    --> 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.
    SAP Barcodes
    -->Barcode solution consists of the following:
    barcode printer
    barcode reader
    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.
    for your reference check the below links:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    for smart, please check the below link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    See the below program forbarcode in sapscript for your reference:
    DATA: BAR_CODE1(16) VALUE `ABC01230123A01'
    NEW-PAGE PRINT ON IMMEDIATELY `X'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    If the barcode is the first element on the page, the following Write
    statement is needed (otherwise you get a date in the first print
    control.
    WRITE:/
    Turn on the barcode font, print the data, and switch back to the
    printer's default font. Be sure to use NO-GAP to avoid unwanted
    characters or CR/LF.
    PRINT-CONTROL FUNCTION `BCPFX'
    WRITE: BAR_CODE1 NO-GAP
    PRINT-CONTROL FUNCTION `BCSFX'
    Add a Write statement to prevent insertion of CR/LF into the barcode.
    WRITE:/
    Sample SAPSCRIPT
    Variable BAR_CODE1 contains the barcode data, including asterisks.
    The & is needed to avoid unwanted spaces or CR/LF characters
    /E LINE
    /: PRINT-CONTROL BCPFX
    = &BAR_CODE1&
    /: PRINT-CONTROL BCSFX

  • Re: Barcoding in Smartforms

    Hi All,
    This is regarding printing of Barcode in Smartforms , I want to print VBELN ( Invoice NO ) through Barcodes  and Barcode type is ( EAM ).
    How can I do that.
    Thanks in Advance,
    Regards,
    Rashmi.

    Hi,
    create charater formate in the smart style ur using in the smart form.
    in the character format mention the bar code type ur using.
    after creating the chatacter format,give this character format in the smart form for VBELN.
    regards,
    Sunil.K

  • HI Need help ob Barcode in smartform

    Hi All,
    I need help on how to create and print a barcode in smartforms ? explain step by step how to do ?
    Thanks,

    Hi,
    THIS IS TO CREATE THE BARCODES.
    1.CREATE THE PARAGRAPH AND CHARACTER FORMATS BY USING THE u201CSMARTSTYLEu201D TCODE R SELECT THE u201CSTYLEu201D RADIOBUTTON IN u201CSMARTFORMSu201D TCODE(WHICH IS CREATED FOR SMARTFORMS).
    GIVE u201CP1u201D AS PARAGRAPH FORMAT
    CLICK THE u201CFONTu201D TAB,THEN ENTER THE FOLLOWING
    CREATE THE NODE FOR CHARACTER FORMAT
    SELECT THE BAR CODE NAME AS u201CBC_EAN8u201D
    CLICK THE u201CFONTu201D TAB AND CHANGE THE OPTIONS WHICH U WANT.
    Enter the details in u201CHeader Datau201D.
    SAVE,AND ACTIVATE IT.
    CREATE THE SMARTFORM AS u201CZCS_FORM6u201D.
    Click on u201Coutput optionsu201D tab in which text node u want to add the barcode, select the style as u201CZCS_STYLE6u201D and go back to u201Cgeneral attributesu201D.
    Use Line editor to add the barcode in Text node
    After come BACK FROM THE LINE EDITOR.(ABOVE SCREEN),THEN U CAN C THE FOLLOWING SCREEN FOR DATE FIELD.
    Regards,
    Chandu

  • How to use CALL FUNCTION '/1BCDWB/SF00000014' in smartform urgent

    hiiiiiiiii
    Iam doing classical report n i want my output to be printed in smartform.
    So my output is in IT_FINAL table.In smartform in Form Interface Table column i had declare :::
    Parameter Name: IT_FINAL
    Type Assignment:LIKE
    Associated Type:ZSD_FINAL ( Its a structure of IT_FINAL)
    And in SE38..iam using...............
    data: FM_NAME1 type RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = 'ZCSF_SDPRSR03_PR'
    importing
    FM_NAME = FM_NAME1.
    CALL FUNCTION FM_NAME1
    EXPORTING
    IT_FINAL = IT_FINAL.
    So while running its giving dump..
    I DONT KNOW HOW TO USE THE ABOVE FUNCTION MODULE.
    CALL FUNCTION '/1BCDWB/SF00000014'
    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 =
    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.
    Please suggest me with example if possible......URGENT.
    (Rewards if solved)
    Regards.

    Hi
    see the below doc and do accordingly
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    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
    <b>call function 'SSF_FUNCTION_MODULE_NAME'</b>
    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.
    <b>call function 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.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
    Regards
    Anji

  • Probelm in printing tabspace in barcode thro smartforms

    Hi Friends,
    I want to print the Barcode label thro smartforms. My code is as follows,
    I want to use TABSPACE separation in between fields instead of SPACE how do i do this pls guide me for the same. I  am using SAP ECC 5.0 version. So i tried using SEPARATED BY cl_abap_char_utilities=>HORIZONTAL_TAB but i am getting ' # ' sign in it. so pls help how to do it?
    DATA: GT_LINES  TYPE STANDARD TABLE OF TLINE,
    GS_LINES  LIKE LINE OF GT_LINES,
    NAME      LIKE THEAD-TDNAME.
    GS_HD_GEN = IS_BIL_INVOICE-HD_GEN.
    NAME = GS_HD_GEN-BIL_NUMBER.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT   = SY-MANDT
        ID       = 'ZFOR'
        LANGUAGE = 'E'
        NAME     = NAME
        OBJECT   = 'VBBK'
      TABLES
        LINES    = GT_LINES.
    IF SY-SUBRC = 0.
      LOOP AT GT_LINES INTO GS_LINES.
        IF SY-TABIX = 1.
          TDLINE = GS_LINES-TDLINE.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ELSEIF SY-TABIX = 2.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ELSEIF SY-TABIX = 3.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ELSEIF SY-TABIX = 4.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ENDIF.
        CLEAR GS_LINES.
      ENDLOOP.
    ENDIF.
    DATA  LV_DEPEXNUM LIKE J_1IRG23D-DEPEXNUM.
    GS_HD_REF = IS_BIL_INVOICE-HD_REF.
    SELECT SINGLE DEPEXNUM FROM
    J_1IRG23D INTO LV_DEPEXNUM
    WHERE VBELN EQ GS_HD_REF-DELIV_NUMB.
    DATA: GV_DATE(10).
    WRITE GS_HD_GEN-BIL_DATE TO GV_DATE mm/dd/yyyy.
    DATA : LV_STR(15)." LIKE IS_BIL_INVOICE-HD_GEN-DPEND.
    read condition header data
    gs_hd_kond = is_bil_invoice-hd_kond.
    *reading excise data
    CLEAR: GS_HD_REF, GS_HD_GEN.
    READ TABLE gs_hd_kond INTO gs_hd_kond_w WITH KEY kschl = 'JEXT'.
    LV_STR = IS_BIL_INVOICE-HD_GEN-DPEND.
    read ref data
    GS_HD_REF = IS_BIL_INVOICE-HD_REF.
    read gen data
    GS_HD_GEN = IS_BIL_INVOICE-HD_GEN.
    clear: g_str, g_str1, g_str2, g_str3.
    concatenate
    IS_BIL_INVOICE-HD_REF-PURCH_NO
    LV_DEPEXNUM
    *GS_HD_GEN-BIL_DATE
    GV_DATE
    G_STR4
    LV_STR
    into g_str SEPARATED BY SPACE.
    clear: g_str1, g_str2, g_str3.
    LOOP AT IS_BIL_INVOICE-IT_GEN INTO GS_IT_GEN.
      IF SY-TABIX < 10.
        CLEAR G_STR1.
        g_str1 = GS_IT_GEN-FKIMG.
        concatenate g_str
        GS_IT_GEN-CUST_MAT   " AR ++ 29.07
                  GS_IT_GEN-SHORT_TEXT " AR -- 29.07
        g_str1
        into g_str separated by SPACE.
      ELSEIF SY-TABIX < 9.
        CLEAR G_STR1.
        g_str1 = GS_IT_GEN-FKIMG.
        concatenate g_str
        GS_IT_GEN-CUST_MAT    " AR ++ 29.07
                  GS_IT_GEN-SHORT_TEXT  " AR -- 29.07
        g_str1
        into g_str separated by SPACE.
      ELSE.
        CLEAR G_STR1.
        g_str1 = GS_IT_GEN-FKIMG.
        concatenate g_str
        GS_IT_GEN-CUST_MAT    " AR ++ 29.07
                  GS_IT_GEN-SHORT_TEXT  " AR -- 29.07
        g_str1
        into g_str separated by SPACE.
      ENDIF.
    ENDLOOP.

    Hi,
    There are two types are barcode existing in sap like system barcode and printer barcode. Use Tcode SE73 to create any of those.
    If you want to create your own customized barcode then you have to opt system barcode. Here while creating barcode it will ask whether to create new barocde or copy of existing barcode.
    However by taking into consideration your requirement, you have to create system bar code.
    Goto SE73->System barcode->change-> create new barcode->New barcode technology.
    Here you have to mention barcode name and short text. then supported barcode symbology like C39,C128, code93 etc.
    After selecting any of the symbology, you have to choose Bar Code Alignment: like normal. inverted, etc. Then specify other barcode parameters like height,width, barcode ratio etc.
    Then try to print any text element with this customized barcode as per your requirement.
    Like you can print text element with smartform style, here you can include your customized created barcode in character format. While creating charactor format, give name of your customized barcode in standard setting->name.
    Then print text element by using smartform style.
    Hope this works for you.
    Thanks.......

  • Problem in executing a smartform URGENT!!

    HI,
    I created a template in my layout and created a structure
    z_tab which i had to pass in the smartform now
    my problem is
    in form interface i gave i_tab type z_tab
    and in template-> text iam adding a feild&i_tab-raw&( this is my feild name which i have to show in output) and in se38 my interface program i gave the necessary.
    But iam getting error saying
    "Reference field I_TAB-RAW unknown in form."
    please help its urgent
    Thank you

    the reference field which i gave in the structure was making this problem it was currency field and reference table was mismatched.
    Thankyou for replying raam & rahul.

  • Barcode in SmartForm - how to creat SmartStyle

    Hello,
    I have created a new barcode using SE73.  I then included it in a SmartStyle and used that SmartStyle in my SmartForm.  However the style doesn't seem to be working because it still displays as the delivery number and not a barcode (when printing and previewing it).  I then tried using the style S_TEST (SAP supplied style for testing barcodes) and it acts the same way.
    Both of the styles don't do anything except move the delivery number from its original position within the text node.
    Regards,
    Davis
    Message was edited by:
            Davis

    Davis,
    <b>
    PR <BC>&VBLKK-VBELN&< / ></b>
    did u provide this code in editor or in command prompt editor.
    If not: click on editor button left side of general attributes TAB. above syntax check button.
    Now u get like ABAP Editor screen.
    go to menuitem GO TO --> Change Editor
    on left side u can provide command as paragraph format i.e. PR ( in small box).
    and <b><BC>&VBLKK-VBELN&< / ></b> right to it.
    Then also it is not working then check the smartstyles is ur style is activated or not and also check the paragraph format and character format and assigned barcode style in it.
    last option: try with another barcode type C128 type for testing... if it prints then there is something wrong ur Barcode type like printer support or barcode assignment..
    Regards
    SAB

  • Printing barcodes in smartforms

    How to print barcodes in smartfroms

    hey Ganesh,
    welcome to <b>SDN</b>,
    check the below extra info addition to above one
    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
    if u find it useful plz mark the points on the left side
    Regards,
    Naveen

  • Sales order smartform:Urgent

    Hi
    Can anyone please mail me the preconfigured sales order confirmatiopn sales ordere. we dont have the preconfigured in our server and its urgent. This is my id:
    [email protected]
    Thanks in Advance,
    Srihari.

    hi
    thanks for the reply. Actually i dont have the preconfigured smartform and I dont have the time to do a new one from scratch.
    So, I am requesting anyone who has it to send it to my mail which i mentioned in my previous threads.
    I hope i was clear.
    Thanks and Regards,
    Srihari.

  • Documents for SMARTFORMS-Urgent

    Hi,
    I need to Learns SMARTFORMS In and Out, Can anyone please send my the material or link so that i can read it, it is really very urgent.
    Kindly Reply Back ASAP.

    hi,
    check these links
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.sap-basis-abap.com/sapsf001.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/8a/8c8a49def411d3969600a0c930660b/frameset.htm
    SAP PRESS REFERENCE
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    Regards,
    Sailaja.

  • Printing Barcode in Smartform

    Hi All,
    When i am previewing the smartform, i was able to see the barcode.
    When i am printing the Smartform i am seeing the Order number instead of Barcode.
    This is happening from my client side also. (You might think that, my printer is not supported for the barcode. But the client printer is barcode enabled printer)
    When the client is printing the SAP Script for the same which i have converted to Smartform is printing the Barcode correctly.
    Do i need to do any settings? Please let me know.
    Thanks,
    Lin

    Hi,
    All you need to check is
    1. Whether the printer supports Barcode. If it does not support barcode, then you will need to buy a DIMM card or barcode.dll file. You can get a demo file from net.
    2. You need to install DIMM Card to your printer. or You need to install Barcode.dll file in SAPLpd directory in the front end PC.
    or
    3. 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. But option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    For complete information always you can go to SAP Help.
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Feel free to revert back.
    --Ragu

Maybe you are looking for