SAP Reports / Programs | Governance, Risk and Compliance | Access Control(GRC-AC) SAP GRC

GRAC_BATCH_RISK_ANALYSIS_DET SAP ABAP Report - Program for Batch Risk Analysis Jobs Status







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

GRACRABATCH_MONITOR - Batch Risk Analysis Monitor


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 GRAC_BATCH_RISK_ANALYSIS_DET. "Basic submit
SUBMIT GRAC_BATCH_RISK_ANALYSIS_DET AND RETURN. "Return to original report after report execution complete
SUBMIT GRAC_BATCH_RISK_ANALYSIS_DET 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_BMODE = Batch Mode
Selection Text: P_JNAME = Job Name
Selection Text: S_DATE = Job Date
Selection Text: S_OWNER = User Name
Selection Text: S_STATUS = Job status
Selection Text: S_TIME = Job Time
Title: Program for Batch Risk Analysis Jobs Status
Text Symbol: 001 = Show Parameters
Text Symbol: 003 = Batch Risk Analysis history
Text Symbol: 004 = DUMMY
Text Symbol: 005 = Show Details
Text Symbol: 006 = Restart
Text Symbol: 007 = Delete
Text Symbol: 008 = Error in Flush
Text Symbol: 009 = The control could not be created
Text Symbol: 010 = Background Jobs
Text Symbol: 011 = Object Data
Text Symbol: 012 = Package Data
Text Symbol: 013 = Terminate
Text Symbol: 014 = Refresh


INCLUDES used within this REPORT GRAC_BATCH_RISK_ANALYSIS_DET

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:

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(008).

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_BATCH_MODE' * STATE = 'A' langu = sy-langu * IMPORTING * GOTSTATE = * DD01V_WA = TABLES dd07v_tab = lt_batch * EXCEPTIONS * ILLEGAL_INPUT = 1 * OTHERS = 2 .

RRBA_CONVERT_TIMESTAMP_TO_STR * CALL FUNCTION 'RRBA_CONVERT_TIMESTAMP_TO_STR' * EXPORTING * i_timestamp = gs_jobs-start_time * IMPORTING * e_output = lv_time.

RRBA_CONVERT_TIMESTAMP_TO_STR * CALL FUNCTION 'RRBA_CONVERT_TIMESTAMP_TO_STR' * EXPORTING * i_timestamp = gs_jobs-end_time * IMPORTING * e_output = lv_time.

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_BATCH_JOB_STATUS' * STATE = 'A' langu = sy-langu * IMPORTING * GOTSTATE = * DD01V_WA = TABLES dd07v_tab = lt_status * EXCEPTIONS * ILLEGAL_INPUT = 1 * OTHERS = 2 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'The control could not be created'(009).

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_OBJECT_TYPE' langu = sy-langu * TABLES dd07v_tab = lt_pack
.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = lv_package IMPORTING output = lv_package.

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_BATCH_PACK_STATUS' * STATE = 'A' langu = sy-langu TABLES dd07v_tab = lt_status * EXCEPTIONS * ILLEGAL_INPUT = 1 * OTHERS = 2 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'The control could not be created'(009).

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_OBJECT_TYPE' langu = sy-langu * TABLES dd07v_tab = lt_pack .

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = lv_obj IMPORTING output = lv_obj.

RRBA_CONVERT_TIMESTAMP_TO_STR CALL FUNCTION 'RRBA_CONVERT_TIMESTAMP_TO_STR' EXPORTING i_timestamp = gs_object-start_time IMPORTING e_output = lv_start_time.

RRBA_CONVERT_TIMESTAMP_TO_STR CALL FUNCTION 'RRBA_CONVERT_TIMESTAMP_TO_STR' EXPORTING i_timestamp = gs_object-end_time IMPORTING e_output = lv_end_time.

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_BATCH_OBJ_STATUS' * STATE = 'A' langu = sy-langu TABLES dd07v_tab = lt_status.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'The control could not be created'(009).

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'GRAC_BATCH_MODE' * STATE = 'A' langu = sy-langu * IMPORTING * GOTSTATE = * DD01V_WA = TABLES dd07v_tab = lt_batch * EXCEPTIONS * ILLEGAL_INPUT = 1 * OTHERS = 2 .

IB_CONVERT_INTO_TIMESTAMP * CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP' * EXPORTING * i_datlo = s_date-low * i_timlo = s_time-low * i_tzone = sy-zonlo * IMPORTING * e_timestamp = lv_low1.

IB_CONVERT_INTO_TIMESTAMP





* CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP' * EXPORTING * i_datlo = s_date-high * i_timlo = s_time-high * i_tzone = sy-zonlo * IMPORTING * e_timestamp = lv_high1.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_buffer_active = space i_structure_name = ls_output1 i_client_never_display = 'X' i_bypassing_buffer = l_bypass_buffer CHANGING ct_fieldcat = ct_fcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_buffer_active = space i_structure_name = ls_output2 i_client_never_display = 'X' i_bypassing_buffer = l_bypass_buffer CHANGING ct_fieldcat = ct_fcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_buffer_active = space i_structure_name = ls_output3 i_client_never_display = 'X' i_bypassing_buffer = l_bypass_buffer CHANGING ct_fieldcat = ct_fcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

GRAC_SOD_PP_RESTART CALL FUNCTION 'GRAC_SOD_PP_RESTART' EXPORTING iv_packmanid = ls_out1-packmanid IMPORTING ev_success = lv_restart_success ev_return_msg = lv_return_msg.



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