Gui problem in smartform

i made smartform and it's good in <b>DEV</b>
i pass it to QA and i get
<b>"GRAPHIC NOT FOUND"</b>

c'mon you have to upload the graphic u used in development.
see documentation in sap help as how to upload the graphic.
regards,
Sandeep Josyula
*Mark helpful answers

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

  • JLabel + GUI problem

    Hello
    I have a JLabel2 which shows the spanish map. The thing is I do wanna draw lines on my spanish map and save it to as an image file in my desktop . I'm able to draw lines and save my JLabel2(spanish map) as an image in my Desktop. The problem is I'm not able to see any lines that I draw before in my image file. I can see those lines when I do click draw button but I can not see them when I save my file as an image to my desktop.Please help me.This problem killed me for two days..you can see how i converted to icon and how i save it as an image file below.Thank you for your helps from now.
    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
    File file3;
    int returnVal = fc.showSaveDialog(routemap.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    try {
    File f3 = fc.getSelectedFile();
    ImageIcon icon = (ImageIcon) jLabel2.getIcon();
    System.out.println(icon.getIconHeight());
    BufferedImage buf = new BufferedImage(icon.getImage().getWidth(
    null), icon.getImage().getHeight(null),
    BufferedImage.TYPE_INT_RGB);
    buf.getGraphics().drawImage(icon.getImage(), 0, 0,
    icon.getIconWidth(), icon.getIconHeight(), null);
    ImageIO.write(buf, "jpg", new File(f3.getAbsolutePath()
    + ".jpg"));
    System.out.println(f3.getAbsolutePath());
    } catch (IOException e) {
    I have drawn lines by using draw function as you see below and I can not see those lines without any problem..Lines disapper in the image file when I do save it..Here is the draw button..
    private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {
    boolean go = true;
    if (OneClicked == false && go == true) {
    jLabel3.setText(jComboBox1.getSelectedItem() + " to ");
    view = jComboBox1.getSelectedItem().toString() + " to ";
    String m = jComboBox1.getSelectedItem().toString();
    int size1 = City.size();
    for (int i = 0; i < size1; i++) {
    if (City.get(i).equals(m)) {
    Index.add(i);
    OneClicked = true;
    go = false;
    if (OneClicked == true && go == true) {
    jLabel3.setText(view + jComboBox1.getSelectedItem());
    view = "";
    String m = jComboBox1.getSelectedItem().toString();
    int size1 = City.size();
    for (int i = 0; i < size1; i++) {
    if (City.get(i).equals(m)) {
    Index.add(i);
    Graphics g = jLabel2.getGraphics();
    g.setColor(Color.BLUE.darker());
    Graphics2D g2 = (Graphics2D) g;
    g2.setStroke(new BasicStroke(3));
    System.out.println(Index.size());
    System.out.println(Index.size() - 2);
    int m1 = Integer.parseInt(XCoordinate.get(Index
    .get(Index.size() - 2)));
    int n1 = Integer.parseInt(YCoordinate.get(Index
    .get(Index.size() - 2)));
    int m2 = Integer.parseInt(XCoordinate.get(Index
    .get(Index.size() - 1)));
    int n2 = Integer.parseInt(YCoordinate.get(Index
    .get(Index.size() - 1)));
    System.out.println(m1 + " " + n1 + " " + m2 + " " + n2);
    g2.drawLine(m1, n1, m2, n2);
    OneClicked = false;
    System.out.println("index im" + Index);
    }

    Cross-post: [java-forums: jlabel-gui-problem|http://www.java-forums.org/java-applets/15472-jlabel-gui-problem.html]
    To the original poster, cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be to not do this, but if you feel that you absolutely must, to at least provide links in both cross-posts to each other.
    edit: all over the dang place: [javaranch: JLabel-GUI|http://www.coderanch.com/t/428887/Swing-AWT-SWT-JFace/java/JLabel-GUI]
    Now this could get folks wanting to not help you ever. Please take care here.
    Edited by: Encephalopathic on Jan 31, 2009 6:34 AM

  • GUI problem with UNIX

     

    Hi Vasundhara,
    Try grouping the widgets in to a panel.
    Thanks,
    Madhu
    -----Original Message-----
    From: vasundhara [mailto:[email protected]]
    Sent: Wednesday, April 25, 2001 9:15 AM
    To: [email protected]; Joseph Mirwald
    Subject: Re: (forte-users) GUI problem with UNIX
    Hi Joseph
    We are using Forte 3.0 M2 on Solaris 5.8 The problem is with the push
    buttons, After we grid the controls and they look intact in the NT
    environment, but when we open the same window in SOlaris the controls are
    far apart.Do you have any idea about this?
    Regards
    Vasundhara
    ----- Original Message -----
    From: Joseph Mirwald <mailto:[email protected]>
    To: vasundhara <mailto:[email protected]> ;
    [email protected] <mailto:[email protected]>
    Sent: Wednesday, April 25, 2001 10:13 AM
    Subject: Re: (forte-users) GUI problem with UNIX
    Hello vashundara,
    please say which Version of Forte and which kind/version your UNIX OS is.
    There are some problems on AIX V4.3.x (Motif 2.x) and older releasese of
    Forte (up to Forte 3.M.x) and so on and it is necessary to look what it is.
    Maybe it is possible for you to say which widgets are the problem.
    Thanks forward
    Joseph Mirwald
    At 15:25 23.04.01 +0530, vasundhara wrote:
    Hi
    We are facing a strange problem when we try to port our application from NT
    to UNIX. The problem is that the GUI doesnt come properly. As per my
    knowledge gridding all the controls on the GUI shouldnot create this
    problem, but inspite of this we are facing it. Did anyone comeacross this
    situation?
    Thanks in advance
    Regards
    Vasundhara N.C
    Wisor Telecom Pvt Ltd
    Bangalore
    India

  • Problem In SMARTFORM printging From SAP GUI

    Hi Exeperts
    I have developed smartform by coping standard Invoice Print to dot matrix printer with custom page format.
    while printing invoice multiple pages are not printing.
    last page table footer is merging with first page table data. It is printing only one page.
    In preview it is showing all pages.
    Regards
    Jagadish

    Hi,
    You can make use of Additional Events in Conditions tab provided for window (main/secondary).
    In ur case., footer window which shud come only after main window  - at the end of table  ,shud have
    third option ticked in Addtional event so that it prints  footer window only after main window  .
    Hope this helps.
    Regds,
    AS

  • Mutlithreading with GUI problem

    hey guys,
    I was working on some Socket programming assignment and encountered an intersting problem.
    i am using Swing for GUI and Threads to communicate with clients.
    My server GUi has a JButton("Start Server") to trigger the Server. or we can say.. it starts accepting connection( SocketObj = ServerSocketObj.accept() )
    problem:
    as soon as i press the only Button(i.e. StartServer Button) on my Server GUI. whole GUI freezes!
    but Server is working... all updates on GUI are missing.. cant repaint components, etc. neither WindowClosing event , setDefaultCloseOperation()) is working.
    i did some research.. found that swing components are not thread safe,
    also found some close answers,, along the lines of.. Event Dispatch Thread, SwingUtilities.invokeLater(Runnable), SwingWorker class , but neither work or maybe i did not implement them properly..
    Attachment contains my code for:
    Server.java : Server class conatins main()
    ServerGUI.java : gui for server.. called from Server Class
    ClientHandler.java : Thread for handling clients.. also called from Serve class
    Cleint.java : simple client to connect to server at localhost
    Any sort of help would be highly obliged.
    thanks in advance.
    - Ravi

    here is the code...
    Server.java
    import java.net.*;
    import java.io.*;
    public class Server {
        private ServerSocket ss;
        private Socket sc;
        public ServerSocket getSs() {
            return ss;
        public void setSs(ServerSocket ss) {
            this.ss = ss;
        public Socket getSc() {
            return sc;
        public void setSc(Socket sc) {
            this.sc = sc;
        public Server() {
            try{
            ss = new ServerSocket(4000);
            }catch(IOException e){e.printStackTrace();}
            startGUI();
        public void startGUI()
            new ServerGUI(this);
        public void getConnection()
            int i = 1;
            try {
                Socket sc = getSc();
                while (true) {
                    sc = getSs().accept();
                    Thread t = new Thread(new ClientHandler(sc,i));
                    t.start();
                    System.out.println("got client " + i);
                    i++;
            } catch (IOException e) {
                e.printStackTrace();
        public static void main(String[] args) {
            new Server();
    }ServerGUI.java
    import java.net.*;
    import java.io.*;
    public class ServerGUI extends javax.swing.JFrame {
         private javax.swing.JButton jButton1;
        Server m;
        public ServerGUI(Server m) {
            initComponents();
            this.m=m;
            setVisible(true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        private void initComponents() {
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addContainerGap(178, Short.MAX_VALUE)
                    .addComponent(jButton1)
                    .addGap(147, 147, 147))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(93, 93, 93)
                    .addComponent(jButton1)
                    .addContainerGap(184, Short.MAX_VALUE))
            pack();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            m.getConnection();
    }ClientHandler.java
    import java.net.*;
    public class ClientHandler implements Runnable {
        Socket sock;
        int n;
        public ClientHandler(Socket s, int n) {
            sock = s;
            this.n = n;
        public void run() {
            while (true) {
                System.out.println("Client Thread: " + n);
                try {
                    Thread.sleep(2000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
    }Client.java
    import java.net.*;
    import java.io.*;
    public class Client {
        Socket sc;
        public Client() {
            try{
            sc=new Socket("127.0.0.1",4000);
            System.out.println("got server");
            }catch(UnknownHostException e){e.printStackTrace();}
            catch(IOException e){e.printStackTrace();}
        public static void main(String args[])
            new Client();
    }

  • 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

Maybe you are looking for

  • How to show logged-in Line Group Members in a Hunt Pilot (CUCM V7.1.3)

    I have configured a Hunt Pilot with a Hunt List which points to a Line Group with some DNs as Line Group Members. Additionally i gave the affected Users the option to log-in or log-out from the Hunt Pilot by configuring the "Hunt Group Logout" Button

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button is selected.   I have created a SQLcontrol.vb using the following code: Imports System.Data.Sql Imp

  • Modify control record and send out to external (TAMA) system

    Hi All, I have a scenario to send idoc from ECC 5.0 to 3.1R/3 and then to TAMA system (external system-through TRFC) In the inbound process code of 3.1R/3, I have to write a custom FM to modify the control record and point to TAMA system and then sen

  • Question mark in folder

    I have question mark in a folder when i turn on my computer this morning. It was still fine last night. I tried few of what others people do on website but it doesnt work. Can anyway I van fix that?

  • SWFLoader : stop/ pause / play features ?

    hi, I am using the SWFLoader component to play Flash files (with SWF extension). <mx:SWFLoader id="animation_toto" x="24" y="36" source= "toto.swf" autoLoad="true" width="657" height="164"/> I am able to control the start of the animation with the lo