Ansicht
Dokumentation

BAPI_BUPA_ADDRESS_GET_NUMBERS - SAP BP, BAPI: Read Address Numbers

BAPI_BUPA_ADDRESS_GET_NUMBERS - SAP BP, BAPI: Read Address Numbers

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI determines the address data that is missing in the case of for the address data used for identifying a business partner address.
The following address data is affected:

  • ADDR_NO
  • ADDRESSGUID
  • EXTERNALADDRESSNUMBER (if applicable)
The following missing address data is determined
  • ADDR_NO_OUT

  • ADDRESSGUIDOUT

  • EXTERNALADDRESSNUMBEROUT (if available in the system)

The business partner is identified in the BUSINESSPARTNER parameter.

Any errors that occur are logged and issued in the RETURN table parameter.

Time Dependency

If only the business partner is stated, then the data for the standard address is returned. If no validity date is stated, then the current date is used and the relevant valid standard address returned.

If a validity date is entered, the address data valid at this time is returned. If this address is not valid at this time, an error message is returned. If a move address is defined for this address, and it is valid, then it is returned.

If only the address GUID without a date is entered, the relevant data of this address is always returned.

Example

The address GUID is transferred to the BAPI in the ADDRESSGUID import parameter. The address number is returned in the ADDR_NO_OUT parameter. Should you require it, and provided it is available in the system, the external address number is returned in the EXTERNALADDRESSNUMBEROUT parameter.

Notes

Further information





Parameters

ADDRESSGUID
ADDRESSGUIDOUT
ADDR_NO
ADDR_NO_OUT
BUSINESSPARTNER
EXTERNALADDRESSNUMBER
EXTERNALADDRESSNUMBEROUT
RETURN
VALID_DATE

Exceptions

Function Group

BUBA_3

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3042 Date: 20240523 Time: 095450     sap01-206 ( 40 ms )