SAP Reports / Programs

RNAFFI01 SAP ABAP Report - IS-H: Release Billing Documents into Financial Accounting







RNAFFI01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for If direct posting to Financial Accounting is not allowed during billing (posting block is marked for the corresponding billing type), you can post on or make follow-up postings for the corresponding invoice documents into Financial Accounting (FI) using this program...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 RNAFFI01 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

NA04 - IS-H: Post invoices with calc.block


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 RNAFFI01. "Basic submit
SUBMIT RNAFFI01 AND RETURN. "Return to original report after report execution complete
SUBMIT RNAFFI01 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: FKDAT = Billing Date
Selection Text: FALNR = Case
Selection Text: EINRICH = Institution
Selection Text: BELEGST = Document Status (SD)
Selection Text: BELEGNR = Document No. (SD)
Selection Text: ALVDVAR = Layout
Title: IS-H: Release Billing Documents into Financial Accounting
Text Symbol: A01 = Select.
Text Symbol: 025 = Layout
Text Symbol: 024 = Output
Text Symbol: 023 = Overview of Billing Documents
Text Symbol: 022 = Release Bill.Docs to Fin.Accg
Text Symbol: 021 = Inst
Text Symbol: 020 = Case
Text Symbol: 019 = Crcy
Text Symbol: 018 = Amount
Text Symbol: 017 = Status
Text Symbol: 016 = Date
Text Symbol: 015 = Customer(FI)
Text Symbol: 014 = Number
Text Symbol: 002 = General Columns
Text Symbol: 001 = No suitable documents were found


INCLUDES used within this REPORT RNAFFI01

INCLUDE MNDATA00.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = 'A' CHANGING CS_VARIANT = GS_VARIANT EXCEPTIONS WRONG_INPUT = 1 NOT_FOUND = 2 PROGRAM_ERROR = 3 OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = HLPVAR I_SAVE = 'A' IMPORTING E_EXIT = GS_EXIT ES_VARIANT = GS_VARIANT EXCEPTIONS NOT_FOUND = 1 PROGRAM_ERROR = 2 OTHERS = 3.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

ISH_INVOICE_RELEASE CALL FUNCTION 'ISH_INVOICE_RELEASE' EXPORTING SS_VBELN = HVBELN TABLES E_MSGTAB = msgtab.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = IARBGB MSGTY = IMSGTY MSGV1 = IMSGV1 MSGV2 = IMSGV2 MSGV3 = IMSGV3 MSGV4 = IMSGV4 TXTNR = ITXTNR IMPORTING ACT_SEVERITY = ACT_SEV MAX_SEVERITY = MAX_SEV EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 01 NOT_ACTIVE = 02.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 01 E_MESSAGE = 02 I_MESSAGE = 03 W_MESSAGE = 04.

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

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'RNAFFI01' I_CALLBACK_PF_STATUS_SET = 'STANDARD' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_SAVE = 'A' IS_LAYOUT = GS_LAYOUT IS_VARIANT = GS_VARIANT IT_EVENTS = GT_EVENTS[] IT_FIELDCAT = XFIELD IS_PRINT = GS_PRINT TABLES T_OUTTAB = IVBRK EXCEPTIONS PROGRAM_ERROR = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'RNAFFI01' I_CALLBACK_PF_STATUS_SET = 'STAT_INFO' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_SAVE = 'A' IS_LAYOUT = GS_LAYOUT * IS_VARIANT = GS_VARIANT IT_EVENTS = GT_EVENTS[] IT_FIELDCAT = XFIELD_INFO I_SCREEN_START_COLUMN = 2 I_SCREEN_START_LINE = 2 I_SCREEN_END_COLUMN = 80 I_SCREEN_END_LINE = 24 TABLES T_OUTTAB = ITAB_INFO EXCEPTIONS PROGRAM_ERROR = 1.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING * einri = itab_fall-einri LINE_SIZE = RNSTAT-LINE_SIZE REPID = RNSTAT-REPID TITLE_LIN1 = RNSTAT-TITLE_LIN1 TITLE_LIN2 = RNSTAT-TITLE_LIN2 ULINE = OFF EXCEPTIONS INVALID_EINRI = 01 OTHERS = 2.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING EINRI = EINRI LINE_SIZE = RNSTAT-LINE_SIZE REPID = RNSTAT-REPID TITLE_LIN1 = RNSTAT-TITLE_LIN1 TITLE_LIN2 = RNSTAT-TITLE_LIN2 ULINE = OFF EXCEPTIONS INVALID_EINRI = 01 OTHERS = 2.



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