I am receiving the following error when trying to write values to a custom sub-type, Z1, in the P0006 infotype:
<status event-id="udi984-nds#20081217041342#1#1" level="error" type="app-general">
<description>com.novell.nds.dirxml.driver.SAPShim.BapiException: Target object '00078008' does not contain an address of the specified type.</description>
This error only occurs when trying to set the values on a user when they previously do not have any entries in the Z1 sub-type. If I set the values using the SAP GUI and the modify the values in eDirectory the modifications are successful.
The IDM user has full permissions in SAP. The schema mapping is correct because I can query SAP and compare the values when they are manually entered. I need to confirm if this is a limitation in the BAPI or a driver configuration error.
The driver can not be used to add an Address instance to the HR system. It can only be used to modify the values that already exist. This is specified in the Driver documentation in the "Overview:Subscribing from the Identity Vault" section.