SAP Reports / Programs

SCPR_ADJUST_SKEYS_SFW SAP ABAP Report - SCPRADJUSTSKEYSSFW







SCPR_ADJUST_SKEYS_SFW 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 SCPR_ADJUST_SKEYS_SFW into the relevant SAP transactions such as SE38 or SE80


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 SCPR_ADJUST_SKEYS_SFW. "Basic submit
SUBMIT SCPR_ADJUST_SKEYS_SFW AND RETURN. "Return to original report after report execution complete
SUBMIT SCPR_ADJUST_SKEYS_SFW 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: S_COMP = D .
Selection Text: S_ID = D .
Selection Text: TRKORR = D .
Text Symbol: 001 = BC Set Selection
Text Symbol: 002 = Transport Request
Text Symbol: 003 = Select Transport Request
Text Symbol: 011 = BC Set &1 is not recorded. Processing cancelled
Text Symbol: 012 = Inconsistent SKeys in BC Set &1
Text Symbol: 013 = Number of BC Sets with incorrect SKeys:
Text Symbol: 014 = Error when Storing the SKeys of BC Set &1
Text Symbol: 016 = Table SKeys in BC Set &1 updated


INCLUDES used within this REPORT SCPR_ADJUST_SKEYS_SFW

INCLUDE SCPRCONST.


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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_progname dynumb = lv_dynpnumb translate_to_upper = 'X' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' * DETERMINE_LOOP_INDEX = ' ' TABLES dynpfields = lt_dynp_read EXCEPTIONS * INVALID_ABAPWORKAREA = 1 * INVALID_DYNPROFIELD = 2 * INVALID_DYNPRONAME = 3 * INVALID_DYNPRONUMMER = 4 * INVALID_REQUEST = 5 * NO_FIELDDESCRIPTION = 6 * INVALID_PARAMETER = 7 * UNDEFIND_ERROR = 8 * DOUBLE_CONVERSION = 9 * STEPL_NOT_FOUND = 10 OTHERS = 99.

TR_F4_REQUESTS CALL FUNCTION 'TR_F4_REQUESTS' EXPORTING iv_username = space iv_trkorr_pattern = trkorr iv_trfunctions = space "'FDPG' * IV_TRSTATUS = * IV_FROM_DATE = * IV_TO_DATE = * IV_CLIENT = * IV_PROJECT = iv_title = 'Transportauftrag auswählen'(003) * IV_VIA_SELECTION_SCREEN = 'X' * IV_COMPLETE_REQUESTS = 'X' * IT_EXCLUDE_REQUESTS = IMPORTING ev_selected_request = trkorr * ES_SELECTED_REQUEST = .

SCPR_AUTHORITY_CHECK CALL FUNCTION 'SCPR_AUTHORITY_CHECK' EXPORTING task = 'CHANGE' * ID = * CATEGORY = EXCEPTIONS wrong_parameters = 1 no_authority = 2 OTHERS = 3 .

SCPR_DB_ATTR_GET_LIST CALL FUNCTION 'SCPR_DB_ATTR_GET_LIST' EXPORTING category = pcat_switch component = s_comp IMPORTING sel_count = bcset_counter TABLES profs = s_id profout = lt_attr EXCEPTIONS nothing_found = 1 OTHERS = 2.

SCPR_PRSET_DB_GET_ORIG_TABLES CALL FUNCTION 'SCPR_PRSET_DB_GET_ORIG_TABLES' EXPORTING id = -id version = version_new category = -category TABLES * scprattr = lt_attr[] scprvals = lt_vals[] scprvall = lt_vall[] scprreca = lt_reca[] scprskeys = lt_skeys_old[] * scprfldv = lt_fldv[] * scprtext = lt_text[] * scprpprl = lt_pprl[].

SCPR_PRSET_DB_FLDDESCRS_GET CALL FUNCTION 'SCPR_PRSET_DB_FLDDESCRS_GET' EXPORTING flddescr_reduc = 'X' entities_variable = space IMPORTING table_errors = lt_errors_descr TABLES recattr = lt_reca[] flddescrs = lt_tabledescr[].

SCPR_TEMPL_DB_SCPRSKEYS_CALC CALL FUNCTION 'SCPR_TEMPL_DB_SCPRSKEYS_CALC' EXPORTING bcset = -id version = version_new category = -category recattr = lt_reca values = lt_vals tabledescrs = lt_tabledescr IMPORTING it_keys = lt_skeys_new.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = lwa_ko200 * IV_NO_STANDARD_EDITOR = ' ' iv_no_show_option = 'X' * IV_EXTERNALPS = ' ' * IV_EXTERNALID = ' ' * IV_NO_PS = ' ' * IMPORTING * we_order = l_order * WE_TASK = * WE_KO200 = * WE_OBJECT_APPENDABLE = * ES_TADIR = * TABLES * WT_E071K = EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3 .

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_order = trkorr wi_ko200 = lwa_ko200 * IV_NO_STANDARD_EDITOR = ' ' iv_no_show_option = 'X' * IV_EXTERNALPS = ' ' * IV_EXTERNALID = ' ' * IV_NO_PS = ' ' * IV_OLD_CALL = IMPORTING we_order = l_order * WE_TASK = * WE_KO200 = * ES_TADIR = * TABLES * WT_E071K = EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3 .

SCPR_TEMPL_DB_SCPRSKEYS_STORE CALL FUNCTION 'SCPR_TEMPL_DB_SCPRSKEYS_STORE' EXPORTING bcset = -id version = version_new category = -category CHANGING it_keys = lt_skeys_new[] EXCEPTIONS wrong_parameters = 1 db_delete_error = 2 db_write_error = 3 OTHERS = 4.



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