SAP Reports / Programs

RFLQ_S002 SAP ABAP Report - Liquidity Calculation: Comparison of Line items with Account Statement







RFLQ_S002 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program moves line items in a liquidity calculation from table FLQITEMFI to table FLQITEMBS and vice versa...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_S002 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_S002. "Basic submit
SUBMIT RFLQ_S002 AND RETURN. "Return to original report after report execution complete
SUBMIT RFLQ_S002 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_ZBUKR = D .
Selection Text: S_LQDAY = D .
Selection Text: S_KUKEY = D .
Selection Text: S_KTONR = D .
Selection Text: S_HKTID = D .
Selection Text: S_HKONT = D .
Selection Text: S_HBKID = D .
Selection Text: S_GJAHR = D .
Selection Text: S_BELNR = D .
Selection Text: S_AZNUM = D .
Selection Text: S_AZDAT = D .
Selection Text: P_TEST = D .
Selection Text: P_LIST = D .
Selection Text: P_FI_BS = From FLQITEMFI to FLQITEMBS
Selection Text: P_BS_FI = From FLQITEMBS to FLQITEMFI
Title: Liquidity Calculation: Comparison of Line items with Account Statement
Text Symbol: TST = Test Run
Text Symbol: PRD = Update Run
Text Symbol: NOT = Other error
Text Symbol: NOK = Line Items OK
Text Symbol: NFZ = If the document number is referenced in FEBEP
Text Symbol: NFB = Line Items from FLQITEMFI to FLQITEMBS
Text Symbol: NEW = New
Text Symbol: NBZ = If the document number is not found in FEBEP
Text Symbol: NBF = Line Items from FLQITEMBS to FLQITEMFI
Text Symbol: FR3 = Control
Text Symbol: FR2 = Selection
Text Symbol: ER3 = No Unique Document Line
Text Symbol: ER2 = No LQ Line Items
Text Symbol: ER1 = No Actual Account
Text Symbol: BUK = Company Code


INCLUDES used within this REPORT RFLQ_S002

INCLUDE FLQCONSTANTS .


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:

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TEXTLINE1 = 'Line items from FLQITEMFI to FLQITEMBS'(NFB) TEXTLINE2 = 'if the document number is referred to in FEBEP'(NFZ) .

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TEXTLINE1 = 'Line items from FLQITEMBS to FLQITEMFI'(NBF) TEXTLINE2 = 'if the document number is not found in FEBEP'(NBZ).

ENQUEUE_EFLQ_COMPANY CALL FUNCTION 'ENQUEUE_EFLQ_COMPANY' EXPORTING ZBUKR = G_BUKRS EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

FLQ_AUTHORITY_SUM CALL FUNCTION 'FLQ_AUTHORITY_SUM' EXPORTING I_ACTVT = CON_LQ_ACTVT_CHANGE I_BUKRS = G_BUKRS EXCEPTIONS NO_AUTHORIZATION = 1 OTHERS = 2.

FLQ_CHECK_ACCOUNT CALL FUNCTION 'FLQ_CHECK_ACCOUNT' EXPORTING I_BUKRS = G_BUKRS I_HKONT = L_T_STATEMENT-HKONT IMPORTING E_FLG_RELEVANT = L_FLG_ACTUAL.

FLQ_READ_WITH_BELNR CALL FUNCTION 'FLQ_READ_WITH_BELNR' EXPORTING I_ZBUKR = G_BUKRS I_BELNR = L_T_ONESTAT-BELNR I_GJAHR = L_T_ONESTAT-GJAHR I_BUZEI = L_T_DOCLINE-BUZEI I_XDELETE = 'X' TABLES T_FLQITEM = L_T_FLQITEM_DEL.

FLQ_UPDATE CALL FUNCTION 'FLQ_UPDATE' TABLES T_ITEM_INS = L_T_FLQITEM_INS T_ITEM_DEL = L_T_FLQITEM_DEL.

FLQ_READ_WITH_BELNR CALL FUNCTION 'FLQ_READ_WITH_BELNR' EXPORTING I_ZBUKR = G_BUKRS I_BELNR = L_T_ITEMBS-BELNR I_GJAHR = L_T_ITEMBS-GJAHR I_XDELETE = 'X' TABLES T_FLQITEM = L_T_FLQITEM_DEL.

FLQ_UPDATE CALL FUNCTION 'FLQ_UPDATE' TABLES T_ITEM_INS = L_T_FLQITEM_INS T_ITEM_DEL = L_T_FLQITEM_DEL.

DEQUEUE_EFLQ_COMPANY CALL FUNCTION 'DEQUEUE_EFLQ_COMPANY' EXPORTING ZBUKR = G_BUKRS.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = SY-CPROG I_INCLNAME = SY-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.

FLQ_BANK_STATEMENT_DISP CALL FUNCTION 'FLQ_BANK_STATEMENT_DISP' EXPORTING I_KUKEY = G_T_LIST-KUKEY I_ESNUM = G_T_LIST-ESNUM EXCEPTIONS NOT_FOUND = 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 RFLQ_S002 or its description.