SAP PAMS_GRAPH_S_BOX_SPL Function Module for Refresh Graphic









PAMS_GRAPH_S_BOX_SPL is a standard pams graph s box spl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Refresh Graphic processing and below is the pattern details for this FM, 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 pams graph s box spl FM, simply by entering the name PAMS_GRAPH_S_BOX_SPL into the relevant SAP transaction such as SE37 or SE38.

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



Function PAMS_GRAPH_S_BOX_SPL 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 'PAMS_GRAPH_S_BOX_SPL'"Refresh Graphic
EXPORTING
IV_CHART = "Object identification in bar chart
IV_INDEX = "Index of chart in bar chart
IT_ROW_ELEMENT = "Lines
IT_SPLITS = "Table Type for Splits

TABLES
T_BOXES = "Boxes in Gantt chart
T_BOX_VALS = "Attributes of Chart-Independent Objects in Gantt Chart
T_POSITIONS = "Positions (lines) of boxes and nodes in the Gantt chart
.



IMPORTING Parameters details for PAMS_GRAPH_S_BOX_SPL

IV_CHART - Object identification in bar chart

Data type: BCCHART-ID
Optional: No
Call by Reference: No ( called with pass by value option)

IV_INDEX - Index of chart in bar chart

Data type: BCCHART-INDEX
Optional: No
Call by Reference: No ( called with pass by value option)

IT_ROW_ELEMENT - Lines

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

IT_SPLITS - Table Type for Splits

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

TABLES Parameters details for PAMS_GRAPH_S_BOX_SPL

T_BOXES - Boxes in Gantt chart

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

T_BOX_VALS - Attributes of Chart-Independent Objects in Gantt Chart

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

T_POSITIONS - Positions (lines) of boxes and nodes in the Gantt chart

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

Copy and paste ABAP code example for PAMS_GRAPH_S_BOX_SPL 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:
lt_t_boxes  TYPE STANDARD TABLE OF BCBOXES, "   
lv_iv_chart  TYPE BCCHART-ID, "   
lv_iv_index  TYPE BCCHART-INDEX, "   
lt_t_box_vals  TYPE STANDARD TABLE OF BCVALS, "   
lt_t_positions  TYPE STANDARD TABLE OF BCPOSITION, "   
lv_it_row_element  TYPE ANY TABLE, "   
lv_it_splits  TYPE PAMS_TT_SPLIT. "   

  CALL FUNCTION 'PAMS_GRAPH_S_BOX_SPL'  "Refresh Graphic
    EXPORTING
         IV_CHART = lv_iv_chart
         IV_INDEX = lv_iv_index
         IT_ROW_ELEMENT = lv_it_row_element
         IT_SPLITS = lv_it_splits
    TABLES
         T_BOXES = lt_t_boxes
         T_BOX_VALS = lt_t_box_vals
         T_POSITIONS = lt_t_positions
. " PAMS_GRAPH_S_BOX_SPL




ABAP code using 7.40 inline data declarations to call FM PAMS_GRAPH_S_BOX_SPL

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.

 
"SELECT single ID FROM BCCHART INTO @DATA(ld_iv_chart).
 
"SELECT single INDEX FROM BCCHART INTO @DATA(ld_iv_index).
 
 
 
 
 


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!