Fonction SAP BAPI_WARRANTYCLAIM_ADD_VERSION - Create Warranty Claim Version for Claim

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLAIM BAPI2222HEADER-CLAIM C 12 Warranty Claim Header Data
CLAIM_VERSION BAPI2222VERSION u 310 Warranty Claim Version
IV_LOG_DISMISS FLAG C 1 SPACE X General Indicator

Paramètre Reférence Long. Facultatif Description
CLAIM_ITEM BAPI2222ITEM 661 X Warranty Claim Item
CLAIM_MEASURE BAPI2222MEASURE 65 X Warranty: Measurement Data for Object and Claim
CLAIM_PARTNER BAPI2222PARTNER 22 X Partner for Warranty Claim
CLAIM_PRICING BAPI2222PRICING 31 X Prices Belonging to Warranty Claim
CLAIM_TEXT BAPI2222LONGTEXT 147 X Long Texts for Warranty Claim
EXTENSIONIN BAPIPAREX 990 X Customer Enhancment Import
ITEM_REL BAPI2222ITEMRELATION 28 X Warranty Claim: Relationship Between Items
RETURN BAPIRET2 548 Return Parameters
VERSION_REL BAPI2222VERSIONRELATION 28 X Warranty Claim: Relationship Between Versions

Functionality
This BAPI is used to add a version to an existing warranty claim(business object BUS2222). An entitlement to warranty services isdetermined and documented via the warranty claim.
A claim version and the related items can be created with the BAPI. Theitems are assigned to the versions by numbering the versions (handle)and entering the handle in the item field HANDLE_VERSION.
Long texts, measurement data, and price information are also assigned tothe version or item using a handle.
To create the version, a claim number must be specified.
The function modules SAVE_TEXT, COMMIT_TEXT (long text),MEASUREM_DOCUM_RFC_SINGLE_001, MEASUREM_DIALOG_UPDATE (measurementdocuments), and RV_MESSAGES_UPDATE (message determination) of otherdevelopment classes are called from this BAPI.
Customer-specific data can be transferred using table EXTENSIONIN.Specific data assignment is carried out using the BAdI WTY_BAPI_CREATE.
The BAPI does not contain a COMMIT-WORK command and buffers the data.
After the COMMIT-WORK command has been triggered, the temporary buffershould be deleted using the function module WTY12_REFRESH_BUFFER_RFC.

1079475BAPI: Error analysis for BAPIs in Warranty