Fonction SAP BAPI_ADDRESSEMPJP_REQUEST - Address Japan: Create locked record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESS1STLINE BAPIP0006-ORT01 C 40 X 1st line of address
ADDRESS2NDLINE BAPIP0006-ORT02 C 40 X 2nd line of address
ADDRESS3RDLINE BAPIP0006JP-ADDRESS3RDLINE C 40 X 3rd line of address
ADDRESSKANA1ST BAPIP0006-OR1KK C 40 X 1st line of address (Katakana)
ADDRESSKANA2ND BAPIP0006-OR2KK C 40 X 2nd line of address (Katakana)
ADDRESSKANA3RD BAPIP0006-LOCAT C 40 X 3rd line of address (Katakana)
ADDRESSKANA4TH BAPIP0006-ADR04 C 40 X 4th line of address (Katakana)
ADDRESSTYPE BAPIP0006-SUBTY C 4 Address type
CITY BAPIP0006-ORT01 C 40 X This is not used in Japan
COMMNUMBER1 BAPIP0006-NUM01 C 20 X Other comuunication media number
COMMTYPE1 BAPIP0006-COM01 C 4 X Other communication media
COMPANYOWNEDAPT BAPIP0006-WKWNG C 1 X Shataku
CONAME BAPIP0006-NAME2 C 40 X Contact name
CONTACTNAMEKATAKANA BAPIP0006-CONKK C 40 X Contact name (Katakana)
COUNTRY BAPIP0006-LAND1 C 3 X Country
DISTRICT BAPIP0006-ORT02 C 40 X This is not used in Japan
EMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel number
MUNICIPALCITYCODE BAPIP0006-RCTVC C 6 X Municipal city code
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
POSTALCODECITY BAPIP0006-PSTLZ C 10 X Postal code
RELATIONSHIP BAPIP0006-INDRL C 2 X Relationship with contact person
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X This is not used in Japan
SHIKUCHOUSON BAPIP0006-COUNC C 3 X Shikuchouson code
STATE BAPIP0006-STATE C 3 X Prefecture
STREETANDHOUSENO BAPIP0006-STRAS C 60 X This is not used in Japan
TELEPHONENUMBER BAPIP0006-TELNR C 14 X Telephone number
VALIDITYBEGIN BAPIP0006-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0006-ENDDA D 8 Valid to date

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
RETURN BAPIRETURN1 u 470 Structure for return code
SUBTYPE BAPIP0006-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0006-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0006-ENDDA D 8 Valid to date

Functionality
You can use this method to create a locked 'Addresses' record (0006)for an employee in Japan.
It enables you to implement the "double verification principle" inconjunction with the APPROVE method. According to this principle, atleast two users must take part in writing an active record to thedatabase. One user creates a locked record using the REQUEST method.The other user unlocks or 'activates' this record using the APPROVEmethod.

Notes
INCLUDE BAPI_RET
The key fields used by the method are described in the parameterdocumentation.
You can use this method only if you have called the ENQUEUE method ofthe business object EMPLOYEE beforehand.

Further information
For more information on the ENQUEUE method, read the documentation onthe function module BAPI_EMPLOYEE_ENQUEUE.
For more information on the APPROVE method, read the documentation onthe function module BAPI_ADDRESSEMP_APPROVE.

Description
For information on the personnel number, see the corresponding dataelement documentation personnel number.

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

Description
For information on the object identification, see the correspondingdata element documentation: object identification.

Description
For information on the number of an infotype record with the same key,see the corresponding data element documentation: Numberof infotype record with same key

Description
Return code for method

Value range
If an error occurs, this structure contains the following information:

  • Message type (field TYPE)

  • Message code (field CODE)

  • Message text (field MESSAGE)

  • If there are no errors, the field string is blank.

    Description
    For information on the subtype, see the corresponding data elementdocumentation: Subtype.

    Description
    For information on the meaning of the subtype, see the correspondingdata element documentation: Subtype

    Description
    This parameter is not used in Japan. Please use ADDRESS1STLINEparameter instead.

    Description
    For information on the communication type, read the relevant dataelement documentation: Communication type

    Description
    For more information on the company-owned apartment, see the relevantdata element documentation: Company-owned apartment

    Description
    For information on the C/O name, see the corresponding data elementdocumentation: C/O name
    .

    Description
    For information on the contact person, see the relevant data elementdocumentation: Contact person

    Description
    For information on the country key, see the corresponding data elementdocumentation: country key .

    Description
    This parameter is not used in Japan. Please use ADDRESS2NDLINEparameter instead.

    Description
    For information on the personnel number, see the corresponding dataelement documentation personnel number.

    Description
    For information on the municipal city code, see the relevant dataelement documentation: Municipal city code

    Description
    For information on the COMMIT control, see the corresponding dataelement documentation COMMIT control at BAPIinterface.

    Description
    This parameter contains the Japanese postal code.

    Value range
    The Japanese postal code has the following template:

    3 digits_4 digits
    Default

    Description
    For information on the relationship, see the relevant data elementdocumentation: Relationship

    Description
    This parameter is not used in Japan. Please use ADDRESSKANA3RDparameter instead.

    Description
    For information on the county code, read the relevant data elementdocumentation: County code

    Description
    For information on the region, see the corresponding data elementdocumentation: Region.

    Description
    This parameter is not used in Japan. Please use ADDRESS3RDLINE parameterinstead.