Ansicht
Dokumentation

LWZRE005 - Settlement Document for Cash Discount Determination

LWZRE005 - Settlement Document for Cash Discount Determination

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Funktionalitäten

The function modules of function group XRGX provide user exits for determining cash discount data when vendor settlement lists are entered. They are always called if relevant document header data for the individual invoices (settlement documents) in the list, of header data of the list itself, changes.

  • Method for determining cash discount
  • EXIT_SAPLWLFO_001

  • Consistency checks
  • EXIT_SAPLWLFO_002

The header line of list KOMLFKL, which is available as a transfer parameter, can be modified using exit 001. In addition to vendor settlement list header KOMLFKL, all the document header data of the individual invoices is available in table 'T_KOMLFK'.

Once the data has been entered, exit 002 can be used to perform another full check on all documents. If the check reveals errors, these can be transferred to the calling program via exception 'PAYMENT_DATA_ERROR'.






BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1161 Date: 20240426 Time: 214541     sap01-206 ( 25 ms )