SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

RFTBMA02 SAP ABAP Report - Treasury: Utilization of Total Volume of Master Agreements







RFTBMA02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program gives you an overview of the utilization of the total volume for the master agreements you have chosen, and covers the transactions assigned to the master agreements from the start date you specify...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 RFTBMA02 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

TBM6 - Treasury: Vol. Check for Master Agr.


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 RFTBMA02. "Basic submit
SUBMIT RFTBMA02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBMA02 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_DSTART = D Start Date
Selection Text: S_RMAID = D Master Agreement
Title: Treasury: Utilization of Total Volume of Master Agreements
Text Symbol: CTR = Control
Text Symbol: HDC = | Key Date |Curr.| Volume | Utilization| Free(+)/Excess(-) |
Text Symbol: HDD = |Curr |Key Date |CoCd|Transaction | Utilization|PType|TrType|Product Type |Transaction Type
Text Symbol: MAG = Master Agreement
Text Symbol: T01 = Currency
Text Symbol: T02 = Key Date
Text Symbol: T03 = Utilization
Text Symbol: T04 = PType
Text Symbol: T05 = BTType
Text Symbol: T06 = Product Type
Text Symbol: T07 = BusTrans Type
Text Symbol: T08 = Volume
Text Symbol: T09 = Free (+)/ Exceeding (-)
Text Symbol: TTL = Volume Utilization


INCLUDES used within this REPORT RFTBMA02

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:

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING ID = 'SELECTION' EXCEPTIONS OTHERS = 0.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING ID = 'WORK' EXCEPTIONS OTHERS = 0.

TM_ACTIVITY_CHAIN_GET_IDS CALL FUNCTION 'TM_ACTIVITY_CHAIN_GET_IDS' EXPORTING BUKRS = VTBFHA-BUKRS RFHA = VTBFHA-RFHA RFHAZUL = VTBFHA-RFHAZUL TABLES T_RFHAZU = T_ACT EXCEPTIONS OTHERS = 1.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = H_DATE FOREIGN_AMOUNT = U_DELTA FOREIGN_CURRENCY = U_WAERS LOCAL_CURRENCY = VTBMACR-WAERS TYPE_OF_RATE = S_MACR-SRTYP IMPORTING LOCAL_AMOUNT = W_AMOUNT-DELTA EXCEPTIONS OTHERS = 1.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING ID = 'OUTPUT' EXCEPTIONS OTHERS = 0.

FTR_TRANSACTIONTYPE_GET_TEXT CALL FUNCTION 'FTR_TRANSACTIONTYPE_GET_TEXT' EXPORTING I_SGSART = W_INDEX-SGSART I_SFHAART = W_INDEX-SFHAART IMPORTING E_XGSART = H_XGSART E_XFHAART = H_XFHAART.

TB_DEAL_DISPLAY * CALL FUNCTION 'TB_DEAL_DISPLAY' * EXPORTING * I_BUKRS = HIDE_DEAL-BUKRS * I_RFHA = HIDE_DEAL-RFHA * EXCEPTIONS * OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GC_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_STRUCTURE_NAME = GC_SNAME1 IS_LAYOUT = GS_LAYOUT IT_SORT = GT_SORT IT_FIELDCAT = GT_FIELDCAT * I_SAVE = GC_X IT_EVENTS = GT_EVENTS TABLES T_OUTTAB = IT_OUTTAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GC_REPID I_STRUCTURE_NAME = IC_T_SNAME I_INTERNAL_TABNAME = IC_IT_OUTTAB I_INCLNAME = GC_REPID CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING IS_BHDGD = BHDGD IMPORTING EO_FORM_GRID = LT_OUTPUT.

TB_DEAL_DISPLAY CALL FUNCTION 'TB_DEAL_DISPLAY' EXPORTING I_BUKRS = HIDE_DEAL-BUKRS I_RFHA = HIDE_DEAL-RFHA EXCEPTIONS OTHERS = 1.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING IS_BHDGD = BHDGD IMPORTING EO_FORM_GRID = LT_OUTPUT.

TB_DEAL_DISPLAY CALL FUNCTION 'TB_DEAL_DISPLAY' EXPORTING I_BUKRS = HIDE_DEAL-BUKRS I_RFHA = HIDE_DEAL-RFHA EXCEPTIONS OTHERS = 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 RFTBMA02 or its description.