Ansicht
Dokumentation

FA_FMCCAVC_DERI_ACCA - BAdI: Enhancements for Deriving Cash Control Objects

FA_FMCCAVC_DERI_ACCA - BAdI: Enhancements for Deriving Cash Control Objects

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

With this Business Add-In you can enhance the derivation of cash control objects (strategy ID ACCA). You can only implement the BAdI for cash control in Fund Accounting. The methods of this BAdI are called in function module FMCCAVC_CALL_DERIVATION_ACO, immediately before or after deriving a cash control object.

Note:

The settings affected here are exclusively reserved for the use of the cash control function.

The BAdI is not active in the standard. To use the BAdI, implement the method.

If you wish to use additional source fields within your derivation strategy, add these fields to the structure FMCCAVC_S_ACCA_ADDRESS_SUPPL in the ABAP Dictionary first.

To implement the BAdI, after calling the Customizing activity, proceed as follows:

  1. In the dialog box, enter a name for the enhancement implementation, Short Text and Composite Enhancement Implementation. If no composite enhancement implementation exists, create a new one.
  2. Save your entries, and assign the implementation to a development class.
  3. Choose the button for creating BAdIs on the BAdI tab.
  4. In the dialog box, enter BAdI Definition, BAdI Implementation, Implementation Class and description, then press Continue.
  5. In the left panel on the next screen, expand implementation node and choose the entry Class.
  6. Place the cursor on the method and call method processing.
  7. Enter the code for the implementation between the statements method ~ and endmethod . Note that sample implementation is copied automatically.
  8. Save and activate all the objects.

You wish to use the user name field as part of your derivation strategy:

  • Add the field UNAME ( data element SYUNAME) to the include CI_FMCCAVC_S_ACCA_ADDRESS_SUPPL of the structure FMCCAVC_S_ACCA_ADDRESS_SUPPL in the ABAP Dictionary.
  • Activate the structure FMCCAVC_S_ACCA_ADDRESS_SUPPL.
  • Implement the method FILL_ADDRESS_SUPPL of the BAdI (see also the sample code for this method):
  • Assign the value to the user name, for instance by using the system field SY-UNAME.

  • Fill the field UNAME of structure FMCCAVC_S_ACCA_ADDRESS_SUPPL.

  • Activate your BAdI implementation.

For more information, see the following:






PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3184 Date: 20240523 Time: 193909     sap01-206 ( 41 ms )