Fonction SAP BAPI_ADDRESSEMPDK_REQUEST - Create Locked Employee Address Record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIP0006-SUBTY C 4
BUS_ROUTE BAPIP0006-BUSRT C 3 X
CITY BAPIP0006-ORT01 C 40 X
CITY_DISTRICT BAPIP0006LDK-CITY_DISTRICT C 40 X City/district (katakana)
COMMNUMBER1 BAPIP0006LDK-COMMNUMBER1 C 20 X Communication Number
COMMNUMBER2 BAPIP0006LDK-COMMNUMBER2 C 20 X Communication Number
COMMNUMBER3 BAPIP0006LDK-COMMNUMBER3 C 20 X Communication Number
COMMNUMBER4 BAPIP0006LDK-COMMNUMBER4 C 20 X Communication Number
COMMNUMBER5 BAPIP0006LDK-COMMNUMBER5 C 20 X Communication Number
COMMNUMBER6 BAPIP0006LDK-COMMNUMBER6 C 20 X Communication Number
COMMTYPE1 BAPIP0006LDK-COMMTYPE1 C 4 X Communication type
COMMTYPE2 BAPIP0006LDK-COMMTYPE2 C 4 X Communication type
COMMTYPE3 BAPIP0006LDK-COMMTYPE3 C 4 X Communication type
COMMTYPE4 BAPIP0006LDK-COMMTYPE4 C 4 X Communication type
COMMTYPE5 BAPIP0006LDK-COMMTYPE5 C 4 X Communication type
COMMTYPE6 BAPIP0006LDK-COMMTYPE6 C 4 X Communication type
COMPANY_APARTMENT BAPIP0006-WKWNG C 1 X
CONAME BAPIP0006-NAME2 C 40 X
COUNTRY BAPIP0006-LAND1 C 3 X
COUNTY_CDE BAPIP0006LDK-COUNTY_CDE C 3 X County code
DISTANCE BAPIP0006-ENTKM P 2 X
DISTANCE2 BAPIP0006-ENTK2 P 2 X
DISTRICT BAPIP0006-ORT02 C 40 X
EMPLOYEENUMBER BAPIP0006-PERNR N 8
HOUSE_ID BAPIP0006LDK-HOUSE_ID C 10 X Identification of an apartment in a building
HOUSE_NO BAPIP0006LDK-HOUSE_NO C 10 X House number
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X
POSTALCODECITY BAPIP0006-PSTLZ C 10 X
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X
STATE BAPIP0006-STATE C 3 X
STREETANDHOUSENO BAPIP0006-STRAS C 60 X
TELEPHONENUMBER BAPIP0006-TELNR C 14 X
VALIDITYBEGIN BAPIP0006-BEGDA D 8
VALIDITYEND BAPIP0006-ENDDA D 8

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0006-PERNR N 8
LOCKINDICATOR BAPIP0006-SPRPS C 1
OBJECTID BAPIP0006-OBJPS C 2
RECORDNUMBER BAPIP0006-SEQNR N 3
RETURN BAPIRETURN1 u 470
SUBTYPE BAPIP0006-SUBTY C 4
VALIDITYBEGIN BAPIP0006-BEGDA D 8
VALIDITYEND BAPIP0006-ENDDA D 8

Functionality
Using this method, you can create a locked data record for theAddresses infotype.
You can combine the APPROVE method to apply the "four eyes principle".According to this principle, at least two users are involved whenwriting an active data record on the data base. One of the users usesthe REQUEST method to create a locked infotype record. The other userunlocks (activates) the data record with the APPROVE method.

Notes
Messages are returned in the RETURN parameter. The return values andtheir meaning are available in the parameter documentation.
The key fields used by the method are described under the parameters.
This method can only be used if the ENQUEUE method in the businessobject EMPLOYEE was called. For more information on the ENQUEUEmethod, refer to the function module documentation:BAPI_EMPLOYEE_ENQUEUE.
For more information ont he APPROVE method, refer to the functionmodule documentation BAPI_ADDRESSEMP_APPROVE.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
INCLUDE BAPI_TABLE

Value range
Messages on data input
Type,,ID,,Code,,Message
E,,PA,,017,,Applicant number not yet assigned.
E,,PG,,001,,Personnel number not yet assigned.
E,,PG,,009,,No data stored for record in selected period.
E,,PG,,184,,The employee/applicant is not yet locked.
E,,PG,,429,,Not possible to specify a view indicator for
,,,,,,applicant.
E,,PG,,430,,The employee is assigned to a different view
,,,,,,indicator.
E,,RP,,060,,The personnel number(s) could not be locked.
Other types of messages
Type,,ID,,Code,,Message
A,,PN,,018,,Cannot determine database table of the infotype.
E,,PG,,428,,A complex application error has occurred.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
For information on the subtype, refer to the relevant data elementdocumentation: Subtype.

Description
City

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, etc.

Description
Communication type

Description
Communication type

Description
Communication type

Description
Communication type

Description
Communication type

Description
Communication type

Description
For information on C/O-Name, refer to the relevant data elementdocumentation: C/O-Name
.

Description
For information on the country key, refer to the relevant data elementdocumentation: Country key
.

Description
District
INCLUDE BAPI_KEYFIELD

Description
For information on the commit control, refer to the relevant dataelement documentation: Commit control at BAPIinterface.

Description
Postal code

Description
Second address line

Description
For information on the region, refer to the relevant data elementdocumentation: Region.

Description
Use this field to identify the street name and house number.
To do so:

  • Type in the street address, to a maximum of 30 characters.
  • Description
    Telephone number
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD