Ansicht
Dokumentation

WTY_CLAIM_IDOC_IN - BAdI: Data Check and Change for Inbound IDocs

WTY_CLAIM_IDOC_IN - BAdI: Data Check and Change for Inbound IDocs

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

With this BAdI you can check and if necessary change the data when IDOCs are received from the claimant or the reimburser, transfer data from customer segments to the R/3 data structure, define the warranty claim types for IDocs from the claimant, define the equipment for the vehicle, check the partner role, and so on.

The BAdI has the following methods:

  • CHECK_IDOC
Check and change incoming IDoc data, and write messages in the internal message table, which are transferred after processing of the IDoc to the IDoc status table.
The method is called directly upon receipt of the IDoc. If the IDoc contains data for several claims, IDoc processing is terminated and the method is not called.
  • CHECK_PARTNER
Carry out partner-specific partner check for the partner segment.
The method is called during the partner check within the segment check of the IDoc if the partner role specified in the partner segment is not AS (claimant), AG (sold-to party) or LF (vendor). This precedes IDoc interpretation.
  • INTERPRET_ADDITIONAL_SEGMENT
Interpreting customer segments means transferring data from these segments to standard R/3 fields or customer-specific R/3 fields.
The method is called on receipt of the IDoc (receipt from claimant and receipt from reimburser) if a customer segment is to be interpreted within the incoming IDoc.
  • INTERPRET_IDOC
The IDoc data is converted to the claim structure or application structure when the method is called and can be changed again through this method to customer-specific requirements. In this way you can for example define the claim type for inbound versions from the claimant from defined data.
The method is processed on receipt of IDocs and receipt via the web user interface (Function module WTY10_WEBUI_INPUT). Within IDoc processing they are called before creation of the claim, but after calling method CHECK-IDOC and INTERPRET_ADDITIONAL_SEGMENT.
  • CHANGE_EXPORT_PARAMETERS
Reset standard export parameters, for example workflow parameters.
The method is called at the very end of IDoc processing if the IDoc is already interpreted completely and the standard export parameters are set.

In the default implementation, method INTERPRET_IDOC delivers the following results:

The measuring points for the warranty object are defined for the measurement positions by means of the reference object in Customizing (IMG activity Define Template Objects).

If measurement data has been transferred with the IDoc, measurement documents are created for these measuring points and the measurement document numbers are transferred to the corresponding database table for the claim.

Only with SAP Discrete Industries: if the object type is a vehicle, the vehicle key in the vehicle table and the associated equipment are determined. (Note: if the measuring points have been created directly in the vehicle, no equipment can be determined for the vehicle). If a vehicle is represented by equipment, the equipment number is determined by the vehicle identification number (VIN) in the equipment master.

Procedure for BAdI implementation






PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3759 Date: 20240523 Time: 204408     sap01-206 ( 80 ms )