SAP Reports / Programs | Basis Components | Frontend Services - Use subcomponents (see SAP Note 1322184) | Graphic(BC-FES-GRA) SAP BC

ISGRCGRA SAP ABAP INCLUDE - Common form routines for network (CNET) and bar chart (BARC)







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


Text pool values


Title: Common form routines for network (CNET) and bar chart (BARC)


INCLUDES used within this REPORT ISGRCGRA

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_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = w_ko200 IMPORTING we_order = w_order we_ko200 = w_ko200 we_object_appendable = w_object_appendable TABLES wt_e071k = w_e071k EXCEPTIONS OTHERS = 1.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_order = w_order wi_ko200 = w_ko200 TABLES wt_e071k = w_e071k EXCEPTIONS OTHERS = 1.

GRAPH_OBJ_SET CALL FUNCTION 'GRAPH_OBJ_SET' "Reset Parameters EXPORTING obj_mode = 'CLEAR'.

GRAPH_OBJ_SET CALL FUNCTION 'GRAPH_OBJ_SET' EXPORTING obj_mode = 'CREATE' obj_id = winid.

GRAPH_OBJ_SET CALL FUNCTION 'GRAPH_OBJ_SET' EXPORTING obj_mode = 'CREATE' obj_id = 'DP_OBJ'.

DP_CONTROL_GET_TABLE CALL FUNCTION 'DP_CONTROL_GET_TABLE' EXPORTING h_cntl = handle propertyname = 'DATA' medium = 'R3Table' TABLES data = msg_tab EXCEPTIONS dp_error_invalid_param = 1 dp_error_create = 2 dp_error_get_data = 3 dp_error_get_property = 4 OTHERS = 5.

DP_CONTROL_GET_STREAM CALL FUNCTION 'DP_CONTROL_GET_STREAM' EXPORTING h_cntl = handle propertyname = 'DATASTREAM' "#EC NOTEXT medium = cndp_medium_stream send_data_as_string = 'X' "#EC NOTEXT TABLES data = l_msg_tab1 CHANGING type = mytype subtype = mysubtype EXCEPTIONS dp_error_invalid_param = 1 dp_error_create = 2 dp_error_get_data = 3 dp_error_get_property = 4 OTHERS = 5.

GRAPH_GETOBJ CALL FUNCTION 'GRAPH_GETOBJ' EXPORTING obj_id = 'DP_OBJ' delete = 'x' compress = 'x' "Kompression TABLES object_tab = loc_tab EXCEPTIONS obj_unknown = 1 OTHERS = 2.

CONTROL_CALL_METHOD CALL FUNCTION 'CONTROL_CALL_METHOD' EXPORTING h_control = handle method = 'OpenBracket' p_count = 2 p1 = load_mode p2 = show_progress_indicator no_flush = 'X' EXCEPTIONS cntl_system_error = 1 cntl_error = 2 OTHERS = 3.

DP_CONTROL_ASSIGN_TABLE CALL FUNCTION 'DP_CONTROL_ASSIGN_TABLE' EXPORTING h_cntl = handle propertyname = 'DATA' medium = 'R3Table' TABLES data = loc_tab EXCEPTIONS dp_error_create = 1 dp_error_send_data = 2 dp_error_assign = 3 dp_error_invalid_param = 4.

DP_CONTROL_ASSIGN_STREAM CALL FUNCTION 'DP_CONTROL_ASSIGN_STREAM' EXPORTING h_cntl = handle type = cndp_sap_tab_mimetype subtype = 'sapbarc-stream' propertyname = 'DATA' send_data_as_string = 'X' TABLES data = loc_tab EXCEPTIONS dp_error_create = 1 dp_error_send_data = 2 dp_error_assign = 3 dp_error_invalid_param = 4 OTHERS = 5.

CONTROL_CALL_METHOD CALL FUNCTION 'CONTROL_CALL_METHOD' EXPORTING h_control = handle method = 'CloseBracket' p_count = 0 EXCEPTIONS cntl_system_error = 1 cntl_error = 2 OTHERS = 3.

ExportBarcControl CALL FUNCTION 'ExportBarcControl' DESTINATION cl_gfw=>its_rfc_dest EXPORTING width = l_width height = l_height language = sy-langu IMPORTING content_type = pic_type content_length = pic_size TABLES content = pic_data data = loc_tab EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.

ExportNetzControl CALL FUNCTION 'ExportNetzControl' DESTINATION cl_gfw=>its_rfc_dest EXPORTING width = l_width height = l_height language = sy-langu IMPORTING content_type = pic_type content_length = pic_size TABLES content = pic_data data = loc_tab EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'image' subtype = cndp_sap_tab_unknown size = pic_size lifetime = cndp_lifetime_transaction TABLES data = pic_data CHANGING url = pic_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

CONTROL_CALL_METHOD CALL FUNCTION 'CONTROL_CALL_METHOD' EXPORTING h_control = handle method = 'loadImageFromURL' p_count = 1 p1 = pic_url EXCEPTIONS cntl_system_error = 1 cntl_error = 2 OTHERS = 3.

GRAPH_OBJ_SO_SEND CALL FUNCTION 'GRAPH_OBJ_SO_SEND' EXPORTING app_type = string contents = so_contents title = so_title obj_id = winid.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING view_name = view_name action = action enqueue_mode = 'E' EXCEPTIONS foreign_lock = 2 system_failure = 3 table_not_found = 4 client_reference = 5.



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