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

RFTR_RELEASE_WRKITEM_DEAL_LIST SAP ABAP Report - Transaction Release: Work Item Overview and Status of all Transactions







RFTR_RELEASE_WRKITEM_DEAL_LIST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report program shows all the release workflows that are triggered in Treasury...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 RFTR_RELEASE_WRKITEM_DEAL_LIST 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

TJ08 - Transaction Release: Work Item List


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 RFTR_RELEASE_WRKITEM_DEAL_LIST. "Basic submit
SUBMIT RFTR_RELEASE_WRKITEM_DEAL_LIST AND RETURN. "Return to original report after report execution complete
SUBMIT RFTR_RELEASE_WRKITEM_DEAL_LIST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Workflow List
Selection Text: WKI_STAT = Work item status
Selection Text: WKI_DATE = Created on
Selection Text: WKI_CRUS = Created by
Selection Text: WKI_AAGT = Last processed by
Selection Text: SGSART = D Product type
Selection Text: SFHAART = D Transaction type
Selection Text: RFHA = D Transaction
Selection Text: RESULT = Transaction status
Selection Text: P_WP = Securities
Selection Text: P_TX = Foreign exchange
Selection Text: P_TM = Money market
Selection Text: P_TI = Derivatives
Selection Text: PAR_VAR = Layout
Selection Text: BUKRS = D Company code
Selection Text: ACTVT = Transaction activity
Title: Transaction Release: Work Item Overview and Status of all Transactions
Text Symbol: APP = Applicatn
Text Symbol: 512 = Creator
Text Symbol: 511 = Wrk item stat.
Text Symbol: 510 = WI status
Text Symbol: 504 = Obs.
Text Symbol: 503 = Being revised
Text Symbol: 502 = Reversed
Text Symbol: 501 = Released
Text Symbol: 346 = Applicatn
Text Symbol: 345 = Workflow
Text Symbol: 103 = Addit. data
Text Symbol: 101 = Transactn data
Text Symbol: 092 = Preparing workflow data
Text Symbol: 091 = Reading workflow data
Text Symbol: 090 = Generating list
Text Symbol: 077 = Output control
Text Symbol: 025 = Release workflow overview from &1, &2 hrs
002 number
001 Item-ID Cat Workflow number Workflow title Status Date CoCd Transact.- Result


INCLUDES used within this REPORT RFTR_RELEASE_WRKITEM_DEAL_LIST

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' "/ user specific save available CHANGING cs_variant = alv_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = alv_variant i_tabname_header = alv_name_thead i_tabname_item = alv_name_titem * it_default_fieldcat = i_save = 'A' IMPORTING e_exit = h_exit es_variant = alv_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = alv_variant.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 text = 'Workflow-Daten werden gelesen'(091).

SWI_WORKITEMS_OF_OBJTYPE_GET * call function 'SWI_WORKITEMS_OF_OBJTYPE_GET' * exporting * objtype = 'BUS2042' * lastdate = wki_date-low * tables * itemlist = all_workitems.

SWI_WORKFLOWS_OF_OBJTYPE_READ CALL FUNCTION 'SWI_WORKFLOWS_OF_OBJTYPE_READ' EXPORTING objtype = 'BUS2042' TABLES workflow_tab = workflow_tab EXCEPTIONS OTHERS = 0.

SAP_WAPI_WORKITEMS_TO_OBJECT CALL FUNCTION 'SAP_WAPI_WORKITEMS_TO_OBJECT' EXPORTING objtype = 'BUS2042' language = sy-langu TABLES worklist = worklist.

SWI_READ_CONTAINER_ATTRIBUTE CALL FUNCTION 'SWI_READ_CONTAINER_ATTRIBUTE' EXPORTING wi_id = top_workitems-wi_id element = 'BUS2042' * TAB_INDEX = 000000 attribute = 'COMPANYCODE' IMPORTING value = list-bukrs EXCEPTIONS read_failed = 0 OTHERS = 0.

SWI_READ_CONTAINER_ATTRIBUTE CALL FUNCTION 'SWI_READ_CONTAINER_ATTRIBUTE' EXPORTING wi_id = top_workitems-wi_id element = 'BUS2042' * TAB_INDEX = 000000 attribute = 'TRANSACTION' IMPORTING value = list-rfha EXCEPTIONS read_failed = 0 OTHERS = 0.

SWI_READ_CONTAINER_ATTRIBUTE CALL FUNCTION 'SWI_READ_CONTAINER_ATTRIBUTE' EXPORTING wi_id = top_workitems-wi_id element = 'BUS2042' * TAB_INDEX = 000000 attribute = 'PRODUCTTYPE' IMPORTING value = list-sgsart EXCEPTIONS read_failed = 0 OTHERS = 0.

TB_PRODUCTTYPE_CHECK CALL FUNCTION 'TB_PRODUCTTYPE_CHECK' EXPORTING * APPLICATION = ' ' producttype = list-sgsart * PRODUCTTYPE_INT = ' ' IMPORTING tzpa_entry = int_tzpa EXCEPTIONS application = 1 producttype = 2 producttype_int = 3 OTHERS = 4 .

SWI_READ_CONTAINER_ATTRIBUTE CALL FUNCTION 'SWI_READ_CONTAINER_ATTRIBUTE' EXPORTING wi_id = top_workitems-wi_id element = 'BUS2042' * TAB_INDEX = 000000 attribute = 'TRANSACTIONTYPE' IMPORTING value = list-sfhaart EXCEPTIONS read_failed = 0 OTHERS = 0.

SWI_READ_CONTAINER_ELEMENT CALL FUNCTION 'SWI_READ_CONTAINER_ELEMENT' EXPORTING wi_id = top_workitems-wi_id element = 'RESULT' * TAB_INDEX = 000000 IMPORTING value = ld_list_result EXCEPTIONS read_failed = 0 OTHERS = 0.

SWI_READ_CONTAINER_ELEMENT CALL FUNCTION 'SWI_READ_CONTAINER_ELEMENT' EXPORTING wi_id = top_workitems-wi_id element = 'CURRENTACTIVITY' * TAB_INDEX = 000000 IMPORTING value = ld_list_actvt EXCEPTIONS read_failed = 0 OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 text = 'Workflow-Daten werden aufbereitet'(092).

SWI_READ_CONTAINER_ELEMENT CALL FUNCTION 'SWI_READ_CONTAINER_ELEMENT' EXPORTING wi_id = list-wi_id "/top_workitems-wi_id element = 'CURRENTAGENT' * TAB_INDEX = 000000 IMPORTING value = currentagent EXCEPTIONS read_failed = 1 OTHERS = 2.

SWW_WI_STATUS_TEXT_GET CALL FUNCTION 'SWW_WI_STATUS_TEXT_GET' EXPORTING language = sy-langu status = langu_status-wi_status TABLES statustext = help_langu_status EXCEPTIONS read_failed = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 text = 'Liste wird aufgebaut'(090).

REUSE_ALV_LIST_DISPLAY





CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_buffer_active = 'X' i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = g_user_command i_structure_name = 'VTSWFRGREP' is_layout = is_layout it_fieldcat = gt_fieldcat_table * IT_EXCLUDING = it_special_groups = gt_special_group_table it_sort = gt_sort_table * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = ' ' i_save = 'A' is_variant = alv_variant it_events = it_events_table it_event_exit = it_event_exit_table is_reprep_id = alv_reprep_id * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES t_outtab = list EXCEPTIONS program_error = 1 OTHERS = 2.

SWL_SHOW_PROCESS_DATA CALL FUNCTION 'SWL_SHOW_PROCESS_DATA' EXPORTING wf_id = list-wi_id.

SWL_SHOW_PROCESS_DATA CALL FUNCTION 'SWL_SHOW_PROCESS_DATA' EXPORTING wf_id = list-wi_id.

SWL_SHOW_PROCESS_DATA CALL FUNCTION 'SWL_SHOW_PROCESS_DATA' EXPORTING wf_id = list-wi_id.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_list_commentary EXCEPTIONS OTHERS = 0.

TB_PRODUCTTYPE_VALUES CALL FUNCTION 'TB_PRODUCTTYPE_VALUES' IMPORTING selection = c_sgsart TABLES t_applications = l_t_appl.

TB_DEALTYPE_VALUES CALL FUNCTION 'TB_DEALTYPE_VALUES' IMPORTING selection_dealtype = c_sfhaart selection_producttype = c_sgsart TABLES t_applications = l_t_appl.



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