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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFLQ_INV_PREPARE - Liquidity Calculation: Selection of Cust./Vend. Line Items in Invoices RFLQ_INV_PREPARE - Liquidity Calculation: Selection of Cust./Vend. Line Items in Invoices RFLQ_INVCHAIN - Liquidity Calculation: Analysis of a Document Chain RFLQ_INVCHAIN - Liquidity Calculation: Analysis of a Document Chain RFLQ_INIT_TP - Liquidity Calculation: Set Up Top Level RFLQ_INIT_TP - Liquidity Calculation: Set Up Top Level