Programme SAP RHPAD00CHECK_WRAPPER - Test Interface for ITF Conversion Classes

Purpose
You can use this tool to test the conversion classes and the businesslogic of your decoupled infotypes. This tool is an enhanced version ofthe CHECK_PA tool.

Features

Selection
On the selection screen you can enter the parameters that are used toread all data records of an infotype and to display them on the overviewscreen.
If you select the Business Logic Only (P) option, the tool actsin the same way as the CHECK_PA transaction: The P structure isdisplayed and processed.
If you select the Business and Screen Logic (R) option, the datais also transferred to the conversion classes and the R structure isdisplayed and can be processed.

Output

Test
The overview screen lists all data records found for an infotype. Thereare several processing options:

  • Create

  • You can create a new record. A detail screen appears on which you canenter data in the PSKEY fields (for both call options) and the ITBLDfield (for Business Logic Only) for the infotype. The businesslogic is called using the specified values and a new container is madeavailable. This results in a new detail screen displaying all of thefields for the infotype. If necessary, you can change the field datahere.
    If you choose the Check icon, the business logic and theconversion classes, if applicable, attempt to save the record in thebuffer. If the message handler does not output any error messages, amessage appears indicating that this action was successful. If this isnot the case, the application log displays the error messages togetherwith a Details icon (if the business logic generates a fieldlist) so that you can see which fields generated the error message.
    If there are no errors, you can choose the Save icon to createthe new record.
    • Change

    • You can change a record that you selected on the overview screen. Adetail screen appears, displaying all of the fields for the infotype. Ifnecessary, you can change the field data here. You can also check andsave the modified record.
      • Copy

      • You can copy a record that you selected on the overview screen. A detailscreen appears, displaying all of the copied fields. If necessary, youcan change the field data here. You can also check and save the copiedrecord.
        • Delete

        • You can delete a record that you selected on the overview screen. Ifthere are no errors, the record disappears from the overview screen. Ifthis is not the case, a fullscreen application log displays the errormessages together with a Details icon (if the business logicgenerates a field list) so that you can see which fields generated theerror message.
          Note (if you select Business Logic Only): It is not possible tomove characters in number-only fields of an infotype (for example, DEC,INT). In this case, the system raises an exception. To prevent theprogram terminating, the tool (not the business logic) displays theABEND message Entry not allowed. Other number fields such as NUMCor DATS do not generate a dump. You can move characters in these fields.In other words, the business logic must process them.

          Special Notes for P Structure (If You Select Business Logic Only)

          Texts for Values
          The Change dialog box contains three columns: The name of the infotypefield, the value, and the corresponding text for the value. These textsare read by the generic text reader. If the text reader cannot find atext, the field is empty. For more information about why a text is notdisplayed, see the documentation for the reportRS_TEST_IDENTIFY_TEXT (and also thelinked documentation).
          Note: You can also use a parameter to switch off the generic text readeron the selection screen.

          PQ Conversion
          If the business logic for your infotype has implemented the PQ methodsfor the IF_HRPA_PQ_CONVERSION interface, the PQ Conversion iconappears next to the Check icon in the Change dialog box.
          If you choose this icon, a new dialog box appears that tries to convertthe PNNNN fields into QNNNN fields (PNNNN_TO_QNNNN method) and backagain (QNNNN_TO_PNNNN method).
          You should ensure that the parameters of the GET_QNNNN method are alsofilled. Otherwise, the program will terminate.

          Infotype Texts in the TX Cluster
          If your decoupled infotype can save infotype texts in the TX cluster(the INFTX indicator is set in table T582A), another icon appears nextto the Delete icon on the overview screen. If you select aninfotype record that has an X in the ITXEX field on the overviewscreen and then choose this icon, a dialog box appears with the clustertext.

          Special Notes for Testing Conversion Classes (Business and ScreenLogic)
          Only the R structure supplied by the conversion classes is displayed inthe test mode of the tool and not the P structure of the infotype. Ifyou want to display the P structure, you must select the BusinessLogic Only (P) option on the selection screen.

          Additional Columns on the Detail Screen
          The third column contains a magnifying glass icon if there is value helpfor this field from the conversion classes. You can call the completevalue help with multiple columns by choosing F4 in the actual entryfield; clicking the magnifying glass icon calls the value help with twocolumns. The value help from DDIC is not displayed; instead, the valuesreturned by the conversion classes are shown.
          The fourth column displays the metadata delivered by the conversionclasses (Mandatory Field, Do Not Display, Not Modifiable).

          Additional Information on the Detail Screen
          If the infotype has a table structure, this is shown in the lower partof the detail screen. If the infotype has several table structures, anadditional button is displayed so that you can switch between thedifferent structures. Note that using Check and Save alsoaffects the table structures that are not currently shown. If a changeis made in a table structure other than the structure currently shown,this change is nevertheless transferred to the conversion class.
          If a new line is added in the table structure, value help is no longeravailable and the metadata (such as "Not Modifiable") is also displayedincorrectly. Once you enter a value in one of the fields of the new lineand choose "Check", the value help and metadata are filled correctly.