SAP Reports / Programs

RFVIDUVA SAP ABAP Report - Sales Settlement (Selection)







RFVIDUVA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report selects the reported sales for sales-based rental agreements and any advance payments on the basic rent that may have been made by the customers...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFVIDUVA into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FOU5 - Sales settlement selection


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFVIDUVA. "Basic submit
SUBMIT RFVIDUVA AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIDUVA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: WE_NR = Business entity
Selection Text: UMS_END = End of settlement period
Selection Text: UMS_BEG = Start of settlement period
Selection Text: S_SKOART = Sales Types
Selection Text: P_BUKRS = Company code
Selection Text: MV_NR = Lease-out
Selection Text: ME_NR = Rental unit
Selection Text: EMV_NR = Collective lease-out
Title: Sales Settlement (Selection)
Text Symbol: UMJ = Sales Period
Text Symbol: UFZ = Error messages
Text Symbol: UET = Lease-Outs Selected for Settlement
Text Symbol: UEF = Error log
Text Symbol: BUK = Company code
Text Symbol: ERM = Sales reports
Text Symbol: ERR = Sales settlement
Text Symbol: FET = Incorrect Data
Text Symbol: NMV = No LOs found for settling
Text Symbol: OBJ = Objects for settling
Text Symbol: SFA = Errors Found:
Text Symbol: SGE = Records Checked:
Text Symbol: SGL = Records Read:
Text Symbol: SWA = Records with Warning:
Text Symbol: UE1 = BE No RU No Lease-out Address
Text Symbol: UE2 = Settlement period Sls type Real sales Relevant sales
Text Symbol: UE3 = STx Clearing amount Cl.amnt incl. STx Cur


INCLUDES used within this REPORT RFVIDUVA

INCLUDE RFVICNGP.
INCLUDE IFRE_CHECK_RE_CLASSIC.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

MONTHS_BETWEEN_TWO_DATES_NEW CALL FUNCTION 'MONTHS_BETWEEN_TWO_DATES_NEW' EXPORTING I_DATUM_VON = START_DATE I_DATUM_BIS = END_DATE I_KZ_INCL_BIS = 'X' I_KZ_VOLLE_MONATE = 'X' IMPORTING E_MONATE = MONATE_MV.

MONTHS_BETWEEN_TWO_DATES_NEW CALL FUNCTION 'MONTHS_BETWEEN_TWO_DATES_NEW' EXPORTING I_DATUM_VON = TAB_MVS-AP_VON I_DATUM_BIS = TAB_MVS-AP_BIS I_KZ_INCL_BIS = 'X' I_KZ_VOLLE_MONATE = 'X' IMPORTING E_MONATE = MONATE_AP.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = FEHLER_TAB.

MV_CHECK_ACTIVE CALL FUNCTION 'MV_CHECK_ACTIVE' EXPORTING OBJNR = OBJNR SMIVE = SMIVE EXCEPTIONS MV_NOT_ACTIVE = 01 STATUS_FAILURE = 02.

REAL_ESTATE_PARTNER_DATA_READ CALL FUNCTION 'REAL_ESTATE_PARTNER_DATA_READ' EXPORTING I1_ROLETYP = CON_ROLETYP-HAUPTMIETER I1_SOBJEKT = LOC_SOBJEKT I1_SNUMOBJ = CON_SNUMOBJ-IMMO I_LINES = 1 I_DATE = SY-DATUM I_KZ_NO_ADDRESS = 'X' IMPORTING E_ADRS = LOC_ADRS EXCEPTIONS OTHERS = 5.

FVZK_GET_SKOART CALL FUNCTION 'FVZK_GET_SKOART' EXPORTING GSART = GSART SBEWZITI = BEWTYP IMPORTING SKOART = KOART EXCEPTIONS GROUP_NOT_FOUND = 01 MORE_THAN_ONE_SKOART_FOUND = 02 NO_SKOART_FOUND = 03.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING COLLECT_AND_SEND = FALSE RESET = TRUE.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = MSG_ID MSGTY = MSG_TYP MSGV1 = PAR_1 MSGV2 = PAR_2 MSGV3 = PAR_3 MSGV4 = PAR_4 TXTNR = MSG_NR ZEILE = ZEILE_MSG EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 01 NOT_ACTIVE = 02.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING OBJECT = TXT SHOW_LINNO = TRUE EXCEPTIONS INCONSISTENT_RANGE = 01 NO_MESSAGES = 02.

FVVI_AUTHORITY_MESSAGE CALL FUNCTION 'FVVI_AUTHORITY_MESSAGE' EXPORTING AUTH_ACTVT = VVACTVT AUTH_BUKRS = ' ' AUTH_OBJECT = AUTH_OBJECT AUTH_SUBRC = LOC_SUBRC EXCEPTIONS AUTHORITY_DESTROYED = 01 NO_AUTHORITY = 02 NO_AUTHORITY_PROFILE = 03 NO_USER_ENTRY = 04 TOO_MUCH_PARAMETER = 05 UNKNOWN_ERROR = 06 WRONG_FIELD_NAME = 07.

MV_ADJUST_TYPE_LOAD CALL FUNCTION 'MV_ADJUST_TYPE_LOAD' EXPORTING I_KZ_BYPASS_BUFFER = ' ' " Mit Puffer I_VIMIMV = LOC_TAB_VIMIMV TABLES E_TAB_VIMI54 = LOC_TAB_VIMI54.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFVIDUVA or its description.