SAP Reports / Programs

RFTBTRA2 SAP ABAP Report - Transaction Authorization for Trader - Change Documents







RFTBTRA2 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 RFTBTRA2 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

TACD - Trader: Change Documents


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 RFTBTRA2. "Basic submit
SUBMIT RFTBTRA2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBTRA2 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: ALV_GRID = Display in List Viewer
Selection Text: P_BUKRS = Company code
Selection Text: P_DATE = Date
Selection Text: P_TRADER = Trader
Selection Text: P_USER = User
Selection Text: P_VAR = D .
Title: Transaction Authorization for Trader - Change Documents
Text Symbol: ALV = Output Control
Text Symbol: BKR = Company code
Text Symbol: CDC = Change
Text Symbol: DSP = Display in List Viewer
Text Symbol: TRA = Trader


INCLUDES used within this REPORT RFTBTRA2

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_CD_MINIMAL_DATE_DETERMINE CALL FUNCTION 'TB_CD_MINIMAL_DATE_DETERMINE' EXPORTING date = p_date-low option = p_date-option sign = p_date-sign IMPORTING minimal_date = hlp_date EXCEPTIONS OTHERS = 1.

TB_CD_NOT_FOUND_MESSAGE CALL FUNCTION 'TB_CD_NOT_FOUND_MESSAGE'.

TB_CD_DISPLAY_ACC_CHDOC CALL FUNCTION 'TB_CD_DISPLAY_ACC_CHDOC' EXPORTING ls_variant = g_variant ls_layout = gs_layout l_save = g_save l_obj_class = cd_objectclass l_obj_id = hlp_objectid TABLES lt_events = gt_events t_header = t_header.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = cd_objectclass objectid = hlp_objectid username = hlp_user date_of_change = hlp_date TABLES i_cdhdr = tcdhdr EXCEPTIONS OTHERS = 1.

TB_CD_POSITIONS_WRITE CALL FUNCTION 'TB_CD_POSITIONS_WRITE' EXPORTING header = cdhdr EXCEPTIONS OTHERS = 1.

TB_CD_POSITIONS_WRITE CALL FUNCTION 'TB_CD_POSITIONS_WRITE' EXPORTING header = cdhdr EXCEPTIONS OTHERS = 1.

TB_CD_POSITIONS_WRITE CALL FUNCTION 'TB_CD_POSITIONS_WRITE' EXPORTING header = cdhdr is_accessible = 'X' EXCEPTIONS OTHERS = 1.

TB_CD_TOP_OF_PAGE CALL FUNCTION 'TB_CD_TOP_OF_PAGE' EXPORTING header = cdhdr EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.



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