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

BARCBO01 SAP ABAP Report - Demo Program: Bar Chart in Display Mode







BARCBO01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Model program for bar chart graphic in display mode Bar chart graphic..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter BARCBO01 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 BARCBO01. "Basic submit
SUBMIT BARCBO01 AND RETURN. "Return to original report after report execution complete
SUBMIT BARCBO01 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: GRUPPE = Graphic profile group
Selection Text: INDEX = Graphic profile index
Selection Text: NAME = Graphic profile name
Title: Demo Program: Bar Chart in Display Mode
Text Symbol: 001 = Boxes
Text Symbol: 002 = Box number 1
Text Symbol: 003 = Box number 2
Text Symbol: 004 = Box number 3
Text Symbol: 005 = Box number 4
Text Symbol: 006 = Box number 5


INCLUDES used within this REPORT BARCBO01

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:

BARC_SET_TIME_AXIS CALL FUNCTION 'BARC_SET_TIME_AXIS' EXPORTING START = '01.01.1994;'

BARC_ADD_CHART CALL FUNCTION 'BARC_ADD_CHART' IMPORTING ID = CHART.

BARC_SET_COLUMN_WIDTH CALL FUNCTION 'BARC_SET_COLUMN_WIDTH' EXPORTING CHART_ID = CHART WIDTH = 4000.

BARC_SET_CHART_ATTRIB CALL FUNCTION 'BARC_SET_CHART_ATTRIB' EXPORTING FL = BC_CONST-CHART_TITLE_BOX ID = CHART VAL = VAL.

BARC_ADD_SECTION CALL FUNCTION 'BARC_ADD_SECTION' EXPORTING SIZE = 100 START = '01.01.1994;'

BARC_ADD_RIBBON CALL FUNCTION 'BARC_ADD_RIBBON' EXPORTING CHART_ID = CHART COLOR_TYPE = 'R1' SECTION_ID = SECTION UNIT = '5'. "Tagesribbon

BARC_ADD_RIBBON CALL FUNCTION 'BARC_ADD_RIBBON' EXPORTING CHART_ID = CHART COLOR_TYPE = 'R2' SECTION_ID = SECTION UNIT = '3'. "Monatsribbon

BARC_GRAPHIC_PBO CALL FUNCTION 'BARC_GRAPHIC_PBO' EXPORTING CONFIRM = SPACE PROFILE = GRAPH_PROFILE STAT = STAT TABLES BOXES = BOXES BOX_VALS = BOX_VALS DELETIONS = DELETIONS LINKS = LINKS LINK_VALS = LINK_VALS NODES = NODES NODE_VALS = NODE_VALS POSITIONS = POSITIONS.

GRAPH_RECEIVE CALL FUNCTION 'GRAPH_RECEIVE' IMPORTING MCODE = M_TYP EXCEPTIONS INV_COMMUNICATION = 1 NO_BATCH = 2.

BARC_GRAPHIC_PAI CALL FUNCTION 'BARC_GRAPHIC_PAI' IMPORTING GRAPH_CMD = GRAPH_CMD TABLES BOXES = BOXES BOX_VALS = BOX_VALS DELETIONS = DELETIONS NODES = NODES NODE_VALS = NODE_VALS POSITIONS = POSITIONS LINKS = LINKS LINK_VALS = LINK_VALS EXCEPTIONS INV_WINID = 1.



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