Printing smartform in Chinese langauage.

Hi experts,
I have a smartfortform that has to be trigrring through a custom transaction code perfectly fine when my logon language is English.
But when i logon in Chinese langauge, i get the print preview of the form without proper headings of line items in chinese langauge.I get some junk text getting printed instead of proper heading in chinese langauge.i have succesfully completed the transalation also.
Please let me know if i need to insert some SAP-Note or a patch to fix this issue.
Thanks,
Naveen Sharma

Hi,
I think You need to check CODEPAGE.
But make sure that the client really also wants to change that.
Depending on the CODEPAGE, Some country characters will be supported.
Transport the Request also after customization of CODEPAGE.
Regards,
Rama.

Similar Messages

  • Problem when displaying smartform in chinese language

    Hi ,
    I have copied a standard smart form into Z smartform and added few fields in it  as per the requirement .
    When I display form in english or german it prints correctly .
    when I print it in Chinese it prints the workarea name which I am using to print the values of the fileds .
    it prints as below
    &wa_vbak-budat&
    please help , I tried changing the font type and size but it still shows the same.
    Regards,
    Gayatri Hemnur

    Hi Gouri,
    The first step for translation is that u have to change the regional settings in your computer. Or You should logon with Chinese language.
    If you have done that already, i think the problem may be that in the reoport the length of the field is smaller than the space required for the chinese characters.
    Even if it is done i think you can try doing this, go to se63 translate the field once again and save it. I think this should solve your problem.
    BR
    Dep

  • Error while printing smartforms

    Hi Friends,
      I am getting error "<b>Invalid value for parameter ARCHDEST</b>" while printing smartforms. This is happening only in IDES server. In Development the same smartform is working normally. I have checked in transaction SU53, to see whether all the authorisations have been given for IDES server. There is no problem in authorisation also. So what might be the reason for this. Please give me the solution to solve this problem.
    Thanks & Regards,
    Ranjith

    Hi Beginner,
    In the layout you have taken window or layout taken the big width in that case only you will get this type error syntatically it shows correct when you exicute the smart from try to give the print or see the print preview you will get this error (suggestion is better to check the window sizes)
    Thanks
    Ashok

  • Problem while printing smartform in dot matrix printer

    Hi Experts,
    When i am printing smartform using dot matrix printer only the last page prints but all the pages displays in print privew.
    For example suppose there are three pages to be print 1/3, 2/3 , 3/3 , i get all the three pages in print privew as well as when i take its printout in laser printer i get all three pages as print, but when i am using dot matrix printer i get only the last page ie 3/3 as print.
    Regards
    Varun Sharma

    Hai Varun,
    If things are coming properly then its no more ABAP issue.
    Need to check out with the BASIS team along with the IT / hardware department.
    Just try to take print out on a other dotmatrix printer, if its somewhere close to you as usually they are heavy and large in size can't be moved.
    Hope this helps,
    Cheers,
    Suvendu

  • Printing address in chinese

    Hi
    I have a requirement to print address in chinese(ZH language).
    currently we need to write down the Chinese address manually on envelop if mailing address is in China.
    we would like to have the logic for the output. if there is Chinese name/address maintained in customer master, then use Chinese name/address. otherwise, use original English name/address to print on statement.
    in sap script they are passing address number to get this address
    /:   ADDRESS PARAGRAPH AF PRIORITY P LINES 10
    /:     ADDRESSNUMBER &DKADR-ADRNR&
    /:     FROMCOUNTRY &T001-LAND1&
    /:   ENDADDRESS
    Anyone help me out
    Regards
    Kumar

    Hi
    The following statement Printing the address like
    ABC Ltd,
    Attn. Ms.Suziki,
    Waren electronics
    Dongguan, China
    5-6 Huafa RD, Yongkou, houjie.
    China
    /: ADDRESS PARAGRAPH AF PRIORITY P LINES 10
    /: ADDRESSNUMBER &DKADR-ADRNR&
    /: FROMCOUNTRY &T001-LAND1&
    /: ENDADDRESS
    anyone explain me, how the above statement working.

  • Printing address in chinese char- sap script

    Hi
    I have a requirement to print address in chinese(ZH language).
    currently we need to write down the Chinese address manually on envelop if mailing address is in China.
    we would like to have the logic for the output. if there is Chinese name/address maintained in customer master, then use Chinese name/address. otherwise, use original English name/address to print on statement.
    in sap script they are passing address number to get this address
    /:   ADDRESS PARAGRAPH AF PRIORITY P LINES 10
    /:     ADDRESSNUMBER &DKADR-ADRNR&
    /:     FROMCOUNTRY &T001-LAND1&
    /:   ENDADDRESS
    Anyone help me out
    Regards
    Kumar

    Hi,
    you can use this with this format
    /: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: PERSON name of natural person [TITLE form of address]
    /: PERSONNUMBER number of the personen
    /: DEPARTMENT department
    /: STREET street name HOUSE house number
    /: LOCATION additional location information
    /: POBOX po box [CODE post code / zip code] [CITY city]
    /: POSTCODE post code / zip_code
    /: CITY city1[,city2]
    /: NO_UPPERCASE_FOR_CITY
    /: REGION county / state
    /: COUNTRY recipient country [LANGUAGE language code]
    /: COUNTRY_IN_REC_LANG
    /: LANG_FOR_COUNTRY language key
    /: FROMCOUNTRY sender country
    /: ADDRESSNUMBER address number
    /: ENDADDRESS
    In detail
    COUNTRY_IN_REC_LANG
    This flag tells the system to use the recipient language for the country name.
    ( COUNTRY_IN_REC_LANG u2018Xu2018 )
    ( Default: Recipient language is not used: COUNTRY_IN_REC_LANG u2018 u2018 )
    LANG_FOR_COUNTRY
    Default = Space
    Use this parameter to explicitly set the language in which to print the country name of a foreign address. By default, the system uses the language of the sending country.
    LANGUAGE
    Language code of the language of the recipient country, if it differs from that of the recipient COUNTRY. Example: addresses in Switzerland. Standard SAP language codes are used; you can display these in the initial SAPscript text processing screen or in table T002.
    FROMCOUNTRY
    Specifies the language to be used for formatting the name of the recipient country. For most European countries, the recipient country is specified by placing the international car registration letters in front of the post code and separating them from the post code with a hyphen. You must always specify the sender country.

  • Label printing issue with chinese characters (SAP script)

    Hi ,
    I have a requirement to print chinese characters on label print out.
    Here are the steps already tried:
    1) Created a new device type which is copy if ASCIIPRI and character set 8400
    2) Font ANDALE_S, CNHEI, CNSONG are assigned to device type, same fonts called in SAP script.
    3) During the print, it is picking ANDALE_S font(observed in spool RAW data), but preview is good.
    4) I put ZPL codes CW1,B:MSUNG.FNTFS in beginning of script and also ^A@N,50,50,B:MSUNG.FNT while prining actual chinese text in SAP script.
    5) also tried other device types assigned to printer LZEBU2, LB_ZEB2 etc.,
    6) already checked at printer DIMM level, SIMSUN, ANDALE_S fonts are already installed
    7) Character set on printer is same as in SAP
    So far no option worked, it default to Courier fonts while printing and it results garbage characters.
    If anyone has ideas, please advice.
    thank you,
    Anil

    Hi,,
    If the ZPL commands are correct for switching to the printer's internal CHinese font and character set, it may work to add the fonts via SE73 -> Printer Fonts -> ASCIIPRI . In here you need to add the commands in the print control SFxxx for your created font.
    Another possibility is to print via windows and device type CNSAPWIN. Here it should not be necessary to add any font.
    Regards,
    Aidan

  • Which martix printer can print out the chinese charaters in SAP .?

    Dear all ,
    I want to buy so me NETWORK martix printer which can print out the chinese charaters in SAP ( NOT IN FrondEND ) mode .....
    Can you recommand some model to me ???
    Many thanks ..
    Carlos Zhang

    Hi Kishan,
    Thank you for your very quick reply but I found another solution.
    I made one add-on device type, copying from 'JPSAPWIN',  one add-on spool format, copying from 'DINA3' A3-format spool formant SAP provides, and modified them so as to output correctly both in size and in fonts.

  • Printing SMARTFORMS

    Hello Experts,
    I am developing new SMARTFROM.
    Requirement: On entering the Personnel number(s) on the selection it should print SMARTFORM. for one entry there are two page. so for 2 entries it should show 4 pages. It should work like mass printing.
    Error: currently it is working for single entry. but when i entered multiple enteries on selection-screen in print-preview i can see only 2 pages for first. for viewing second entry i need to comback to Printer specification page.
    how do i achieve if i enter 2 entries on selection-screen in print preview it should show 4 pages.
    ie. for 1st entry two page and for 2nd entry last two page.
    Regards
    Saurabh

    check the following code, the control parameters need to be changed accordingly.
    LOOP AT it_acct.
        AT NEW kunnr.
          READ TABLE it_acct INDEX sy-tabix.
          READ TABLE it_kna1 WITH KEY kunnr = it_acct-kunnr.
          READ TABLE  it_adrc WITH KEY addrnumber = it_kna1-adrnr.
          IF sy-subrc = 0.
            wa_adrc = it_adrc.
            READ TABLE it_landx WITH KEY land1 = it_adrc-country.
            IF sy-subrc = 0.
              l_landx = it_landx-landx.
            ENDIF.
          ENDIF.
          CALL FUNCTION 'ZSDG_COMPANY_ADDRESS'
            EXPORTING
              i_bukrs     = it_acct-bukrs
            IMPORTING
              o_comp_addr = g_comp.
          REFRESH it_acct1.
          IF g_over = 'X'.
            r_duedt-sign = 'I'.
            r_duedt-option = 'LE'.
            r_duedt-low = date.
            APPEND r_duedt.
          ENDIF.
          LOOP AT it_acct WHERE kunnr = it_acct-kunnr AND duedt IN r_duedt.
            MOVE-CORRESPONDING it_acct TO it_acct1 .
            APPEND it_acct1.
            CLEAR: it_acct,it_acct1.
          ENDLOOP.
          c_nofopr = c_nofopr + 1.
    *        t_control_parameters-DEVICE = 'LP01'.
          t_control_parameters-no_dialog = 'X'.
          t_control_parameters-preview = 'X'.
          IF c_nop <> 1.
            CASE c_nofopr.
              WHEN 1.
                t_control_parameters-no_open = ' '.
                t_control_parameters-no_close = 'X'.
              WHEN c_nop.
                t_control_parameters-no_open = 'X'.
                t_control_parameters-no_close = ' '.
              WHEN OTHERS.
                t_control_parameters-no_open = 'X'.
                t_control_parameters-no_close = 'X'.
            ENDCASE.
          ENDIF.
          IF doct = 'X'.
            doc = 'X'.
          ELSE.
            doc = 'Y'.
          ENDIF.
          CALL FUNCTION lf_fm_name
            EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
         control_parameters         = t_control_parameters
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             =
    *   USER_SETTINGS              = 'X'
              g_comp                     = g_comp
              wa_adrc                    = wa_adrc
              landx                      = l_landx
              p_seldate                  = date
              waers                      = waers
              doc                        = doc
              intrvl1 = intrvl1
              intrvl2 = intrvl2
              intrvl3 = intrvl3
              intrvl4 = intrvl4
              g_over = g_over
             TABLES
              it_acct                    = it_acct1
    * 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.
        ENDAT.
      ENDLOOP.

  • Issue in smartform with Chinese logon

    Hello all,
    I'm facing a strange issue in smartform with chinese logon in Quality server.
    In quality server mail generates JUNK values in place of chinese texts in SOST.
    In development server its working fine.
    I checked through debugging in OTFDATA structure its taking Courier font by default.
    While in my development server in ZH logon its taking CNSONG font.
                                                                                    1     //        |XSAPWIN      046C 00000000001                                <
        2     IN        |041 form_name<
        3     IN        |05HDR_PAGE                                                     <
        4     OP        |DINA4   P 144  240 1683811906000010000100000                   <
        5     IN        |06%WINDOW9                                                     <
        6     MT        |0447102791                                                     <
        7     CP        |840000001                                                      <
        8     FC        |COURIER 095X 00114 SF001SF0118400001141 X                      <
        9     UL        | +0000000000000                                                <
       10     CT        |00000000                                                       <
    Can some please help me to solve this issue.
    Thanks in advance.
    regards,
    Lokesh

    Hello,
    Please follow the rules to output PDF correctly for ZF/ZH language:
    (1) workprocess need run under
           ZF/ZH language   (logon with ZF/ZH or switch by set locale)
           codepage 8300/8400 (or compatible codepages)
    (2) SAPScript need include ZF/ZH version. Please verify by:
           Go SE71->input SAPScript name, language key ZF/ZH -> display
    (3) SAPScript need assign Chinese font for paragraph used to output
         Chinese character
    (4) SAPScript need open with ZF/ZH language(OPEN_FORM with ZF/ZH language)
    Regards,
    David

  • How to print Smartform in Draft mode.

    HI all,
    we are using Wipro LQ DSI 5232 printer, our problem is while printing smartform , its coming in Roman but it should come in Draft Mode.
    When it goes to Roman mode the printing become very slow.
    How to set in default Draft mode.
    Regards,
    Rahul.

    Hi,
    there is an SBO setting inside
    Administation>System Init>Print preferences>Print Draft Watermark on Draft
    Then a "DRAFT" watermark will appear if it's printed before adding.
    In CR use a stored proc to get data back according to the Objectid@.
    Then if its the object id of a draft then add a CR watermark.
    Hope this helps.
    Regards,
    D

  • Smart Form print out in Chinese Language

    Hi All,
    I am using a template to print Condition Type text and Condition Value in a SmartForm. The English output preview and the printout looks ok(amount values are aligned in a straight line) but when printed in Chinese the condition value(amount) value is not printed in an aligned manner. Please let me know in case anyone has faced a similar issue and has a solution. As I am printing it using a template I feel I should not be having an issue with the alignment. Please advise.
    Karthik

    Hi,
    while u print the curreny in Smartforms u create one global variable with char type,then u write a value(amount) to that variable using write ...to curreny key Syntax.Before that u pass the currency value.
    Regs
    Sugavanam

  • How to print smartform from a report

    Im displaying a report, which contains several documents, whereby which ewch document is connected to a smartform.
    The page displaying the report contains a button 'Print'
    When clicking on the Print button, all the documents in the report should be printed.
    But my program is creating a spool file of the report, which will be printed further - its not what I want
    I want the program to print the smartforms of each documents on the report directly.
    heres my code and I dont know what I should do to be able to print the smartforms directly
    Get the function module name of the smartform.
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname = '/EU000/FI_PRINT_DEBIT_NOTE'
          IMPORTING
            fm_name  = g_fm_name.
    gw_options-tdnoprev = ' '.
    gw_options-tddest = 'LOCL'.
    gw_options-tdprinter = 'LOCL'.
    gw_options-tdnewid = 'X'.
    gw_options-tdimmed = 'X'.
    gw_control-preview = ' '.
    gw_control-no_dialog = 'X'.
    write: text-006,' ', text-007, ' ', text-008.
    write:/.
    For all the documents
        LOOP AT gi_all_data INTO gw_all_data.
          write: gw_all_data-gjahr(4), ' ',gw_all_data-belnr,'     ', gw_all_data-belnr.
          write:/.
    CASE SY-UCOMM.
    WHEN 'PRINT'.
    Call the smarform
          CALL FUNCTION g_fm_name
            EXPORTING
              gw_all_data = gw_all_data
              user_settings = ' '
              output_options = gw_options
              control_parameters = gw_control.
    WHEN 'BACK'.
    LEAVE SCREEN.
    ENDCASE.

    DATA:   x_control_parameters TYPE ssfctrlop,
            x_output_options TYPE ssfcompop.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_prin LIKE usr01-spld.
    SELECTION-SCREEN BEGIN OF LINE.
    INITIALIZATION.
      SELECT  spld
              FROM usr01
              INTO p_prin UP TO 1 ROWS
              WHERE bname = sy-uname.
      ENDSELECT.
    START-OF-SELECTION.
      x_output_options-tdimmed = c_x.
      x_output_options-tddest = p_prin.
      x_output_options-tdnewid = c_x.
      x_output_options-tdreceiver = sy-uname.
      x_output_options-tdcopies = '001'.
      x_control_parameters-device = 'PRINTER'.
      x_control_parameters-no_dialog = c_x.
      x_control_parameters-langu = sy-langu.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
       EXPORTING
         formname                 = 'Z_SMARTFORM'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
      IMPORTING
        fm_name                  = f_name1
      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.
    IF P_PRI = 'X'.
      CALL FUNCTION F_NAME1
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS          = X_CONTROL_PARAMETERS
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
       OUTPUT_OPTIONS              = X_OUTPUT_OPTIONS
      USER_SETTINGS              = 'X'
          wa_header                  = wa_zmexh51
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          tab_item                   = TAB_ZMEXD51
          tab_item1                  = TAB_ZMEXS51
    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.
    ELSEIF P_PRE = 'X'.
      CALL FUNCTION F_NAME1
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS          = X_CONTROL_PARAMETERS
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS              = X_OUTPUT_OPTIONS
      USER_SETTINGS              = 'X'
          wa_header                  = wa_zmexh51
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          tab_item                   = TAB_ZMEXD51
          tab_item1                  = TAB_ZMEXS51
    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.
    ENDIF.
    Check the above code its just similar requirement  it may helpful to you.
    Thanks,
    Phani.

  • Printing Smartform for a series of data

    hello People,
    i am stuck up in a situation which sums up like this
    i am having a range of check numbers for which the details of checks have to be printed.
    the req is all the check between the range has to be printed in that many pages and printer should be assigned once only
    that is for 10 checks smartform should have 10 pages.
    the code i have designed is mentioned below
    it is working fine in terms of execution, the only problem is that
    only the last check in the range is showing in the preview.
    all other are bieng overwritten.
    in the debugger i can see the values for all checks being assigned.
    <u><i><b>the thing is i want the first time the loop execute it should print check in first page
    the next time the loop executes it should print check in second page
    and so on till the tenth.</b></i>.</u>
    <b>few points i wud lik to mention :
    its not the standard check format, so dont think in dat direction,
    the whole content including the main and secondary window is changing not just the table in main window</b>
    please help
    here is the code i devised
    upper = upper.
    lower = lower.
    itab = itab.
      select chect
        from payr
        into table itab
       where HBKID EQ BANK
         AND CHECT between lower and upper.
    break-point.
    DATA: l_char18  TYPE char18,
          l_p       TYPE p DECIMALS 2.
    loop at itab into wa_itab.
    SELECT SINGLE zbukr
           hbkid
           hktid
           rzawe
           chect
           lifnr
           kunnr
           ubhkt
           vblnr
           zaldt
           waers
           rwbtr
           pridt
           zanre
           znme1
      FROM payr
      INTO wa_payr
    WHERE chect EQ wa_itab-chect
       and hbkid eq bank.
    IF sy-subrc EQ 0.
      SELECT SINGLE lifnr
             adrnr
        FROM lfa1
        INTO wa_lfa1
       WHERE lifnr EQ wa_payr-lifnr.
      SELECT SINGLE addrnumber
                    date_from
                    nation
                    name1
                    name2
                    name4
                    city1
                    post_code1
                    po_box_loc
                    street
                    tel_number
                    region
               FROM adrc
               INTO wa_adrc
              WHERE addrnumber EQ wa_lfa1-adrnr.
      SELECT bukrs
             belnr
             gjahr
             buzei
             augbl
             shkzg
             mwskz
             dmbtr
             qbshb
        FROM bseg
        INTO TABLE it_bseg
       WHERE augbl EQ wa_payr-vblnr
         AND shkzg = 'H'.
      IF sy-subrc EQ 0.
        SELECT bukrs
               belnr
               gjahr
               xblnr
          FROM bkpf
          INTO TABLE it_bkpf
          FOR ALL ENTRIES IN it_bseg
         WHERE belnr = it_bseg-belnr.
        LOOP AT it_bseg INTO wa_bseg.
          READ TABLE it_bkpf INTO wa_bkpf
          WITH KEY  belnr = wa_bseg-belnr.
          wa_disp-billno = wa_bkpf-xblnr.
         wa_disp-amount = wa_bseg-dmbtr.
          l_char18 = wa_bseg-dmbtr.
          SHIFT l_char18 LEFT DELETING LEADING space.
          wa_disp-amount = l_char18.
          l_p = wa_disp-amount.
          CLEAR wa_disp-amount.
          wa_disp-amount = l_p.
          CLEAR l_p.
          SHIFT wa_disp-amount LEFT DELETING LEADING space.
         wa_disp-tdsamt = wa_bseg-qbshb.
          l_char18 = wa_bseg-qbshb.
          SHIFT l_char18 LEFT DELETING LEADING space.
          wa_disp-tdsamt = l_char18.
          l_p = wa_disp-tdsamt.
          CLEAR wa_disp-tdsamt.
          wa_disp-tdsamt = l_p.
          CLEAR l_p.
          SHIFT wa_disp-tdsamt LEFT DELETING LEADING space.
          APPEND wa_disp TO it_disp.
          CLEAR wa_disp.
        ENDLOOP.
      ENDIF.
    ELSE.
      MESSAGE 'Entered Cheque No is Incorrect' TYPE 'E' RAISING exc1.
    ENDIF.
    endloop.
    help people
    thanks & regards
    Nitin

    hi Nitin
    just give a try with this .
    create one loop and for that give your int_tab which holds the records of all the checks say 10 checks.
    also create one program lines wherein you l set the flag to 1 whenever the itab count increases if not then set the flag  to 0.
    now inside the main window create one command node and check the go to new page checkbox and give your second(or next page) name , and in the conditions tab keep the flag = 1.
    the extra work you need to do is you have to create one next page with all the same windows which will triggers for evry new line item.
    hope it may be helpful to you.
    plz reward points if helpful
    Regards
    Zarina

  • Problem during printing smartforms

    Hi,
    We are using Epson 9 pin printer for printing. We have custom page layout used in our sap script and smartforms with size 12 inch / 9 inch (80 column dot matrix printing).
    We are using SWIN (windows default printing) driver. Problem we are facing are -
    1. The second page doesnt start properly from scond page. It starts at the end og first page only.
    2. If there are more than one page, then a blank page is printed after each page.
    Please suggest how to contrl this and do printing setting in SAP.
    RR

    Hi,
    Do you use a custom page format for the 12 x 9 inch page size? if so check the thread below.
    Re: Correct preview, but wrong print out.
    You probably also need to create the default windows page format.
    Regards,
    Aidan

Maybe you are looking for