SAP ABAP IMG Activity WTY_CLAIM_IDOC_IN (BAdI: Data Check and Change for Inbound IDocs)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   LO-WTY (Application Component) Warranty Claim Processing
     ISAUTO_WTY (Package) Warranty Processing
IMG Activity
ID WTY_CLAIM_IDOC_IN BAdI: Data Check and Change for Inbound IDocs  
Transaction Code S_KA5_12001174   (empty) 
Created on 20020828    
Customizing Attributes WTY_CLAIM_IDOC_IN   BAdI: Data Check and Change for Inbound IDocs 
Customizing Activity WTY_CLAIM_IDOC_IN   BAdI: Data Check and Change for Inbound IDocs 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WTY_CLAIM_IDOC_IN    

Use

This business add-in (BAdI) is used in the component Warranty Claim Processing.

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.

Requirements

Standard settings

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.

Activities

Procedure for BAdI implementation

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG WTY_CLAIM_IDOC_IN 0 ALN0000451 Warranty Claim Processing 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020828 
SAP Release Created in 471