Inicio del área de contenido

Documentación de función Sending Customer-Specific Tables or Standard Texts to CATS notebook Localizar documento en árbol de navegación

Use

You can use the MYCATS02 SAP enhancement to implement the following enhancements:

Nota

In both cases, you must create tables with identical structures in SAP R/3 and the offline repository of CATS notebook to be able to transfer data from SAP R/3 to CATS notebook.

The MYCATS02 SAP enhancement consists of the following elements:

Transferring customer-specific tables to CATS notebook

If you want to transfer data in a customer-specific table to CATS notebook, to use it for customer-specific checks, for example, you have to proceed in the same way as you would to transfer standard texts.

CATS notebook checks the name of the table you transfer using the MYCATS02 SAP enhancement:

Transferring standard texts to CATS notebook

  1. Create the file ci_types.xml in the offline repository of CATS notebook.
  2. In the ci_types.xml file, define the following table:

<type name="Z_STANDARD_TEXT" basetype="char" length="80"/>

<type name="Z_COUNTER_STD_TEXT" basetype="char" length="3"/>

<type name="Z_STANDARD_TEXT_ID" basetype="char" length="15"/>

<type name="Z_LANGU" basetype="char" length="1"/>

  1. Create the file ci_tables.xml in the offline repository of CATS notebook.
  1. Define the following types in the ci_tables.xml file:

<columns>

<column name="PERNR" type="T_PERNR_D"/>

<column name="STANDARD_TEXT_ID" type="Z_STANDARD_TEXT_ID"/>

<column name="COUNTER" type="Z_COUNTER_STD_TEXT"/>

<column name="LANGU" type="Z_LANGU"/>

<column name="TEXT" type="Z_STANDARD_TEXT"/>

</columns>

  1. Define the following index in the ci_tables.xml file. In CATS notebook, picklists are always dependent on the personnel number. The PERNR field must therefore always come first.
  2. <indicees>

    <index name="primary" isprimary="yes">

    <index-column name="PERNR"/>

    <index-column name="POSID"/>

    </index>

    </indicees>

  3. Use the CREATE DATA command in the MYCATS02 SAP enhancement to create a table (see the example) and use the field symbols to create a reference to the table. When creating the reference, use Z_PICKLIST_STND_TXT as the table name.
  4. The first column of the table must contain the personnel number. It must be named PERNR and be of the NUMC 8 category.

  5. Enter the required texts in the Z_PICKLIST_STND_TXT table (see the example).

 

 

Fin del área de contenido