SAP Reports / Programs | Cross-Application Components | General Application Functions | Data Retention Tool(CA-GTF-DRT) SAP CA

RTXWSEGS SAP ABAP Report - DART: Configure data segments







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

FTWQ - Configure data file data segments


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 RTXWSEGS. "Basic submit
SUBMIT RTXWSEGS AND RETURN. "Return to original report after report execution complete
SUBMIT RTXWSEGS 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_BUKRS = D Company Code
Title: DART: Configure data segments
Text Symbol: P01 = Segment list depends on the country code of the comp. code
Text Symbol: ID4 = Index 4
Text Symbol: ID3 = Index 3
Text Symbol: ID2 = Index 2
Text Symbol: ID1 = Index 1
Text Symbol: H10 = Description
Text Symbol: H09 = SourceTab4
Text Symbol: H08 = SourceTab3
Text Symbol: H07 = SourceTab2
Text Symbol: H06 = SourceTab1
Text Symbol: H05 = CtrlGroup
Text Symbol: H04 = CtrlKeyfig
Text Symbol: H03 = Period
Text Symbol: H02 = Comp. code
Text Symbol: H01 = Structure
Text Symbol: B02 = Save before leaving maintenance?
Text Symbol: B01 = Data segments have been changed.
Text Symbol: B00 = Leave maintenance
Text Symbol: A02 = the data segment?
Text Symbol: A01 = Do you really want to delete
Text Symbol: A00 = Delete segment &
Text Symbol: 010 = Select field from "&1"
Text Symbol: 005 = Segment list of company code &
Text Symbol: 004 = Customer defined master data
Text Symbol: 003 = SAP defined master data
Text Symbol: 002 = Customer defined transaction data
Text Symbol: 001 = SAP defined transaction data


INCLUDES used within this REPORT RTXWSEGS

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:

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemtype = glo_system_type EXCEPTIONS OTHERS = 3.

TXW_GLOBAL_PARAMETER_GET CALL FUNCTION 'TXW_GLOBAL_PARAMETER_GET' EXPORTING parm_name = 'EXT_SN_RANGE' IMPORTING parm_value = gf_ext_sn_range.

ENQUEUE_E_TXW_SEG CALL FUNCTION 'ENQUEUE_E_TXW_SEG'. "HW1063968

TXW_GET_COUNTRY_CODE CALL FUNCTION 'TXW_GET_COUNTRY_CODE' EXPORTING P_BUKRS = p_bukrs IMPORTING P_COUNTRY_CODE = g_country_code P_SUBRC = subrc.

TXW_CREATE_SEGLIST CALL FUNCTION 'TXW_CREATE_SEGLIST' EXPORTING COUNTRY_KEY = g_country_code.

TXW_CHECK_SEGLIST CALL FUNCTION 'TXW_CHECK_SEGLIST' EXPORTING SEGMENTNAME = t_txw_c_strc-exp_struct IMPORTING SUBRC = subrc.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-a01 textline2 = text-a02 titel = title IMPORTING answer = answer.

DEQUEUE_E_TXW_SEG CALL FUNCTION 'DEQUEUE_E_TXW_SEG'. "HW1063968

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING system_client_edit = l_trans EXCEPTIONS OTHERS = 0.

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' IMPORTING ev_task = task EXCEPTIONS OTHERS = 1.

ENQUEUE_E_TRKORR CALL FUNCTION 'ENQUEUE_E_TRKORR' EXPORTING trkorr = task.

DEQUEUE_E_TRKORR CALL FUNCTION 'DEQUEUE_E_TRKORR' EXPORTING trkorr = task.

DEQUEUE_E_TXW_SEG CALL FUNCTION 'DEQUEUE_E_TXW_SEG'. "HW1063968

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' IMPORTING ev_task = task EXCEPTIONS OTHERS = 1.

ENQUEUE_E_TRKORR CALL FUNCTION 'ENQUEUE_E_TRKORR' EXPORTING trkorr = task.

DEQUEUE_E_TRKORR CALL FUNCTION 'DEQUEUE_E_TRKORR' EXPORTING trkorr = task.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-b01 textline2 = text-b02 "save before leaving? titel = text-b00 IMPORTING answer = answer.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '1' object = 'TXW_SN_TD' IMPORTING number = ld_segnum EXCEPTIONS interval_not_found = 1 object_not_found = 2 interval_overflow = 3 OTHERS = 4.

NUMBER_GET_NEXT





CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '1' object = 'TXW_SN_MD' IMPORTING number = ld_segnum EXCEPTIONS interval_not_found = 1 object_not_found = 2 interval_overflow = 3 OTHERS = 4.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynumb translate_to_upper = 'X' TABLES dynpfields = dynpfields.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING titel = title show_all_values_at_first_time = 'X' display = disp IMPORTING select_value = field TABLES fields = h_fields valuetab = h_values EXCEPTIONS OTHERS = 4.

TRINT_APPEND_TO_COMM_ARRAYS CALL FUNCTION 'TRINT_APPEND_TO_COMM_ARRAYS' EXPORTING wi_trkorr = task iv_append_at_order = 'X' TABLES wt_e071 = wt_e071 wt_e071k = wt_e071k wt_trmess_int = lt_trmess_int wt_trpar_int = lt_trpar_int EXCEPTIONS OTHERS = 1.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = field_value object_type = 'DT'.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = txw_c_strc-exp_struct object_type = 'DT'.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = msgarbgb msgty = msgtype msgv1 = p_exp_struct msgv2 = field_tab-fieldname msgv3 = field_tab-datatype txtnr = '152'.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS OTHERS = 1.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING show_linno = ' '.



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