<?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: regarding insert report statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214933#M134499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Try this if you want to generate a source code. Let me know whether this si fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : o_pgeditor type ref to cl_wb_pgeditor,&lt;/P&gt;&lt;P&gt;       progname like TRDIR-NAME,&lt;/P&gt;&lt;P&gt;       source type SEDI_SOURCE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD o_pgeditor-&amp;gt;read_source&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    source_name             = program_name&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    SOURCE_TAB              = source[]&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    CANCELLED               = 1&lt;/P&gt;&lt;P&gt;    NOT_FOUND               = 2&lt;/P&gt;&lt;P&gt;    READ_PROTECTED          = 3&lt;/P&gt;&lt;P&gt;    others                  = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Apr 2006 09:12:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-21T09:12:18Z</dc:date>
    <item>
      <title>regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214931#M134497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   Is there any Function Module to insert the source code in the program.&lt;/P&gt;&lt;P&gt;   I know we have Insert Report statement..&lt;/P&gt;&lt;P&gt;   I have the source code in an internal table...&lt;/P&gt;&lt;P&gt;   If I pass this itab into FM then this has to create the program...&lt;/P&gt;&lt;P&gt;   I Like to know whether there is any FM to do the same functionality..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;  phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 09:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214931#M134497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T09:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214932#M134498</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;  You can use fm  &amp;lt;b&amp;gt;CIF_PROGRAM_INSERT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Pass the internal table which is populated with code to the tables parameters, give program name, package, title name etc in the importing parameters. This creates the new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 09:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214932#M134498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T09:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214933#M134499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Try this if you want to generate a source code. Let me know whether this si fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : o_pgeditor type ref to cl_wb_pgeditor,&lt;/P&gt;&lt;P&gt;       progname like TRDIR-NAME,&lt;/P&gt;&lt;P&gt;       source type SEDI_SOURCE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD o_pgeditor-&amp;gt;read_source&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    source_name             = program_name&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    SOURCE_TAB              = source[]&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    CANCELLED               = 1&lt;/P&gt;&lt;P&gt;    NOT_FOUND               = 2&lt;/P&gt;&lt;P&gt;    READ_PROTECTED          = 3&lt;/P&gt;&lt;P&gt;    others                  = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 09:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214933#M134499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T09:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214934#M134500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Phani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this document&lt;/P&gt;&lt;P&gt;this will help your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT REPORT prog FROM itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Inserts the program prog from the internal table itab into the library. The internal table itab contains the source code; the lines of the table cannot be more than 72 characters long. The program attributes (type, date, ...) are set by the system, but you can change them manually or in the program (table TRDIR ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Runtime errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT_PROGRAM_INTERNAL_NAME : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program name prog is reserve internally; it begins with '%_T' . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT_PROGRAM_NAME_BLANK : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program name prog must not contain any blanks characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT_PROGRAM_NAME_TOO_LONG : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program name prog is too long; it cannot be more than 8 characters long. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT_REPORT_LINE_TOO_LONG : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the source code lines is longer than 72 characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 09:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214934#M134500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T09:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214935#M134501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sailaja,&lt;/P&gt;&lt;P&gt;  Thanks for sending me the information...&lt;/P&gt;&lt;P&gt;  Is there any FM to insert the source code in the FM...&lt;/P&gt;&lt;P&gt;  Iam creating a FM Using the text files... &lt;/P&gt;&lt;P&gt;  AM able to upload all the data like import, export parameters etc...except the source code...&lt;/P&gt;&lt;P&gt;  Will you pls tell me if is there any FM do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks and regards&lt;/P&gt;&lt;P&gt;   phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 09:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214935#M134501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214936#M134502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ - Read a program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;READ REPORT prog INTO itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related &lt;/P&gt;&lt;P&gt;INSERT REPORT, DELETE REPORT, SYNTAX-CHECK, GENERATE REPORT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All standard commands are used to read and generate report etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 11:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214936#M134502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T11:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214937#M134503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function Module you need for inserting code into Function Module source code is &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RS_FUNCTIONMODULE_INSERT&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give the FM name , FM group and the short text as exporting parameters . In the tables parameter there is a field named SOURCE.&lt;/P&gt;&lt;P&gt;Just create an internal table of type rssource and give the source code in the table.Pass this table as tables parameter SOURCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 12:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214937#M134503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T12:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: regarding insert report statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214938#M134504</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; Why are you unable to upload sourcecode when you are uploading the import, export, table parameters? &lt;/P&gt;&lt;P&gt;which function module are you using to populate them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 12:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-insert-report-statement/m-p/1214938#M134504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-21T12:08:07Z</dc:date>
    </item>
  </channel>
</rss>

