<?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: Create new modus with same content which the current modus in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402030#M194271</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 problem is that i want to take the whole current content from the transaction, f.e. VA01 order creation with all positions ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;TomSd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2006 14:49:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-13T14:49:49Z</dc:date>
    <item>
      <title>Create new modus with same content which the current modus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402028#M194269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a possibility to create a new modus with the same content as the current modus?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;TomSd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 13:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402028#M194269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T13:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create new modus with same content which the current modus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402029#M194270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may create new mode with the same transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure, that you may just "copy-paste" the content from one mode into another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create new mode with the same transaction, you may use the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: l_current_tcode like sy-tcode.

move sy-tcode to l_current_tcode.


    CALL FUNCTION 'TH_CREATE_MODE'
      EXPORTING
        transaktion    = l_current_tcode
        del_on_eot     = 1
*        PARAMETERS     = l_pars
        process_dark   = 'X'
      IMPORTING
*        mode           =  
      EXCEPTIONS
        max_sessions   = 1
        internal_error = 2
        no_authority   = 3
        OTHERS         = 4.
    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;What transaction do you need to display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Cyrill Smirnov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 14:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402029#M194270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create new modus with same content which the current modus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402030#M194271</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 problem is that i want to take the whole current content from the transaction, f.e. VA01 order creation with all positions ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;TomSd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 14:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402030#M194271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create new modus with same content which the current modus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402031#M194272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, that it's not possible, unfortunetaly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 15:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-modus-with-same-content-which-the-current-modus/m-p/1402031#M194272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T15:03:09Z</dc:date>
    </item>
  </channel>
</rss>

