SAP ABAP Reports

Share |

RSTXTRAN SAP Report - Transfer of SAPscript Texts to a Correction

RSTXTRAN is a standard ABAP report available within your SAP system (depending on your version and release level). Below is the standard documentation available for this report and a few details of other objects it interacts with such as tables, function modules, includes etc. If you would like to see the full code listing simply enter the object name( RSTXTRAN ) into the relevant SAP transaction such as SE38 or SE80

Within the comments section below there is also an opportunity for anyone to be able add useful hints and information specific to this SAP object. This means that you and other users will be able to find these details quickly by simply searching on the object name.


SAP Documentation for program RSTXTRAN

TRANSACTION CODE: ZTRANSTXT

DESCRIPTION
The report RSTXTRAN allows a set of SAPscript texts (or the text key) to be transferred to a correction or repair of the transport system. The name of the correction/repair can either be transferred as a report parameter, or the correction/repair can be selected later in a selection window. The text key can be qualified generically using the asterisk character (*).
When the report has been executed, the list of selected texts appears. Individual texts can be deselected in this list. When the function "Continue" is executed, the final list of texts which are to be transferred is displayed. The transfer of texts to the correction/repair can now be activated by the appropriate function, and must be confirmed in a dialog box.

PRECONDITION
There is a correction/repair in which the selected text keys can be entered, if it is not being processed. The report can only insert text keys in corrections or repairs, not however in transport requests. However, the objects contained in a correction can be transferred to a transport request with the correction and transport system transaction.
It should also be noted that the report selects texts in the current client, but that the transport system generally exports texts from client 000.

OUTPUT
When the report has been executed, a list of the selected texts is output. Information about whether transfer to the correction/repair was possible is displayed for each text key.
Reasons for failed transfer include
  • the correction/repair is currently being processed

  • the correction/repair does not exist


  • EXAMPLE
    All German standard texts with the ID ST, whose names begin with SAPSCRIPT, are to be entered in the correction B20K009999. The report parameters are then assigned values as follows:
  • Correction: B20K009999

  • Text object: TEXT

  • Text name: SAPSCRIPT*

  • Text ID: ST

  • Text language: D
    Documentation extract taken from SAP system, Copyright (c) SAP AG

  • Includes used within report:

    INCLUDE RSTXDATA.


    Tables used within report and the associated select statement:

    txtab * copy selected texts from TXTAB to FINAL_TXTAB refresh final_txtab.


    Function Modules used within report and the associated call statement:

    SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING DATABASE_ONLY = 'X' ID = TEXTID LANGUAGE = TEXTLANG * NAME = TEXTNAME OBJECT = OBJECT IMPORTING ENTRIES = ENTRIES TABLES SELECTIONS = SELECTIONS T_NAME = TEXTNAME.

    POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = textline1 textline2 = textline2 titel = 'Texte in Korrektur übernehmen'(018) importing answer = answer.

    TR_ORDER_CHOICE_CORRECTION call function 'TR_ORDER_CHOICE_CORRECTION' exporting iv_category = 'CUST' iv_cli_dep = 'X' importing ev_order = tr_order ev_task = tr_task exceptions no_correction_selected = 1.

    TR_APPEND_TO_COMM_OBJS_KEYS call function 'TR_APPEND_TO_COMM_OBJS_KEYS' exporting * WI_SIMULATION = ' ' * WI_SUPPRESS_KEY_CHECK = ' ' wi_trkorr = tr_task tables wt_e071 = tr_e071 wt_e071k = tr_e071k exceptions key_char_in_non_char_field = 1 key_check_keysyntax_error = 2 key_inttab_table = 3 key_longer_field_but_no_generc = 4 key_missing_key_master_fields = 5 key_missing_key_tablekey = 6 key_non_char_but_no_generic = 7 key_no_key_fields = 8 key_string_longer_char_key = 9 key_table_has_no_fields = 10 key_table_not_activ = 11 key_unallowed_key_function = 12 key_unallowed_key_object = 13 key_unallowed_key_objname = 14 key_unallowed_key_pgmid = 15 key_without_header = 16 ob_check_obj_error = 17 ob_devclass_no_exist = 18 ob_empty_key = 19 ob_generic_objectname = 20 ob_ill_delivery_transport = 21 ob_ill_lock = 22 ob_ill_parts_transport = 23 ob_ill_source_system = 24 ob_ill_system_object = 25 ob_ill_target = 26 ob_inttab_table = 27 ob_local_object = 28 ob_locked_by_other = 29 ob_modif_only_in_modif_order = 30 ob_name_too_long = 31 ob_no_append_of_corr_entry = 32 ob_no_append_of_c_member = 33 ob_no_consolidation_transport = 34 ob_no_original = 35 ob_no_shared_repairs = 36 ob_no_systemname = 37 ob_no_systemtype = 38 ob_no_tadir = 39 ob_no_tadir_not_lockable = 40 ob_privat_object = 41 ob_repair_only_in_repair_order = 42 ob_reserved_name = 43 ob_syntax_error = 44 ob_table_has_no_fields = 45 ob_table_not_activ = 46 tr_enqueue_failed = 47 tr_errors_in_error_table = 48 tr_ill_korrnum = 49 tr_lockmod_failed = 50 tr_lock_enqueue_failed = 51 tr_not_owner = 52 tr_no_systemname = 53 tr_no_systemtype = 54 tr_order_not_exist = 55 tr_order_released = 56 tr_order_update_error = 57 tr_wrong_order_type = 58 ob_invalid_target_system = 59 tr_no_authorization = 60 ob_wrong_tabletyp = 61 ob_wrong_category = 62 ob_system_error = 63 ob_unlocal_objekt_in_local_ord = 64 tr_wrong_client = 65 ob_wrong_client = 66 key_wrong_client = 67.


    Text pool values


    Selection Text: TEXTNAME = Text key - name
    Selection Text: TEXTLANG = Text key - language
    Selection Text: TEXTID = Text key - ID
    Selection Text: OBJECT = Text key - object
    Selection Text: LOWER_CA = Text Name in Lower Case
    Selection Text: CORR = Name of correction
    Title: Transfer of SAPscript Texts to a Correction
    Text Symbol: 020 = No correction selected
    Text Symbol: 019 = Following correction was selected
    Text Symbol: 018 = Transfer texts to correction
    Text Symbol: 017 = Result of transfer to correction:
    Text Symbol: 016 = Texts selected for transfer to transport request:
    Text Symbol: 015 = Title
    Text Symbol: 014 = Name
    Text Symbol: 001 = No texts selected!
    Text Symbol: 002 = Number of selected texts:
    Text Symbol: 003 = Object transferred to
    Text Symbol: 004 = Error transferring to
    Text Symbol: 005 = Texts
    Text Symbol: 006 = transferred to
    Text Symbol: 007 = .
    Text Symbol: 008 = Transfer texts to a
    Text Symbol: 009 = correction?
    Text Symbol: 010 = Please select the texts to be transported:
    Text Symbol: 011 = Object
    Text Symbol: 012 = ID
    Text Symbol: 013 = L






    Share |