SAP Reports / Programs | Treasury(TR) SAP TR

RFLQ_INV_PREPARE SAP ABAP Report - Liquidity Calculation: Selection of Cust./Vend. Line Items in Invoices







RFLQ_INV_PREPARE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to select customer and vendor line items retrospectively in documents that have already been posted (by substituting a field)...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 RFLQ_INV_PREPARE 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 RFLQ_INV_PREPARE. "Basic submit
SUBMIT RFLQ_INV_PREPARE AND RETURN. "Return to original report after report execution complete
SUBMIT RFLQ_INV_PREPARE 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: S_ZUONR = D .
Selection Text: S_XBLNR = D .
Selection Text: S_WAERS = D .
Selection Text: S_UMSKS = D .
Selection Text: S_LIFNR = D .
Selection Text: S_KUNNR = D .
Selection Text: S_GJAHR = D .
Selection Text: S_CPUDT = D .
Selection Text: S_BUKRS = D .
Selection Text: S_BUDAT = D .
Selection Text: S_BSCHL = D .
Selection Text: S_BLART = D .
Selection Text: S_BELNR = D .
Selection Text: S_AUGDT = D .
Selection Text: P_TEST = D .
Selection Text: P_LIST = D .
Title: Liquidity Calculation: Selection of Cust./Vend. Line Items in Invoices
Text Symbol: TST = Test Run
Text Symbol: PRD = Update Run
Text Symbol: FR3 = Control
Text Symbol: 104 = Number of Headers Changed
Text Symbol: 103 = Number of Line Items Changed
Text Symbol: 102 = Number of Line Items Blocked
Text Symbol: 101 = Number of Line Items Found


INCLUDES used within this REPORT RFLQ_INV_PREPARE

No INCLUDES are used within this REPORT code!


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:

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = P_EXFCT EXCEPTIONS OTHERS = 3.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = 'BKPF_SUBST' TABLES DFIES_TAB = L_T_DFIES.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = 'BSEG_SUBST' TABLES DFIES_TAB = L_T_DFIES.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING BUKRS = G_BUKRS BELNR = G_T_LINES-BELNR GJAHR = G_T_LINES-GJAHR EXCEPTIONS OTHERS = 3.

DEQUEUE_EFBKPF CALL FUNCTION 'DEQUEUE_EFBKPF' EXPORTING BUKRS = G_BUKRS BELNR = G_T_LINES-BELNR GJAHR = G_T_LINES-GJAHR.

FLQ_STANDARD_INV_PREPARE CALL FUNCTION 'FLQ_STANDARD_INV_PREPARE' TABLES T_BKPF = L_T_BKPF T_BSEG = L_T_BSEG T_BKPFSUB = L_T_BKPFSUB T_BSEGSUB = L_T_BSEGSUB.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = L_CPROG I_INCLNAME = L_CPROG I_INTERNAL_TABNAME = 'G_T_LIST' CHANGING CT_FIELDCAT = L_T_FIELDCAT.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_CALLBACK_PROGRAM = L_CPROG IS_LAYOUT = L_F_LAYOUT IT_FIELDCAT = L_T_FIELDCAT IT_EVENTS = L_T_EVENTS I_SAVE = L_SAVE_VAR IS_VARIANT = L_VARIANT TABLES T_OUTTAB = G_T_LIST.



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