Fonction SAP BAPI_STUDENT_ADDRESSES_GET - Method: Determine All Addresses of the Student

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIBUS1006_ADDRESSUSAGE-ADDRESSTYPE C 10 X Address Type
OBJECTID BAPISTUDENT_HEAD-OBJID N 8 Object ID of Student
OPERATION BAPIBUS1006_ADDRESSES_INT-OPERATION C 6 X Activity for BP Address Determination
PLANVERSION BAPISTUDENT_HEAD-PLVAR C 2 X Plan Version
VALID_DATE BAPIBUS1006_VALIDITY-VALID_DATE D 8 SY-DATLO X Validity Date

Paramètre Reférence Type Long. Description
STANDARDADDRESSGUID BAPIBUS1006_ADDRESSES_INT-ADDRGUID X 16 GUID of a Business Partner Address
STANDARDADDRESSNUMBER BAPIBUS1006_ADDRESSES_INT-ADDRNUMBER C 10 Address Number
STANDARDADDRESSUSEINSTEAD BAPIBUS1006_ADDRESSES_INT-STANDARDADDRESS C 1 Indicator: Address is Standard Address

Paramètre Reférence Long. Facultatif Description
ADDRESSES BAPIBUS1006_ADDRESSES 49 X Addresses
ADDRESSES_ALL BAPIBUS1006_ADDRESSES 49 X Addresses Independent of Temporal Validity
RETURN BAPIRET2 548 X Messages

Description
This method reads the addresses of a business partner.

Note
You can determine the detailed data of an address using the methodBAPI_STUDENT_ADDRESS_GETDETAIL.
DEFINE &FB& = 'BAPI_BUPA_ADDRESSES_GET STANDARDADDRESSGUID'
INCLUDE &FB& OBJECT DOKU ID FU
DEFINE &FB& = 'BAPI_BUPA_ADDRESSES_GET STANDARDADDRESSNUMBER'
INCLUDE &FB& OBJECT DOKU ID FU
DEFINE &FB& = 'BAPI_BUPA_ADDRESSES_GET STANDARDADDRESSUSEINSTEAD'
INCLUDE &FB& OBJECT DOKU ID FU
DEFINE &FB& = 'BAPI_BUPA_ADDRESSES_GET ADDRESSTYPE'
INCLUDE &FB& OBJECT DOKU ID FU

Description
INCLUDE BAPI_KEYFIELD
DEFINE &FB& = 'BAPI_BUPA_ADDRESSES_GET OPERATION'
INCLUDE &FB& OBJECT DOKU ID FU

Description
INCLUDE BAPI_KEYFIELD

Description
Address validity date
If the date field contains the initial value (00000000), all addressesare output in the ADDRESSES table. If no date is specified, the systemuses the current date and selects the addresses valid on this date. If adate is specified, all addresses which are valid on this date are outputin the ADDRESSES table.
The ADDRESSES_ALL table always contains all addresses.

Value range
YYYYMMDD

Default
Current date

Description
This table returns all addresses of the business partner. Each line ofthe table parameter contains a unique address ID which identifies theaddress.
INCLUDE BAPI_DATAELEMENT

Description
The table contains all the addresses irrespective of whether or not theyare valid on the VALID_DATE.

Description
INCLUDE BAPI_TABLE
INCLUDE BAPI_DATAELEMENT