Ansicht
Dokumentation

BAPI_RENTALAGREEM_CALCSALESSET - Calculates Sales-Based Rent

BAPI_RENTALAGREEM_CALCSALESSET - Calculates Sales-Based Rent

Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

A rental agreeement based on sales, such is often the case for kiosks and supermarkets, has been concluded.

The tenant has to report his sales at certain intervals (usually monthly). These sales figures are used to calculate the rent due and are balanced with the advance payments that have already been made (settlements can be made on a monthly or annual basis).

This BAPI could be used, for example, in the following case:

Tenants can request the rent amount due via the internet. This enables the tenants to post the rent due as a commitment to the vendor in their systems.
  • Necessary data:
  • Rental agreememt (key fields in the BOR object of the rental agreement)

  • Settlement period (from, to )

  • Returns:
  • Table containing the sales-based rent and additional information (tax indicator, total of sales to be taken into account and so on)

  • Table of the reported sales in the settlement period

Example

Notes

Further information





Parameters

BUSINESSENTITY
COMPANYCODE
RENTALAGREEMENTNUMBER
RENTALUNIT
REPORT_FROM
REPORT_TO
RETURN
SALES
SUM_PER_PERIOD
TAKE_ACCT_OF_OPEN_AP

Exceptions

Function Group

FV_RESR_TOOLS

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2245 Date: 20240523 Time: 151746     sap01-206 ( 32 ms )