Regarding SmartForms -- Graphics Node

Hi,
I imported SAP logo (which is in sap.com site) using the transaction se78.
Now I am using this in my smartform for the graphics node.
But I am not getting the full picture.
Bottom portion of the picture is with some blue color like a rectangle.
What may be the problem?
Please help me soon.
Thanks and regards
Balakrishna.N

If I try to get it printed , I got the error message like:
Exception:  SEND_ERROR
Messge ID:   SPOC
Message  :
Messge Numebr : 003
Error in spool C call: spool overflow
What does it mean?
What should I do to rectify the error and get the form printed.

Similar Messages

  • Graphics node in smartforms

    Hi all,
    Please don't mind. This is the second time I am sending question why because it is not solved yet.
    I am not getting the full image of the graphic picture.
    It is not the matter of size of the node or the size of the picture.
    As you know the we can create a graphics node individually(without a window noe). If we insert a picture in that, it will be automatically incremented or decremented accordingly.
    But I am not getting the lower portion of the picture.
    Please let me know what may be the problem was.
    Thanking you.

    Hi,
    Folder node is what used to apply page protection for a definite number of lines in smartforms.
    Regards,
    Ram

  • Smartform-graphics

    Hi All,
    I upload the TIFF format image thru the SAP standard program "RSTXLDMC" and now i need to display this image into my smartform. How can I use this image in smartform?
    Can I see this image which I upload thru standard program?
    My Main Question I am repeating again that how to use this image in smartform?
    Thanks & Regards,
    Jaten Sangal

    Hi ,
    If you are following the same steps :
    se78 : to import the tiff file
    then in smartforms using create-graphics
    then you are going good . This should not lead you to the error . I think error reason would be something else.Might be something related tro size , is your image very big ?\
    Please see have you successfully uploaded your image in SAP?
    I am looking for it meanwhile you can try uploading another short image.
    also refer this
    Upload .TIF images in SE78
    Regarding  Smartform output Issue....(very  Urgent)
    Problem with SMARTFORM.
    Regards,
    Uma Dave
    Edited by: UmaDave on Jun 14, 2010 11:34 AM
    Edited by: UmaDave on Jun 14, 2010 11:34 AM

  • Regarding creation of node element

    Hi
    i hav a doubt regarding creation of node element. u can create new node element using method create(cn)Element available either directly from wdContext or from wdContext.node(cn) where cn is any context node.
    can any one plz explain me what's the difference between two.
    does it has any thing to with node being singelton or non-singelton?
    also can anyone explain me the difference between add and bind method.
    thanks.

    hi
    good
    Data Binding Methods
    If a property can, or must be bound to the context, the respective bind and bound methods are available.
    ●     The bind methods bind the value of a property to the context element specified by the path.
    The name of the method is created according to the following pattern:
    BIND_<runtime name of the property>.
    Example: table, property: design, method: BIND_DESIGN.
    &#9679;     The bound methods return the path of the context element to which a property is bound and return NULL if no binding exists.
    The name of the method is created according to the following pattern:
    BOUND_<runtime name of the property>.
    Example: table, property: design, method: BOUND_DESIGN.
    ADD METHOD->
    Two add methods that add an element.
    &#9675;     If only the element is transferred as parameter, then the element is added at the and of a list
    &#9675;     If an index is transferred as well, then this element is transferred at the specified index position.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/18b44145143831e10000000a155106/content.htm
    thanks
    mrutyun^

  • Regarding number of nodes in endeca cluster

    Hi,
    I have a question regarding number of nodes in the endeca server cluster.
    Our solution contains one data domain running in a endeca cluster with two nodes.
    Endeca server documentation recommends to run the cluster with atleast 3 nodes however our solution can't accomdate another server straight away.
    Can anyone please suggest what are the implication of running the cluster with two nodes like
    1. Can the cluster still serve the request if one node goes down?
    2, How the leader promoting works if a node goes down?
    Thank you,
    regards,
    rp

    Hi rp,
    You can definitely start with two nodes and then add another Endeca Server node later, if needed. It is recommended to run a cluster of three, for increased availability.
    Here are some answers to you questions about the cluster behavior:
    Q: Can the cluster still serve the request if one node goes down?
    A: Quoting from this portion of the Endeca Server Cluster Guide > How enhanced availability is achieved:
    Availability of Endeca Server nodes
    In an Endeca Server cluster with more than one Endeca Server instance, an ensemble of the Cluster Coordinator services running on a subset of nodes in the Endeca Server cluster ensures enhanced availability of the Endeca Server nodes in the Endeca Server cluster.
    When an Endeca Server node in an Endeca Server cluster goes down, all Dgraph nodes hosted on it, and the Cluster Coordinator service (which may also be running on this node) also go down. As long as the Endeca Server cluster consists of more than one node, this does not disrupt the processing of non-updating user requests for the data domains. (It may negatively affect the Cluster Coordinator services. For information on this, see Availability of Cluster Coordinator services.)
    If an Endeca Server node fails, the Endeca Server cluster is notified and stops routing all requests to the data domain nodes hosted on that Endeca Server node, until you restart the Endeca Server node.
    Let's consider an example that helps illustrate this case. Consider a three-node single data domain cluster hosted on the Endeca Server cluster consisting of three nodes, where each Endeca Server node hosts one Dgraph node for the data domain. In this case:
    If one Endeca Server node fails, incoming requests will be routed to the remaining nodes.
    If the Endeca Server node that fails happens to be the node that hosts the leader node for the data domain cluster, the Endeca Server cluster selects a new leader node for the data domain from the remaining Endeca Server nodes and routes subsequent requests accordingly. This ensures availability of the leader node for a data domain.
    If the Endeca Server node goes down, the data domain nodes (Dgraphs) it is hosting are not moved to another Endeca Server node. If your data domain has more than two nodes dedicated to processing queries, the data domain continues to function. Otherwise, query processing for this data domain may stop until you restart the Endeca Server node.
    When you restart the failed Endeca Server node, its processes are restarted by the Endeca Server cluster. Once the node rejoins the cluster, it will rejoin any data domain clusters for the data domains it hosts. Additionally, if the node hosts a Cluster Coordinator, it will also rejoin the ensemble of Cluster Coordinators.
    Q: How the leader promoting works if a node goes down? See part of the answer above. Also, this: (from the same topic, but later in text)
    Failure of the leader node. When the leader node goes offline, the Endeca Server cluster elects a new leader node and starts sending updates to it. During this stage, follower nodes continue maintaining a consistent view of the data and answering queries. When the node that was the leader node is restarted and joins the cluster, it becomes one of the follower nodes. Note that is also possible that the leader node is restarted and joins the cluster before the Endeca Server cluster needs to appoint a new leader node. In this case, the node continues to serve as the leader node.If the leader node in the data domain changes, the Endeca Server continues routing those requests that require the leader node to the Endeca Server cluster node hosting the newly appointed leader node.
    Note: If the leader node in the data domain cluster fails, and if an outer transaction has been in progress, the outer transaction is not applied and is automatically rolled back. In this case, a new outer transaction must be started. For information on outer transactions, see the section about the Transaction Web Service in the Oracle Endeca Server Developer's Guide.
    Failure of a follower node. When one of the follower nodes goes offline, the Endeca Server cluster starts routing requests to other available nodes, and attempts to restart the Dgraph process for this follower node. Once the follower node rejoins the cluster, the Endeca Server adjusts its routing information accordingly.
    You may ask, why do you need three nodes then? This is to achieve the high availability of the cluster services themselves.
    Quoting:
    If you do not configure at least three Endeca Server nodes to run the Cluster Coordinator service, the Cluster Coordinator service will be a single point of failure. Should the Cluster Coordinator service fail, access to the data domain clusters hosted in the Endeca Server cluster becomes read-only. This means that it is not possible to change the data domains in any way. You cannot create, resize, start, stop, or change data domains; you also cannot define data domain profiles. You can send read queries to the data domains and perform read operations with the Cluster and Manage Web Services, such as listing data domains or listing nodes. No updates, writes, or changes of any kind are possible while the Cluster Coordinator service in the Endeca Server cluster is down — this applies to both the Endeca Server cluster and data domain clusters. To recover from this situation, the Endeca Server instance that was running a failed Cluster Coordinator must be restarted or replaced (the action required depends on the nature of the failure).
    Julia

  • A theory about trees (ApEx 4.0) regarding save activated node

    Hallo all!
    Can someone please confirm (or not) my theory about trees regarding save activated node in ApEx 4.0(.1):
    With my first tree I tried to set a varchar2-value for the last selected node ... didn't work. After many tries I was succesful with changing this to a numeric value...
    ...Is this a bug or a feature? ;-)
    Btw.
    Another supposing regarding the source-code of trees is that this can't be longer than 4000 bytes. Is this right?
    And if so ... can I put a Funktion in there that returns the statement (like in classic reports, but with static row-structure)?
    Hope this time someone out there is attends my thread.
    With kind regards...
    ...kc7

    Hi,
    Pre-Apex4 you could make use of the A1 and A2 columns in the tree SQL along with the tree template to conditional set the color of the node text. Does anyone know how to achieve this in Apex4? I've tried using the tree SQL shown below but this displays the HTML (SPAN tags) as text.
    select case when connect_by_isleaf = 1 then 0
                when level = 1             then 1
                else                           -1
           end as status,
           level,
           '<span style="color:red;">'||"ENAME"||'</span>' as title,
           null as icon,
           "EMPNO" as value,
           null as tooltip,
           null as link
    from "#OWNER#"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME"Any assistance would be appreciated.
    Cheers.

  • Regarding smartforms very urgent

    Hi All,
    I have created a smartfrom.In that I have converted smartform output to html.Now I am sending this HTML output as an attachment to an email address but here I am unable to add graphic to the HTML ouput.How can I do this.
    Regards,
    shravan

    hi sharavan,
    just try this code, u can get the solution.
    *& Report  ZINV_FORM
    report  zinv_form.
    tables: vbrk,vbrp.
    *TYPES: BEGIN OF t_itab,
          vbeln TYPE vbeln_vf,
          fkdat TYPE fkdat,
          name1 TYPE name1_gp,
          addr  TYPE c.
    *TYPES: END OF t_itab.
    types : begin of ty_binary,
              binary_field(1000) type c,
            end of ty_binary.
    data: g_name_itab type standard table of zinv_name.
    data: g_name_wa  type line of zinv_namet.
    data: g_head_itab type standard table of zinv_str_head.
    data: g_head_wa type line of zinv_ttype_head.
    data: g_item_itab type standard table of zinv_str_item.
    data: g_item_wa type line of zinv_ttype_item.
    data: g_tot_tab type standard table of zinv_str.
    data: g_tot_wa type line of zinv_ttype.
    data: g_pay_tab type standard table of zinv_pay_str.
    data: g_pay_wa  type line of zinv_pay_tab.
    data: l_index type i.
    data: sf_name type  rs38l_fnam.
    data: ssfcrescl type ssfcrescl,
          final_ssfcrescl type ssfcrescl,
          xstring type xstring,
          l_data_tab type standard table of ty_binary,
          tline type table of tline with header line,
          ls_out_opt type ssfcompop,
          filesize type i,
          l_pac_list type standard table of sopcklsti1,
         l_pac_list LIKE sodocchgi1,
         l_docu_data LIKE sodocchgi1-doc_size,
          l_doc_chng type sodocchgi1,
          l_receivers type standard table of somlreci1.
    select-options: s_inv for vbrk-vbeln.
    *PARAMETERS: p_inv LIKE vbrk-vbeln default '90005298'.
    *PARAMETERS: p_email1 LIKE somlreci1-receiver.
    start-of-selection.
      perform get_header.
      perform get_item.
      perform get_name.
      perform call_form.
    PERFORM send_email.
    *&      Form  get_header
          text
    form get_header.
      select vbeln fkdat kunag zterm from vbrk into corresponding fields of table
                                                           g_head_itab where vbeln in s_inv.
      loop at g_head_itab into g_head_wa.
        select zterm text1 spras from t052u into table g_pay_tab where zterm = g_head_wa-zterm
                                                                    and spras = sy-langu.
        l_index = sy-tabix.
        read table g_pay_tab into g_pay_wa index l_index.
        move: g_pay_wa-text1 to g_tot_wa-text1.
        move-corresponding g_head_wa to g_tot_wa.
        append g_tot_wa to g_tot_tab.
      endloop.
    endform.                    "get_header
    *&      Form  get_item
          text
    form get_item.
      select vbeln posnr arktx fkimg netwr mwsbp from vbrp into corresponding fields of table g_item_itab
                                     for all entries in g_head_itab where vbeln eq g_head_itab-vbeln.
      loop at g_head_itab into g_head_wa.
       l_index = sy-tabix.
       g_item_wa-tot = g_item_wa-fkimg * g_item_wa-netwr.
       MODIFY g_item_itab FROM g_item_wa INDEX l_index.
        data: l_tab_item type standard table of zex_struct.
        data: l_wa_item like line of l_tab_item.
        clear l_tab_item[].
        call function 'ZAPR_GET_COND_DETAILS'
          exporting
            i_vbeln                = g_head_wa-vbeln
      I_POSNR                    =
      I_KSCHL                    =
          tables
            export_tab             = l_tab_item.
    EXCEPTIONS
      INCORRECT_INV_NUMBER       = 1
      COND_REC_NOT_FOUND         = 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.
        delete l_tab_item where kschl ne 'PR00'.
        loop at l_tab_item into l_wa_item.
          l_index = sy-tabix.
          move l_wa_item-kbetr to g_item_wa-kbetr.
          modify g_item_itab from g_item_wa transporting kbetr where posnr = l_wa_item-posnr
                                                               and vbeln = g_head_wa-vbeln.
        endloop.
      endloop.
    endform.                    "get_item
    *&      Form  get_name
          text
    form get_name.
      select name1 kunnr from kna1 into corresponding fields of table g_name_itab
                                    for all entries in g_head_itab where kunnr = g_head_itab-kunag.
      if sy-subrc = 0.
        loop at g_name_itab into g_name_wa .
          l_index = sy-tabix.
          call function 'Z_DR_GET_CUSTOMER_ADDRESS'
            exporting
              customerno       = g_name_wa-kunnr
            importing
              customer_city    = g_name_wa-ort01
              customer_street  = g_name_wa-stras
              customer_country = g_name_wa-landx
              customer_zipcode = g_name_wa-pstlz.
          modify  g_name_itab from  g_name_wa index l_index.
        endloop.
        loop at g_name_itab into g_name_wa .
          move-corresponding g_name_wa to g_tot_wa.
          modify g_tot_tab from g_tot_wa
                           transporting ort01 stras landx name1 pstlz where kunag = g_name_wa-kunnr.
        endloop.
      endif.
    endform.                    "get_name
    end-of-selection.
    *&      Form  call_form
          text
    -->  p1        text
    <--  p2        text
    form call_form .
      data:   wa_output type zinv_str,
              gt_header type table of zinv_str_head,
              gt_temp   type table of zinv_str_item,
              wa_header type zinv_str_head,
              l_lines   type i,
              l_tabix   type sy-tabix,
              l_ssfctrlop type ssfctrlop.
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname                 = 'ZINV_FORM1'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       importing
         fm_name                  = sf_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.
    CLEAR g_tot_tab[].
    g_tot_tab[] = gt_output[].
    gt_temp[]   = gt_output[].
    DELETE ADJACENT DUPLICATES FROM gt_header COMPARING order_number.
      describe table g_head_itab lines l_lines.
      gt_temp[] = g_item_itab[].
    l_ssfctrlop-no_dialog = 'X'.
    l_ssfctrlop-preview   = 'X'.
    l_ssfctrlop-getotf    = 'X'.
    ls_out_opt-tdnoprev = 'X'.
    ls_out_opt-tddest = 'locl'.
      loop at g_tot_tab into g_tot_wa.
        g_item_itab[] = gt_temp[].
        delete g_item_itab where vbeln ne g_tot_wa-vbeln.
        loop at g_item_itab into g_item_wa.
          move: sy-tabix to g_item_wa-sino.
          modify g_item_itab from g_item_wa.
        endloop.
        add 1 to l_tabix.
        if l_tabix gt 1 and l_tabix le l_lines.
          l_ssfctrlop-no_open = 'X'.
        endif.
        if l_tabix eq l_lines.
          l_ssfctrlop-no_close = space.
        else.
          l_ssfctrlop-no_close = 'X'.
        endif.
        call function sf_name
         exporting
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
           control_parameters      = l_ssfctrlop
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
         output_options             = ls_out_opt
      USER_SETTINGS              = 'X'
        is_inv_header              = g_tot_wa
       importing
      DOCUMENT_OUTPUT_INFO       =
         job_output_info            = ssfcrescl
      JOB_OUTPUT_OPTIONS         =
          tables
            l_itab                 = g_item_itab
    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.
       APPEND LINES OF ssfcrescl-otfdata TO final_ssfcrescl-otfdata.
      endloop.
      call function 'CONVERT_OTF'
       exporting
         format                      = 'PDF'
      MAX_LINEWIDTH               = 132
      ARCHIVE_INDEX               = ' '
      COPYNUMBER                  = 0
      ASCII_BIDI_VIS2LOG          = ' '
       importing
         bin_filesize                = filesize
         bin_file                    = xstring
        tables
          otf                         = final_ssfcrescl-otfdata
          lines                       = tline
    EXCEPTIONS
      ERR_MAX_LINEWIDTH           = 1
      ERR_FORMAT                  = 2
      ERR_CONV_NOT_POSSIBLE       = 3
      ERR_BAD_OTF                 = 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.
      call function 'SCMS_XSTRING_TO_BINARY'
        exporting
          buffer                = xstring
        APPEND_TO_TABLE       = ' '
      IMPORTING
        OUTPUT_LENGTH         =
        tables
          binary_tab            = l_data_tab.
      call function 'GUI_DOWNLOAD'
        exporting
        BIN_FILESIZE                    =
          filename                        = 'C:\invoice.pdf'
         filetype                        = 'BIN'
        APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ' '
        HEADER                          = '00'
        TRUNC_TRAILING_BLANKS           = ' '
        WRITE_LF                        = 'X'
        COL_SELECT                      = ' '
        COL_SELECT_MASK                 = ' '
        DAT_MODE                        = ' '
        CONFIRM_OVERWRITE               = ' '
        NO_AUTH_CHECK                   = ' '
        CODEPAGE                        = ' '
        IGNORE_CERR                     = ABAP_TRUE
        REPLACEMENT                     = '#'
        WRITE_BOM                       = ' '
        TRUNC_TRAILING_BLANKS_EOL       = 'X'
      IMPORTING
        FILELENGTH                      =
        tables
          data_tab                        = l_data_tab
        FIELDNAMES                      =
      EXCEPTIONS
        FILE_WRITE_ERROR                = 1
        NO_BATCH                        = 2
        GUI_REFUSE_FILETRANSFER         = 3
        INVALID_TYPE                    = 4
        NO_AUTHORITY                    = 5
        UNKNOWN_ERROR                   = 6
        HEADER_NOT_ALLOWED              = 7
        SEPARATOR_NOT_ALLOWED           = 8
        FILESIZE_NOT_ALLOWED            = 9
        HEADER_TOO_LONG                 = 10
        DP_ERROR_CREATE                 = 11
        DP_ERROR_SEND                   = 12
        DP_ERROR_WRITE                  = 13
        UNKNOWN_DP_ERROR                = 14
        ACCESS_DENIED                   = 15
        DP_OUT_OF_MEMORY                = 16
        DISK_FULL                       = 17
        DP_TIMEOUT                      = 18
        FILE_NOT_FOUND                  = 19
        DATAPROVIDER_EXCEPTION          = 20
        CONTROL_FLUSH_ERROR             = 21
        OTHERS                          = 22
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    "call_form
    **&      Form  send_email
          text
    *FORM send_email.
    Document information.
    **wa_doc_chng-obj_name = 'Smartform'.
    **wa_doc_chng-expiry_dat = sy-datum + 10.
    **wa_doc_chng-obj_descr = 'Smart form output'.
    **wa_doc_chng-sensitivty = 'F'. "Functional object
    **wa_doc_chng-doc_size = v_lines_txt * 255.
    **data:i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data                    = l_doc_chng
      put_in_outbox                       = 'X'
        sender_address                   = sder_add
      sender_address_type                 = 'U'
      commit_work                         = 'X'
    IMPORTING
      SENT_TO_ALL                      =
      NEW_OBJECT_ID                    =
      SENDER_ID                        =
       TABLES
         packing_list                     = l_pac_list
      OBJECT_HEADER                    =
      CONTENTS_BIN                     =
      CONTENTS_TXT                     =
      CONTENTS_HEX                     =
      OBJECT_PARA                      =
      OBJECT_PARB                      =
         receivers                        = l_receivers
    EXCEPTIONS
      TOO_MANY_RECEIVERS               = 1
      DOCUMENT_NOT_SENT                = 2
      DOCUMENT_TYPE_NOT_EXIST          = 3
      OPERATION_NO_AUTHORIZATION       = 4
      PARAMETER_ERROR                  = 5
      X_ERROR                          = 6
      ENQUEUE_ERROR                    = 7
      OTHERS                           = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *ENDFORM.                    "send_email
    regards,
    seshu.

  • Get looped SMARTFORMs Graphic via WD

    Hi Experts,
    i want to get a looped graphic (table containing a text has been constructed in Smartforms) in the PDF.
    the table  will be filled with a text( 10 till 1000 words) in a textedit UI-elemt( dynamic textedit with type TLINE). so each time the user click on 'write text' Button, a new textedit appears and the user can write his text there. in the end if the user have wrote 10 times texts in textedit UI-element( means 10 textedit UI-element will appear in Portal) this should also in  the PDF appears.
    the coding is following, but i dont know where i have to make changes or where shall make loop?
    i hope that everything is clear for you ,
    DATA: fm_name TYPE rs38l_fnam,                
            ls_contp TYPE ssfctrlop,       
            ls_output  TYPE ssfcompop,         
            ls_output_data TYPE ssfcrescl,         
            tab_otf_final TYPE TABLE OF itcoo.
      DATA :  bin_filesize  TYPE i,
              bin_file      TYPE xstring,
              pdf_tab       TYPE TABLE OF tline.
    Set the output parameters
      ls_output_options-tdprinter = 'PDF1'.
    set control parameters to get the output format (OTF) from Smart Forms
      ls_contp-no_dialog = 'X'.
      ls_contp-getotf = 'X'.
      ls_contp-preview = 'X'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
      formname = 'Z_TAD_PAP'
    VARIANT = ' '
    DIRECT_CALL = ' '
      IMPORTING
      fm_name = fm_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
      CALL FUNCTION fm_name
        EXPORTING
          control_parameters = ls_control_parameters
          output_options     = ls_output
          user_settings      = space
        IMPORTING
          job_output_info    = ls_output_data
        TABLES
          z_tad_pap_data     = lt_table  (this table is containing my data )
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
    tab_otf_final[] = ls_output_data-otfdata[].
    " Convert OTF data into PDF data
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = bin_filesize
          bin_file              = bin_file
        TABLES
          otf                   = tab_otf_final
          lines                 = pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
    cl_wd_runtime_services=>attach_file_to_response(
    i_filename      = 'mail.pdf'
    i_content       =  bin_file
    i_mime_type   =   '/Desktop').
    thank you for help

    hi Kowluri,
    sorry that i didnt answer you so quik, i was busy with other stuff.
    well, what i am looking for, is how to fill my table in SMATRFORMS from WD, i already have an internal Table that contains the data, (this table contains only the data for one textedit UI-elements).
    the problem is , this component (table) in smartforms , should be called more than one time ( the same component) . if the user have wrote 2 or 3  or 4 texts ( each textedit UI-elemet contains a text in the Portal),  all of those texts should be displayed on the PDF , and this component(table) in SMARTFORMS should be called each time for each text.
    i hope that everything is clear, if not , i will explain more
    Best Regards
    Natel

  • Regarding Smartforms Main Window

    Hi SAP Gurus,
    In a customized smartform,
    i am having an output  :
    srl no                 mat no                  mat desc                     quan              uom               rate
    10                        123456             aaaaaaaaa                 55                      MM            4500
                                                        sales tx : 123
                                                         cst : 2% 
    for Eg,Like this are 10 line items, now while prining, at the bottom of the page it is printing the line item but sales tax and cst are starting on a new page, but the requirement is to display salestax and cst along with it .
    Plz help,
    Thanks & Regards,
    Pavan.

    Hi,
    All the above responses are very good but i think i had not get a clear picture.
    Select your table node and in the table tab details you will find your line type on your line type you will find a check box with
    No page break then check the check box it will solve your problem.
    If the above problem is not solved your solution then the check the text element output options and above and below text elemtes also check whether any new line new cell are checked or not these two doesn't need to be checked and better to
    write all the three in a single text element may be problem is with your new line & new cell options.
    If not solved your problem please mention much clear what you did so we can get much clear idea.
    Thanks,
    Phani.

  • Smartform - Command Node Issue

    Hi Super-Techies,
    I am facing a strange issue in smartform. When I am using a command node to trigger a page, in the main window 1 table needs to get triggered (but it si not triggering). When I try to print the same table without any command node (i.e. in the same page) its working fine and the table data is being displayed.  
    But when I make use of command node to trigger to new page, All other windows are getting executed except the main window table.
    Note; I have made use of 2 tables in main window. Normally 1st table should print, once new page is triggered, 2nd table should print and not the 1st one.
    Can anyone help me out of this strange issue.
    Thanks in Advance,
    Vinit

    Hi Vinit ,
       In order to print data you require upon using command node , you need to display it on a secondary window.
    Steps :
    1) create secondary window .
    2) provide table n related details .
    3) u need not have a main window (optional) ;as data in main window won't be displayed.
    This is the way I resolved the same issue .Hope it helps .
    Thanks & regards,
    Prakrita .

  • Smartforms text node in release 710

    Prior to today, I have worked with SmartForms in ECC 5.0 but now I am in ECC 6.0.  I see a major difference in SmartForms when it comes to text nodes.  What is this all about?  I can no longer drag fiields to the text node.  Now the text node opens with an, embeded, instance of MS Word.  Is this normal?  Have SmartStyles gone away?  I am royally confused.
    Regards,
    Aaron

    The only pencil icon I see says "Editor" when you hover over it and it is above the 'Check' icon.  I used the 'Insert Field' icon, adding the '&'s, and it still doesn't display the result of that field.  Any ideas?
    I now managed to get the value to come through.  I had to click the "editor" button and add the field in that editor.  It didn't work if I added the field in the first editor (the node layout).
    My problem with the character format still stands.  Also, can you not drag and drop the fields anymore?  Is there a way to go back to the old editor?  This new editor takes entirely too long to load each time you go to a new text node.
    Aaron
    Edited by: Aaron Shover on May 7, 2008 11:12 AM

  • Regarding smartforms Table & Template.

    Hi Experts..
    i want to know the difference between table and template in smartforms.
    when we have to go for table and when to template??
    Thanks & Regards,
    sathish.

    Template:
    Output of a table containing static data. That is when u know the amount of data u have (i.e. fixed data), you use a template.
    Table:
    When the data is of variable length and u dont know how many record lines u r going to have, you use a table. But u can also use the table as a dynamic template by unchecking the 'loop at internal table' check box in the data tab of the table node.
    In brief, template is for static data and table is for dynamic data.

  • Problem with smartform table node

    hi i am working on smartform,
    requirement is to put lot of barcodes , with a horizontal line separating them,
    so i felt, displaying a table pattern inside a loop was the way to go,
    but when i am setting table parameters in the details part,
    i was giving the following and it was giving error saying
    the width of matnr and barcode doesnopt correspond to the total width of the table
    the total table width is 16 CM,
    MATNR         15.50     MM     30.50     MM
    BARCODE    15.50     MM     30.50     MM
    what ever value i am giving in  these columns, it continuosly giving errors,
    if some budy has a sample parameters which worked with them, please give me,
    i shal;l make necessary changes.
    when i increase the table width it says doesnt fit in the page, page is DINA4 with portrait format.
    please help.
    rgds.

    hi check this for bar codes in smartforms..
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    regards,
    venkat

  • How to eliminate "Company" text in smartform "address" node

    Hi all,
    I got a problem.
    I want to display company address using "Organization Address" in address node.
    However, the address node displayed "Company" text automatically when company address contains incomplete info. Eg, the company address only contains city='new city' info.
    Then the address node will displayed as below:
    Company
    city
    Anyone know how to remove "Company" text if no incomplete company address data?
    Any suggestion/comment will be greatly appreciated!
    Thanks.
    best regards,
    Xiang Li Heah

    read addres using  internal tables. dont use address node..
    refer this code.
      SELECT SINGLE ADRNR FROM KNA1
      INTO ADDRNUM
      WHERE KUNNR EQ WA_VBPA1-KUNNR.
      SELECT * FROM ADRC INTO TABLE IT_ADRC
      WHERE ADDRNUMBER = ADDRNUM.
      READ TABLE IT_ADRC INTO WA_ADRC INDEX 1.
    then print wa_adrc-city.
                  wa_adrc-street like this.
    if u want to remove company andall dat is already therein fields then please contact urfunctional consultant. they will give u the tcode to remove that.
    some  usefulinformation. hopeu will get tcode from here also. to remove company from address.
    Client
    SCC4
    Tools > Administration > Administration > Client Admin > Client Maintenance
    Change the name of the client you are using (updates T000) Client Independent
    Company Code
    OX02
    IMG > Enterprise Structure > Maintain Structure > Definition > Financial Accounting > Define, copy, delete, check Company Code > Define Company Code
    Change the name, city and country to your company details (updates T001)
    Company Code Address
    OBY6
    IMG > Financial Accounting > Financial Accounting Global Settings > Company Code > Enter Global Parameters > Click on address button
    Maintain the complete address details here (updates SADR)
    Credit Control Area
    OB45
    IMG > Enterprise Structure > Maintain Structure > Definition > Financial Accounting > Maintain Credit Control Area
    Change the description (updates T014)
    Controlling Area
    OX06
    IMG > Enterprise Structure > Maintain Structure > Definition > Controlling > Maintain Controlling Area
    Change the name (updates TKA01)
    Plant
    OX10
    IMG > Enterprise Structure > Maintain Structure > Definition > Logistics u2013 General > Define, copy, delete, check plant > Define Plant. Select the plant of choice and go into the detail screen.
    Change Name 1 and Name 2 and detailed information (updates T001W)
    Plant address
    OX10
    IMG > Enterprise Structure > Maintain Structure > Definition > Logistics u2013 General > Define, copy, delete, check plant > Define Plant. Select the plant of choice and go into the detail screen. Click the address button.
    Maintain the complete address details here (updates SADR)
    Division
    OVXB
    IMG > Enterprise Structure > Maintain Structure > Definition > Logistics u2013 General > Define, copy, delete, check division > Define Division
    Change the name (update TSPA)
    Storage Location
    OX09
    IMG > Enterprise Structure > Maintain Structure > Definition > Materials Management > Maintain Storage Location
    Change the description (updates T001L)
    Purchasing Organization
    OX08
    IMG > Enterprise Structure > Maintain Structure > Definition > Materials Management > Maintain Purchasing Organization
    Change the description (updates T024E)
    Sales Organization
    OVX5
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Sales Organization > Define Sales Organization
    Change the name and replace the standard texts ADRS_* with ZXYZ_* (updates TVKO)
    Sales Organization Address
    OVX5
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Sales Organization > Define Sales Organization > Click the address button
    Maintain the complete address details here (updates SADR)
    Distribution Channel
    OVXI
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Distribution Channel > Define Distribution Channel
    Change the name (updates TVTW)
    Sales Office
    OVX1
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Maintain Sales Office
    Change the description (updates TVBUR)
    Sales Office Address
    OVX1
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Maintain Sales Office > Click the address button
    Maintain the complete address details here (updates SADR)
    Sales group
    OVX4
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Maintain Sales Group
    Change the description (updates TVKGR)
    Shipping Point
    OVXD
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Shipping Point > Define Shipping Point
    Change the description and replace the standard texts ADRS_* with ZXYZ_* (updates TVST)

  • HI Regarding smartforms

    HI,
    1.  I downloaded one smartform.
        If in that text in the text element is written ater some spaces.
        IF i upload the same form ,will the layout come same, or text in the textelements is moved left?
    2. How can i see history of changes done to the smartform layout(like username, date......)
    3.If we save the smartform in one request and after that if we delete that request or object in the request,
      can we get that information?who has done changes?
    Regards
    Ramakrishna L

    1. It will be same.
    2. From transport Requests.
    3. No
    4. Search forum for this kind of queries.

Maybe you are looking for

  • Adobe Premiere CC Trial Version "Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down." PLEASE HELP!

    Every time I open any project in Adobe Premiere CC Trial Version, I get the message "Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down. We will try to save your project." I can't edit at all and am totally stuck. Pleas

  • Export only of developped pictures

    Hi, I am a beginner in Lightroom 4.3. I loaded some folders with my pictures. In Lightroom I developed some of it, others I did not. Now I want to export only those pictures which I developed. I know, I can manually select at the bottom line all pict

  • Color profiles on export

    I've searched these forums and google for a few hours without finding a concrete answer for this problem. The problem is that, no matter what I do, every jpg I export from iphoto 08 seems to have the Adobe RGB color profile. This is contrary to what

  • Setting up PHP & MySQL (MAMP Pro?)

    I recently upgraded to Leopard on my MacBook Pro and plan on purchasing Dreamweaver, then porting my websites over from my PC. I'm now ready to set up Apache, PHP and MySQL on my Mac, but I'm not sure where to start. When I was using Tiger, I downloa

  • Acrobat 8 reinstall invalid serial number?

    I bought CS3 in 2007.Recently did a trial of CS6 which updated Acrobat. Played around with it then uninstalled. Just reinstalled Acrobat 8 from original disk, but it is saying "Invalid Serial Number". Help?