The Function Modules 

The available function modules are listed in the table below.

For a detailed description of parameters and exceptions, see the R/3 system documentation (Tools ® ABAP Workbench, Function library button, or transaction code SE37).

You can customize your graphics application using a profile (see parameter PROFILE) to be defined in the R/3 Customizing facility.

To change the standard graphics display, edit reference screen SAPLBARC using Menu Painter and call function module GRAPH_SET_CUA_STATUS before calling BARC_GRAPHIC_PBO. GRAPH_SET_CUA_STATUS sends CUA information to the graphics program.

For a detailed description of parameters and exceptions, see the R/3 system documentation (Tools ® ABAP Workbench, Function library button, or transaction code SE37).

SAP Bar Chart Function Modules and what they are used for

Function module

Used for

BARC_GRAPHIC_PBO

Starting bar chart at PBO time, using a graphic profile (parameter PROFILE)

BARC_GRAPHIC_PAI

Analyzing data returned by the graphic

BARC_SET_TIME_AXIS

Setting start and end of time axis

BARC_SET_OPTIONS

Setting options

BARC_ADD_CHART

Creating a chart

BARC_SET_CHART_ATTRIB

Setting chart attributes

BARC_ADD_SECTION

Creating a section on the time axis

BARC_SET_SECTION_ATTRIB

Setting section attributes

BARC_ADD_RIBBON

Adding a ribbon to the time axis

BARC_SET_RIBBON_ATTRIB

Setting attributes for ribbons in the chart

BARC_ADD_GRID

Adding a time grid

BARC_SET_GRID_ATTRIB

Setting grid attributes

BARC_ADD_LAYER

Adding a layer (graphic elements)

BARC_SET_LAYER_ATTRIB

Setting layer attributes

BARC_ADD_LINE

Adding a line

BARC_ADD_CALENDAR

Creating a calendar

BARC_SET_CALENDAR_ATTRIB

Setting attributes for a calendar

BARC_ADD_TIME_PROFILE

Creating time profiles

BARC_SET_TIME_PROFILE_ATTRIB

Setting attributes for time profile

BARC_ADD_INTERVAL

Adding a time interval

BARC_SET_INTERVAL_ATTRIB

Setting time interval attributes

BARC_ADD_TIME_OBJECT

Creating a time object

BARC_CONVERT_DATE

Creating a date string in bar chart format

BARC_REVERT_DATE

Converting a date string in bar chart format to date and time

BARC_ADD_DATELINE

Creating a date line

BARC_SET_DATELINE_ATTRIB

Setting dateline attributes

BARC_GET_PROFILE_CONTENTS

Obtaining profile contents for customizing a chart

BARC_GET_COLUMN_WIDTH

Selecting new column width

BARC_SET_COLUMN_WIDTH

Setting the column width

BARC_GET_TEXTINDEX

Obtaining the text index of a field

BARC_SET_LABELS

Positioning the chart display

BARC_SET_COLUMN_ATTRIB

Setting column attributes

BARC_SET_ROW_ATTRIB

Setting row attributes

BARC_SET_ROW_HEIGHT

Setting the line height

BARC_SET_MAXCHARTS

Setting the maximum number of charts sent