SAP Reports / Programs

RFVINK42 SAP ABAP Report - Costs Assigned Directly to Lease-Outs







RFVINK42 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Costs Directly Assigned to Lease-Outs This report displays all CO documents directly assigned to lease-outs, and whether the document was taken into account in a service charge settlement run, and if so, in which one...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 RFVINK42 into the relevant SAP transactions such as SE38 or SE80


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 RFVINK42. "Basic submit
SUBMIT RFVINK42 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVINK42 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: P_DBISP = End of Settlement Period
Selection Text: P_DVONP = Start of Settlement Period
Selection Text: P_KSTAR = Consider all cost elements
Title: Costs Assigned Directly to Lease-Outs
Text Symbol: 001 = Name
Text Symbol: 002 = Address
Text Symbol: 003 = Settlement Period
Text Symbol: 004 = Addit. data
Text Symbol: 005 = Consider all cost elements
Text Symbol: 006 = not in Customizing (TIV8A)
Text Symbol: 007 = Input tax distribution is missing


INCLUDES used within this REPORT RFVINK42

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:

KOKRS_GET_FROM_BUKRS call function 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = ls_vimimv-bukrs IMPORTING e_kokrs = ld_kokrs EXCEPTIONS no_kokrs_found = 1 others = 2.

RE_SCS_DIRECT_COSTS_CALC CALL FUNCTION 'RE_SCS_DIRECT_COSTS_CALC' EXPORTING id_bukrs = ls_vimimv-bukrs is_coep = ld_coep * is_viak13 = id_viak13 * ID_KOKRS = * ID_BELNR = * ID_BUZEI = if_only_disp_doc = abap_true IMPORTING ed_net_amount = ld_net_amount ed_tax_amount = ld_tax_amount * ed_mv_tax_amount = ld_mv_tax_amount es_cobk = ld_cobk ef_no_vst = lf_no_vst EXCEPTIONS err_param = 1 err_not_found = 2 err_no_vitaxd_entry = 3 err_tax = 4 OTHERS = 5.

RE_FI_VIDOCS_DATA_BKPF CALL FUNCTION 'RE_FI_VIDOCS_DATA_BKPF' EXPORTING I_PID = ld_pid I_PJAHR = ls_item-fi_gjahr I_PVORG = 'VSTX' * I_SXBLNR = IMPORTING E_CNT_VIDOCS = ld_cnt_vidocs TABLES * T_BLNTAB = T_BKPF = lt_bkpf.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = p_g_repid i_callback_pf_status_set = p_status i_callback_user_command = p_command IT_FIELDCAT = P_GT_FIELDCAT[] IT_EVENTS = LT_EVENTS is_layout = ls_layout I_TABNAME_HEADER = 'P_T_OUTTAB_HEADER' I_TABNAME_ITEM = 'P_T_OUTTAB_ITEM' IS_KEYINFO = LS_KEYINFO IT_SORT = LT_SORT i_save = 'A' is_variant = lt_variant TABLES T_OUTTAB_HEADER = P_T_OUTTAB_HEADER T_OUTTAB_ITEM = P_T_OUTTAB_ITEM.

ISGP_VZGPO_READ CALL FUNCTION 'ISGP_VZGPO_READ' EXPORTING I_SNUMOBJ = 'VI' I_SOBJEKT = id_INTRENO I_DATE = SY-DATUM * I_END_DATE = TABLES YVZGPO = lT_VZGPO * R_PARTNER = R_ROLETYP = RNG_ROLETYP * R_ROLE = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

FVZ_PARTNER_IN_PRINTFORM CALL FUNCTION 'FVZ_PARTNER_IN_PRINTFORM' EXPORTING * ADDRESS_INTO_MEMORY = 'X' ADRTYP = lT_VZGPO-ADR_REF BUKRS_IN = id_BUKRS DATE_IN = SY-DATUM NO_ADDRESS = 'X' PARTNR = lT_VZGPO-PARTNR * ROLETYP = ' ' * LINES = 5 * CNTRY_IN = IMPORTING * anschwa_out = NAME_OUT = Ls_BP000 * adref_out = EXCEPTIONS ADDRESS_NOT_FOUND = 1 PARTNER_NOT_FOUND = 2 OTHERS = 3.

FVMK_KOSTL_OBJECT_GET CALL FUNCTION 'FVMK_KOSTL_OBJECT_GET' EXPORTING DATUM = SY-DATUM OBJNR = VIMIMV-SNKS IMPORTING KOSTL = ld_KOSTL.

REMD_ENCODE_IMKEY CALL FUNCTION 'REMD_ENCODE_IMKEY' EXPORTING i_bukrs = id_bukrs i_swenr = id_swenr i_smenr = id_smenr IMPORTING e_adrnr = adrnr e_intreno = ld_intreno EXCEPTIONS OTHERS = 1.

ADDRESS_ASSIGN CALL FUNCTION 'ADDRESS_ASSIGN' EXPORTING adr_in = adrnr function = 'P' objekttyp = con_obtyp_adr-mieteinheit IMPORTING adrwa_out = l_sans1 EXCEPTIONS OTHERS = 1.



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 RFVINK42 or its description.