D.1 Change Mode Notes

The following sections describe the driver’s behavior for each event type and change mode.

D.1.1 <remove-all-values> command

The following operations occur when a <remove-all-values/> element exists in a <modify-attr> command. This is a non-standard XDS Subscriber operation that is generate by a policy.

Delimit Mode

The driver obtains a list of all active values of the specified Infotype record. The driver delimits the validity of each instance (set ENDDA) to current date -1. This is the standard SAP delimitation method. If BEGDA is equal to the current date, the value is deleted. This is also standard functionality.

Delete Mode

The driver obtains a list of all active values of the specified Infotype record and deletes each instance.

Change Mode

The driver obtains a list of all active values of the specified Infotype record and deletes each instance.

D.1.2 <remove-value> command without accompanying <add-value>

The following operations occur when a <remove-value> element without an accompanying <add-value> element exists in a <modify-attr> command. This is the format of a standard Subscriber value remove XDS event.

Delimit Mode

The driver obtains a list of all active values of the specified Infotype record. The driver tries to match the existing values to the removed value. If a match is found, the driver delimits the validity of the matching value to (current date -1.)

Delete Mode

The driver obtains a list of all active values of the specified Infotype record. The driver tries to match the existing values to the removed value. If a match is found, the driver deletes the matching value.

Change Mode

The driver obtains a list of all active values of the specified Infotype record. The driver tries to match the existing values to the removed value. If a match is found, the driver deletes the matching value.

D.1.3 <remove-value> command with accompanying <add-value>

The following operations occur when a <remove-value> element with an accompanying <add-value> element exists in a <modify-attr> command. This is the format of a standard Subscriber value change XDS format.

Delimit Mode

The driver obtains a list of all active values of the specified Infotype record. The driver tries to match the existing values to the removed value. If a match is found, the driver delimits the validity of the matching value to (current date -1.) If the added value is not already an active value, the added value is created.

Delete Mode

The driver obtains a list of all active values of the specified Infotype record. The driver tries to match the existing values to the removed value. If a match is found, the driver deletes the matching value. If the added value is not already an active value, the added value is created.

Change Mode

The driver obtains a list of all active values of the specified Infotype record. The driver tries to match the existing values to the removed value. If a match is found, the driver changes the matching value to the added value. If a match is not found, the driver deletes the removed value. If the added value is not already an active value, the added value is created.

D.1.4 <add-value> command without prior <remove-value>

If the added value is not already an active value, the driver creates the added Infotype for all modes.

NOTE:This new functionality is only available on SAP R/3 version 4.6A or later and on all Web Application Server versions. On 4.5 systems (no support prior to 4.5B) the driver uses the BAPI_HRMASTER_SAVE_REPL_MULT function for all operations. <remove-value> and <remove-all-value> operations remove all values of the specified Communication Subtype. <add-value> operations remove all values of the Communication Subtype and create a new value with a BEGDA of (current date) and an ENDDA of 99991231.