SAP Reports / Programs | Basis Components | Security | ABAP Authorization and Role Management(BC-SEC-AUT-PFC) SAP BC

SAPMS922 SAP ABAP Report - Filling tables USOBX_C and USOBT_C for the Profile Generator







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


Text pool values


Title: Filling tables USOBX_C and USOBT_C for the Profile Generator
Text Symbol: 001 = Confirmation prompt to delete tables
Text Symbol: 003 = Start of data selection
Text Symbol: 006 = Reading data from customer tables
Text Symbol: 007 = Please wait. Updating change documents (Part 1)
Text Symbol: 011 = Please wait. Updating change documents (Part 2)
Text Symbol: 100 = Transfer of the Profile Generator's SU24 objcts
Text Symbol: 200 = This step is used to fill the Profile Generator's customer tables
Text Symbol: 201 = Executing this step fills the tables for all
Text Symbol: 202 = transactions
Text Symbol: 207 = Information
Text Symbol: 212 = Including transport connctn
Text Symbol: 303 = Initializing the assignment tables (Part 1)
Text Symbol: 304 = Initializing the assignment tables (Part 2)
Text Symbol: 310 = Including writing of change documents
Text Symbol: 406 = Inserting SAP default values into customer tables (Part 1)
Text Symbol: 407 = Inserting SAP default values into customer tables (Part 2)
Text Symbol: 408 = Inserting SAP default values into customer tables (End)


INCLUDES used within this REPORT SAPMS922

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = ld_proc text = p_text EXCEPTIONS OTHERS = 0.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-001 text_object = 'PROFGEN_INFO_TEXT_1' IMPORTING cancelled = ld_canc EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-001 text_object = 'PROFGEN_INFO_TEXT_2' IMPORTING cancelled = ld_canc EXCEPTIONS text_not_found = 01.

DEQUEUE_E_USOBX_C CALL FUNCTION 'DEQUEUE_E_USOBX_C' EXPORTING mode_usobx_c = 'E'.

DEQUEUE_E_USOBT_C CALL FUNCTION 'DEQUEUE_E_USOBT_C' EXPORTING mode_usobt_c = 'E'.

ENQUEUE_E_USOBX_C CALL FUNCTION 'ENQUEUE_E_USOBX_C' EXPORTING mode_usobx_c = 'E'.

ENQUEUE_E_USOBT_C CALL FUNCTION 'ENQUEUE_E_USOBT_C' EXPORTING mode_usobt_c = 'E'.

SUSR_NO_CHECK_IN_SOME_CASES CALL FUNCTION 'SUSR_NO_CHECK_IN_SOME_CASES' IMPORTING rc = ld_result EXCEPTIONS OTHERS = 0.

PRGN_CHECK_SYSTEM_TYPE CALL FUNCTION 'PRGN_CHECK_SYSTEM_TYPE' EXCEPTIONS sap_system = 1.

TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING iv_suppress_dialog = ld_no_dialog iv_request_types = 'K' iv_request = ld_trkorr it_e071 = it_e071 it_e071k = it_e071k IMPORTING es_request = ls_request EXCEPTIONS invalid_request = 1 invalid_request_type = 2 user_not_owner = 3 no_objects_appended = 4 enqueue_error = 5 cancelled_by_user = 6 recursive_call = 7 OTHERS = 8.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

SUSP_SU24_PRFKZ_CD_WRITE CALL FUNCTION 'SUSP_SU24_PRFKZ_CD_WRITE' EXPORTING tcode = sy-tcode TABLES usobx_c_old = it_old usobx_c_new = lt_new EXCEPTIONS OTHERS = 0.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

SUSP_SU24_FLDWRT_CD_WRITE CALL FUNCTION 'SUSP_SU24_FLDWRT_CD_WRITE' EXPORTING tcode = sy-tcode TABLES usobt_c_old = it_old usobt_c_new = lt_new EXCEPTIONS OTHERS = 0.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT





CALL FUNCTION 'DB_COMMIT'.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = ld_func IMPORTING group = ld_fgroup EXCEPTIONS function_not_exist = 1 OTHERS = 2.



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