SAP Program RSSTARWC - CATT: Prepare collective test

Description
You can execute CATT mass tests using this report. Only CATTprocedures, not test modules, can be selected because the successfulexecution of test modules generally requires certain customizingsettings which need not be present. If you want to execute the testmodules on their own, you can do so in the CATT transaction SCAT.
The selection screen first offers you a list of CATT procedures by testprocedure number, component, person responsible, context, language,country, and creator or changer.
The selection Component assignment combines the 4.0B selectionfields Application, Subapplication and Component.The three values are now combined in one field, connected by '-'. Ifthe selection is restricted to e.g Application and Subapplication,enter 'AP-SUB*' in the new component assignment selection field.

  • Use

  • If only the field No restrictions is marked in this group, testprocedures are selected independently of the use specified in the 'Use'attribute.
    The use in the attributes can be selected from the fieldsIndividual test Application test and Platform test
    .
    • Test status

    • You can also choose only those CATT procedures which have or have not atest status, or select by Test period or Test system inwhich the selected test status was assigned.
      If the test status was not assigned to a CATT procedure within thespecified period, this CATT procedure is not selected.
      If you want to select CATTs independently of their test status, youmust enter "*" in the 'Test status' field and clear both test periodfields. The test status is stored in the table CATQ.
      You can call the program RSCATPRF, which lists the test status of aprocedure, via the 'Test status' function in the test caseattribute 'Extras' menu.
      The status of a procedure can be PASS, FAIL or untested.
      In this program, the test status "untested" is indicated by no teststatus entry. If you enter PAFA, all CATT procedures which passed orfailed a test, but not untested ones, are selected.
      Procedure variants also have a test status, which are taken intoaccount when the with variant test status flag is set. Theresulting global test status is determined as follows: If the defaultparameter set or an active variant has the status "untested", the wholeprocedure is "untested". If the procedure is not "untested", theprocedure has the status "FAIL" if the default parameter set or atleast one variant is a "FAIL". Only if the default parameter set andall variants are "PASS" is the global test status "PASS". The globaltest date is then the test date of the variant (or default parameterset) which determined the global test status. In the case of severalsuch dates, the oldest is chosen. If the with variant test status
      flag is not set, the test status of the default parameter set andits test date apply.
      • Variants

      • If neither of the two flags is set, only the default parameter set isexecuted for the selected procedures. By marking the Execute allvariants as well flag, all active variants of the selectedprocedures are executed, as well as the default parameter set. If theOnly execute variant xx flag is set, only procedures for whichvariant xx is active (xx is a variant ID) are selected. In this case,only the selected variant is executed, not the default parameter set.Executing one selected variant for all selected procedures is useful ifparameters represent classifications, e.g. by country or trade, and allselected procedures have this special parameter set in the same variantnumber.
        • Sequence control

        • If the user does not agree with the proposed sequence, he or she canenter a value between 1 and 4 in the CATT attribute field Context
          . 1 is the first header step, and 4 the last. For the trailer,values between 6 and 9 can be assigned. These CATT procedures are thenexecuted before or after the selection respectively.
          Only one of the 4 sequence controls offered should be selected.Otherwise an error message is issued.
          If no sequence is chosen, all CATT procedures are chosen according tothe selection made. If these include CATT procedures with a header ortrailer, it is taken into account in the execution sequence.
          If the Total heaer/Total trailer field is marked, all CATTprocedures which have the header flag 1 or 2 or the trailer flag 8 or 9are included additionally, regardless of the selection made.
          If CATT procedures with header values 3 or 4 are to be selected, theymust satisfy the selection conditions.
          If the Without Header/Trailer field is marked, all CATTprocedures with a header or trailer flag are removed from theselection. Only CATT procedures without context flags remain.
          If the Only select header field is marked, only CATT procedureswhich satisfy the specified selection conditions, and have a headerflag, are selected.
          If the Only select trailer field is marked, only CATT procedureswhich satisfy the specified selection conditions, and have a trailerflag, are selected.
          • Processing

          • If the List processing desired field is marked, the user canstill remove CATT procedures from the mass test execution selectionmade.
            Marking the with run-time statistics button causes a minimum,average and maximum run-time to be output for each CATT procedure.These data result from timings made during previous executions of theCATT procedures in the current system. Variants are not taken intoaccount in the run-time summation of all selected procedures. The sameapplies to procedures which have never, or not recently, been executedin the current system. They are classified as 'new'.
            The with termination flag field specifies that the terminationflag is always set, regardless of the values in the individualprocedures. A procedure is terminated the first time that an erroroccurs, and all transactions run in the 'Background'.
            The For archiving field specifies whether the logs created areflagged for archiving. Until 4.0B this was linked to the assignment ofthe test status, but is now independent. Check that 'Long log' is set,as the log type is also now independent of archiving.
            In Log, you can choose between a "Long log", a "Short log" or nolog.
            A "Long log" is indicated by L, a short log S. The default value set bythe system is S. If no log is to be output, the entry S must beremoved.
            Processing modes can be "Foreground", "Background" or"Background until first error message".
            "Foreground" is A, "Background" N and "Background until first errormessage" E. Other possible entries are X for 'Asynchronous update' andY for 'Synchronous but not local'.
            You can make entries to find the log later in the log history in theProcedure and Short text fields.
            You can specify in the Maximum run-time in minutes field, howmany minutes run-time should be allowed for the execution of the chosenCATT procedures.
            If the minute limit is reached, the current CATT procedure is completednormally and only then is the mass test ended. Subsequently scheduledCATT procedures are no longer executed.
            The field is empty by default. This means that there is no run-timerestriction.
            Another R/3 System can be specified as remote call destination in theRFC destination field. It overwrites any destination in the userparameter RFC ID. To deactivate an RFC ID for the current run , i.e.run locally, enter the destination 'NONE'.

            Precondition
            Test statuses can be assigned, but require authorization.