
R/3 Enhancement: Customer-Specific Tables
Use
The SAP Enhancement MYCAT02 allows you to transfer customer-specific tables from SAP R/3 to Offline Travel Expenses.
For example, you may want to use the contents of certain tables to complete customer-specific checks.
![]()
If you want to transfer data from SAP R/3 to Offline Travel Expenses, you must create tables with the same structures in both SAP R/3 as well as the Offline Repository for Offline Travel Expenses (Files
The SAP enhancement MYCATS02 contains the following elements:
The contents of the table are transferred to a customer-specific table in the Offline Repository (ci_tables.xml) for Offline Travel Expenses.
Example: ABAP Source Code
*----------------------------------------------------------------------*
* INCLUDE ZXMYCU05 *
*----------------------------------------------------------------------*
data: reference_to_my_table type ref to data,
my_table type ty_my_table,
my_table_ln type line of my_table.
field-symbols: <my_table> type any table,
<field> type any.
create data reference_to_my_table type ty_my_table.
assign reference_to_my_table->* to <my_table>.
*fill my_table
my_table_ln-... = ...
append my_table_ln to my_table.
my_table_ln-... = ...
append my_table_ln to my_table.
...
.....
...
<my_table> = my_table.
assign component 1 of structure reference_table to <field>.
<field> = 'Z_MY_TABLE'.
assign component 2 of structure reference_table to <field>.
<field> = reference_to_my_table.
append reference_table.