Show TOC Start of Content Area

Procedure documentation Converting to Time-Dependent Maintenance  Locate the document in its SAP Library structure

This section describes what you have to do to convert an application to time-dependent maintenance of communication data.

Note

Due to downward-compatibility, the default value of the new interface parameters of the function modules is chosen in such a way that those applications that do not want time-dependent maintenance of communication data do not need to make any changes.

General Conversions

       1.      For all calls of the function modules listed in Changes to Interfaces of Existing Function Modules, make sure that the relevant interface parameters (in particular IV_CURRENT_STATE, IV_CURRENT_COMM_DATA, IV_TIME_DEPENDENCE, and IV_TIME_DEPENDENT_COMM_DATA) have been set correctly.

       2.      If the validity period of an address changes during an LUW within your application, adjust the validity period of the corresponding communication data by using a call of the function module ADDR_COMM_DATA_VALIDITY_CHANGE.

Conversions in the Dialog

...

       1.      Activate the time-dependent maintenance of the communication data by setting the parameter IV_TIME_DEPENDENCE in the function module ADDR_*_DIALOG_PREPARE.

Since the validity period of the address is saved in the corresponding application table, the validity period has to be transferred to the maintenance dialog in the import parameters IV_VALID_FROM and IV_VALID_TO of the function module ADDR_*_EXP_SUBSCREEN.

Note

The application itself has to provide an option of maintaining the validity period of the address.

       2.      If the validity period of the address changes in the dialog, you (the programmer of the application) have to adjust the validity period of the communication data by calling the function module ADDR_COMM_DATA_VALIDITY_CHANGE.

 

 

 

 

End of Content Area