Fonction SAP BAPI_ADDREMPMY_SIMULATECREATIO - ESS Address Simulate Creation - Malaysia

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIP0006-SUBTY C 4 Subtype
CITY BAPIP0006-ORT01 C 40 X City
COMMNUMBER1 BAPIP0006-NUM01 C 20 X Communications number
COMMNUMBER2 BAPIP0006-NUM02 C 20 X Communications number
COMMNUMBER3 BAPIP0006-NUM03 C 20 X Communications number
COMMNUMBER4 BAPIP0006-NUM04 C 20 X Communications number
COMMTYPE1 BAPIP0006-COM01 C 4 X Communication type
COMMTYPE2 BAPIP0006-COM02 C 4 X Communication type
COMMTYPE3 BAPIP0006-COM03 C 4 X Communication type
COMMTYPE4 BAPIP0006-COM04 C 4 X Communication type
CONAME BAPIP0006-NAME2 C 40 X C/O name
COUNTRY BAPIP0006-LAND1 C 3 X Country key
DISTRICT BAPIP0006-ORT02 C 40 X District
INEMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel Number
INVALIDITYBEGIN BAPIP0006-BEGDA D 8 Start date
INVALIDITYEND BAPIP0006-ENDDA D 8 End Date
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X No Commit
POSTALCODECITY BAPIP0006-PSTLZ C 10 X Postal code
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X 2nd address line
STATE BAPIP0006-STATE C 3 X Region (State, Province, County)
STREETANDHOUSENO BAPIP0006-STRAS C 60 X House number and street
TELEPHONENUMBER BAPIP0006-TELNR C 14 X Telephone number

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel Number
LOCKINDICATOR BAPIP0006-SPRPS C 1 Lock indicator for HR master record
OBJECTID BAPIP0006-OBJPS C 2 Object identification
RECORDNUMBER BAPIP0006-SEQNR N 3 Number of infotype record with same key
RETURN BAPIRETURN1 u 470 Return Value
SUBTYPE BAPIP0006-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0006-BEGDA D 8 Start date
VALIDITYEND BAPIP0006-ENDDA D 8 End Date

Functionality
You can use this method to simulate creation of an Addressesrecord (0006). This takes Malaysian specific features into account.
During the simulation all necessary consistency checks are performed,but the record is not written to the database.

Notes
Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameterdocumentation.

Description
For information on the personnel number, read the relevant data elementdocumentation: Personnel number.

Description
For information on the lock indicator for the HR master record, readthe relevant data element documentation: Lock indicatorfor HR master record.

Description
For information on the object identification, read the relevant dataelement documentation: Object identification.

Description
For information on the infotype record number for the same key, readthe relevant data element documentation: Number ofinfotype record for same key.

Description
Method return code

Value range
In case of an error, this structure contains the following information:

  • Message type (TYPE field)

  • Message code (CODE field)

  • Message text (MESSAGE field)

  • If the operation is successful, this structure contains the initialvalue.

    Description
    For information on the subtype, read the relevant data elementdocumentation: Subtype.
    INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
    INCLUDE VALIDITYEND OBJECT DOKU ID TX

    Description
    For information on the subtype, read the relevant data elementdocumentation: Subtype.
    INCLUDE CITY OBJECT DOKU ID TX
    INCLUDE COMMNUMBER1 OBJECT DOKU ID TX
    INCLUDE COMMNUMBER2 OBJECT DOKU ID TX
    INCLUDE COMMNUMBER3 OBJECT DOKU ID TX
    INCLUDE COMMNUMBER4 OBJECT DOKU ID TX
    INCLUDE COMMTYPE1 OBJECT DOKU ID TX
    INCLUDE COMMTYPE2 OBJECT DOKU ID TX
    INCLUDE COMMTYPE3 OBJECT DOKU ID TX
    INCLUDE COMMTYPE4 OBJECT DOKU ID TX

    Description
    For information on the C/O name, read the relevant data elementdocumentation: C/O name.

    Description
    For information on the country key, read the relevant data elementdocumentation: Country key.
    INCLUDE DISTRICT OBJECT DOKU ID TX
    INCLUDE EMPLOYEENUMBER OBJECT DOKU ID TX
    INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
    INCLUDE VALIDITYEND OBJECT DOKU ID TX

    Description
    For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface.
    INCLUDE POSTALCODE OBJECT DOKU ID TX
    INCLUDE SCNDADDRESSLINE OBJECT DOKU ID TX
    INCLUDE STATE OBJECT DOKU ID TX
    INCLUDE STREETANDHOUSENO OBJECT DOKU ID TX
    INCLUDE TELEPHONENUMBER OBJECT DOKU ID TX