<?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 Re: function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342428#M173103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the NACE, in place of program name give the program name (function pool) , This one you can get from SE37-&amp;gt;Attributes-&amp;gt;General Data-&amp;gt;Program Name.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&lt;/P&gt;&lt;P&gt;Hope This Info Helps YOU.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2006 11:01:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-01T11:01:42Z</dc:date>
    <item>
      <title>function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342425#M173100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;     i am getting the errors when i ma attaching the SAPSCRIPT  to my function module..&lt;/P&gt;&lt;P&gt;     kindly inform me if there is error i my statements used..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZSENDMAIL_SCRIPT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                         DATABASE TABLES                             *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES : ZHR_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                    INTERNAL TABLE DECLARATIONS                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:  IT_TAB   TYPE TABLE OF ZHR_TABLE  INITIAL SIZE 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         WA_TAB    TYPE  ZHR_TABLE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         X_ITCPO   TYPE  ITCPO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         X_ITCPP1  TYPE  ITCPO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         C_ADDR_TYPE type SOEXTRECI1-ADR_TYP value 'INT',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         MAILADDRESS   type   ZHR_TABLE-EMPSUPERVISOR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         EMPNAME  TYPE   ZHR_TABLE-EMPNAME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         X_DOCDATA TYPE SODOCCHGI1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CONSTANT :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              MY_FORM(20)           TYPE C VALUE &amp;#145;ZSEND_MAIL&amp;#146;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_DEVICE_PRINTER(7)   type c value 'PRINTER',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_RESET               TYPE C VALUE ' ' ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_SEND_IMM(3)         type c value 'IMM',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_SET                 TYPE C VALUE 'X',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_MAIN(4)             type c value 'MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_NON_SPACE           type c value '',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_DOC_TYPE(3)         type c value 'RAW',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_FUNC_SET(3)         type c value  'SET',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_TYPE_BODY(4)        Type c value 'BODY',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              C_ELEMENT2(20)        TYPE C VALUE &amp;#145;SCRIPTEMPNAME&amp;#146; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                    FIELD SYMBOL DECLARATIONS                        *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS &amp;lt;FS1&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT EMPNAME EMPSUPERIOR FROM ZHR_TABLE INTO TABLE IT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP IT_TAB INTO WA_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    ASSIGN (WA_TAB-EMPNAME) TO &amp;lt;FS1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                     NAME             = WA_TAB-EMPNAME&lt;/P&gt;&lt;P&gt;                      VALUE           = &amp;lt;FS1&amp;gt;&lt;/P&gt;&lt;P&gt;                      VALUE_LENGTH    = VALUE&lt;/P&gt;&lt;P&gt;                      REPLACE_SYMBOLS = C_SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CLEAR : WA_TAB-EMPNAME.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          MAILADDRESS = WA_ITAB-EMPSUPERVISOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---- Subject of the email -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELEMENT  = C_ELEMENT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;------ Printer settings structure  -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDDEST     = C_NON_SPACE.&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDRDIDEV   = C_NON_SPACE.&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDNEWID    = C_SET.&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDSENDDATE = SY-DATUM.&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDSENDTIME = SY-UZEIT.&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDSCHEDULE = C_SEND_IMM.&lt;/P&gt;&lt;P&gt;  X_ITCPO-TDIMMED    = C_RESET.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;------- Sapscript form to be called -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FORMNAME = MY_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---" /&gt; Open form function module -&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  APPLICATION                       = 'TX'&lt;/P&gt;&lt;/LI&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_PARAMS                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    DEVICE                            = C_DEVICE_PRINTER&lt;/P&gt;&lt;P&gt;    DIALOG                            = C_RESET&lt;/P&gt;&lt;P&gt;    FORM                              = FORMNAME&lt;/P&gt;&lt;P&gt;    LANGUAGE                          = SY-LANGU&lt;/P&gt;&lt;P&gt;    OPTIONS                           = X_ITCPO&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                       =&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_APPL_OBJECT                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RAW_DATA_INTERFACE                = '*'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SPONUMIV                          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NEW_ARCHIVE_PARAMS                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    RESULT                            = X_ITCPP1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CANCELED                          = 1&lt;/P&gt;&lt;P&gt;   DEVICE                            = 2&lt;/P&gt;&lt;P&gt;   FORM                              = 3&lt;/P&gt;&lt;P&gt;   OPTIONS                           = 4&lt;/P&gt;&lt;P&gt;   UNCLOSED                          = 5&lt;/P&gt;&lt;P&gt;   MAIL_OPTIONS                      = 6&lt;/P&gt;&lt;P&gt;   ARCHIVE_ERROR                     = 7&lt;/P&gt;&lt;P&gt;   INVALID_FAX_NUMBER                = 8&lt;/P&gt;&lt;P&gt;   MORE_PARAMS_NEEDED_IN_BATCH       = 9&lt;/P&gt;&lt;P&gt;   SPOOL_ERROR                       = 10&lt;/P&gt;&lt;P&gt;   CODEPAGE                          = 11&lt;/P&gt;&lt;P&gt;   OTHERS                            = 12&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        ELEMENT                  = ELEMENT&lt;/P&gt;&lt;P&gt;        FUNCTION                 = C_FUNC_SET&lt;/P&gt;&lt;P&gt;        TYPE                     = C_TYPE_BODY&lt;/P&gt;&lt;P&gt;        WINDOW                   = C_MAIN&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        ELEMENT                  = 1&lt;/P&gt;&lt;P&gt;        FUNCTION                 = 2&lt;/P&gt;&lt;P&gt;        TYPE                     = 3&lt;/P&gt;&lt;P&gt;        UNOPENED                 = 4&lt;/P&gt;&lt;P&gt;        UNSTARTED                = 5&lt;/P&gt;&lt;P&gt;        WINDOW                   = 6&lt;/P&gt;&lt;P&gt;        BAD_PAGEFORMAT_FOR_PRINT = 7&lt;/P&gt;&lt;P&gt;        SPOOL_ERROR              = 8&lt;/P&gt;&lt;P&gt;        CODEPAGE                 = 9&lt;/P&gt;&lt;P&gt;        OTHERS                   = 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;------- calling function module close_form -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      RESULT                   = X_ITCPP2&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      UNOPENED                 = 1&lt;/P&gt;&lt;P&gt;      BAD_PAGEFORMAT_FOR_PRINT = 2&lt;/P&gt;&lt;P&gt;      SEND_ERROR               = 3&lt;/P&gt;&lt;P&gt;      SPOOL_ERROR              = 4&lt;/P&gt;&lt;P&gt;      CODEPAGE                 = 5&lt;/P&gt;&lt;P&gt;      OTHERS                   = 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---- Mail is sent using the below called F.M. -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IT_TAB -transf_bin = space.&lt;/P&gt;&lt;P&gt;      IT_TAB -head_start = 1.&lt;/P&gt;&lt;P&gt;      IT_TAB -head_num = 0.&lt;/P&gt;&lt;P&gt;      IT_TAB -body_start = 1.&lt;/P&gt;&lt;P&gt;      IT_TAB -doc_type = C_DOC_TYPE.&lt;/P&gt;&lt;P&gt;      APPEND WA_ITAB TO IT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;         DOCUMENT_DATA                    = X_DOCDATA&lt;/P&gt;&lt;P&gt;         PUT_IN_OUTBOX                    = C_SET&lt;/P&gt;&lt;P&gt;         SENDER_ADDRESS                   = MAILADDRESS&lt;/P&gt;&lt;P&gt;         SENDER_ADDRESS_TYPE              = C_ADDR_TYPE&lt;/P&gt;&lt;P&gt;         COMMIT_WORK                      = C_SET&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SENT_TO_ALL                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NEW_OBJECT_ID                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SENDER_ID                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          PACKING_LIST                    = IT_TAB.&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;   TOO_MANY_RECEIVERS                     = 1&lt;/P&gt;&lt;P&gt;   DOCUMENT_NOT_SENT                      = 2&lt;/P&gt;&lt;P&gt;   DOCUMENT_TYPE_NOT_EXIST                = 3&lt;/P&gt;&lt;P&gt;   OPERATION_NO_AUTHORIZATION             = 4&lt;/P&gt;&lt;P&gt;   PARAMETER_ERROR                        = 5&lt;/P&gt;&lt;P&gt;   X_ERROR                                = 6&lt;/P&gt;&lt;P&gt;   ENQUEUE_ERROR                          = 7&lt;/P&gt;&lt;P&gt;   OTHERS                                 = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 10:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342425#M173100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342426#M173101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raj,&lt;/P&gt;&lt;P&gt;   post us the error that you are getting ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 10:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342426#M173101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T10:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342427#M173102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the parameters which you are using is some thing wrong..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;also check the example mentioned in the documentation..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342427#M173102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342428#M173103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the NACE, in place of program name give the program name (function pool) , This one you can get from SE37-&amp;gt;Attributes-&amp;gt;General Data-&amp;gt;Program Name.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&lt;/P&gt;&lt;P&gt;Hope This Info Helps YOU.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342428#M173103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342429#M173104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = X_DOCDATA
PUT_IN_OUTBOX = C_SET
SENDER_ADDRESS = MAILADDRESS
SENDER_ADDRESS_TYPE = C_ADDR_TYPE
COMMIT_WORK = C_SET
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
* SENDER_ID =
TABLES
&amp;lt;b&amp;gt;PACKING_LIST = IT_TAB&amp;lt;/b&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_ITAB data should be of SOPCKLSTI1 type .&lt;/P&gt;&lt;P&gt;but it is differently declared..&lt;/P&gt;&lt;P&gt;some thing wrong with your coding also..&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342429#M173104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342430#M173105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is FORMNAME defined??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342430#M173105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342431#M173106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vijay,&lt;/P&gt;&lt;P&gt; can u please send me some program that converts into  the SAPSCRIPT..and sends to the particular receiver.????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 13:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342431#M173106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342432#M173107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;generally we do this way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first Get the OTF data, and then with that OTF data we cinvert PDFand then mail it. the PDF file will have the same output as script.&lt;/P&gt;&lt;P&gt;check this...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/pdf_creation.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/pdf_creation.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also give the mail id ,i will send it..&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Babu Dudla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342432#M173107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342433#M173108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vijay...&lt;/P&gt;&lt;P&gt;my mail id is ssrajkumar2004@yahoo.com..plz clear me if have doubts further..thankx in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342433#M173108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342434#M173109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your mail. i sent the same Program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342434#M173109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342435#M173110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following FM to send mails with attachments:&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM interface is veru much similar to the one you are using. So try using this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1342435#M173110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:59:29Z</dc:date>
    </item>
  </channel>
</rss>

