SAP ABAP IMG Activity WLF_SOA_A2A_INB_0004 (BAdI: Enhancements for InvoiceERPCancellationRequest_In Processing)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB (Application Component) Agency Business (Global Trade)
     WZRE_XI_PROXY (Package) Agency Business: SOA proxy implementations
IMG Activity
ID WLF_SOA_A2A_INB_0004 BAdI: Enhancements for InvoiceERPCancellationRequest_In Processing  
Transaction Code S_EBS_44000306   (empty) 
Created on 20101214    
Customizing Attributes WLF_SOA_A2A_INB_0004   BAdI: Enhancements for InvoiceERPCancellationRequest_In Processing 
Customizing Activity WLF_SOA_A2A_INB_0004   BAdI: Enhancements for InvoiceERPCancellationRequest_In Processing 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WLF_SE_INVC_CANCEL_SWITCH    

Use

For Single Settlement Requests (SSR), it is possible to cancel the document in two ways:

  • Set document to completed (without a reversal document).

    This works only when no accounting documents are created for the SSR.

  • Create a reversal document.

    This is possible regardless of whether an accounting document is created or not.

You can use the BAdI to control the processing for the cancellation of a SSR in the following ways, by setting exporting parameter EV_CANCEL_INDICATOR:

  • Complete only

    Current document is only set to completed, only documents that are not posted to accounting are canceled

  • Reverse only

    For current document, a reversal document is posted in each case

  • Complete (if still possible) or Reverse

    The system checks whether it is possible to set the SSR to completed. If not (except when the document is locked), the system tries to create a reversal document. This is the standard logic that is executed in general if no implementation of the current BAdI is implemented.

Requirements

Standard settings

This Business Add-In is not active in the SAP standard and does not contain default coding. For more information, see tab title Enh. Spot Element Definitions in the BAdI Builder (transaction SE18, enhancement spot WLF_SPOT_SE_AB_ENH ).

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20101221 
SAP Release Created in 606