Complex smartform dout

Hi Experts,
I have a complex requirement in smartforms.This should be done in ECC 6.0.The text should be printed in the followong way in the same page.
fhsdjhrfwesuhtfwehgkjd             -
jkkdngfjeifgrisjgsrgeg
hdgdsbgbfgjhughugejs              bhdsbfdsbfbdbfjjbiuhsufhb
jhbfjhaushrawBadfjsbn              sbfjnwefhjhgnjdnzgsidhgg
jbjgjdsgieoshgiegiejeiir              wengfeiwfgireiendfna;snfg
dfioefioejgeigjndfeifjejfn              ensedgfneidngknfgkdnnik
bjfbedfgdnsgndjs----
               jnfiesfhiesonhgininbgdgjn.
This is just like the news paper format.This is the dynamic text where in when the text on the left side overflows it should continue on the right side.Please help me as soon as possible.Its an urgent requirement.
Point rewarded on the best help.
KK

Dear KK
I want to under stand your requirement,
I thik u want 2 paras as given below.
Para 1                para2
1111111111        opiopiopiopi
1111111111        opopp[ipoiop
2222222222        2334234234
You have to break your Para in 2 parts.
and store it in include text or simple text.
If possible kindly send me complete details.
At present I m working only on smartforms in my company.

Similar Messages

  • Smart forms tutorials

    hi all
    can any one give me some tutorials for the smartform
    i want only examples not the theoratical concepts
    plz give some complex smartform examples
    thanx

    hi,
    Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.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
    regards,

  • Sap smartforms: complex section

    i am new to sap abap.i was trying for smartform program.I got one link.. there they have used complex section tab in smartforms which i am unable to find in ECC 6.0. please provide me the what is the alternative method to use the complex section in ECC 6.0

    Hi Abapers,
    Please tell me how to debug a smartform with simple steps..
    Thanks in advance
    Moderator Message: Please search for relevant documentation or take a classroom course. Ask only one question in one thread.
    Edited by: kishan P on Jan 28, 2011 3:53 PM

  • Complex selection in smartforms

    hi masters,
    in smartforms where is the options called "complex selection" i am creating the purchase order slip and in my navigation it says that
          Right click u201CMAIN Main Windowu201D in the Left Sub-tree and from the Menu option u201CCreateu201D à select the u201CComplex Sectionu201D.
    but i could not find the option, i am using the version ECC6.0
    will u pls help me out as it is very urget.
    thanks in advance.
    jacob

    thanks a lot for the quick reply
    can u pls tell me as to what is the use of the complex selection and why we use it?
    i dont hav much idea of it, since the navigation says i hav followed.
    if u can help me out with it, u r much appriciated.
    jacob

  • Complex section in smartforms

    Hi I am practicing smartforms in 4.7.
    I have a tutorial based on 4.6c and they have complex section in the nodes.
    How do i translate this to 4.7 as there is no complex section available in this version.
    Detailed explanation would be helpful to me
    Points will be awarded immediately.
    Thanks in advance

    I think i got it

  • Can't see Complex Section in Smartforms...

    Hi All,
    i m using SAP 6.4 , i m working on smartforms in that i can't see Complex section under tree Pages and Window --> %page1 new page --->
    main window ---> Creat --> in creat dropdown i can see only till Refrence after that there is no other option,
    pls help ...
    Thanks in advance..
    Regards,
    yunus

    Hi,
    The complex section was present only in 4.6C version. It was removed in the subsequent versions.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • COMPLEX SECTION IN SMARTFORM

    hi gurus,
    in the following link creating smart form,
    the author says to right click on main window and select complex section.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    but in my system , when i right click on main window and click on create i see only till folder option,
    i dont have complex section in my system,
    do i need to enable anything..
    rgds.

    Hai ,
    If you are using higher version of ECC like ecc 6.0 you can get it that complex section node..first you
    select your window where you want to create SECTION then
    go to main menu of SAP(form,edit ,goto,utilities,enviornment,system,help)  and click on  EDIT->NODE->CREATE.
    choose position ,either after or vefore main window and select COMPLEX SECTION from dropdown list.
    i think it will solve your problem..
    thanx to  JIGNESHSAVALIA
    hai sanjana,please put answerd if you get the answer,it will helpfull to other users to find exact answer...thanx....
    Edited by: saifudheenc on Dec 26, 2010 3:05 PM

  • Smartforms,complex selection?

    can we have smart forms-->complex selection in 4.6cc?

    Hi Vamsi,
          Smart forms-->complex selections is not possible in 4.6cc version.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Purchase order layout using Smartform

    Hi All,
    Can anyone let me know how to create Purchase order layout using smartforms and assigning it to output type.
    Is there standard smartform for purchase order?

    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    http://www.sap-basis-abap.com/sapsf001.htm
    http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    http://www.esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms.doc
    http://www.esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf
    http://www.esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Try this. A simple sample Smart Form.
    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    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
    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.
    SMARTFORMS GENERATION: (calling internal table fields)
    &#61656; Open a smartform using the tcode ‘smartforms’.
    &#61656; Usually form attributes shows admn data.
    &#61656; In the form interface declare import/export parameters if any. Else declare the tables in tables tab button.
    &#61656; In the windows and pages expand and create a table. It automatically generates header, main area and footer for the table.
    &#61656; In data tab button in the table we usually declare a work area to bring the data from se38. Like: ktab into wa. ( The purpose of declaring the wa is , to get the data of the ktab in to header from the body area of the internal table).
    &#61656; And in the tablepainter pushbutton in table we can have any no of line types. Depending on the requirement. ( for ex: If we want to devide a row in to 4 columns, we can devide it as 4,4,4,4cm as line type 1, And usually for the footer we don’t need no of columns, So, we declare it as one column with 16cm measure with the name line type 2.). We can use these line types in the tables.
    &#61656; In the header right click>>create>>tableline. It asks for line type. Select one line type which is appropriate.
    &#61656; Like same create a row2 in main area using right click. If we select the line type 1, it automatically generates 4 cells. We can create text in each cell as per requirement.
    &#61656; We can generate general attributes using general attributes tab button in the text. Or in the other way. We can switch on the field list on/off button from the application tool bar. It displays all the attributes in the left down corner of the screen. We can drag and drop the required fields in the general attributes tab button of the text.
    &#61656; We continue the same procedure for all the texts. The texts should be displayed in the gray color. Then only it can collects the data from the abap editor fields.
    &#61656; If it wont turns gray, we can check the fields in the editor by changing it to the line editor. The best thing is to drag the fields from the list, rather than declaring like &wa-matnr&
    &#61656; In the footer also we create a line type and in that table line we create text.
    SE38 PROGRAM(method I):
    REPORT Z_CALLING_SMARTFORM2 .
    tables: mara.
    select-options: S_MATNR for MARA-MATNR.
    DATA: kTAB LIKE MARA OCCURS 1 WITH HEADER LINE.
    data: FM_NAME TYPE RS38L_FNAM.
    SELECT * FROM MARA INTO TABLE kTAB WHERE MATNR in
    S_MATNR.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'Z_MYFIRST_FORM2'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    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
    ktab = ktab
    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.
    IN THE OTHER WAY(method II):
    REPORT Z_CALLING_SMARTFORM2 .
    tables: mara.
    select-options: S_MATNR for MARA-MATNR.
    DATA: kTAB LIKE MARA OCCURS 1 WITH HEADER LINE.
    SELECT * FROM MARA INTO TABLE kTAB WHERE MATNR in S_MATNR.
    CALL FUNCTION '/1BCDWB/SF00000199'
    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
    ktab = ktab
    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.
    In the method I we are calling the amartform dynamically using the function module 'SSF_FUNCTION_MODULE_NAME'.
    Here we are exporting form name and importing fm_name.
    So we need to declare the variable fm_name as
    data: FM_NAME TYPE RS38L_FNAM.
    We can have the type of the fm_name in the function module 'SSF_FUNCTION_MODULE_NAME' (in the export tab button).
    Since we are passin the name of the Function module generated by the smart form in to the fm_name variable. We run the function module with the name fm_name, but not the FM generated by the smartform(like /1BCDWB/SF00000199)¬¬¬¬¬¬.
    In the method II we directly call the smartform generated function module (i.e, /1BCDWB/SF00000199).
    But the method I is recommended. In the method I, The fm_name is a variable we don’t put it in the quotes while calling.
    In the both methods we declare the internal table using the like option, but not begin of…. end of. And in select statement we select *, But not individual fields.
    EX2:
    SMART FORM NAME: ZGITI_FORM1.
    SE38:
    REPORT Z_CALL_GIRI_FORM1 .
    TABLES: VBRK.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE T1.
    SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    *INITIALIZATION.
    *T1 = 'SELECTION-CRIETERIA'.
    DATA: BEGIN OF I_INVOICE OCCURS 1.
    INCLUDE STRUCTURE ZSTR_INVOICE.
    DATA: END OF I_INVOICE.
    DATA: VAR1 LIKE VBRP-NETWR.
    DATA: BEGIN OF I_ADDRESS OCCURS 1.
    INCLUDE STRUCTURE ZSTR_ADDRESS.
    DATA: END OF I_ADDRESS.
    DATA: BEGIN OF I_ORDER OCCURS 1.
    INCLUDE STRUCTURE ZSTR_ORDER.
    DATA: END OF I_ORDER.
    DATA: BEGIN OF I_ITEM OCCURS 1.
    INCLUDE STRUCTURE ZSTR_ITEM.
    DATA: END OF I_ITEM.
    DATA: BEGIN OF I_VBFA OCCURS 1,
    VBELV LIKE VBFA-VBELV,
    VBELN LIKE VBFA-VBELN,
    END OF I_VBFA.
    SELECT KUNAG VBELN VKORG VTWEG SPART FROM VBRK INTO TABLE I_INVOICE
    WHERE VBELN IN S_VBELN.
    IF I_INVOICE[] IS NOT INITIAL.
    SELECT KUNNR LAND1 NAME1 NAME2 ORT01 PSTLZ REGIO FROM
    KNA1 INTO CORRESPONDING FIELDS OF TABLE I_ADDRESS FOR ALL ENTRIES IN
    I_INVOICE WHERE KUNNR = I_INVOICE-KUNAG.
    ENDIF.
    IF I_INVOICE[] IS NOT INITIAL.
    SELECT VBELV VBELN FROM VBFA INTO TABLE I_VBFA FOR ALL ENTRIES IN
    I_INVOICE WHERE VBELN = I_INVOICE-VBELN.
    ENDIF.
    IF I_VBFA[] IS NOT INITIAL.
    SELECT VBELN BSTNK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE I_ORDER
    FOR ALL ENTRIES IN I_VBFA WHERE VBELN = I_VBFA-VBELV.
    ENDIF.
    IF I_INVOICE[] IS NOT INITIAL.
    SELECT POSNR MATNR ARKTX FKIMG NETWR FROM VBRP INTO TABLE I_ITEM FOR ALL
    ENTRIES IN I_INVOICE WHERE VBELN = I_INVOICE-VBELN.
    ENDIF.
    LOOP AT I_ITEM.
    AT LAST.
    SUM.
    VAR1 = I_ITEM-NETWR.
    ENDAT.
    ENDLOOP.
    CALL FUNCTION '/1BCDWB/SF00000223'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    var = VAR1
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    tables
    i_vbrk = I_INVOICE
    i_vbak = I_ORDER
    i_vbrp = I_ITEM
    i_kna1 = I_ADDRESS
    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.

  • Purchase order smart form - e-mail smartform output and item attachments

    Hi,
    Our release is ECC5.0. By configuration the PO smartform can be e-mailed to vendor as PDF attachment by standard output medium,external send. And this already works. However, the additional functionality required is:
    1.) The documents attached to the actual PO line items should also be e-mailed as attachments to the vendor.
    How can I accomplish this?
    Do I need to write addition logic in my print program to retrieve these attachments by PO number and send them as a seperate e-mail with attachment? OR
    Is there any way to send these attachments on the same e-mail where the PO is sent as a PDF attachment. OR
    Can this be done by configuration?
    Regards,
    K..

    Hi Ahmad ,
    I got the same problem with a little more complexity because the mail can b send to several mails adresses ( some in copy ).
    For the requirement to send also the document linked in PO's item , there's no standard solution . So you need to write a specific program for this .
    You can have a look at this Sending DMS documents  as Email attachments , you will find information on how to retrieve the content of the document.
    Let me know if you need more explanation.
    Best regards.

  • How to create a barcode in scripts and smartforms

    hi
    how to create a barcode in scripts and smartforms

    Hi,
    For Script:
    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.
    For SmartForm:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Regards,
    Bhaskar

  • About SAPscripts and smartforms

    Hi all,
             I am working on SAPscripts and i have one doubt.
    I want to know the concepts how data is communicated between SAP scripts and print program.Suppose I am writing one subroutine. Can i write the form statements in the print program of the script or I have to write it in another program.
             I want whether SAPscript is calling the print program or vice versa.
             Please tell me the same concepts regarding smartforms.
             Please experts provide me a vivid idea so that I can get the concepts clear.
        With regards,
          Abir.

    HI
    GOOD
    AS PER YOUR REQUIREMENT HERE I AM GIVING SOME POINTS RELATING TO SAP SCRIPT AND DRIVER PROGRAM
    WHEN YOU R CREATING A SAPSCRIPT FORM IT CANT ABLE TO EXECUTE OF ITSELF, FOR EXECUTION IT NEEDS HELP .THAT IS THE REASON YOU R CREATING A DRIVER PROGRAM.
    IF YOU GO THROUGH A DRIVER PROGRAM YOU CAN FIND OUT THAT YOU R PASSING THE SAP SCRIPT NAME AS A PARAMTER.SO YOUR DRIVER PROGRAM IS CALLING YOUR SAP SCRIPT FORM.
    USING THE DRIVER PROGRAM YOU ARE PASSING THE APPROPRIATE VALUE FOR THE VARIBALE THAT YOU R GOING TO PRINT IN THE SAP SCRIPT FORM.
    =============================
    SMARTFORM CONCEPT=>
    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    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)&
    THANKS
    MRUTYUN

  • Migrate script to Smartforms

    Hello ,
    <b>Background :</b>
    1) After I migrate Script to smartforms . I get around 200 windows .
    As 200 windows have been defined in a script .( 1 window per box).
    2) The layouts are pretty complex and it would take around 2-3 days to create a new smartform .
    3) I cannot use the existing scripts for a few modifications have to be made to header and footer and it's easier to make them in smartforms
    4)The output after migration is good . A few Modifications But it's fine.
    <b>Problem  :</b>
    i)Would it lead to a performance problem due to presence of 200 windows if I migrate .
    ii)Would it lead to  maintainance problem if I migrate as  I cannot see all the 200 windows at once in the form painter . I can see only the window on which I have placed the cursor .
    Kindly Help me find a solution.

    Thanks Sooness .
    Actually there are around 12 scripts .
    So Total Development time will be around 30 days if I create a new smartform. since the layout is very  complex .
    And 9 days if I migrate scripts to smartforms with changes ..
    So the Conflict in my my mind is whether to go for less Development Time now and maintainance problem later
    <b>Would a  good TS / FS  documented as follows suffice :</b>
    1) By taking a printout of the layout .
    2)Writing the variable name in each window .
    3)Scanning it and using it as FS.
    I feel FS/TS is usually not read afterwards .
    So even after documentation , Maintainace problem will not be solved .
    I do not have that much time . So I would have to put extra efforts at night for creation of new smartforms.
    i have to deliver them in 15/20 days .
    So Do you suggest putting extra efforts now to make a new smartforms to avoid maintainence problem later .
    Kindly give your valuable suggestion.
    Message was edited by:
            Gaurav
    Message was edited by:
            Gaurav

  • Smartforms - dealing with decimal and thousand separators

    Hi,
    trying to reuse one of the standard SAP Smartforms - LB_BIL_INVOICE in an ECC 6.0 Unicode system I faced a problem with decimal and thousand separators for currency/quantity fields. In fact, default settings in User profile are not taken in consideration when printing this form. I have changed all the possible settings in the user profife and (after logoff/logon) nothing changes in my output.
    Just to be sure I tried to output the invoice with the original SAP smartform LB_BIL_INVOICE and the things were the same - means output takes wrong settings for decimal/thousand separators.
    For clarity I created a simple form with a single currency field and everything behaves well as expected. So this points me to the direction fo find out what is wrong with the LB_BIL_INVOICE. I downloaded the form into XML and checked the code, further uploaded it into a new one - no success.
    My question is:
    Is there a way to manipulate or overwrite default settings for decimal/thousand separators within smartform, and if yes - how to do this?
    I almost finished my quite complex form and wouldn't like to rewrite it from scratch.
    FYI: I'm not a Smartform expert, by have created/overwiten more than 15 different forms accros different systems - 4.6 C/D, 4.7, ECC 6.0 non-Unicode/Unicode, and never faced such an issue.
    I faced significant smartform 'improvement' in the ECC 6.0 release - especialy for text elements. The new integrated MS word control gives me a lot of throubles. According to this - is there an up-to-date documentation (even link to SAP course is acceptable) according to Smartform development in ECC 6.0?
    Thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP Abap Consultant

    Hi,
    I took a quick glance into the print program, and the print program do a set country setting to reciving country. This will give you the separators that are confugured for this country.
    But if you change the print program and clear parameter country, the smartform will use the users settings instead.
    Regards
    Åsa Thenstedt

  • WHERE clause in a SMARTFORM loop, problems with parenthesis

    Hi all gurus,
    a simple question: I'm coding a LOOP in the form builder for a smartform ... this simple loop should bind text elements to every position of a purchase order. The WHERE clause should be as follows:
    WHERE GUID = WA_ITEM-GUID
    AND ( TDID EQ 'ZDES' OR TDID EQ 'ZDST' ).
    Anyway, in the Form Builder I didn't find a way to add parenthesis; I workarounded the problem with the following query:
    (conditions in lines are in AND conjunction)
    GUID EQ     WA_ITEM-GUID
    TDID      EQ   'ZDES'
    OR
    GUID EQ     WA_ITEM-GUID                                                                               
    TDID      EQ 'ZDST'.
    It's quite a 'bad' way, but it works. I wonder if there's a way to express "complex" WHERE clauses (with addiction of parenthesis) in Form Builder.
    Thanks in advance

    In this case, your solution is the one that works. However in more complex cases with more variables, this can proove difficult to make or mantain.
    What I usually do is use the first part of the condition in the where and then add a condition to the printing area with the rest of the formula. Just remember to document this so that you'll find it easy and it's way more amintainable.
    In this case the loop would contain WHERE GUID = WA_ITEM-GUID and the inside condition TDID EQ 'ZDES' OR TDID EQ 'ZDST. This creates the and between the two blocks.

Maybe you are looking for

  • My photos just became empty boxes, if I click on them they open, but I can't see them at a glance. Anyone know why? thanks

    My photos on iphotos just became empty boxes, bordered by white intermittent lines. If I click on a photo it comes up, but I can't see what each photo is at a glance. Any ideas how to resolve this? thanks

  • Customer balance confirmation

    Hi all, I have F.17 standard transaction code assigned to a Z program in SAP 6.0 which is very strange to me. All the company codes are assigned to the standard program SAPF130D. How can I run the program, with what transaction? I cannot assign a new

  • Why user defined objects printing address

    If we try to print Builtin java objects it will give The class name and properties. If we try to print a user defined class even though it extends from a bultin class it is not happening so why?

  • I need help with my homework

    I have this java class that is driving me to drink!!!! I just don't get it can someone tell me in "plain English" not java verbiage what I am supposed to do. You are to write two static methods, and a main to test them. Make sure your code is fully d

  • Epson RX620, OS 9.2 - Chooser problem

    Using Mac OS9.2 USB does not show on the right half of the chooser when I select Epson Photo Sytuls RX620. When I try to print, I get "The Stylus Photo Rx620 printer drive is not correctly selected. Please use chooser to select Stylus Photo Rx620." I