<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873161#M674165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname           = 'YJSMARTSHEET'
  IMPORTING
    fm_name            = call1
  EXCEPTIONS
    no_form            = 1
    no_function_module = 2
    OTHERS             = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*data it1 type tline occurs 0 with header line .




LOOP AT itab1.
  CALL FUNCTION call1
    EXPORTING
*   ARCHIVE_INDEX              =
*   ARCHIVE_INDEX_TAB          =
*   ARCHIVE_PARAMETERS         =
   control_parameters         = st_control_parameters
*   MAIL_APPL_OBJ              =
*   MAIL_RECIPIENT             =
*   MAIL_SENDER                =
   output_options             = st_output_options
*   USER_SETTINGS              = 'X'
      pernr                      = itab1-pernr
      paycd                      = paycd
      werks                      = itab1-werks
      empname                    = itab1-sname
      stat                       = itab1-stat
      cc                         = itab1-cc
      pe                         = itab1-begda
      contno                     = contno
 IMPORTING
   document_output_info       = st_document_output_info
   job_output_info            = tab_otf_data
   job_output_options         = st_job_output_options
 EXCEPTIONS
   formatting_error           = 1
   internal_error             = 2
   send_error                 = 3
   user_canceled              = 4
   OTHERS                     = 5
            .
  IF sy-subrc &amp;lt;&amp;gt; 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[].


 DELETE tab_otf_data-otfdata WHERE tdprintcom = '//'.

  READ TABLE tab_otf_final WITH KEY tdprintcom = 'EP'.
    my_tabix = sy-tabix + 1.

  INSERT LINES OF tab_otf_data-otfdata INTO tab_otf_final INDEX my_tabix.
  my_tabix = sy-tabix + 1.
  INSERT LINES OF tab_otf_final INTO tab_otf_data-otfdata INDEX my_tabix.

*
ENDLOOP.







CALL FUNCTION 'CONVERT_OTF_2_PDF'
  IMPORTING
    bin_filesize           = v_bin_filesize
  TABLES
    otf                    = tab_otf_final[]
    doctab_archive         = it_docs
    lines                  = it_lines
  EXCEPTIONS
    err_conv_not_possible  = 1
    err_otf_mc_noendmarker = 2
    OTHERS                 = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

*CALL FUNCTION 'CONVERT_OTF'
* EXPORTING
*   FORMAT                      = 'PDF'
*   MAX_LINEWIDTH               = 132
**   ARCHIVE_INDEX               = ' '
**   COPYNUMBER                  = 0
**   ASCII_BIDI_VIS2LOG          = ' '
* IMPORTING
*   BIN_FILESIZE                = bin_filesize
*   BIN_FILE                    = bin_file
*  TABLES
*    otf                         = tab_otf_data-otfdata
*    lines                       = it_lines
** EXCEPTIONS
**   ERR_MAX_LINEWIDTH           = 1
**   ERR_FORMAT                  = 2
**   ERR_CONV_NOT_POSSIBLE       = 3
**   ERR_BAD_OTF                 = 4
**   OTHERS                      = 5
*          .
*IF sy-subrc &amp;lt;&amp;gt; 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
**



*........................GET THE FILE NAME TO STORE....................*

CONCATENATE 'smrt' '.pdf' INTO v_name.

CREATE OBJECT v_guiobj.
CALL METHOD v_guiobj-&amp;gt;file_save_dialog
  EXPORTING
    default_extension = 'pdf'
    default_file_name = v_name
    file_filter       = v_filter
  CHANGING
    filename          = v_name
    path              = v_path
    fullpath          = v_fullpath
    user_action       = v_uact.

IF v_uact = v_guiobj-&amp;gt;action_cancel.
  EXIT.
ENDIF.

*..................................DOWNLOAD AS FILE....................*
MOVE v_fullpath TO v_filename.

CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    bin_filesize            = v_bin_filesize
    filename                = v_filename
    filetype                = 'BIN'
  TABLES
    data_tab                = it_lines
  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 &amp;lt;&amp;gt; 0.
*     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code but still its downloading only last pernr smartform into pdf and that too twice may i know the reason and how do i download the smartforms of the given pernr into a same pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagrut Bharatkumar Shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2007 09:11:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-08T09:11:47Z</dc:date>
    <item>
      <title>smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873161#M674165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname           = 'YJSMARTSHEET'
  IMPORTING
    fm_name            = call1
  EXCEPTIONS
    no_form            = 1
    no_function_module = 2
    OTHERS             = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*data it1 type tline occurs 0 with header line .




LOOP AT itab1.
  CALL FUNCTION call1
    EXPORTING
*   ARCHIVE_INDEX              =
*   ARCHIVE_INDEX_TAB          =
*   ARCHIVE_PARAMETERS         =
   control_parameters         = st_control_parameters
*   MAIL_APPL_OBJ              =
*   MAIL_RECIPIENT             =
*   MAIL_SENDER                =
   output_options             = st_output_options
*   USER_SETTINGS              = 'X'
      pernr                      = itab1-pernr
      paycd                      = paycd
      werks                      = itab1-werks
      empname                    = itab1-sname
      stat                       = itab1-stat
      cc                         = itab1-cc
      pe                         = itab1-begda
      contno                     = contno
 IMPORTING
   document_output_info       = st_document_output_info
   job_output_info            = tab_otf_data
   job_output_options         = st_job_output_options
 EXCEPTIONS
   formatting_error           = 1
   internal_error             = 2
   send_error                 = 3
   user_canceled              = 4
   OTHERS                     = 5
            .
  IF sy-subrc &amp;lt;&amp;gt; 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[].


 DELETE tab_otf_data-otfdata WHERE tdprintcom = '//'.

  READ TABLE tab_otf_final WITH KEY tdprintcom = 'EP'.
    my_tabix = sy-tabix + 1.

  INSERT LINES OF tab_otf_data-otfdata INTO tab_otf_final INDEX my_tabix.
  my_tabix = sy-tabix + 1.
  INSERT LINES OF tab_otf_final INTO tab_otf_data-otfdata INDEX my_tabix.

*
ENDLOOP.







CALL FUNCTION 'CONVERT_OTF_2_PDF'
  IMPORTING
    bin_filesize           = v_bin_filesize
  TABLES
    otf                    = tab_otf_final[]
    doctab_archive         = it_docs
    lines                  = it_lines
  EXCEPTIONS
    err_conv_not_possible  = 1
    err_otf_mc_noendmarker = 2
    OTHERS                 = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

*CALL FUNCTION 'CONVERT_OTF'
* EXPORTING
*   FORMAT                      = 'PDF'
*   MAX_LINEWIDTH               = 132
**   ARCHIVE_INDEX               = ' '
**   COPYNUMBER                  = 0
**   ASCII_BIDI_VIS2LOG          = ' '
* IMPORTING
*   BIN_FILESIZE                = bin_filesize
*   BIN_FILE                    = bin_file
*  TABLES
*    otf                         = tab_otf_data-otfdata
*    lines                       = it_lines
** EXCEPTIONS
**   ERR_MAX_LINEWIDTH           = 1
**   ERR_FORMAT                  = 2
**   ERR_CONV_NOT_POSSIBLE       = 3
**   ERR_BAD_OTF                 = 4
**   OTHERS                      = 5
*          .
*IF sy-subrc &amp;lt;&amp;gt; 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
**



*........................GET THE FILE NAME TO STORE....................*

CONCATENATE 'smrt' '.pdf' INTO v_name.

CREATE OBJECT v_guiobj.
CALL METHOD v_guiobj-&amp;gt;file_save_dialog
  EXPORTING
    default_extension = 'pdf'
    default_file_name = v_name
    file_filter       = v_filter
  CHANGING
    filename          = v_name
    path              = v_path
    fullpath          = v_fullpath
    user_action       = v_uact.

IF v_uact = v_guiobj-&amp;gt;action_cancel.
  EXIT.
ENDIF.

*..................................DOWNLOAD AS FILE....................*
MOVE v_fullpath TO v_filename.

CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    bin_filesize            = v_bin_filesize
    filename                = v_filename
    filetype                = 'BIN'
  TABLES
    data_tab                = it_lines
  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 &amp;lt;&amp;gt; 0.
*     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code but still its downloading only last pernr smartform into pdf and that too twice may i know the reason and how do i download the smartforms of the given pernr into a same pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagrut Bharatkumar Shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 09:11:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873161#M674165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T09:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873162#M674166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY THIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab1.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION call1&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   control_parameters         = st_control_parameters&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   output_options             = st_output_options&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      pernr                      = itab1-pernr&lt;/P&gt;&lt;P&gt;      paycd                      = paycd&lt;/P&gt;&lt;P&gt;      werks                      = itab1-werks&lt;/P&gt;&lt;P&gt;      empname                    = itab1-sname&lt;/P&gt;&lt;P&gt;      stat                       = itab1-stat&lt;/P&gt;&lt;P&gt;      cc                         = itab1-cc&lt;/P&gt;&lt;P&gt;      pe                         = itab1-begda&lt;/P&gt;&lt;P&gt;      contno                     = contno&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   document_output_info       = st_document_output_info&lt;/P&gt;&lt;P&gt;   job_output_info            = tab_otf_data&lt;/P&gt;&lt;P&gt;   job_output_options         = st_job_output_options&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   formatting_error           = 1&lt;/P&gt;&lt;P&gt;   internal_error             = 2&lt;/P&gt;&lt;P&gt;   send_error                 = 3&lt;/P&gt;&lt;P&gt;   user_canceled              = 4&lt;/P&gt;&lt;P&gt;   OTHERS                     = 5&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  tab_otf_final[] = tab_otf_data-otfdata[].&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; DELETE tab_otf_data-otfdata WHERE tdprintcom = '//'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  READ TABLE tab_otf_final WITH KEY tdprintcom = 'EP'.&lt;/P&gt;&lt;P&gt;    my_tabix = sy-tabix + 1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  INSERT LINES OF tab_otf_data-otfdata INTO tab_otf_final INDEX my_tabix.&lt;/P&gt;&lt;P&gt;  my_tabix = sy-tabix + 1.&lt;/P&gt;&lt;P&gt;  INSERT LINES OF tab_otf_final INTO tab_otf_data-otfdata INDEX my_tabix.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_OTF_2_PDF'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    bin_filesize           = v_bin_filesize&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    otf                    = tab_otf_final[]&lt;/P&gt;&lt;P&gt;    doctab_archive         = it_docs&lt;/P&gt;&lt;P&gt;    lines                  = it_lines&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    err_conv_not_possible  = 1&lt;/P&gt;&lt;P&gt;    err_otf_mc_noendmarker = 2&lt;/P&gt;&lt;P&gt;    OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;........................GET THE FILE NAME TO STORE....................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLEAR v_name.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE &amp;lt;b&amp;gt;itab1-pernr&amp;lt;/b&amp;gt; 'smrt' '.pdf' INTO v_name.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CREATE OBJECT v_guiobj.&lt;/P&gt;&lt;P&gt;CALL METHOD v_guiobj-&amp;gt;file_save_dialog&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    default_extension = 'pdf'&lt;/P&gt;&lt;P&gt;    default_file_name = v_name&lt;/P&gt;&lt;P&gt;    file_filter       = v_filter&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    filename          = v_name&lt;/P&gt;&lt;P&gt;    path              = v_path&lt;/P&gt;&lt;P&gt;    fullpath          = v_fullpath&lt;/P&gt;&lt;P&gt;    user_action       = v_uact.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF v_uact = v_guiobj-&amp;gt;action_cancel.&lt;/P&gt;&lt;P&gt;  EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..................................DOWNLOAD AS FILE....................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MOVE v_fullpath TO v_filename.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    bin_filesize            = v_bin_filesize&lt;/P&gt;&lt;P&gt;    filename                = v_filename&lt;/P&gt;&lt;P&gt;    filetype                = 'BIN'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    data_tab                = it_lines&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    file_write_error        = 1&lt;/P&gt;&lt;P&gt;    no_batch                = 2&lt;/P&gt;&lt;P&gt;    gui_refuse_filetransfer = 3&lt;/P&gt;&lt;P&gt;    invalid_type            = 4&lt;/P&gt;&lt;P&gt;    no_authority            = 5&lt;/P&gt;&lt;P&gt;    unknown_error           = 6&lt;/P&gt;&lt;P&gt;    header_not_allowed      = 7&lt;/P&gt;&lt;P&gt;    separator_not_allowed   = 8&lt;/P&gt;&lt;P&gt;    filesize_not_allowed    = 9&lt;/P&gt;&lt;P&gt;    header_too_long         = 10&lt;/P&gt;&lt;P&gt;    dp_error_create         = 11&lt;/P&gt;&lt;P&gt;    dp_error_send           = 12&lt;/P&gt;&lt;P&gt;    dp_error_write          = 13&lt;/P&gt;&lt;P&gt;    unknown_dp_error        = 14&lt;/P&gt;&lt;P&gt;    access_denied           = 15&lt;/P&gt;&lt;P&gt;    dp_out_of_memory        = 16&lt;/P&gt;&lt;P&gt;    disk_full               = 17&lt;/P&gt;&lt;P&gt;    dp_timeout              = 18&lt;/P&gt;&lt;P&gt;    file_not_found          = 19&lt;/P&gt;&lt;P&gt;    dataprovider_exception  = 20&lt;/P&gt;&lt;P&gt;    control_flush_error     = 21&lt;/P&gt;&lt;P&gt;    OTHERS                  = 22.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 09:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873162#M674166</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-10-08T09:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873163#M674167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your valuable info,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need all the pernr into one pdf &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagrut bharatkumar shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 09:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873163#M674167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T09:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873164#M674168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is ur smartform coming with all PERNRs? I mean in print preview, can u see all in diff pages?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 09:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873164#M674168</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-10-08T09:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873165#M674169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes all pernrs are in different smartforms or pages but i want all those pages into one pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagrut Bharatkumar Shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 10:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873165#M674169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T10:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873166#M674170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I think you are trying to print no of copies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is your requirment..&lt;/P&gt;&lt;P&gt;Pass a parameter for no of copies in function module like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_c_copies type i &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; do ws_c_copies.&lt;/P&gt;&lt;P&gt; *Call your function module  &lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please rewards if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 04:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/2873166#M674170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T04:26:23Z</dc:date>
    </item>
  </channel>
</rss>

