Ansicht
Dokumentation

/ACCGO/CAS_APDOC_BL - BAdI: Application Document Business Layer

/ACCGO/CAS_APDOC_BL - BAdI: Application Document Business Layer

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this BAdI to enhance customer-specific processing logic and checks. This BAdI facilitates the implementation of customer-specific checks in the business layer of an Application Document.

This BAdI contains the following methods:

  • CHECK_HEADER_DATA (Check Header Data)
  • CHECK_ITEM_DATA (Check Item Data)
  • CHANGE_HEADER_DATA (Change Header Data)
  • CHANGE_ITEM_DATA (Change Item Data)
  • SAVE_CHECK (Check Save)
  • AT_ITEM_DELETION (Deletion of App Doc Item)
  • CHECK_CANCELLATION (Check during cancellation of App Doc)
  • AT_READ (During Read of App Doc data)
  • POST_SAVE (Post Save)
  • BEFORE_SAVE (Before Save)
  • CHECK_AFTER_CANCELLATION (Check after appdoc cancellation)
  • AT_SPLIT (At Split of App doc item)
  • CHECK_CONTRACT_RELEVANT_RETURN (Check for Contract during Return Application)

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

This BAdI is available in the enhancement spot /ACCGO/CMN_ES_CAS_APPL_DOC.

In the Customizing activity, a dialog box displays, in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box displays, which contains the existing implementations. In this case, click Create, and proceed as follows:

  1. In the dialog box, enter a name for the BAdI implementation in the Implementation field, and click Create.
  2. The screen for creating BAdI implementations displays.
  3. Enter a short text for the implementation in the Short text for implementation field.
  4. From the tab index, click Interface.
  5. The Name of implemented class field is already filled on the tab page because a class name was automatically assigned to the implementation when you named it.
  6. Save your entries and assign the implementation to a development class.
  7. Place the cursor on the method and double-click to begin method processing.
  8. Enter the code for the implementation between the statement method ~ and end method.
  9. Save and implement your code. Return to the Edit Implementation screen.
  10. Save the entries on the Edit Implementation screen.
  11. Note: You can also create an implementation and then activate it at a later time. In such a case, end the processing stage at this point.
  12. Choose Activate.

The code you stored in the method will be run when the application program is executed.

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

This BAdI uses the interface /ACCGO/IF_CAS_BADI_APPL_DOC_BL.

For more information, display the interface in the Class Builder (transaction SE24).






General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4788 Date: 20240418 Time: 065058     sap01-206 ( 33 ms )