Fonction SAP BAPI_WARRANTYCLAIM_SET_ACTION - Call Action for Warranty Claim

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACTION BAPI2222HEADER-ACTION C 4 Activity Code
CLAIM BAPI2222HEADER-CLAIM C 12 Warranty Claim Header Data
CLAIM_TMP_IDENT BAPI2222HEADER-CLAIM_TMP_IDENT C 32 X Unique Identifier of BAPI_WARRANTYCLAIM_CREATE
PARTNER BAPI2222HEADER-PARTNER C 10 X Partner
READFROMBUFFER BAPI2222HEADER-FROMBUFFER C 1 SPACE X Read from Buffer = "X", Read from Database = " "
SIMULATE BAPI2222HEADER-SIMULATION C 1 SPACE X Simulation Mode = 'X'

Paramètre Reférence Type Long. Description
EV_ACTION_NOT_ALLOWED BAPI2222HEADER-ACTION_NOT_ALLOWED C 1 'X' Action not Allowed
EV_NOT_EXIST BAPI2222HEADER-CLAIM_NOT_EXIST C 1 'X' Claim Does not Exist

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Parameters
RULE_RESULT TSMESG 319 X Message Table of VSR Tool


This BAPI is used to call warranty claim actions for existing warrantyclaims (business object BUS2222). An entitlement to warranty services isdetermined and documented via the warranty claim.
If the processing status and action control of the claim allow it, anaction can be called with the BAPI. The action control depends on theclaim type.
It is also possible to call actions for claims that have not yet beensaved to the database. In this case, BAPI_WARRANTYCLAIM_CREATE must becalled in simulation mode before BAPI_WARRANTYCLAIM_SET_ACTION. Theexport parameter CLAIM_TMP_IDENT of the BAPI BAPI_WARRANTYCLAIM_CREATEmust be passed on to the import parameter CLAIM_TMP_IDENT of the BAPIBAPI_WARRANTYCLAIM_SET_ACTION.
(See function module WTY12_CLAIM_SIMULATION_RFC)
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