Fonction SAP BAPIADDREMPFR_SIMULATECREATION - Simulation: Create French Employee Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIP0006-SUBTY C 4 Subtype
BUSROUTE BAPIP0006LFR-BUSROUTE C 3 X Bus route
CITY BAPIP0006-ORT01 C 40 X Area
COMMNUMBER1 BAPIP0006LFR-COMMNUMBER1 C 20 X Communications number
COMMNUMBER2 BAPIP0006LFR-COMMNUMBER2 C 20 X Communications number
COMMNUMBER3 BAPIP0006LFR-COMMNUMBER3 C 20 X Communications number
COMMTYPE1 BAPIP0006LFR-COMMTYPE1 C 4 X Communication method
COMMTYPE2 BAPIP0006LFR-COMMTYPE2 C 4 X Communication method
COMMTYPE3 BAPIP0006LFR-COMMTYPE3 C 4 X Communication method
COMPANYAPARTM BAPIP0006LFR-COMPANYAPARTM C 1 X Company housing
CONAME BAPIP0006-NAME2 C 40 X C/O name
COUNTRY BAPIP0006-LAND1 C 3 X Country key
DISTANCEINKM BAPIP0006LFR-DISTANCEINKM P 2 X Distance in kilometers
DISTANCEINKM1 BAPIP0006LFR-DISTANCEINKM1 P 2 X Distance in kilometers
DISTRICT BAPIP0006-ORT02 C 40 X District
EMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel no.
HOUSENUMBER BAPIP0006LFR-HOUSENUMBER C 10 X House number
NAMEOFSTREET BAPIP0006LFR-NAMEOFSTREET C 60 X Street
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
POSTALCODECITY BAPIP0006-PSTLZ C 10 X Postal Code
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X 2nd address line
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
KEYEMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel no.
KEYLOCKINDICATOR BAPIP0006-SPRPS C 1 Lock indicator for HR master record
KEYOBJECTID BAPIP0006-OBJPS C 2 Object identification
KEYRECORDNUMBER BAPIP0006-SEQNR N 3 Number of infotype record
KEYSUBTYPE BAPIP0006-SUBTY C 4 Subtype
KEYVALIDITYBEGIN BAPIP0006-BEGDA D 8 Valid from date
KEYVALIDITYEND BAPIP0006-ENDDA D 8 Valid to date
RETURN BAPIRETURN1 u 470 Structure for Return Code

Functionality
Using this method, the creation of a data record can be simulated forthe infotype Addresses (0006).
Although all necessary consistency checks take place, the data record ishowever not written on the database.

Notes
Messages are returned in the RETURN parameter. You will find the returnvalues and their characteristics included in the documentation for thisparameter.
The key fields used by the method are described under the parameter.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
Returncode of the method

Value range
In the event of error this structure contains the following information,for example:

  • Message-Type (Field TYPE)

  • Message-Code (Field CODE)

  • Message-Text (Field MESSAGE)

  • In the event of success the field string is initial.

    Description
    You will find information on the meaning of the Subtype in thecorresponding data element-documentation Subtype.

    Description
    Name of the bus route

    Description
    Name of the location

    Description
    Communication number

    Description
    Communication number

    Description
    Communication number

    Description
    Information on the meaning of the communication type can be found in thecorresponding data element-documentation
    communications type.

    Description
    Information on the meaning of the communication type can be found in thecorresponding data element-documentation
    Communications type.

    Description
    Information on the meaning of the communications type can be found inthe corresponding data element-documentation:
    Communications type.

    Description
    Information on the meaning of the company-owned apartment can be foundin the corresponding data element-documentation: company-
    owned apartment.

    Description
    Information on the meaning of the C/O name can be found in thecorresponding data element-documentation C/O Name.

    Description
    Information on the meaning of the country key can be found in thecorresponding data element-documentationCounty key
    .

    Description
    Information on the meaning of the distance in kilometers can be found inthe corresponding data element-documentation:
    Distance in kilometers.

    Description
    Information on the meaning of the distance in kilometers can be found inthe corresponding data element-documentation:
    Distance in kilometers.

    Description
    Name of the district

    Description
    Information on the meaning of the personnel number can be found in thecorresponding data element-documentation: Personnel
    number .

    Description
    Information on the meaning of the house number can be found in thecorresponding data element-documentation: House number
    .

    Description
    Enter the name of the person's street here (without housenumber!).

    Description
    Information on the meaning of the Commit control can be found in thecorresponding data element-documentation: Commitcontrol on BAPI-Interface.

    Description
    Postal code

    Description
    Information on the meaning of the address affix can be found in thecorresponding data element-documentation:
    Address affix.

    Description
    Telephone number

    Description
    Validity start date

    Description
    Validity end date