SAP PVSVS_READ_CHARS_OF_CLASS Function Module for NOTRANSL: Lesen der Merkmale einer Klasse
PVSVS_READ_CHARS_OF_CLASS is a standard pvsvs read chars of class SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Lesen der Merkmale einer Klasse 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 pvsvs read chars of class FM, simply by entering the name PVSVS_READ_CHARS_OF_CLASS into the relevant SAP transaction such as SE37 or SE38.
Function Group: PPEUICONS
Program Name: SAPLPPEUICONS
Main Program: SAPLPPEUICONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PVSVS_READ_CHARS_OF_CLASS 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 'PVSVS_READ_CHARS_OF_CLASS'"NOTRANSL: Lesen der Merkmale einer Klasse.
EXPORTING
* I_CLASS = "Class number
* I_TYPE = "Class Type
* I_CLINT = "Internal Class Number
* I_DIRECT = "Generic Type
* I_ALL = "Generic Type
IMPORTING
E_CHARS = "Chars.
E_VALS = "Characteristic Values
IMPORTING Parameters details for PVSVS_READ_CHARS_OF_CLASS
I_CLASS - Class number
Data type: KLASSE_DOptional: Yes
Call by Reference: Yes
I_TYPE - Class Type
Data type: KLASSENARTOptional: Yes
Call by Reference: Yes
I_CLINT - Internal Class Number
Data type: PPE_CLINTOptional: Yes
Call by Reference: Yes
I_DIRECT - Generic Type
Data type: COptional: Yes
Call by Reference: Yes
I_ALL - Generic Type
Data type: COptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for PVSVS_READ_CHARS_OF_CLASS
E_CHARS - Chars.
Data type: PPEVS_CHARS_TABOptional: No
Call by Reference: Yes
E_VALS - Characteristic Values
Data type: PPEVS_VALS_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for PVSVS_READ_CHARS_OF_CLASS 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_chars | TYPE PPEVS_CHARS_TAB, " | |||
| lv_i_class | TYPE KLASSE_D, " | |||
| lv_e_vals | TYPE PPEVS_VALS_TAB, " | |||
| lv_i_type | TYPE KLASSENART, " | |||
| lv_i_clint | TYPE PPE_CLINT, " | |||
| lv_i_direct | TYPE C, " | |||
| lv_i_all | TYPE C. " |
|   CALL FUNCTION 'PVSVS_READ_CHARS_OF_CLASS' "NOTRANSL: Lesen der Merkmale einer Klasse |
| EXPORTING | ||
| I_CLASS | = lv_i_class | |
| I_TYPE | = lv_i_type | |
| I_CLINT | = lv_i_clint | |
| I_DIRECT | = lv_i_direct | |
| I_ALL | = lv_i_all | |
| IMPORTING | ||
| E_CHARS | = lv_e_chars | |
| E_VALS | = lv_e_vals | |
| . " PVSVS_READ_CHARS_OF_CLASS | ||
ABAP code using 7.40 inline data declarations to call FM PVSVS_READ_CHARS_OF_CLASS
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