Programme SAP RFVIMK01 - Tenant Account Sheet: Screen List or Correspondence

Description
The report generates tenant account sheets.
You can select eithercustomers orrental agreements. It isnot possible to select both.
Using a switch on the selection screen you can set

  • Which type of items you want to select

  • Whether you want to print a letter, display a screen list or both

  • In the letter you can print the items to be paid. The items which donot have to be paid only appear on the screen and not in the letter.

    Precondition
    One-time Preparations
    ---------------------
    INCLUDE RECP_PRECONDITIONS_01 OBJECT DOKU ID TX
    Letter Maintenance
    ------------------
    Before you initially run the report there must be at least one formletter for tenant account sheets in the word processing system whichyou use for correspondence.
    The letters are found in document group MKBL.
    Note: If printing is carried out in the background for bulk processing,the form letters from document group BTCH are used. The form letter forthe tenant account sheet is MKBL-BATCH.
    Make sure this requirement has been fulfilled.
    IF &DEVICE& = 'SCREEN'
    Letter Customizing: Execute function
    Customizing the letter-module relationship: Executefunction
    ENDIF
    For more information, refer to the description of the correspondenceinterface.

    Output
    In the letter you can print the following data: Date of the respectiveletter for which the tenant account sheet is an appendix: fieldVISCRIPT-LTTRDATE.
    You use a field, such as the date'VISCRIPT-LTTRDATE', in aSAPscript letter byentering the field name between two '&' symbols, for example<(>&VISCRIPT-LTTRDATE&<)>. The date appears instead of this symbol whenthe letter is printed. By additionally entering '(CZ)' you can suppressblank spaces (C) and leading zeros(Z) in the printout. You can also usethese two additional features individually or in combination withothers as described in SAPscript.

    • For translation into another currency:

    • Currency to be translated into: FieldVISCRIPT-SWHRKNDCUK.
      Key date of the translation (theaverage rates valid on thekey date are used): Field VISCRIPT-DEXCHCUK.
      • Address of the landlord: fields of
      • structure BKADR.
        • Number of the customer:
        • Field VISCRIPT-KUNNR.
          • Address of the customer: Fields of structure DEBIADR.

          • Parts of name and salutation texts for the
          • customer: fields ofstructure RNAMDEBI.
            • Rental agreements affected
            • by the tenant account sheet: fields of structure VIMIMV, to be filledby a LOOP oninternal table TAB_VIMIMV.
              • Open items to be paid as well as additional details: fields of
              • structure BSID_KB, to be filled by a LOOP on the internal tableTAB_BSID_KB.
                BSID_KB contains the following fields in addition to the fields fromBSID:
                JNOVBEWA (indicator that the item has noflow type), and dependenton this
                either XBEWART (name of flow type)
                or LTEXT (name of posting key
                )
                BKTXT (document header text)
                JNOVERTN (indicator that the item does not belong to any rentalagreement)
                JANFSLD (indicator that the current line contains the balance carriedforward in field WRVBRT)
                • Items to be paid as well as additional details: fields of structure
                • BSAD_KB, to be filled by a LOOP on the internal table TAB_BSAD_KB.
                  BSAD_KB contains the following fields in addition to the fields fromBSAD:
                  JNOVBEWA (indicator that the item has no flow type) and dependent onthis
                  either XBEWART (name of the flow type)
                  or LTEXT (name of the posting key)
                  BKTXT (document header text)
                  JAUGBEL (indicator that the item is from a clearing document; thismeans that clearing document number and document numbermatch)
                  JNOVERTN (indicator that the item does not belong to a rentalagreement)
                  Partners (including owners) from RA and from related objects:
                  INCLUDE RE_CP_OUTPUT_B1_OBJ_PARTNERS OBJECT DOKU ID TX
                  Part of this information about the tenant account sheet appears in thescreen list.
                  The printing sequence is as follows:
                  RESET N1
                  Open items to be paid
                  Cleared items to be paid
                  Open items which are not to be paid
                  Cleared items which are not to be paid

                  Further information
                  Documentation of a related program