Fonction SAP BAPI_BUPA_FS_EMPLOYM_CHANGE - Change 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
BAPIBUPAGETX BAPI_STR_BUPA_FS_EMPLOYM_X 7 Change Information
RETURN BAPIRET2 548 X Return Messages

Functionality
You can use this method to change employment relationships for thebusiness partner.
You enter employment information for the business partner in theemployment overview. This gives you an overview of the individualemployment relationships of a natural person.
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, the industry to which the employer belongs, and employmentstatus.
You can change as many employment relationships for a business partneras you 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 changed:

  • 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 SAPBusiness Partner for Financial Services by choosing Settings forFinancial Services -> General Settings -> Basic Settings -> NaturalPerson-> 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 for this parameter corresponds to the value range forthe domain 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 requireed (mandatory) parameter.
      It contains the employment relationships for a business partner that areto be changed.
      For more information about the individual parameter fields, see therelevant data element documentation in the ABAP Dictionary.

      Description
      This parameter is a required (mandatory) parameter.
      You can find more information on the meaning of the parameter in thecorresponding documentation for the data elements:Change (Updated) Information in Related User DataField.
      You have to transfer values for all fields to be changed in theparameter BAPIBUPAGET.

      Value range
      'X' Change employment data
      ' ' Do not change employment data

      Description
      This table contains return messages from the method call.