Fonction SAP BAPI_RENTALAGREEM_MAINTAIN_SR - Save Sales Report

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSENTITY BAPI_RENTALAGREEMENT-BUSINESSENTITY C 8 Number of Business Entity
COMPANYCODE BAPI_RENTALAGREEMENT-COMPANYCODE C 4 Company Code
RENTALAGREEMENTNUMBER BAPI_RENTALAGREEMENT-RENTALAGREEMENTNUMBER C 13 Lease-out Number
RENTALUNIT BAPI_RENTALAGREEMENT-RENTALUNIT C 8 Number of Rental Unit
SALES_NEW BAPI_RESR_SALESREPORT u 58 Sales Reports
SALES_OLD BAPI_RESR_SALESREPORT u 58 X Sales Reports

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameter

Functionality
A rental agreeement based on sales, such is often the case for kiosksand supermarkets, has been concluded. The tenant has to report hissales at certain intervals (usually monthly). These sales figures areused to calculate the rent due and are balanced with the advancepayments that have already been made (settlements can be made on amonthly or annual basis).
This BAPI could be used, for example, in the following case: Tenantsreport their sales to the landlord via the internet or the sales aremade automatically available to the landlord (from automatic cash tillsor using the FiBU tenant program)

  • Necessary data:

  • Rental agreememt (key fields in the BOR object of the rental agreement)
    Condition type
    Report interval
    Monetary sales or sales based on amount
    Example
    Notes
    Further information

    Description
    New monetary sales or sales based on amount for the reporting interval.

    Description
    Previous monetary sales or sales based on amount for the reportinginterval are needed for changing the sales report.

    Description
    Table containing return parameters.