<?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: FM RS_CORR_INSERT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195949#M129667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have used the same function in one of my program&lt;/P&gt;&lt;P&gt;  but not to transport table entries for programs.&lt;/P&gt;&lt;P&gt;  See my sampl code and hope accordingly u can use for&lt;/P&gt;&lt;P&gt;  table entries too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: dg_abap_devclass(30) type c.
* related to CORR_INSERT function
data: devclass       like tadir-devclass,
      korrnum        like e070-trkorr,
      author         like  sy-uname,
      transport_key  like  trkey,
      dg_abap(40) type c.

  call function 'RS_CORR_INSERT'
       exporting
            object             = dg_abap  "trdir-name
            object_class       = 'ABAP'  "object_class
            mode               = 'MODIFY'  "operation
            global_lock        = space  "global
            master_language    = 'E'  "trdir-rload
            devclass           = dg_abap_devclass
            korrnum            = space  "korrnum
            extend             = space  "extending
       importing
            transport_key      = transport_key
            korrnum            = korrnum
            devclass           = dg_abap_devclass
       exceptions
            cancelled          = 01
            permission_failure = 02.                        "#EC *
  if sy-subrc &amp;gt;&amp;lt; 0.
    message s130 with trdir-name.
  endif.

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Siri.&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>Wed, 01 Feb 2006 17:45:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-01T17:45:49Z</dc:date>
    <item>
      <title>FM RS_CORR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195947#M129665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;         This is my second post concerning the same question.&lt;/P&gt;&lt;P&gt;I've inserted some entries in a database table. In that report, i also have a transport request number(User enters this on the selection screen, after creating one from se09).&lt;/P&gt;&lt;P&gt;Since this report runs only on DEV system, the appended&lt;/P&gt;&lt;P&gt;entries need to be passed to T and P system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i need to use this transport request number in my report and associate it with the table in which i've appended the entries. So that changes will be transferred to the subsequent system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relevant FM should be RS_CORR_INSERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help what all parameters should i pass?&lt;/P&gt;&lt;P&gt;And have anyone of you came across such situation b4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2006 04:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195947#M129665</guid>
      <dc:creator>rohit_trivedi</dc:creator>
      <dc:date>2006-01-31T04:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: FM RS_CORR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195948#M129666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The right way to do this is to define the database table as a customizing table ("C") and to create a maintenance dialog.&lt;/P&gt;&lt;P&gt;When you will enter data to that table using the created maintenance dialog, the system will ask you for a change request number automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sefy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 17:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195948#M129666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T17:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: FM RS_CORR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195949#M129667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have used the same function in one of my program&lt;/P&gt;&lt;P&gt;  but not to transport table entries for programs.&lt;/P&gt;&lt;P&gt;  See my sampl code and hope accordingly u can use for&lt;/P&gt;&lt;P&gt;  table entries too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: dg_abap_devclass(30) type c.
* related to CORR_INSERT function
data: devclass       like tadir-devclass,
      korrnum        like e070-trkorr,
      author         like  sy-uname,
      transport_key  like  trkey,
      dg_abap(40) type c.

  call function 'RS_CORR_INSERT'
       exporting
            object             = dg_abap  "trdir-name
            object_class       = 'ABAP'  "object_class
            mode               = 'MODIFY'  "operation
            global_lock        = space  "global
            master_language    = 'E'  "trdir-rload
            devclass           = dg_abap_devclass
            korrnum            = space  "korrnum
            extend             = space  "extending
       importing
            transport_key      = transport_key
            korrnum            = korrnum
            devclass           = dg_abap_devclass
       exceptions
            cancelled          = 01
            permission_failure = 02.                        "#EC *
  if sy-subrc &amp;gt;&amp;lt; 0.
    message s130 with trdir-name.
  endif.

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Siri.&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>Wed, 01 Feb 2006 17:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-rs-corr-insert/m-p/1195949#M129667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T17:45:49Z</dc:date>
    </item>
  </channel>
</rss>

