SAP Reports / Programs

RFVIAB30 SAP ABAP Report - Flows on Correction Items / Assets







RFVIAB30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RFVIAB30 serves the purpose of displaying flows on correction items and assets assigned to correction items...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 RFVIAB30 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

FO_RFVIAB30 - Correction Item Flows


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 RFVIAB30. "Basic submit
SUBMIT RFVIAB30 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIAB30 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_AFABE = Asset Depreciation Area
Selection Text: P_GKNKZ = Variant Offsetting Account Det
Selection Text: P_RDSBL = Skip Reversal Docs
Selection Text: P_VARNT = Layout
Selection Text: S_ANLN1 = Asset Number
Selection Text: S_ANLN2 = Asset Subnumber
Selection Text: S_BELNR = D Document Number
Selection Text: S_BUDAT = D Posting Date
Selection Text: S_BUKRS = D Company Code
Selection Text: S_GJAHR = D Fiscal Year
Selection Text: S_MONAT = D Posting Period
Selection Text: S_MWSKZ = VAT ID in Doc.
Selection Text: S_PVSTB = D Origin Input Tx Doc.
Selection Text: S_SBERI = Correction Items
Title: Flows on Correction Items / Assets
Text Symbol: L17 = Ref.Organ.Unit Asset LI
Text Symbol: L16 = Ref.Trans. Asset LI
Text Symbol: L15 = Tax Code CorrItems
Text Symbol: L14 = Ref.Organ.Unit CorrItems
Text Symbol: L13 = Ref.Doc.No. CorrItems
Text Symbol: L12 = Ref.Transaction CorrItems
Text Symbol: L11 = Ref.Key FI Document
Text Symbol: L10 = Ref.Transaction FI Doc.
Text Symbol: B03 = Display
Text Symbol: B02 = Settings
Text Symbol: B01 = Selections
Text Symbol: L32 = Line Item Text
Text Symbol: L36 = AsstFlowAmount
Text Symbol: L42 = Asset Offset.Entry
Text Symbol: L43 = Subno.Asset Offset.Entry
Text Symbol: L44 = Offsetting Entry Text
Text Symbol: L46 = Fiscal Year of Reversal
Text Symbol: L52 = Ref.Transaction Source Doc.
Text Symbol: L53 = Ref.Doc.No. Source Doc.
Text Symbol: L54 = Ref.Organ.Unit Source Doc.
Text Symbol: L56 = Message ShrtForm
Text Symbol: L91 = Logical System FI Doc.
Text Symbol: L92 = Doc.Date FI Doc.





Text Symbol: L98 = Text Origin InTx Doc.
Text Symbol: M15 = TxCde CI
Text Symbol: M32 = Line Item Text
Text Symbol: M25 = PostAmount FI-Doc.
Text Symbol: M21 = AC/PC ITxView
Text Symbol: M19 = TxCdeFI
Text Symbol: S98 = Text Origin
Text Symbol: S56 = Msg
Text Symbol: S46 = Rev. year
Text Symbol: S44 = OffAcctNm
Text Symbol: S43 = SNoO
Text Symbol: S42 = Ass.OffsEntry
Text Symbol: S36 = AssFlowAmt
Text Symbol: S32 = Line Item Text
Text Symbol: S25 = FI Doc
Text Symbol: S21 = AC/PC ITxView
Text Symbol: S19 = TxFI
Text Symbol: S15 = TxCI
Text Symbol: M98 = Text Origin InTx Doc.
Text Symbol: M56 = Message
Text Symbol: M46 = Rev. year
Text Symbol: M44 = Offset.Acct Nme
Text Symbol: M43 = SNo AOE
Text Symbol: M42 = Asset Offs.Post.
Text Symbol: T03 = Display Call Parameters
Text Symbol: T02 = Always Select Follow-On Doc.
Text Symbol: T01 = Skip Reversal Docs
Text Symbol: M36 = AsstFlowAmount
Text Symbol: L28 = FI Doc. Posting Date
Text Symbol: L27 = Posting Date LI CorrItems
Text Symbol: L26 = Doc.Date LI CorrItems
Text Symbol: L25 = PostAmount FI-Doc.
Text Symbol: L21 = AC/PC InpTax View
Text Symbol: L19 = Tax Code FI Doc.
Text Symbol: L18 = Logical System Asset LI


INCLUDES used within this REPORT RFVIAB30

INCLUDE RFVIAB30_DATA.
INCLUDE RFVIAB30_SELSCREEN.


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:






FI_DOCUMENT_READ call function 'FI_DOCUMENT_READ' exporting i_awtyp = gs_vitaxa-r_awtyp i_awref = gs_vitaxa-r_awref i_aworg = gs_vitaxa-r_aworg * i_awsys = gs_vitaxa-awsys i_bukrs = gs_vitaxa-bukrs * i_gjahr = gs_anek-gjahr i_budat = gs_vitaxa-budat * i_xblnr = gs_anek-xblnr importing E_AWTYP = gd_awtyp E_AWREF = gd_awref E_AWORG = gd_aworg E_AWSYS = gd_awsys tables t_bkpf = gt_bkpf t_bseg = gt_bseg exceptions WRONG_INPUT = 8 NOT_FOUND = 9.

REMD_ENCODE_IMKEY CALL FUNCTION 'REMD_ENCODE_IMKEY' EXPORTING I_MANDT = SY-MANDT I_sberi = gs_vitaxa-sberi IMPORTING E_IMKEY = gd_imkey * TABLES EXCEPTIONS NO_IMKEY = 7 OBJECT_DOES_NOT_EXIST = 8 OBJECT_KEY_INCONSISTENT = 9.

FI_DOCUMENT_READ call function 'FI_DOCUMENT_READ' exporting i_awtyp = gs_anek-awtyp i_awref = gs_anek-belnr i_aworg = gs_anek-aworg i_awsys = gs_anek-awsys i_bukrs = gs_anek-bukrs i_gjahr = gs_anek-gjahr i_budat = gs_anek-budat i_xblnr = gs_anek-xblnr importing E_AWTYP = gd_awtyp E_AWREF = gd_awref E_AWORG = gd_aworg E_AWSYS = gd_awsys tables t_bkpf = gt_bkpf t_bseg = gt_bseg exceptions WRONG_INPUT = 8 NOT_FOUND = 9.

REMD_DECODE_IMKEY CALL FUNCTION 'REMD_DECODE_IMKEY' EXPORTING I_MANDT = SY-MANDT I_IMKEY = gs_bseg-imkey IMPORTING E_objtyp = gd_imobj E_VIREMASTER = gs_immre * TABLES EXCEPTIONS OBJECT_DOES_NOT_EXIST = 8 OBJECT_KEY_INCONSISTENT = 9.

GET_GKONT_2 call function 'GET_GKONT_2' exporting gknkz = p_gknkz tables xbseg = gt_bseg xbsegz = gt_bsegz exceptions BUZEI_NOT_FOUND = 4 GKNKZ_NOT_FOUND = 8.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid * i_callback_pf_status_set = i_callback_user_command = 'HANDLE_ALV_COMMAND' * i_structure_name = is_layout = ls_layout it_fieldcat = gt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = l_variant it_events = lt_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = p_gt_xfit EXCEPTIONS program_error = 1 OTHERS = 2 .

SMPO_DISPLAY_ONE_MESSAGE call function 'SMPO_DISPLAY_ONE_MESSAGE' exporting * TITEL = ls_data-msgti MSGID = ls_data-msgid MSGTY = ls_data-msgty MSGNO = ls_data-msgno MSGV1 = ls_data-msgv1 MSGV2 = ls_data-msgv2 MSGV3 = ls_data-msgv3 MSGV4 = ls_data-msgv4.

FORMAT_MESSAGE call function 'FORMAT_MESSAGE' exporting ID = p_gs_messg-msgid LANG = sy-langu NO = p_gs_messg-msgno V1 = p_gs_messg-msgv1 V2 = p_gs_messg-msgv2 V3 = p_gs_messg-msgv3 V4 = p_gs_messg-msgv4 importing msg = p_gs_messg-msgtx exceptions NOT_FOUND = 8.

GET_DOMAENENTEXT call function 'GET_DOMAENENTEXT' exporting dname = gd_dname dvalue = gd_dvalue importing dtext = gd_dtext exceptions NO_DOMAIN_FOUND = 8.

FI_DOCUMENT_READ call function 'FI_DOCUMENT_READ' exporting * i_awtyp = gs_xfit-awtyp * i_awref = gs_xfit-awref * i_aworg = gs_xfit-aworg * i_awsys = gs_xfit-awsys i_bukrs = gs_xfit-bukrs i_belnr = gs_xfit-awref i_gjahr = gs_xfit-gjahr * i_budat = gs_xfit-f_budat * i_xblnr = gs_xfit-xblnr importing E_AWTYP = gd_awtyp E_AWREF = gd_awref E_AWORG = gd_aworg E_AWSYS = gd_awsys tables t_bkpf = gt_bkpf t_bseg = gt_bseg exceptions WRONG_INPUT = 8 NOT_FOUND = 9.

FI_DOCUMENT_READ call function 'FI_DOCUMENT_READ' exporting i_awtyp = gs_xfit-awtyp i_awref = gs_xfit-awref i_aworg = gs_xfit-aworg * i_awsys = gs_xfit-awsys i_bukrs = gs_xfit-bukrs * i_belnr = gs_xfit-belnr i_gjahr = gs_xfit-gjahr * i_budat = gs_xfit-f_budat * i_xblnr = gs_xfit-xblnr importing E_AWTYP = gd_awtyp E_AWREF = gd_awref E_AWORG = gd_aworg E_AWSYS = gd_awsys tables t_bkpf = gt_bkpf t_bseg = gt_bseg exceptions WRONG_INPUT = 8 NOT_FOUND = 9.

CONVERSION_EXIT_SWENR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_SWENR_OUTPUT' EXPORTING INPUT = ls_xfit-anlue IMPORTING OUTPUT = ld_swenr EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

SELOPTS_AND_PARAMS CALL FUNCTION 'SELOPTS_AND_PARAMS' EXPORTING PROGRAM = g_repid SORT_BY_ORDER = 'X' TABLES SELPARS = lt_selparas.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = ld_tabname FIELDNAME = ld_fieldname TABLES DFIES_TAB = lt_dfies.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_top.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_top.

FI_CHECK_DATE CALL FUNCTION 'FI_CHECK_DATE' EXPORTING i_bukrs = i_user = sy-uname i_program = g_repid i_from_date = ld_date_min i_to_date = ld_date_max i_from_per = ld_per_min i_to_per = ld_per_max i_from_year = ld_gjahr_min i_to_year = ld_gjahr_max i_applk = 'IM-RE' IMPORTING e_return = lv_return EXCEPTIONS no_authority_prog = 1 no_authority_date = 2 wrong_parameter = 3 others = 4.

FI_CHECK_DATE CALL FUNCTION 'FI_CHECK_DATE' EXPORTING i_bukrs = ' ' i_user = sy-uname i_program = g_repid i_applk = 'IM-RE' IMPORTING e_return = lv_return EXCEPTIONS no_authority_prog = 1 no_authority_date = 2 wrong_parameter = 3 others = 4.



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