Ansicht
Dokumentation

BAPI_WARRANTYCLAIM_CHANGE2 - Change Warranty Claim

BAPI_WARRANTYCLAIM_CHANGE2 - Change Warranty Claim

BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI is used to change warranty claims (business object BUS2222). An entitlement to warranty services is determined and documented via the warranty claim.

A claim version header, multiple claim versions and the related items can be changed with the BAPI. The items 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 to the header, version or item using a handle.

To change 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 (measurement documents), and RV_MESSAGES_UPDATE (message determination) of other development classes are called from this BAPI.

There are two ways of calling the function module:

1. The warranty claim is read by the caller of the BAPI and the entire claim data including the change is transferred to the interface. The function module parameter CLAIM_OBJECT_UPDATE is initial.

2. Only the key fields (claim number and handles) are transferred to the interface, and the changed fields are selected in table CLAIM_OBJECT_UPDATE. Tables with values are then only transferred for these fields in the structures.

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 buffer should be deleted using the function module WTY12_REFRESH_BUFFER_RFC.

Example

Notes

Further information





Parameters

BADI_CHANGE
CLAIM
CLAIM_HEADER
CLAIM_ITEM
CLAIM_MEASURE
CLAIM_OBJECT_UPDATE
CLAIM_PARTNER
CLAIM_PRICING
CLAIM_TEXT
CLAIM_VERSION
EXTENSIONIN
ITEM_REL
IV_LOG_DISMISS
READFROMBUFFER
RETURN
SIMULATE
VERSION_REL

Exceptions

Function Group

WTY12

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2415 Date: 20240523 Time: 174424     sap01-206 ( 53 ms )