Ansicht
Dokumentation

FMFG_XFER_DIFF_EF_IT - BAdI: Change the Down Payment Consumption Sequence on Earmarked Funds Lines

FMFG_XFER_DIFF_EF_IT - BAdI: Change the Down Payment Consumption Sequence on Earmarked Funds Lines

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

You can implement the Business Add-In (BAdI) FMFG_XFER_DIFF_EF_ITEM_CONSEQ to influence the sequence of the down payment consumption on an earmarked fund during the posting of an FI invoice.

  • You have created an earmarked fund with multiple line items
  • You have posted a down payment for the earmarked fund line item(s)
  • You would like to create an FI invoice referencing the earmarked fund line item(s) on the expense line(s) and somehow clear the down payment automatically.

The BAdI is not delivered with a default implementation.

Only change the value in the consumption sequence and afterward set the flag CV_CHANGED = 'X'. If you change anything else, you do it at your own risk.

  1. You have created an earmarked fund document EF1 with 3 line items as follows:
EF Line Item Number Amount (USD)
001 200
002 200
003 200

  1. You have created a down payment document DP1 with 2 line items as follows:
DP Line Item Number Amount (USD) EF/Line Item
001 150 EF1/001
002 100 EF1/002
003 10 EF1/003

  1. Now, you create an FI invoice IR1 for 200 USD with 1 expense line item referencing the earmarked fund line item EF1/003:
IR Expense Line Number Amount (USD) EF/Line Item
001 200 EF1/003

Result

  • By default, the down payment consumption is as follows:
DP Line Item Number Amount (USD) EF/Line Item
001 150 EF1/001
002 40 EF1/002
003 10 EF1/003

  • However, with an implementation of this BAdI, you can change this consumption sequence to:
DP Line Item Number Amount (USD) EF/Line Item
001 90 EF1/001
002 100 EF1/002
003 10 EF1/003

In other words, you can tell the system to consume the down payment DP1/002 on EF1/002 prior to consuming DP1/001 on EF1/001.





CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4012 Date: 20240523 Time: 202318     sap01-206 ( 32 ms )