Installing a custom SAP ABAP plug-in

To enable Rational® Integration Tester to be able to record IDocs and enable the watch mode subscriptions, you must install and configure the plug-in that is provided with Rational® Test Control Panel.

Before you begin

Download and extract the SAP IDoc ABAP plugin package that is provided with Rational® Test Control Panel (referred to as SAPABAP hereinafter). For more information, see Rational Integration Tester tool packages.

Procedure

  1. In the SE11 transaction on the SAP GUI, create structures by using the files available in the /SAPABAP/structures folder, as shown in the following table:
    OptionDescription
    ZRGTPTS_RANGE_DOCNUM
    RGTPTS_RANGE_DOCNUM (screen capture): ZRGTPTS_RANGE_DOCNUM window
    ZOGTCSS_IDOC_STATUS
    ZOGTCSS_IDOC_STATUS (screen capture): ZOGTCSS_IDOC_STATUS window
    ZOGTCSS_IDOC_DIRECTION
    ZOGTCSS_IDOC_DIRECTION (screen capture): ZOGTCSS_IDOC_DIRECTION window
    ZOGTCSS_IDOC_PPPRN
    ZOGTCSS_IDOC_PPPRN (screen capture): ZOGTCSS_IDOC_PPPRN window
    ZRGTITS_SEL_MESTYP
    ZRGTITS_SEL_MESTYP (screen capture): ZRGTITS_SEL_MESTYP window
    ZRGTITS_SEL_UPDTIMSTMP
    ZRGTITS_SEL_UPDTIMSTMP (Screen capture): ZRGTITS_SEL_UPDTIMSTMP window
    ZRGTT_GREENHAT_EDIDD
    ZRGTT_GREENHAT_EDIDD (Screen capture): ZRGTT_GREENHAT_EDIDD
  2. In the transaction SE37 on the SAP GUI, create a new Function module labeled Z_RGT_GREENHAT_IDOC_SEND and configure it as described in the following steps:
    1. Copy the content from \SAPABAP\Z_RGT_GREENHAT_IDOC_SEND.txt and paste them into the fields.
    2. For Rational® Integration Tester to be able to access the Function module, it should be remote-enabled. To achieve this, open the Attributes tab and set Processing Type to Remote-Enabled Module.
      Attributes (screen capture): Attributes
    3. Open the Import tab. Copy the import parameters from /SAPABAP/Import Parameters.txt and paste them into the fields. Ensure that the Optional and Pass Value check boxes are selected.
      Sample import parameters (screen capture): Import parameters
    4. Open the Export tab. Copy the export parameters from /SAPABAP/Export Parameters.txt and paste them into the fields. Ensure that the Pass Value check box is selected.
      Sample export parameters (screen capture): Export parameters
    5. Open the Tables tab and populate the cells with the values from the following table:
      Parameter Name Type spec. Associated Type Optional Short text
      RANGE_DOCNUM LIKE ZRGTPTS_RANGE_DOCNUM Yes Range Structure for IDoc Number
      RANGE_STATUS LIKE ZOGTCSS_IDOC_STATUS Yes Range Structure for Idoc Status
      RANGE_DIRECTION LIKE ZOGTCSS_IDOC_DIRECTION Yes Range Structure for Idoc direction
      RANGE_PPPRN LIKE ZOGTCSS_IDOC_PPPRN Yes Range Structure for Idoc partner ID
      RANGE_MESTYP LIKE ZRGTITS_SEL_MESTYP Yes Select-option Message type
      RANGE_TIMESTAMP LIKE ZRGTITS_SEL_UPDTIMSTMP No Select-option for idoc creation timestanmp
      RESULT_TAB LIKE ZRGTT_GREENHAT_EDIDD Yes Data segment for Idoc extraction to ...
      CONTROL_TAB LIKE EDIDC Yes Data record (IDoc)
      You have successfully installed and configured the SAP ABAP plug-in for Rational® Integration Tester.