SAP PRS_ACC_ALV_CATEGORY_CHANGED Function Module for Category changed in ACC ALV









PRS_ACC_ALV_CATEGORY_CHANGED is a standard prs acc alv category changed SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Category changed in ACC ALV 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 prs acc alv category changed FM, simply by entering the name PRS_ACC_ALV_CATEGORY_CHANGED into the relevant SAP transaction such as SE37 or SE38.

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



Function PRS_ACC_ALV_CATEGORY_CHANGED 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 'PRS_ACC_ALV_CATEGORY_CHANGED'"Category changed in ACC ALV
EXPORTING
LR_NODE = "Web Dynpro: Interface for Context Nodes
LV_UPDKZ_INS = "Update indicator for inserted row
LV_UPDKZ_DEL = "Update indicator for deleted row
MODIFIED_ROW_INDEX = "Natural Number
LV_ATTRIBUTE_NAME = "
LV_UPDKZ_INSUPD = "Update indicator
LV_UPDKZ_INSDEL = "Update indicator

IMPORTING
LT_ELEMENT_REF = "Web Dynpro: Set of Elements of Context Node
.



IMPORTING Parameters details for PRS_ACC_ALV_CATEGORY_CHANGED

LR_NODE - Web Dynpro: Interface for Context Nodes

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

LV_UPDKZ_INS - Update indicator for inserted row

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

LV_UPDKZ_DEL - Update indicator for deleted row

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

MODIFIED_ROW_INDEX - Natural Number

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

LV_ATTRIBUTE_NAME -

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

LV_UPDKZ_INSUPD - Update indicator

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

LV_UPDKZ_INSDEL - Update indicator

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

EXPORTING Parameters details for PRS_ACC_ALV_CATEGORY_CHANGED

LT_ELEMENT_REF - Web Dynpro: Set of Elements of Context Node

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

Copy and paste ABAP code example for PRS_ACC_ALV_CATEGORY_CHANGED 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_lr_node  TYPE IF_WD_CONTEXT_NODE, "   
lv_lt_element_ref  TYPE WDR_CONTEXT_ELEMENT_SET, "   
lv_lv_updkz_ins  TYPE UPDKZ_D, "   
lv_lv_updkz_del  TYPE UPDKZ_D, "   
lv_modified_row_index  TYPE INT4, "   
lv_lv_attribute_name  TYPE STRING, "   
lv_lv_updkz_insupd  TYPE UPDKZ_D, "   
lv_lv_updkz_insdel  TYPE UPDKZ_D. "   

  CALL FUNCTION 'PRS_ACC_ALV_CATEGORY_CHANGED'  "Category changed in ACC ALV
    EXPORTING
         LR_NODE = lv_lr_node
         LV_UPDKZ_INS = lv_lv_updkz_ins
         LV_UPDKZ_DEL = lv_lv_updkz_del
         MODIFIED_ROW_INDEX = lv_modified_row_index
         LV_ATTRIBUTE_NAME = lv_lv_attribute_name
         LV_UPDKZ_INSUPD = lv_lv_updkz_insupd
         LV_UPDKZ_INSDEL = lv_lv_updkz_insdel
    IMPORTING
         LT_ELEMENT_REF = lv_lt_element_ref
. " PRS_ACC_ALV_CATEGORY_CHANGED




ABAP code using 7.40 inline data declarations to call FM PRS_ACC_ALV_CATEGORY_CHANGED

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.

 
 
 
 
 
 
 
 


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!