Fonction SAP BAPI_BUPA_FS_EMPLOYM_ADD - Create Employment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPI_BUS_PARTNER_FS-PARTNER_ID C 10 Business Partner Number
CHANGEDOCU BAPI_STR_BUPA_FS_CHANGE_DOCU u 1 X Generate Change Documents; obsolete
TESTRUN BAPI_FSBP_CENTRAL-TESTRUN C 1 X Activate Simulation Mode

Paramètre Reférence Long. Facultatif Description
BAPIBUPAGET BAPI_STR_BUPA_FS_EMPLOYM 112 Employment
RETURN BAPIRET2 548 X Return Messages

Functionality
You can use this method to add employment information to the businesspartner.
You enter employment information in the employment overview. This givesyou an overview of the individual employment relationships of a naturalperson.
In the overview in the transaction BP (maintain business partner)you can display all the employment relationships in historical sequence,according to the starting date, or select certain employmentrelationships up to a specific key date. Information in the employmentoverview includes information about period of employment, occupation,employer, and employment status.
You can store as many employment relationships for a business partner asyou wish in the employment overview. The validity of the employmentrelationships can also overlap in time.

Notes
This method processes data for each business partner.
You can add several employment data records for each business partner.
A preprocessing run takes place before the data is added:

  • A check is performed to determine whether the business partner with a
  • valid business partner number is available for processing.
    • A simple exclusive lock is activated.

    • This prevents other users from changing the business partner that iscurrently being processed until either the method TransactionCommit
      or TransactionRollback for the Business ObjectBapiService is executed. The authorized user can access the samebusiness partner repeatedly.
      The data contained in the employment overview is not written to thedatabase until the method TransactionCommit for the BusinessObject BapiService has been called.
      The data contained in the employment overview is client-dependent. Theclient is determined by the logon client even with a Remote FunctionCall (RFC) logon.

      Authorizations
      You can make settings for business partner authorization objects to bechecked in Customizing for the SAP Business Partner underBusiness Partner-> Basic Settings-> Authorization Management.

      Buffering
      This method works with buffering. Change and read methods for thisbusiness object category can be repeatedly used for this instance. Aftercalling the save method, read and write methods can access the bufferedinstances and supply current attributes in the sameLogical Unit of Work (LUW).

      Dependencies
      You can define the employment status in Customizing for the SAP BusinessPartner for Financial Services by choosing Settings for FinancialServices -> General Settings -> Basic Settings -> Natural Person->Define Employment Status.
      You can define industries in Customizing for the SAP BusinessPartner for Financial Services by choosing General Settings ->Business Partner -> Organization -> Maintain Industry Systems andIndustries.

      Return messages
      Messages are returned in the Return parameter. You can find thereturn values and their meaning in the parameter documentation.

      Further information
      You will find more information on the employment overview in the SAPLibrary for SAP Business Partner for Financial Services bychoosing Functions-> SAP Business Partner Data-> Employment Overview
      .

      Description
      This parameter is a required (mandatory) parameter.
      You can find information about the meaning of the parameter in thecorresponding documentation for the data element:Business Partner Number.

      Value range
      The value range of this parameter corresponds to the value range of thedomain of the data element.

      Description
      This parameter is obsolete and no longer has a function.
      The system generates change documents automatically.

      Value range

      Description
      You can find information on the meaning of the parameter in thecorresponding documentation for the data element: Switchto Simulation Mode for Write BAPIs.

      Value range
      'X' Method is called in simulation mode, that is to say, the data is notupdated.
      ' ' Method is not called in simulation mode, that is to say, the data isupdated.

      Default
      ' ' Method is not called in simulation mode.

      Description
      This parameter is a required (mandatory) parameter.
      It contains the employment relationships to be added for a businesspartner.
      Fore more information about the parameter fields, see the relevant dataelement documentation in the ABAP Dictionary.

      Description
      This table contains the return messages from the method call.