Show TOC Start of Content Area

Background documentation General Maintenance Modules  Locate the document in its SAP Library structure

ADDR_GET, ADDR_PERSONAL_GET, and ADDR_PERS_COMP_GET

These function modules return the default telephone and fax number in the return structure ADDRESS_*_VALUE. However, the state in table ADRC or ADCP is the state of the first validity interval and therefore not necessarily the current state. On the other hand, if you wanted to determine the current state, this would require two additional database accesses.

For this reason, the new import parameter IV_CURRENT_COMM_DATA exists, which can have the following values:

·        IV_CURRENT_COMM_DATA = SPACE (default)

The database returns the telephone and fax number that are in table ADRC or ADCP.

·        IV_CURRENT_COMM_DATA = 'X'

The current default telephone and fax number are returned.

ADDR_COMM_GET, ADDR_PERSONAL_COMM_GET, and ADDR_PERS_COMP_COMM_GET

These function modules also return the time validity of the communication numbers to table COMM_TABLE. For more information, see Technical Basics.

In addition, there are the following new interface parameters:

·        The table ET_USAGE contains the time validity of the default indicator.

·        The parameter IV_CURRENT_STATE can have the following values:

¡        IV_CURRENT_STATE = SPACE

All numbers and default indicators are returned.

¡        IV_CURRENT_STATE = 'X' (Default)

Only the current numbers and default indicators are returned. In addition, the fields FLGDEFAULT, HOME_FLAG, and R3_USER in the table COMM_TABLE have the current state.

ADDR_GET_COMPLETE, ADDR_PERSONAL_GET_COMPLETE, and ADDR_PERS_COMP_GET_COMPLETE

These function modules now also return the validity period of the communication numbers to the communication data tables of the return structures ADDR1_COMPLETE, ADDR2_COMPLETE, and ADDR3_COMPLETE. For more information, see Technical Basics.

In addition, the component ADRU_TAB was added to the return structures ADDR1_COMPLETE, ADDR2_COMPLETE, and ADDR3_COMPLETE. The validity period of the default indicators is returned to this component.

These function modules contain the new import parameter IV_CURRENT_COMM_DATA. This parameter can have the following values:

·        IV_CURRENT_ COMM_DATA = SPACE

All numbers and default indicators are returned.

·        IV_CURRENT_COMM_DATA = 'X' (default)

Only the current numbers and default indicators are returned. In addition, the fields FLGDEFAULT, HOME_FLAG, and R3_USER in the communication data tables of the return structures ADDR1_COMPLETE, ADDR2_COMPLETE, and ADDR3_COMPLETE have the current state.

ADDR_COMM_MAINTAIN, ADDR_PERSONAL_COMM_MAINTAIN, and ADDR_PERS_COMP_COMM_MAINTAIN

The time validity of the communication numbers can now also be transferred to these function modules in the table COMM_TABLE. For more information, see Technical Basics.

New Interface Parameters

In addition, there are the following new interface parameters:

·        Table IT_USAGE: Changes to the validity period of the default indicators can be transferred in this table.

·        Table ET_USAGE_OUT: The validity period of the default indicators is returned after they have been changed.

Caution

Unlike in tables COMM_TABLE and COMM_TABLE_OUT, entries and their resulting changes cannot be assigned one-to-one in IT_USAGE. (Inserting a validity period, for example, could generate multiple entries in table ADRU.) For this reason, the complete validity period of all default indicators is returned in table ET_USAGE_OUT.

The new import parameter IV_TIME_DEPENDENCE can have the following values:

·        IV_TIME_DEPENDENCE = SPACE (default)

Entries for the validity period are ignored. Every new communication number is created with unrestricted validity. The validity period of existing numbers is not changed automatically.

·        IV_TIME_DEPENDENCE = 'X'

Complete, time-dependent maintenance is possible without restrictions.

ADDR_MAINTAIN_COMPLETE, ADDR_PERSONAL_MAINTAIN_COMPL, ADDR_PERS_COMP_MAINTAIN_COMPL, and ADDR_CAM1_MAINTAIN_COMPLETE

In the communication data tables of the return structures ADDR1_COMPLETE, ADDR2_COMPLETE, and ADDR3_COMPLETE, the validity period of the communication numbers can be returned with these function modules. For more information, see Technical Basics.

In addition, the component ADRU_TAB was added to the return structures ADDR1_COMPLETE, ADDR2_COMPLETE, and ADDR3_COMPLETE. The validity period of the default indicators can be returned in this component.

The component was also added to the return structures ADDR1_COMPLETE_OUT, ADDR2_COMPLETE_OUT, and ADDR3_COMPLETE_OUT. In ADDR1_COMPLETE_OUT-ADRU_TAB, ADDR2_COMPLETE_OUT-ADRU_TAB, and ADDR3_COMPLETE_OUT-ADRU_TAB, the complete state of the validity period of the default indicators is returned (in the same way as for table ET_USAGE in the ADDR_*_COMM_MAINTAIN modules).

The new import parameter IV_TIME_ DEPENDENT_COMM_DATA can have the following values:

·        IV_TIME_DEPENDENT_COMM_DATA = SPACE (default)

Entries for the validity period are ignored. Every new communication number is created with unrestricted validity. The validity period of existing numbers is not changed automatically.

·        IV_TIME_DEPENDENT_COMM_DATA = 'X' (default)

Complete, time-dependent maintenance is possible without restrictions.

 

 

 

 

End of Content Area