Fonction SAP BAPI_CD_INSOBJ_CHANGE - OBSOLETE: Use BAPI_INSOBJECT_CHANGE

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INSOBJECTDATA BAPICD_INSOBJ_CH u 83 X FS-CD: BAPI Structure for Insurance Object Data (Change)
INSOBJECTDATAX BAPICD_INSOBJ_CHX u 4 X FS-CD: BAPI Change Structure for IO Data (Change)
INSOBJNUMBER BAPICD_INSOBJ_CH-INSOBJ_NUMBER C 20 Identification for an Insurance Object
NODATA BAPI_CD_INSOBJ_CONTROL-NODATA C 1 '/' X NODATA Indicator
TESTRUN BAPICTRACAUX-TESTRUN C 1 X Switch to Simulation Mode for Write BAPIs
WRITECHANGEDOCUMENTS BAPI_CD_INSOBJ_CONTROL-WRITECHANGEDOCUMENTS C 1 'X' X Indicates Whether Change Documents Are to Be Created

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
INSOBJECTPARTNER BAPICD_INSOBJ_PARTNER_CH 738 FS-CD: BAPI Structure for IO Partner Data (Change)
INSOBJECTPARTNERBRKASSGN BAPICD_INSOBJ_PARTNER_BRK_ACH 114 X BAPI Structure for IO Partner-Broker Assignment (Change)
INSOBJECTPARTNERBRKASSGNX BAPICD_INSOBJ_PARTNER_BRK_ACHX 11 X FS-CD: BAPI Change Structure IO Partner-Broker Assignment (Change)
INSOBJECTPARTNERBROKER BAPICD_INSOBJ_PARTNER_BROKER 97 X FS-CD: BAPI Structure Insurance Object-Partner Broker Data
INSOBJECTPARTNERBROKERX BAPICD_INSOBJ_PARTNER_BROKERX 17 X FS-CD: BAPI Change Structure IO Partner Broker Data
INSOBJECTPARTNERCORR BAPICD_INSOBJ_PARTNER_CORR 74 X FS-CD: BAPI Structure IO Partner Correspondence Data
INSOBJECTPARTNERCORRX BAPICD_INSOBJ_PARTNER_CORRX 9 X FS-CD: BAPI Change Structure IO Partner Correspondence Data
INSOBJECTPARTNERLOCK BAPICD_INSOBJ_PARTNER_LOCK 107 X FS-CD: BAPI Structure Insurance Object-Partner Lock Data
INSOBJECTPARTNERLOCKX BAPICD_INSOBJ_PARTNER_LOCKX 15 X FS-CD: BAPI Change Structure IO Partner Lock Data
INSOBJECTPARTNERPAY BAPICD_INSOBJ_PARTNER_PAY 149 X FS-CD: BAPI Structure for Ins. Obj. Outg. Payment Data
INSOBJECTPARTNERPAYX BAPICD_INSOBJ_PARTNER_PAYX 16 X FS-CD: BAPI Change Structure for IO Outg. Payment Data
INSOBJECTPARTNERX BAPICD_INSOBJ_PARTNER_CHX 78 FS-CD: BAPI Change Structure for IO Partner Data (Change)
RETURN BAPIRET2 548 Return Parameter(s)

Functionality
You use this method to change an insurance object.

  • You can only change one insurance object in a call.

  • You can change more than one insurance object-partner relationship at
  • the same time.
    You require the authorization to change insurance objects.
    The RETURN parameter can output more than message at the same time.

    Notes
    Event V951 is called in the BAPI. In this event, it is possible tochange all data transferred with the interface, or enhance missing data.
    The BAPI uses the concept of customer enhancements with BAPI tableextensions. You have the EXTENSIONIN parameter for this.
    The associated structures are called BAPI_TE_DIMAIOB andBAPI_TE_DIMAIOBPAR. If you want to use the BAPI to fill additionaldefined fields, you have to have implemented these structures.

    Description
    Data for the insurance object
    The INSOBJ_NUMBER field must be filled.
    In the VALID_FROM field, you can enter the current date or a datein the future. Changes in the past are not possible. You can leave thefield empty, if you the change is to be effective on the current date.

    Description
    This parameter contains the same field name as the INSOBJECTDATAparameter. For every field that you want to provide with a value in theINSOBJECTDATA structure, you have to fill the corresponding field inthis structure with an 'X'.
    This is necessary to allow the use of the 'SPACE' value.

    Description
    Identification for insurance object.

    Description
    NODATA flag
    We recommend that you always use the value '/' as the NODATA flag.

    Description
    Flags whether the system is only to simulate the creation of aninsurance object.

    Description
    Flags whether change documents are to be created.

    Description
    Parameter for filling additional fields
    You can implement additional fields for the insurance object and for theinsurance object-partner relationship.
    If you want to fill additiona fields for the insurance object, you mustset the 'BAPI_TE_DIMAIOB' value in the STRUCTURE field.
    For fields for the insurance object-partner relationship, you must setthe 'BAPI_TE_DIMAIOBPAR' value.
    In the following fields for the EXTENSIONIN parameter, you must set thevalues for the items that correspond to the BAPI_TE_DIMAIOB orBAPI_TE_DIMAIOBPAR DDIC structures.

    Description
    Data for an insurance object-partner relationship

    • If you want to change an existing insurance object-partner relationship,
    • you must use the value 'U' in the PROCESSING_MODE field.
      • If you want to add an insurance object-partner relationship, you must
      • use the value 'I' in the PROCESSING_MODE field.
        • If you want to change the assigned contract account for an existing
        • insurance object-partner relationship, you must set the value 'X' in theIND_CHANGE_ACCOUNT field.
          • If you want to add an insurance object-partner relationship, you must
          • assign a contract account. You do this by entering a contract account inthe ACCOUNT_NUMBER field, or by using an account creation variantin the ACCT_CREATE_VARIANT.
            For some fields (such as PARTNER_NUMBER), you have the option ofentering an alternative, externally assigned identification number. Thecorresponding fields have '_EXT' as a suffix (as inPARTNER_NUMBER_EXT, for example).

            Description
            Data for the assignment of a broker to an insurance object-partnerrelationship
            You can only enter one broker report for each insurance object-partnerrelationship when calling up the BAPI.

            Description
            This parameter contains the same field name as theINSOBJECTPARTNERBRKASSGN parameter. For every field that you want toprovide with a value in the INSOBJECTPARTNERBRKASSGN structure, you haveto fill the corresponding field in this structure with an 'X'.
            This is necessary to allow the use of the 'SPACE' value.

            Default

            Description
            Broker data for an insurance object-partner relationship
            Fill the PROCESSING_MODE field with the value 'I' if are defining brokerdata for an insurance object-partner relationship for the first time.
            If you want to change broker data, set the value 'U' in thePROCESSING_MODE.
            You can only use this parameter if you want to create an insuranceobject from the 'Broker Report' category.

            Description
            This parameter contains the same field name as theINSOBJECTPARTNERBROKER parameter. For every field that you want toprovide with a value in the INSOBJECTPARTNERBROKER structure, you haveto fill the corresponding field in this structure with an 'X'.
            This is necessary to allow the use of the 'SPACE' value.

            Default

            Description
            Data for alternative correspondence recipients for an insuranceobject-partner relationship
            Fill the PROCESSING_MODE field with the value 'I' to add an alternativecorrespondence recipient.
            Fill the field with the value 'D' to delete one or more alternativecorrespondence recipients.
            You can delete multiple alternative correspondence recipients, becauseall data records were deleted, to which the values entered in thestructure refer.

            Description
            This parameter contains the same field name as the INSOBJECTPARTNERCORRparameter. For every field that you want to provide with a value in theINSOBJECTPARTNERCORR structure, you have to fill the corresponding fieldin this structure with an 'X'.
            This is necessary to allow the use of the 'SPACE' value.

            Default

            Description
            Data for business locks for an insurance object-partner relationship

            • Fill the PROCESSING_MODE field with the value 'I' to create a
            • lock.
              In this case, only fill the fields that have '_KEY' as a suffix.
              • Fill the PROCESSING_MODE field with the value 'U' to change a
              • lock.
                The fields with '_KEY' as the suffix identify the locks that are to bechanged. All locks that correspond to the values in the structure aredeleted. All locks then receive the values that have been entered in thestructure, in the fields with the '_DAT' suffix.
                • Fill the PROCESSING_MODE field with the value 'D' to delete one
                • or more locks.
                  In this case, only fill the fields that have '_KEY' as a suffix. Alllocks that correspond to the values entered are deleted.
                  • Fill the LOCK_TYPE_KEY field to identify the category for a lock.

                  • Lock categories are defined in the TFK080B table. (The lock category forlocks for the insurance object-business partner relationship is always22.)
                    • Fill the PROCESS_ID_KEY field to identify the process for which a
                    • lock is set.
                      Lock processes for business locks are defined in the TFK080F table.
                      Examples for processes:
                      01 = Dunning
                      02 = Incoming payment
                      03 = Outgoing payment
                      04 = Interest calculation
                      05 = Invoicing
                      ...
                      • Fill the LOCK_REASON_KEY field to identify the lock reason for a
                      • business process.
                        A lock reason is entered for more specific description of a lock, withina business process. It is possible to define lock reasons for everybusiness transaction in the IMG (Contract Accounts Receivable andPayable -> Business Transactions).

                        Description
                        This parameter contains the same field name as the INSOBJECTPARTNERLOCKparameter. For every field that you want to provide with a value in theINSOBJECTPARTNERLOCK structure, you have to fill the corresponding fieldin this structure with an 'X'.
                        This is necessary to allow the use of the 'SPACE' value.

                        Default

                        Description
                        Outgoing payment data for an insurance object-partner relationship

                        If you are defining alternative outgoing payment recipients for aninsurance object-partner relationship for the first time, fill thePROCESSING_MODE parameter with 'I'.
                        If you are changing the data for an outgoing payment recipient, fill thePROCESSING_MODE parameter with 'U'.
                        If you want to delete an outgoing payment recipient, fill thePROCESSING_MODE parameter with 'D'.

                        Note
                        Only use this parameter if you have set the MULT_ALTPAYTREC flag(multiple payment recipients active for contract) for the insuranceobject-partner relationship, and have specified an allocation type inthe OUTG_ALLOCTYPE field.

                        Description
                        This parameter contains the same field name as the INSOBJECTPARTNERPAYparameter. For every field that you want to provide with a value in theINSOBJECTPARTNERPAY structure, you have to fill the corresponding fieldin this structure with an 'X'.
                        This is necessary to allow the use of the 'SPACE' value.

                        Default

                        Description
                        This parameter contains the same field name as the INSOBJECTPARTNER
                        parameter. For every field that you want to provide with a value inthe INSOBJECTPARTNER structure, you have to fill thecorresponding field in this structure with an 'X'.
                        This is necessary to allow the use of the 'SPACE' value.

                        Default

                        Description
                        Parameter for message output.