SAP Reports / Programs

RFTREY40 SAP ABAP Report - TR-CM Link: Retrieve Cash Management Data from External System







RFTREY40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFTREY40 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

FF$4 - Retrieve planning data


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 RFTREY40. "Basic submit
SUBMIT RFTREY40 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTREY40 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: SO_RECV = TR-CM subsystems
Selection Text: P_TAGFS = Cash position
Selection Text: P_KRZFD = Liquidity forecast
Selection Text: P_EIPO = Planned items
Selection Text: P_EIAVIS = Payment advices
Selection Text: P_AKTUEL = How many days back
Title: TR-CM Link: Retrieve Cash Management Data from External System
Text Symbol: 997 = TR-CM Cash Management Definitions
Text Symbol: 901 = @1D\Q@
Text Symbol: 132 = Program error in external system:
Text Symbol: 116 = Communication error with external system:
Text Symbol: 104 = There is no data in external system that can be selected:
Text Symbol: 069 = ALE document creation unsuccessful
Text Symbol: 068 = No return destination defined in table RFCDES. Define one in target system using SM59.
Text Symbol: 067 = Not accessible at this time.
Text Symbol: 066 = Error log from:
Text Symbol: 065 = Test run, data received has not been saved
Text Symbol: 064 = There is no data that can be sent
Text Symbol: 063 = Unexpected error
Text Symbol: 062 = Source symbol missing
Text Symbol: 061 = The system transmitting an error message
Text Symbol: 060 = Cash management files blocked
Text Symbol: 059 = No authorization
Text Symbol: 058 = Level not maintained in T243C
Text Symbol: 057 = Company code not maintained in T243A
Text Symbol: 056 = Number range does not exist
Text Symbol: 055 = Error in number range (too small)
Text Symbol: 052 = Transmission started
Text Symbol: 050 = Transmission not possible, return code
Text Symbol: 027 = Bk Grp/Bank CM PCurr PlgDate Expir. BusA Amount in LCurr Amount in FCurr
Text Symbol: 026 = Bk Plan. Grp CM PCurr PlgDate Expir. BusA Amount in LCurr Amount in FCurr
Text Symbol: 025 = Bk Bank acct CM PCurr PlgDate Expir. BusA Amount in LCurr Amount in FCurr
Text Symbol: 022 = Memo records
Text Symbol: 021 = Liquidity forecast summary records
Text Symbol: 020 = Cash position summary records
Text Symbol: 019 = Transmission result
Text Symbol: 018 = Source:
Text Symbol: 017 = Queried systems





INCLUDES used within this REPORT RFTREY40

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:

OWN_LOGICAL_SYSTEM_GET call function 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = own_system EXCEPTIONS others = 4.

HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' EXPORTING tabname = 'TBDLST' fieldname = 'LOGSYS' IMPORTING select_value = so_recv-low TABLES fields = l_tab_fields valuetab = l_tab_values EXCEPTIONS others = 1.

TRCM_GET_TRANSFER_INFO call function 'TRCM_GET_TRANSFER_INFO' destination desti TABLES t_liste = i_liste EXCEPTIONS empty_list = 4 others = 16.

WRITE_LIST call function 'WRITE_LIST' TABLES listobject = i_liste EXCEPTIONS empty_list = 4 others = 16.

TRCM_RESTART_TRANSFER call function 'TRCM_RESTART_TRANSFER' destination desti EXPORTING i_forced = 'X' i_arfctid = tid EXCEPTIONS not_found = 4 others = 16.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = t_event.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = ttop.



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