Skip to Content
Former Member
Feb 18, 2017 at 01:29 PM

Inconsistency: Entry in table BAPIADUSE_X missing for entry in table BAPI

379 Views Last edit Feb 18, 2017 at 12:40 PM 4 rev

I am trying to update/delete/insert communication via BAPI_ADDRESSORG_CHANGE. I'm doing this from an external source via JCo.

Everything works fine but one kind of case:

I want to insert a fax number (for example). I get the current data via BAPI_ADDRESSORG_GETDETAIL.

I then append one row in BAPIADFAX and BAPIADFAX_X with the data and reference data. After executing BAPI_ADDRESSORG_CHANGE, table RETURN has 3 rows of Warnings with the message:

'Inconsistency: Entry in table BAPIADUSE_X missing for entry in table BAPI'.

Looking at BAPIADUSE, it has 3 rows for AD_DEFAULT, AD_HOME and AD_NMBDEFA but the wrong COMM_TYPE (is: 'TEL', should be: 'FAX').

I have two ideas about what might be the cause:

  1. I simply have to update BAPIADUSE and BAPIADUSE_X as well according to my data. But this seems to be only the case for a first-time insert, because update/delete/reinsert work flawlessly.
  2. The address or the communication data in the example is not created or initialized, i.e. it never had any data before and I have to init/create the address somehow.
    If this is the case, how do I check if this is the case?
    What is the minimum data required to create/init an address?

I would gladly appreciate any pointers in the right direction.