Problems in smartforms

Hi Experts,
In my smartforms, I want to print 3 decimal places instead of 2 decimal places for the values being printed. At occurrence of every new bank key in my internal table, I want to print on a new page. Please do help me. Points will be rewarded to helpful answers
Regards,
Abdullah

Hi,
To answer your first question of printing three decimal places in smartforms, you can add a new column to ur internal table which is type c. write the currency (amount) field with respect to the currency unit field into this new field.
use statement : write itab-amount into itab-newfield crency itab-curr_unit.
this will write the amount into the new field with three decimals if the currency is configured to have three decimal spaces.
The answer to the second question:
Probably the easiest way to do this is to loop at the internal table into another internal table of the same structure in the program and use the 'at new banks' statement. Make sure you sort the itab first using field banks. Call the smartform (using the function) within the at..endat statements. single form will be printed everytime the bank code is changed.
Hope this will prove to be helpful..
Regards
Ajith Sivadasan

Similar Messages

  • Character Problem For SmartForms to Pdf .

    Hi Experts ;
    my problem about smartforms . I have a custumer list. I use smartform for output. Customer list of smartform ok . Have any problem . But I convert this output to PDF . Some Characters  are overlapping . My main language Türkçe(Turkish) . Characters is incorrect for  struct of laguage .( smartform output has no problem but pdf output have problem )
    My Code :
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETER: p_date LIKE sy-datum.
    PARAMETER: p_rea TYPE char255.
    SELECTION-SCREEN: END OF BLOCK b1.
    DATA:      ws_ucomm LIKE sy-ucomm.
    DATA: gt_intab  TYPE ZSMRT_DNM_T WITH HEADER LINE.
    INITIALIZATION.
    SET PF-STATUS 'GUI'.
    PERFORM get_data.
    AT SELECTION-SCREEN.
      ws_ucomm = sy-ucomm.
      CASE ws_ucomm.
        WHEN '&PDF'.
          PERFORM f1000_download_form.
          EXIT.
        WHEN '&BACK'.
          LEAVE TO SCREEN 0.
          EXIT.
        WHEN '&EXIT'.
          SET SCREEN 0.
          EXIT.
        WHEN '&canc'.
          SET SCREEN 0.
          LEAVE TO SCREEN 0.
      ENDCASE.
       f1000_download_form
    FORM f1000_download_form.
      DATA: form_name TYPE rs38l_fnam.
      DATA: wa_ctrlop TYPE ssfctrlop,
            wa_outopt TYPE ssfcompop.
      DATA: t_otfdata  TYPE ssfcrescl,
            t_pdf_tab  LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
      DATA: w_filesize TYPE i.
      DATA: w_bin_filesize TYPE i.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZDNMSMRT'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
         fm_name                  = form_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.
      wa_ctrlop-getotf = 'X'.
      wa_ctrlop-no_dialog = 'X'.
      wa_ctrlop-DEVICE = 'I9SWIN'.
      wa_outopt-tdnoprev = 'X'.
      CALL FUNCTION form_name
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
         control_parameters         = wa_ctrlop
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
         output_options             = wa_outopt
         user_settings              = 'X'
         mydate                     = p_date
         reason                     = p_rea
         ADRNR                      = '23713'
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
         job_output_info            = t_otfdata
      JOB_OUTPUT_OPTIONS         =
       TABLES
         RTAB                      = gt_intab[]
       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.
      t_otf[] = t_otfdata-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
       EXPORTING
         format                      = 'PDF'
         max_linewidth               = 150 "132
      ARCHIVE_INDEX               = ' '
       IMPORTING
         bin_filesize                = w_bin_filesize
        TABLES
          otf                         = t_otf
          lines                       = t_pdf_tab
       EXCEPTIONS
         err_max_linewidth           = 1
         err_format                  = 2
         err_conv_not_possible       = 3
         OTHERS                      = 4
      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 'WS_DOWNLOAD'
       EXPORTING
         bin_filesize                  = w_bin_filesize
      CODEPAGE                      = ' '
         filename                      = 'c:     est.PDF'
         filetype                      = 'BIN'
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
      COL_SELECT                    = ' '
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
       IMPORTING
         filelength                    = w_filesize
        TABLES
          data_tab                      = t_pdf_tab
      FIELDNAMES                    =
       EXCEPTIONS
         file_open_error               = 1
         file_write_error              = 2
         invalid_filesize              = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         OTHERS                        = 10
      IF sy-subrc <> 0.
        MESSAGE i003(z00) WITH 'File not downloaded succesfully'.
      ELSE.
        MESSAGE i003(z00) WITH 'File Test.pdf downloaded succesfully '
                                                'under C drive'.
      ENDIF.
    ENDFORM.                    " F1000_DOWNLOAD_FORM
    *&      Form  GET_DATA
    FORM GET_DATA .
       SELECT kunnr belnr gjahr from bsid
             INTO CORRESPONDING FIELDS OF TABLE gt_intab
             WHERE bukrs = '4000' and gjahr = '2007'.
       LOOP AT gt_intab.
          SELECT SINGLE name1 from kna1
            INTO (gt_intab-name1)
            WHERE kunnr = gt_intab-kunnr.
          MODIFY gt_intab INDEX sy-tabix.
       ENDLOOP.
       SORT gt_intab by kunnr.
    ENDFORM.                  " GET_DATA
    Regards .

    Try following logic:
    DATA: lt_data TYPE TABLE OF tline,
          lt_data1 TYPE TABLE OF tline,
          lt_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    Convert OTF to PDF
            REFRESH: lt_data.
            CALL FUNCTION 'CONVERT_OTF'
              EXPORTING
                format                = 'PDF'
                max_linewidth         = 132
              IMPORTING
                bin_filesize          = l_binfilesize
              TABLES
                otf                   = la_jobout-otfdata[]
                lines                 = lt_data[]
              EXCEPTIONS
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                err_bad_otf           = 4
                OTHERS                = 5.
            IF sy-subrc <> 0.
    Error during conversion from OTF to PDF.
            ELSE.
    Creation of the document attachment
              REFRESH: lt_data1.
              CALL FUNCTION 'TABLE_COMPRESS'                    "#EC *
                TABLES
                  in             = lt_data[]
                  out            = lt_data1[]
                EXCEPTIONS
                  compress_error = 1
                  OTHERS         = 2.
              IF sy-subrc <> 0.
    Error during compress operation of the data
              ELSE.
                REFRESH: lt_objbin.
                CALL FUNCTION 'TABLE_DECOMPRESS'                "#EC *
                  TABLES
                    in             = lt_data1[]
                    out            = lt_objbin[]
                  EXCEPTIONS
                    compress_error = 1
                    OTHERS         = 2.
                IF sy-subrc <> 0.
    Error during decompress operation of the data.
                ENDIF.
           ENDIF.
    ENDIF.
    Pass table lt_objbin[] to WS_DOWNLOAD function module. It should work.
    Thanks
    Amol Lohade

  • Problem in smartforms

    Hi
    I am trying smartforms in that i am facing one problem I have define 2 tables  say MARA & MAKT and I want to Print matnr & maktx on the form.
        in Form I am defining itab & jtab in form interface-table also in global definations workarea for both the tables
    in Page1 i am defining one table itab into wa_itab also define table columns in main loop i am passing jtab to wa_jtab (for 2nd table, Material description)
    while activating the form i am getting an error %TEXT6     Field wa_JTAB-MAKTX has no defined value can anybody solve this .
    thanks& Regards
    Vinayak Deosthali.

    Hi Vinayak,
    Below are the Steps to get material Description
    1. Form Interface->Table
       Define
       IT     LIKE     MARA
    2. Global Definitions->Global Data
       define
       GS_MAKTX     LIKE     MAKT-MAKTX
    3. Create Table in Main Window
       go to Data Tab->Loop->Check Operand
       eneter IT into IT
    4. Now for getting Material Description in Main Area of table use program lines
       Use IT in Input Parameters & gs_maktx in Output Parameters
       write following code:
       TABLES : makt.
       CLEAR : makt,gs_maktx.
       SELECT SINGLE * FROM makt WHERE matnr = it-matnr.
       IF sy-subrc = 0.
        gs_maktx = makt-maktx.
       ENDIF.
    5. Create Text under program lines.
       Use &gs_maktx& in text editor.
    On assumption that u know about Table
    I dont write steps how to design table
    It's easily solve ur problem.
    Plz reward point, if it solve ur problem.
    Regards,
    Digesh

  • Problem in smartform driver program

    hi all,
    i was stuck with an error while executing a smartform, th e report output is comming for some documents but it is not comming for some documents and it is showning the exceptions as 2
    in function module SSFCOMP_PROCESS_DOCUMENT while calling the form my code is like this..
      LOOP AT ITAB.
       AT FIRST.
         CONTROL_PARAMETERS-NO_CLOSE = 'X'.
       ENDAT.
       AT LAST.
         CONTROL_PARAMETERS-NO_CLOSE = SPACE.
       ENDAT.
        IF RAD1 EQ ' '. " rad1 is for print , rad 2 is for pdf download.
       CONTROL_PARAMETERS-NO_DIALOG = 'X'.
       CONTROL_PARAMETERS-PREVIEW = ' '.
       CONTROL_PARAMETERS-GETOTF = 'X'.
       OUTOP-TDDEST = 'LP01'.
          CALL FUNCTION FNAME
            EXPORTING
          CONTROL_PARAMETERS         = CONTROL_PARAMETERS
            OUTPUT_OPTIONS             = OUTOP
            USER_SETTINGS              = ''
              V_VBELN               = ITAB-VBELN
                    V_PRIOR_INVAMT  = V_PRIOR_INVAMT
                    V_CUR_PO_TOT    = V_CUR_PO_TOT
                    I_GST           = I_GST
                    I_QST           = I_QST
                    I_HST           = I_HST
           IMPORTING
      DOCUMENT_OUTPUT_INFO       =
             JOB_OUTPUT_INFO            = TAB_OTF_DATA
      JOB_OUTPUT_OPTIONS         =
          TABLES
            T_FINAL                   = T_FINAL
      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.
          TAB_OTF_FINAL[] = TAB_OTF_DATA-OTFDATA[].
        ELSE.
    *********errror triggering from the below function module after else.........
       CONTROL_PARAMETERS-NO_DIALOG = 'X'.
       CONTROL_PARAMETERS-PREVIEW = 'X'.
         CONTROL_PARAMETERS-GETOTF = 'X'.
       OUTOP-TDDEST = 'LP01'.
          CALL FUNCTION FNAME
                  EXPORTING
             CONTROL_PARAMETERS         = CONTROL_PARAMETERS
             OUTPUT_OPTIONS             = OUTOP
         USER_SETTINGS              = 'X'
                    V_VBELN         = ITAB-VBELN
                    V_PRIOR_INVAMT  = V_PRIOR_INVAMT
                    V_CUR_PO_TOT    = V_CUR_PO_TOT
                    I_GST           = I_GST
                    I_QST           = I_QST
                    I_HST           = I_HST
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            = TAB_OTF_DATA
      JOB_OUTPUT_OPTIONS         =
          TABLES
            T_FINAL                   = T_FINAL
      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.
    please help me it is telling that as internal error for the exception 2.
    regards,
    venkat

    Hi,
    I m Deepak, i  getting the same error while running print prog.
    When i debuged the smartform i get the return code sy-subrc = 1
    in internal function module SSFCOMP_PROCESS_DOCUMENT in smartform function module.
    And the error i m getting is - Field #13; does not exist in form.
    How can i solve this problem.
    Please guide me regarding this as u already solved it.
    Regards,
    Deepak.

  • PO Print out problems in smartform

    Hello Experts,
    I have got a smartform for MM PO.
    Here i needed to do some modifications as per the clients new requirement.
    The previous requirement was to print material basic data(long text using read_text from the print program) as per the material but according to the new requirement we have to print the material po text(long text using read_text from the print program) according to the item number in the po.
    So for this requirement i changed the Id from GRUN to F03 and object from MATERIAL to EKPO, As our reuirement is to print material po text so in place of name for read text i concatenated the po number and item number.
    All the modifications were done in the print program only, none in the smart form.
    Now my problem is when i execute the smartform it says" Include text 020200481A does not exist (object EKPO, ID F03)"
    in the include text module of the smartform the values are  TEXT NAME : &itab-matnr& id : f03 object ekpo language en.
    Please help me solve this poblem.
    Regards,
    Abhinab Mishra

    pass values below  
    TEXT NAME : Po number & item number (450001234500010)
    TEXT OBJECT :EKPO
    TEXT ID : F03
    language : EN
    here you find one check box like NO ERROR IF NO TEXT EXISTS  tick this check box

  • Problem in Smartform convert to PDF with special character

    Hi ABAP Guru,
    While convert smartforms to pdf.Some special character like ( - ) convert to ( # ).In development server there is no problem but the problem arise in quality.Please help

    Hi Palash,
                  Please use PDF! in print preview command field.. it will convert pdf file.
    regards,
           Thangam.P

  • Problem in Smartform

    Hi,
    I have created a simple smart form.
    what it does is, it prints the material document number.
    when im trying to see the preview  of the smart form, it is showing &w_mkpf-mblnr& , but not the value of it.
    When i tried to debug it, i found out that , in the table STXFTXT the value of TDLINE is "<(>&<)>w_mkpf-mblnr<(>&<)>" . But it actually should be "&w_mkpf-mblnr&" .
    Can anyone tell me what the actual problem is and the solution of it.
    Here is the smartform that i downloaded.(at the bottom, i have attached the program also)
      <?xml version="1.0" encoding="utf-8" ?>
    - <sf:SMARTFORM xmlns:sf="urn:sap-com:SmartForms:2000:internal-structure" xmlns="urn:sap-com:sdixml-ifr:2000" sf:language="EN">
    - <HEADER>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <CAPTION>Smart form</CAPTION>
      <MASTERLANG>E</MASTERLANG>
      <LANGVECTOR>*</LANGVECTOR>
      <DEVCLASS>$TMP</DEVCLASS>
      <VERSION>00001</VERSION>
      <FIRSTUSER>TALASILAS</FIRSTUSER>
      <FIRSTDATE>2008-01-16</FIRSTDATE>
      <FIRSTTIME>10:31:54</FIRSTTIME>
      <LASTUSER>TALASILAS</LASTUSER>
      <LASTDATE>2008-01-16</LASTDATE>
      <LASTTIME>10:37:48</LASTTIME>
      </HEADER>
    - <INTERFACE>
    - <item>
      <IOTYPE>E</IOTYPE>
      <NAME>DOCUMENT_OUTPUT_INFO</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCRESPD</TYPENAME>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>E</IOTYPE>
      <NAME>JOB_OUTPUT_INFO</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCRESCL</TYPENAME>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>E</IOTYPE>
      <NAME>JOB_OUTPUT_OPTIONS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCRESOP</TYPENAME>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>ARCHIVE_INDEX</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>TOA_DARA</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>ARCHIVE_INDEX_TAB</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>TSFDARA</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>ARCHIVE_PARAMETERS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>ARC_PARAMS</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>CONTROL_PARAMETERS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCTRLOP</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>MAIL_APPL_OBJ</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SWOTOBJID</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>MAIL_RECIPIENT</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SWOTOBJID</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>MAIL_SENDER</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SWOTOBJID</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>OUTPUT_OPTIONS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCOMPOP</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>USER_SETTINGS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>TDBOOL</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <DEFAULTVAL>'X'</DEFAULTVAL>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>FORMATTING_ERROR</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>INTERNAL_ERROR</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>SEND_ERROR</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>USER_CANCELED</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>T</IOTYPE>
      <NAME>ITAB1</NAME>
      <TYPING>LIKE</TYPING>
      <TYPENAME>MKPF</TYPENAME>
      </item>
      </INTERFACE>
    - <GDATA>
    - <item>
      <NAME>W_MKPF</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>MKPF</TYPENAME>
      </item>
      </GDATA>
    - <sf:VARHEADER>
    - <sf:item>
      <PAGEFORMAT>DINA4</PAGEFORMAT>
      <CPI>10.00</CPI>
      <LPI>6.00</LPI>
      <STDSTYLE>SYSTEM</STDSTYLE>
    - <sf:PAGETREE>
    - <sf:NODE>
      <NODETYPE>RP</NODETYPE>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>PA</NODETYPE>
    - <sf:OBJ>
    - <sf:PAGE>
    - <NAME>
      <INAME>%PAGE1</INAME>
      </NAME>
      <CAPTION>New Page</CAPTION>
    - <NEXTPAGE>
      <INAME>%PAGE1</INAME>
      </NEXTPAGE>
      <NUMB_MODE>I</NUMB_MODE>
      <NUMB_TYPE>A</NUMB_TYPE>
      <PAGEORTN>P</PAGEORTN>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>PA</OBJTYPE>
      <INAME>%PAGE1</INAME>
      <CAPTION>New Page</CAPTION>
      </item>
      </T_CAPTION>
      </sf:PAGE>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>WI</NODETYPE>
    - <sf:OBJ>
    - <sf:WINDOW ID="484">
    - <NAME>
      <INAME>MAIN</INAME>
      </NAME>
      <CAPTION>Main Window</CAPTION>
      <WTYPE>M</WTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>WI</OBJTYPE>
      <INAME>MAIN</INAME>
      <CAPTION>Main Window</CAPTION>
      </item>
      </T_CAPTION>
    - <sf:PROC_CTRL>
    - <sf:NODE ID="508">
      <NODETYPE>RC</NODETYPE>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%TABLE1</INAME>
      </NAME>
      <CAPTION>New Table 1</CAPTION>
      <SECTTYPE>C</SECTTYPE>
      <DATATYPE>L</DATATYPE>
      <TABNAME>ITAB1</TABNAME>
      <TABHTYPE>I</TABHTYPE>
      <TABHEADER>W_MKPF</TABHEADER>
      <OTABTYPE>D</OTABTYPE>
      <OTABHEADER>A</OTABHEADER>
      <OTABFOOTER>A</OTABFOOTER>
      <FHEIGHT>1.00</FHEIGHT>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <USEBORDER>X</USEBORDER>
      <WIDTH>16.00</WIDTH>
      <U_WIDTH>CM</U_WIDTH>
      <APPMODE>L</APPMODE>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <DYNLINES>
    - <item>
      <NAME>LTYPE1</NAME>
      <DEFAULTVAL>X</DEFAULTVAL>
      <SHADING>000</SHADING>
      </item>
      </DYNLINES>
    - <CELLS>
    - <item>
      <NAME>LTYPE1</NAME>
      <COLUMNNR>001</COLUMNNR>
      <CWIDTH>16.00</CWIDTH>
      <U_CWIDTH>CM</U_CWIDTH>
      <SHADING>000</SHADING>
    - <BORDERS>
    - <item>
      <IDX>001</IDX>
      <INTENSITY>000</INTENSITY>
      <LLEFT>0.00</LLEFT>
      <LLEFT_U>MM</LLEFT_U>
      <LTOP>0.00</LTOP>
      <LTOP_U>MM</LTOP_U>
      <LRIGHT>0.00</LRIGHT>
      <LRIGHT_U>MM</LRIGHT_U>
      <LBOTTOM>0.00</LBOTTOM>
      <LBOTTOM_U>MM</LBOTTOM_U>
    - <FILLCOLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </FILLCOLOR>
    - <CLEFT>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CLEFT>
    - <CTOP>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CTOP>
    - <CRIGHT>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CRIGHT>
    - <CBOTTOM>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CBOTTOM>
      </item>
      </BORDERS>
      </item>
      </CELLS>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%TABLE1</INAME>
      <CAPTION>New Table 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>EV</NODETYPE>
    - <sf:OBJ>
    - <sf:EVENT>
    - <NAME>
      <INAME>%EVENT1</INAME>
      </NAME>
      <CAPTION>Header</CAPTION>
      <EVTYPE>H</EVTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>EV</OBJTYPE>
      <INAME>%EVENT1</INAME>
      <CAPTION>Header</CAPTION>
      </item>
      </T_CAPTION>
      </sf:EVENT>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%ROW1</INAME>
      </NAME>
      <CAPTION>New Line 1</CAPTION>
      <SECTTYPE>R</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%ROW1</INAME>
      <CAPTION>New Line 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB2</INAME>
      </NAME>
      <T_NEWLINE>X</T_NEWLINE>
      <T_LINETYPE>LTYPE1</T_LINETYPE>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB2</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%CELL1</INAME>
      </NAME>
      <CAPTION>New Column 1</CAPTION>
      <SECTTYPE>E</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%CELL1</INAME>
      <CAPTION>New Column 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB3</INAME>
      </NAME>
      <T_NEWCELL>X</T_NEWCELL>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB3</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>EV</NODETYPE>
    - <sf:OBJ>
    - <sf:EVENT>
    - <NAME>
      <INAME>%EVENT2</INAME>
      </NAME>
      <CAPTION>Main Area</CAPTION>
      <EVTYPE>B</EVTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>EV</OBJTYPE>
      <INAME>%EVENT2</INAME>
      <CAPTION>Main Area</CAPTION>
      </item>
      </T_CAPTION>
      </sf:EVENT>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%LOOP1</INAME>
      </NAME>
      <CAPTION>New Loop 1</CAPTION>
      <SECTTYPE>L</SECTTYPE>
      <TABHTYPE>I</TABHTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%LOOP1</INAME>
      <CAPTION>New Loop 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%ROW2</INAME>
      </NAME>
      <CAPTION>New Line 2</CAPTION>
      <SECTTYPE>R</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%ROW2</INAME>
      <CAPTION>New Line 2</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB4</INAME>
      </NAME>
      <T_NEWLINE>X</T_NEWLINE>
      <T_LINETYPE>LTYPE1</T_LINETYPE>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB4</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%CELL2</INAME>
      </NAME>
      <CAPTION>New Column 2</CAPTION>
      <SECTTYPE>E</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%CELL2</INAME>
      <CAPTION>New Column 2</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB5</INAME>
      </NAME>
      <T_NEWCELL>X</T_NEWCELL>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB5</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>TI</NODETYPE>
    - <sf:OBJ>
    - <sf:TEXT>
    - <NAME>
      <INAME>%TEXT1</INAME>
      </NAME>
      <CAPTION>New Text 1</CAPTION>
      <APPMODE>P</APPMODE>
    - <TEXT>
    - <item>
      <TDFORMAT>*</TDFORMAT>
      <TDLINE><(>&<)>w_mkpf-mblnr<(>&<)></TDLINE>
      </item>
      </TEXT>
      <STYLE_NAME>SYSTEM</STYLE_NAME>
    - <TEXT_AREA>
      <ENABLED>F</ENABLED>
      <NCOLS>0</NCOLS>
      <NROWS>0</NROWS>
      </TEXT_AREA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>TI</OBJTYPE>
      <INAME>%TEXT1</INAME>
      <CAPTION>New Text 1</CAPTION>
      </item>
      </T_CAPTION>
    - <T_TEXT>
    - <item>
      <SPRAS>E</SPRAS>
      <TXTYPE>F</TXTYPE>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <INAME>%TEXT1</INAME>
      <LINENR>000001</LINENR>
      <TDFORMAT>*</TDFORMAT>
      <TDLINE><(>&<)>w_mkpf-mblnr<(>&<)></TDLINE>
      </item>
      </T_TEXT>
      </sf:TEXT>
      </sf:OBJ>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>EV</NODETYPE>
    - <sf:OBJ>
    - <sf:EVENT>
    - <NAME>
      <INAME>%EVENT3</INAME>
      </NAME>
      <CAPTION>Footer</CAPTION>
      <EVTYPE>F</EVTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>EV</OBJTYPE>
      <INAME>%EVENT3</INAME>
      <CAPTION>Footer</CAPTION>
      </item>
      </T_CAPTION>
      </sf:EVENT>
      </sf:OBJ>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:PROC_CTRL>
      </sf:WINDOW>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB1</INAME>
      </NAME>
      <CAPTION>New Display Option</CAPTION>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <WLEFT>2.50</WLEFT>
      <U_WLEFT>CM</U_WLEFT>
      <WWIDTH>16.00</WWIDTH>
      <U_WWIDTH>CM</U_WWIDTH>
      <WTOP>2.50</WTOP>
      <U_WTOP>CM</U_WTOP>
      <WHEIGHT>25.20</WHEIGHT>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB1</INAME>
      <CAPTION>New Display Option</CAPTION>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:PAGETREE>
      </sf:item>
      </sf:VARHEADER>
      </sf:SMARTFORM>
    And here is the 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 Itab1 OCCURS 0.
            INCLUDE STRUCTURE MKPF.
    DATA: END OF Itab1.
    data: w_mkpf type mkpf.
    DATA : v_fmname TYPE rs38l_fnam.
    SELECT * FROM MKPF into table itab1 up to 100 rows .
    At the end of your program.
    Passing data to SMARTFORMS
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZSUM_SMART'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
         fm_name                  = v_fmname
    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 v_fmname
    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
        itab1                      = Itab1
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi,
    To display the value of variable it must be added in correct way. It means the variable should be added to the text object of the form with help of drag&drop or manually with help of icon "+" - Insert field. After insertion the variable should be gray colored in editor..
    May be this is the point????
    Best Regards
    Adam

  • Problem in smartforms while adding page2

    Hai, I am having a problem with my smartforms.  I have designed my smart form to print a covering page in page1 (containing consolidated values) and in page 2 i want to print the details related to the page one in a single smart form. If i have only page1 my application is running fine but onces i inserted second page it is give a runtime error.  Can any one tell me if i have to make any setting in my smartform or add any functions in my program before calling the smartform.
    In my second page i just inserted a main windows and inserted a table to print the details.
    First of all is it possible to have as many pages as we want. as in all the queries i checked i saw people using page2 to flow the data from page1 to page2
    The error is some thing like this Runtime Errors: RAISE_EXCEPTION
    and in Error Analysis this is what it says 
    A RAISE statement in the program "SAPLSTXBC" raised the exce
    condition "ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    Pls help me if anyone can. It is a bit urgent.
    regards
    Anuradha

    Hi,
    you can not define main window again in second window. For that u have to use final window in second page and put your table in this window and make one command at end of main window and call second page from that.
    U understand na ......if it will not working send me error.
    I am working in same issur.
    Rewards points if it useful.

  • Problem in Smartform where next page is printing unnecessarily

    I have written a smartform to print our packing slip. In my main window I loop through the delivery items for printing and after I have finished printing all of the items associated with the one delivery item  I want to  print out a u-line so that the form will be easier to read(some sort of way of grouping the items visually) I am accomplishing this by using sy-uline. The problem arises though that sometimes Iwhen I hit a page break  the only thing that will print on the next page is this uline. I do not want this line to print at the beginning of the main window on a next page but I have been unable to figure out anyway to keep it from printing. I have tried page protection for the paragraph format being used but that does not work. Has anyone come up with a way to print out a dividing horizontal line across the main window after a loop but control it so that it would not cause the form to think  a second page is needed just because of this one line.
    Any help would be much appreciated.
    Karen

    HI,
    Create a Folder,  move your table and what ever code written in program lines under the folder.
    click on folder check page protection, it will solve your problem.
    Thanks,
    Sanjay Gogikar

  • Translation Problem in Smartforms.

    Dear Experts,
                          Facing a problem with the translations of the smart forms into the diff languages.
    I have maintained the translations based upon the condition like below.
    If Spras = 'E'. (English)
    Text = 'Order'
    else.
    if spras = 'D'.     (Germany )
    Text = 'Bestellen'
    if spras = 'N'.  (Dutcj)
    Text = Bestel.
    The translations are working fine while with log in language as English ---Smart form original lang is also English......
    But the problem arises with log in language as NL(Dutch)....i am just getting the forms output in english lang only...Can you please check the same.
    Regards,
    Kartheek.

    hi,
    chk out the following link,
    How to maintain Smartforms in different languages?
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=31187
    Assigning a transport request for the translations in Smart Forms
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/assigning%252ba%252btransport%252brequest%252bfor%252bthe%252btranslations%252bin%252bsmart%252bforms
    translating smartforms
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/emtech/translating%252bsmartforms
    Also check the form attributes / language attributes in the smartform and check if the INTO ALL LANGUAGES radio button is selected. And when you login into SAP in EN ( default ) language, it should automatically translate.
    Hope it helps.
    Thanks
    Arbind Prasad

  • Printing Problem in Smartforms

    Hello Experts,
    I am having the problem with printing the data in smartform.
    My question is, suppose my preview is containing 6 pages.
    But when i am giving the print command it is printing onlyone page.
    I have already used command line in my form.
    Thanks
    Swati.

    This error is faced generlly when output type has not been assigned to the document type.In sales order Follow the path
    Goto-Extras-Output-Header-Edit.
    Here mention the output type and communication medium and save the document.
    Now try to issue the output.
    I assume that you have maintain the output determination procedure in SPRO.
    this requires configuration.
    Configure the copied program name for your output type & this entry must be there in table TNAPR. Only then you will be able to issue the output..
    XXXX-----
    when you are running the VF03 for seeing the print preview you have to do
    Billing documents-->issue output to --> printer / screen
    Now this is possible when the output type is already allotted for that .
    For this check the navigation
    Goto VF02 -> enter the invoice number , hit enter, from the Second screen
    Goto>Header>output--> will land you to a table control screen.
    Now here u need to give the output type and enter give the printer name in logical destination, and save.
    Now do the Billing documents>issue output to->screen--> output type as 'ZXXX'
    .and execute .
    Reward points to all useful answers.
    Regards,
    SaiRam

  • PRinting problem with Smartform

    Hai all,
                  I have created a smartform and transported to Prod. Its working fine foe One Department . and another depart people could not be able to print . Can anybody give me Some wht would be the Problem...
    Thnx in advance.
    BEst Regards,
    Rajesh S

    HEy ,
           Thanx for Ur reply,
             They can see the dialogue box but when they click on Print, neither its generating spool request Nor its printing.
    BEst Regards,
    Rajesh S

  • Additional Problem with Smartform Chinese Character Output

    Hi all!
    This is a follow-up to my earlier question about output of Chinese Characters in Smartforms.
    As a recap, my problem is to correctly output Chinese characters in my Smartform using English logon.  Using the OSS Note: 776507 that Anji sent, I managed to output in my Smartform preview the Chinese characters.  However, when I print a hardcopy, I still get the # characters.
    I tried uploading the font that outputs the chinese characters on MS Office, specifically Arial Unicode MS.  It was automatically assigned to the printer driver (I think).
    Is there anything I am doing or did wrong? 
    Thanks in advance for the help.  Points for any useful answer.

    Hi Pat,
    I have installed the lastest version of Adobe Reader (10.0.1) and Adobe Reader Font Pack (Asian Font Pack) and the results are as below:
    tested that the file (.pdf) cannot be displayed correctly
    It is appreciate if you have any idea for the issue. Thanks.
    Just let you know that the simplified chinese characters may inserted by the software (Free PDF Reader and Writer - Nitro Reader 3.1.1.3).

  • Problem with smartform print preview.

    Hi Experts,
                     i have an rare problem i have requirement of  sending PO smartform mail as pdf ,and the smartform is configued to nace, and the tcode is  me23n.
    we checked it in development server everything went on well,and mail was sent without any error, after moving object to quality,
    we tested in the same process as in development, instead of mail 'Print preview' button was popped up.
    is it something to do  with NACE config or to do with my code ?

    Hi Prakash,
    As Mohit said default printer is not yet set for your user in QAL and on print preview screen output device field is mandatory that is why the pop up for print preview is coming.
    follow path given by Mohit and I think the pop up will not come again.
    Regards,
    Siddhesh Satghare.

  • Problem with Smartform style

    Hi all,
    I created a smartform for barcode labels printing. The form has its own style and characters and paragraphs use a
    custom font (it's a Windows font I uploaded in the system).
    My smartform worked well, but when I newly tested it yesterday, only the barcode and a field were displayed.
    The only difference I noticed is the fact I deleted some custom fonts of mine and, after the deletion, I don't
    tested anymore the smartform until yesterday. In fact if i try to print the fields without any custom style, they
    are displayed in the preview.
    Thanks in advance,
      Francesco

    Problem solved (in a strange way): I had to modify my style by setting the black color for all the paragraphs and characters.
    Usually the color should be black by default, don't you think?
    I have to clarify that in my style there's a paragraph with the white color to give a light and shade effect: I don't know if this could be the cause of my problem.
    Edited by: Francesco Negri on Feb 10, 2011 10:05 AM

  • Problem with Smartform printing

    Hi all,
    I developed Dunning form . its working fine in development system.
    We have problem in production .
    For example , we need to print dunning form for 10 customers means 10 forms need to be print at a time usinf F150.
    Some forms printing fine with all text modules and some forms are not printing text modules.
    i did debug for Fm of smartform .
    In side this Fm , it is calling SSFRT_SYMBOL_VALUE  function module , for printing all text modules.
    Inside FM SSFRT_SYMBOL_VALUE   ,
    we have issue with     assign (l_programsymbol) to <l_symbol>    statement  (Line number 86) .
    Here if <l_symbol> will populate with text module, it is printing text.
    If not , it is not printing .
    Is there any point to know solution
    Thanks & regards,
    JBR

    Thanks

Maybe you are looking for