SAP CARD_CLASS_CHAR_VAL_READ_ALLOC Function Module for
CARD_CLASS_CHAR_VAL_READ_ALLOC is a standard card class char val read alloc 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 card class char val read alloc FM, simply by entering the name CARD_CLASS_CHAR_VAL_READ_ALLOC into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACLR
Program Name: SAPLCACLR
Main Program: SAPLCACLR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function CARD_CLASS_CHAR_VAL_READ_ALLOC 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 'CARD_CLASS_CHAR_VAL_READ_ALLOC'".
EXPORTING
CLASS = "Class Name
CLASS_TYPE = "Class Type
CHARACTERISTIC = "Characteristic Name
VALUE = "Characteristic Value
* DATE = ' ' "Validity Date
* CHANGE_NO = ' ' "Change Number
* LIST_ALL_GLOBL = 'X' "Indicator: Transfer Global Dependency to List
* LIST_ALL_LOCAL = 'X' "Indicator: Transfer Local Dependency to List
IMPORTING
CHARACTERISTIC_IS_OVERWRITTEN = "Characteristic is Overwritten
VALUES_ARE_OVERWRITTEN = "Characteristic Values are Overwritten
RETURN = "Return Code
TABLES
* DEP_ASSIGN = "List of Dependencies Found
IMPORTING Parameters details for CARD_CLASS_CHAR_VAL_READ_ALLOC
CLASS - Class Name
Data type: CAPIPARMS-CLASSOptional: No
Call by Reference: No ( called with pass by value option)
CLASS_TYPE - Class Type
Data type: CAPIPARMS-CLASS_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
CHARACTERISTIC - Characteristic Name
Data type: CAPIPARMS-CHARACTOptional: No
Call by Reference: No ( called with pass by value option)
VALUE - Characteristic Value
Data type: CAPIPARMS-CH_VALUEXOptional: No
Call by Reference: No ( called with pass by value option)
DATE - Validity Date
Data type: CAPIPARMS-DATEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_NO - Change Number
Data type: CAPIPARMS-CHANGE_NODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LIST_ALL_GLOBL - Indicator: Transfer Global Dependency to List
Data type: CAPIFLAG-WTH_GL_DEPDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LIST_ALL_LOCAL - Indicator: Transfer Local Dependency to List
Data type: CAPIFLAG-WTH_GL_DEPDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CARD_CLASS_CHAR_VAL_READ_ALLOC
CHARACTERISTIC_IS_OVERWRITTEN - Characteristic is Overwritten
Data type: CAPIPARMS-CH_OVRWRTOptional: No
Call by Reference: No ( called with pass by value option)
VALUES_ARE_OVERWRITTEN - Characteristic Values are Overwritten
Data type: CAPIPARMS-VAL_OVRWRTOptional: No
Call by Reference: No ( called with pass by value option)
RETURN - Return Code
Data type: BAPIRETURNOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CARD_CLASS_CHAR_VAL_READ_ALLOC
DEP_ASSIGN - List of Dependencies Found
Data type: DEP_ALL_LGOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CARD_CLASS_CHAR_VAL_READ_ALLOC 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_class | TYPE CAPIPARMS-CLASS, " | |||
lt_dep_assign | TYPE STANDARD TABLE OF DEP_ALL_LG, " | |||
lv_characteristic_is_overwritten | TYPE CAPIPARMS-CH_OVRWRT, " | |||
lv_class_type | TYPE CAPIPARMS-CLASS_TYPE, " | |||
lv_values_are_overwritten | TYPE CAPIPARMS-VAL_OVRWRT, " | |||
lv_return | TYPE BAPIRETURN, " | |||
lv_characteristic | TYPE CAPIPARMS-CHARACT, " | |||
lv_value | TYPE CAPIPARMS-CH_VALUEX, " | |||
lv_date | TYPE CAPIPARMS-DATE, " SPACE | |||
lv_change_no | TYPE CAPIPARMS-CHANGE_NO, " SPACE | |||
lv_list_all_globl | TYPE CAPIFLAG-WTH_GL_DEP, " 'X' | |||
lv_list_all_local | TYPE CAPIFLAG-WTH_GL_DEP. " 'X' |
  CALL FUNCTION 'CARD_CLASS_CHAR_VAL_READ_ALLOC' " |
EXPORTING | ||
CLASS | = lv_class | |
CLASS_TYPE | = lv_class_type | |
CHARACTERISTIC | = lv_characteristic | |
VALUE | = lv_value | |
DATE | = lv_date | |
CHANGE_NO | = lv_change_no | |
LIST_ALL_GLOBL | = lv_list_all_globl | |
LIST_ALL_LOCAL | = lv_list_all_local | |
IMPORTING | ||
CHARACTERISTIC_IS_OVERWRITTEN | = lv_characteristic_is_overwritten | |
VALUES_ARE_OVERWRITTEN | = lv_values_are_overwritten | |
RETURN | = lv_return | |
TABLES | ||
DEP_ASSIGN | = lt_dep_assign | |
. " CARD_CLASS_CHAR_VAL_READ_ALLOC |
ABAP code using 7.40 inline data declarations to call FM CARD_CLASS_CHAR_VAL_READ_ALLOC
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 CLASS FROM CAPIPARMS INTO @DATA(ld_class). | ||||
"SELECT single CH_OVRWRT FROM CAPIPARMS INTO @DATA(ld_characteristic_is_overwritten). | ||||
"SELECT single CLASS_TYPE FROM CAPIPARMS INTO @DATA(ld_class_type). | ||||
"SELECT single VAL_OVRWRT FROM CAPIPARMS INTO @DATA(ld_values_are_overwritten). | ||||
"SELECT single CHARACT FROM CAPIPARMS INTO @DATA(ld_characteristic). | ||||
"SELECT single CH_VALUEX FROM CAPIPARMS INTO @DATA(ld_value). | ||||
"SELECT single DATE FROM CAPIPARMS INTO @DATA(ld_date). | ||||
DATA(ld_date) | = ' '. | |||
"SELECT single CHANGE_NO FROM CAPIPARMS INTO @DATA(ld_change_no). | ||||
DATA(ld_change_no) | = ' '. | |||
"SELECT single WTH_GL_DEP FROM CAPIFLAG INTO @DATA(ld_list_all_globl). | ||||
DATA(ld_list_all_globl) | = 'X'. | |||
"SELECT single WTH_GL_DEP FROM CAPIFLAG INTO @DATA(ld_list_all_local). | ||||
DATA(ld_list_all_local) | = 'X'. | |||
Search for further information about these or an SAP related objects