Ansicht
Dokumentation

RPR_CREATE_RESOURCE_FILES - Offline Application: Create Resource Files

RPR_CREATE_RESOURCE_FILES - Offline Application: Create Resource Files

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Create Resource File (Language Resource Files) for Offline Applications

Purpose

This report creates the resource fules for offline applications such as the Offline Travel Manager.

Thse files contains the language-independent texts required by the ITS to execute a service in a particular language. The HTML templates contain place holders instead on the programmed language-specific texts, which are stored in the appropriate language resource files. When each template is used, the ITS recognises the place holders and replaces these with the correct text, in the correct language, from the appropriate language resource file.

The language resource file names have the following format: _.htrc.

Integration

Prerequisites

To be able to use the texts, already available for the corresponding online applications in R/3, in the offline application, the report determines these texts from the ABAP dictionary. The exact dictionary objects used are defined using the function module interface parameters for the application. These parameters are entered in the selection screen of the report. (The offline Travel Manager uses the individual values BAPI_TRIP* and MODIFY_RECEIPT; The resource files supplied with the standard Offline Travel Manager application are created using selection variant SAP&PR05).

The report also interprets the text table PTRV_OFFLINE_TXT, which stores the language-dependent texts for the fields/place holders that

  • are not in the ABAP dictionary

or

  • are in the ABAP dictionary, but are to be replaced by a different text in the offline application.

You can change customer specific texts in the offline application using table PTRV_OFFLINE_TXT; If you do this you must then recreate the language resource files using this report. This also applies to texts for customer-specific fields that are required offline.

Features

Selection

The Application (for example PR05 for the Offline Travel Management) must be defined in table PTRV_APPL_KEY. This defines the access to table PTRV_OFFLINE_TXT.

The language key defines for which languages the resource files should be created.

The function module and its interface define which texts should be created from the ABAP dictionary; In addition to this you can also select the text length.

The file name determines the path and name of the language resource file, using the convention _xx.htrc; The report enters in the relevant language key name: <service>_de.htrcm,_en.htrc ...

Standard Variants

The resource files, supplied with the Offline Travel Manager application, are created with variant SAP6PR05.

Output

Resource File Name(s) created by the report

Activities

Example






Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3151 Date: 20240520 Time: 131608     sap01-206 ( 64 ms )