<?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: SAMT  Transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092168#M435107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were exactly am i suppose to write all these sub routines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2007 11:07:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-09T11:07:06Z</dc:date>
    <item>
      <title>SAMT  Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092166#M435105</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;Can ne1 tel me how SAMT transaction works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 10:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092166#M435105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T10:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAMT  Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092167#M435106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See the doc:&lt;/P&gt;&lt;P&gt;ABAP Program Mass Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction SAMT allows you to perform tests on sets of associated programs.&lt;/P&gt;&lt;P&gt;To do this, you specify a subroutine which you call with an external PERFORM for each individual program.&lt;/P&gt;&lt;P&gt;A program name and the associated TRDIR entry is then passed to a test subroutine.&lt;/P&gt;&lt;P&gt;If the test detects any problem, it analyzes the information, error or warning and outputs a note on the program location (external PERFORM SAMT_HINT(SAPRSAMT)).&lt;/P&gt;&lt;P&gt;One note can have several messages consisting of any amount of text (external PERFORM SAMT_MESSAGE(SAPRSAMT)).&lt;/P&gt;&lt;P&gt;For documentation about writing these subroutines, refer to the program documentation for RSAMTFEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transporting tests&lt;/P&gt;&lt;P&gt;This function allows you to transport a test to another system, but the system transports only a table entry, not the associated test program.&lt;/P&gt;&lt;P&gt;Transported tests are usually displayed in green.&lt;/P&gt;&lt;P&gt;These transports are only deleted irrevocably if the deletion was alsotransported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating program sets&lt;/P&gt;&lt;P&gt;With this function, you create a program set belonging to a particular test. You can describe the set on the next selection screen.&lt;/P&gt;&lt;P&gt;If you want to enable certain program sets with a complicated selection to be created several times, you can define a variant of the program RSAMTSEL (in the usual way).&lt;/P&gt;&lt;P&gt;If you want to determine the program set according to different criteria, you can use your own subroutine. This must be part of the main program for the test, have the name DETERMINE_PROGRAMSET and the following interface:&lt;/P&gt;&lt;P&gt;  FORM DETERMINE_PROGRAMSET.&lt;/P&gt;&lt;P&gt;         TABLES   P_PROGRAMS  TYPE PROGRAMS&lt;/P&gt;&lt;P&gt;         USING    P_FORM      TYPE FORM&lt;/P&gt;&lt;P&gt;         CHANGING P_SHORTTEXT TYPE SHORTTEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing a test&lt;/P&gt;&lt;P&gt;The subroutine belonging to the test is called for each program in a program set (in alphabetical order).&lt;/P&gt;&lt;P&gt;Since locks are set, several different sessions can perform tests on the same program set at the same time. This means you can reduce considerably the total amount of time needed to process a program set.&lt;/P&gt;&lt;P&gt;There is also a function to execute tests in the background.&lt;/P&gt;&lt;P&gt;The function for performing a test on all machines initiates the scheduling of a background job that executes a test on all "suitable" machines (with RFC). Since this function increases the load on the entire system considerably, this type of background job should only be run at night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying a program set&lt;/P&gt;&lt;P&gt;This function creates a new version of an existing program set. You can execute the test for all the programs concerned. In this way, you can detect any change in the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extracting a program set&lt;/P&gt;&lt;P&gt;With this function, you create a new program set from an existing program set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extracting a program set&lt;/P&gt;&lt;P&gt;With this function, you create a new program set from an existing program set.&lt;/P&gt;&lt;P&gt;For example, you can extract just the programs that cause errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying a program set to another test&lt;/P&gt;&lt;P&gt;This function copies a program set from one test to another test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User statistics&lt;/P&gt;&lt;P&gt;If you want to determine the persons responsible for all the program classes and development classes of the selected programs, you can generate a list of all the relevant user names.&lt;/P&gt;&lt;P&gt;This is accompanied by statistics giving the number of programs, informations, warnings and errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code statistics&lt;/P&gt;&lt;P&gt;You can also generate a statistic containing all the notes codes that have occurred.&lt;/P&gt;&lt;P&gt;The text for a code is any first line of a note belonging to the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can branch to the relevant results display from either the user statistic or the code statistic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying the results&lt;/P&gt;&lt;P&gt;There are two types of results display - standard display and private display using your own program.&lt;/P&gt;&lt;P&gt;You can reduce the standard display by specifying certain criteria.&lt;/P&gt;&lt;P&gt;If you want to perform non-standard results analyses, you can handle the display and processing of test results yourself. To do this, you call the program containing the test subroutine directly (with SUBMIT ... VIA SELECTION-SCREEN). The test, program set and version IDs are then passed via memory.&lt;/P&gt;&lt;P&gt;Since this involves a lot of programming and assumes some knowledge of the structure of results tables, you are advised against such results analysis.&lt;/P&gt;&lt;P&gt;Instead, you should make a development request for this transaction in order to get any defective function included in the standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Editing&lt;/P&gt;&lt;P&gt;By double-clicking on a message for a note in the standard display, you can go into the ABAP/4 editor and jump to the relevant place in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 10:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092167#M435106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T10:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAMT  Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092168#M435107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were exactly am i suppose to write all these sub routines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092168#M435107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAMT  Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092169#M435108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation for SAMT transaction explains its functionality and it goes like this......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Program Mass Processing&lt;/P&gt;&lt;P&gt;Transaction SAMT allows you to perform tests on sets of associated programs.&lt;/P&gt;&lt;P&gt;To do this, you specify a subroutine which you call with an external PERFORM for each individual program.&lt;/P&gt;&lt;P&gt;A program name and the associated TRDIR entry is then passed to a test subroutine.&lt;/P&gt;&lt;P&gt;If the test detects any problem, it analyzes the information, error or warning and outputs a note on the program location (external PERFORM SAMT_HINT(SAPRSAMT)).&lt;/P&gt;&lt;P&gt;One note can have several messages consisting of any amount of text (external PERFORM SAMT_MESSAGE(SAPRSAMT)).&lt;/P&gt;&lt;P&gt;For documentation about writing these subroutines, refer to the program documentation for RSAMTFEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transporting tests&lt;/P&gt;&lt;P&gt;This function allows you to transport a test to another system, but the system transports only a table entry, not the associated test program.&lt;/P&gt;&lt;P&gt;Transported tests are usually displayed in green.&lt;/P&gt;&lt;P&gt;These transports are only deleted irrevocably if the deletion was alsotransported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating program sets&lt;/P&gt;&lt;P&gt;With this function, you create a program set belonging to a particular test. You can describe the set on the next selection screen.&lt;/P&gt;&lt;P&gt;If you want to enable certain program sets with a complicated selection to be created several times, you can define a variant of the program RSAMTSEL (in the usual way).&lt;/P&gt;&lt;P&gt;If you want to determine the program set according to different criteria, you can use your own subroutine. This must be part of the main program for the test, have the name DETERMINE_PROGRAMSET and the following interface:&lt;/P&gt;&lt;P&gt;  FORM DETERMINE_PROGRAMSET.&lt;/P&gt;&lt;P&gt;         TABLES   P_PROGRAMS  TYPE PROGRAMS&lt;/P&gt;&lt;P&gt;         USING    P_FORM      TYPE FORM&lt;/P&gt;&lt;P&gt;         CHANGING P_SHORTTEXT TYPE SHORTTEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing a test&lt;/P&gt;&lt;P&gt;The subroutine belonging to the test is called for each program in a program set (in alphabetical order).&lt;/P&gt;&lt;P&gt;Since locks are set, several different sessions can perform tests on the same program set at the same time. This means you can reduce considerably the total amount of time needed to process a program set.&lt;/P&gt;&lt;P&gt;There is also a function to execute tests in the background.&lt;/P&gt;&lt;P&gt;The function for performing a test on all machines initiates the scheduling of a background job that executes a test on all "suitable" machines (with RFC). Since this function increases the load on the entire system considerably, this type of background job should only be run at night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying a program set&lt;/P&gt;&lt;P&gt;This function creates a new version of an existing program set. You can execute the test for all the programs concerned. In this way, you can detect any change in the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extracting a program set&lt;/P&gt;&lt;P&gt;With this function, you create a new program set from an existing program set.&lt;/P&gt;&lt;P&gt;For example, you can extract just the programs that cause errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying a program set to another test&lt;/P&gt;&lt;P&gt;This function copies a program set from one test to another test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User statistics&lt;/P&gt;&lt;P&gt;If you want to determine the persons responsible for all the program classes and development classes of the selected programs, you can generate a list of all the relevant user names.&lt;/P&gt;&lt;P&gt;This is accompanied by statistics giving the number of programs, informations, warnings and errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code statistics&lt;/P&gt;&lt;P&gt;You can also generate a statistic containing all the notes codes that have occurred.&lt;/P&gt;&lt;P&gt;The text for a code is any first line of a note belonging to the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can branch to the relevant results display from either the user statistic or the code statistic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying the results&lt;/P&gt;&lt;P&gt;There are two types of results display - standard display and private display using your own program.&lt;/P&gt;&lt;P&gt;You can reduce the standard display by specifying certain criteria.&lt;/P&gt;&lt;P&gt;If you want to perform non-standard results analyses, you can handle the display and processing of test results yourself. To do this, you call the program containing the test subroutine directly (with SUBMIT ... VIA SELECTION-SCREEN). The test, program set and version IDs are then passed via memory.&lt;/P&gt;&lt;P&gt;Since this involves a lot of programming and assumes some knowledge of the structure of results tables, you are advised against such results analysis.&lt;/P&gt;&lt;P&gt;Instead, you should make a development request for this transaction in order to get any defective function included in the standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Editing&lt;/P&gt;&lt;P&gt;By double-clicking on a message for a note in the standard display, you can go into the ABAP/4 editor and jump to the relevant place in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refreshing&lt;/P&gt;&lt;P&gt;You can refresh display lists at any time. This makes changes made by other modi visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward Points if helpful,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tejas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 11:09:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/samt-transaction/m-p/2092169#M435108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T11:09:16Z</dc:date>
    </item>
  </channel>
</rss>

