SAP EHS00_DISPLAY_AUDIO_GRAPH Function Module for









EHS00_DISPLAY_AUDIO_GRAPH is a standard ehs00 display audio graph SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ehs00 display audio graph FM, simply by entering the name EHS00_DISPLAY_AUDIO_GRAPH into the relevant SAP transaction such as SE37 or SE38.

Function Group: EHS00_MEDTESTS
Program Name: SAPLEHS00_MEDTESTS
Main Program: SAPLEHS00_MEDTESTS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EHS00_DISPLAY_AUDIO_GRAPH pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EHS00_DISPLAY_AUDIO_GRAPH'"
EXPORTING
* I_CONTAINER = "
* I_PARENT = "
* I_X_AXIS_TITLE = "
* I_Y_AXIS_TITLE = "
* I_FORMAT = "
* I_LOGARITHMIC_X_SCALE = ESP1_TRUE "
* I_TOP = "
* I_LEFT = "
* I_HEIGHT = "
* I_WIDTH = "
I_PRESENTATION_TYPE = "
* I_HEADER = "
* I_ORIENTATION = 1 "
* I_SHOW = ESP1_TRUE "

IMPORTING
E_RETVAL = "
E_CONTENT_TYPE = "
E_CONTENT_LENGTH = "

TABLES
I_VALUES_TAB = "
I_COLUMN_TEXTS_TAB = "
* I_ROW_LABELS_TAB = "
* I_COLUMN_LABELS_TAB = "
* I_CONTENT_TAB = "

EXCEPTIONS
ERROR_OCCURRED = 1
.



IMPORTING Parameters details for EHS00_DISPLAY_AUDIO_GRAPH

I_CONTAINER -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PARENT -

Data type: ANY
Optional: Yes
Call by Reference: Yes

I_X_AXIS_TITLE -

Data type: GFWLABEL
Optional: Yes
Call by Reference: Yes

I_Y_AXIS_TITLE -

Data type: GFWLABEL
Optional: Yes
Call by Reference: Yes

I_FORMAT -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LOGARITHMIC_X_SCALE -

Data type: ESP1_BOOLEAN
Default: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TOP -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LEFT -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_HEIGHT -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WIDTH -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PRESENTATION_TYPE -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

I_HEADER -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ORIENTATION -

Data type: I
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SHOW -

Data type: ESP1_BOOLEAN
Default: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for EHS00_DISPLAY_AUDIO_GRAPH

E_RETVAL -

Data type: SYMSGNO
Optional: No
Call by Reference: No ( called with pass by value option)

E_CONTENT_TYPE -

Data type: CHAR120
Optional: No
Call by Reference: No ( called with pass by value option)

E_CONTENT_LENGTH -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EHS00_DISPLAY_AUDIO_GRAPH

I_VALUES_TAB -

Data type: GPRVAL
Optional: No
Call by Reference: Yes

I_COLUMN_TEXTS_TAB -

Data type: GPRTXT
Optional: No
Call by Reference: Yes

I_ROW_LABELS_TAB -

Data type: GPRTXTLA
Optional: Yes
Call by Reference: Yes

I_COLUMN_LABELS_TAB -

Data type: GPRTXTLA
Optional: Yes
Call by Reference: Yes

I_CONTENT_TAB -

Data type: W3MIME
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

ERROR_OCCURRED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EHS00_DISPLAY_AUDIO_GRAPH Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_retval  TYPE SYMSGNO, "   
lv_i_container  TYPE C, "   
lt_i_values_tab  TYPE STANDARD TABLE OF GPRVAL, "   
lv_error_occurred  TYPE GPRVAL, "   
lv_i_parent  TYPE ANY, "   
lv_i_x_axis_title  TYPE GFWLABEL, "   
lv_i_y_axis_title  TYPE GFWLABEL, "   
lv_i_format  TYPE I, "   
lv_i_logarithmic_x_scale  TYPE ESP1_BOOLEAN, "   ESP1_TRUE
lv_i_top  TYPE I, "   
lv_e_content_type  TYPE CHAR120, "   
lt_i_column_texts_tab  TYPE STANDARD TABLE OF GPRTXT, "   
lv_i_left  TYPE I, "   
lv_e_content_length  TYPE I, "   
lt_i_row_labels_tab  TYPE STANDARD TABLE OF GPRTXTLA, "   
lv_i_height  TYPE I, "   
lt_i_column_labels_tab  TYPE STANDARD TABLE OF GPRTXTLA, "   
lv_i_width  TYPE I, "   
lt_i_content_tab  TYPE STANDARD TABLE OF W3MIME, "   
lv_i_presentation_type  TYPE I, "   
lv_i_header  TYPE C, "   
lv_i_orientation  TYPE I, "   1
lv_i_show  TYPE ESP1_BOOLEAN. "   ESP1_TRUE

  CALL FUNCTION 'EHS00_DISPLAY_AUDIO_GRAPH'  "
    EXPORTING
         I_CONTAINER = lv_i_container
         I_PARENT = lv_i_parent
         I_X_AXIS_TITLE = lv_i_x_axis_title
         I_Y_AXIS_TITLE = lv_i_y_axis_title
         I_FORMAT = lv_i_format
         I_LOGARITHMIC_X_SCALE = lv_i_logarithmic_x_scale
         I_TOP = lv_i_top
         I_LEFT = lv_i_left
         I_HEIGHT = lv_i_height
         I_WIDTH = lv_i_width
         I_PRESENTATION_TYPE = lv_i_presentation_type
         I_HEADER = lv_i_header
         I_ORIENTATION = lv_i_orientation
         I_SHOW = lv_i_show
    IMPORTING
         E_RETVAL = lv_e_retval
         E_CONTENT_TYPE = lv_e_content_type
         E_CONTENT_LENGTH = lv_e_content_length
    TABLES
         I_VALUES_TAB = lt_i_values_tab
         I_COLUMN_TEXTS_TAB = lt_i_column_texts_tab
         I_ROW_LABELS_TAB = lt_i_row_labels_tab
         I_COLUMN_LABELS_TAB = lt_i_column_labels_tab
         I_CONTENT_TAB = lt_i_content_tab
    EXCEPTIONS
        ERROR_OCCURRED = 1
. " EHS00_DISPLAY_AUDIO_GRAPH




ABAP code using 7.40 inline data declarations to call FM EHS00_DISPLAY_AUDIO_GRAPH

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
DATA(ld_i_logarithmic_x_scale) = ESP1_TRUE.
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_orientation) = 1.
 
DATA(ld_i_show) = ESP1_TRUE.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!