SAP SD_CCARD_ASSIGN_OPEN_VALUES Function Module for NOTRANSL: Zuweisung offener Werte zu autorisierten Zahlungskarten
SD_CCARD_ASSIGN_OPEN_VALUES is a standard sd ccard assign open values 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: Zuweisung offener Werte zu autorisierten Zahlungskarten 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 sd ccard assign open values FM, simply by entering the name SD_CCARD_ASSIGN_OPEN_VALUES into the relevant SAP transaction such as SE37 or SE38.
Function Group: V21F
Program Name: SAPLV21F
Main Program: SAPLV21F
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SD_CCARD_ASSIGN_OPEN_VALUES 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 'SD_CCARD_ASSIGN_OPEN_VALUES'"NOTRANSL: Zuweisung offener Werte zu autorisierten Zahlungskarten.
EXPORTING
I_VALUE = "Open Values
I_VBELN = "Document Number
TABLES
T_XFPLT_IN = "Available Authorizations
T_XFPLT_OUT = "Authorization Used for Security
EXCEPTIONS
NO_ENTRY_FOUND = 1 COVERAGE_NOT_SUFFICIENT = 2 ZERO_AMOUNT = 3
IMPORTING Parameters details for SD_CCARD_ASSIGN_OPEN_VALUES
I_VALUE - Open Values
Data type: VBAK-NETWROptional: No
Call by Reference: No ( called with pass by value option)
I_VBELN - Document Number
Data type: VBAK-VBELNOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SD_CCARD_ASSIGN_OPEN_VALUES
T_XFPLT_IN - Available Authorizations
Data type: FPLTVBOptional: No
Call by Reference: No ( called with pass by value option)
T_XFPLT_OUT - Authorization Used for Security
Data type: FPLTVBOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRY_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
COVERAGE_NOT_SUFFICIENT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ZERO_AMOUNT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SD_CCARD_ASSIGN_OPEN_VALUES 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_i_value | TYPE VBAK-NETWR, " | |||
| lt_t_xfplt_in | TYPE STANDARD TABLE OF FPLTVB, " | |||
| lv_no_entry_found | TYPE FPLTVB, " | |||
| lv_i_vbeln | TYPE VBAK-VBELN, " | |||
| lt_t_xfplt_out | TYPE STANDARD TABLE OF FPLTVB, " | |||
| lv_coverage_not_sufficient | TYPE FPLTVB, " | |||
| lv_zero_amount | TYPE FPLTVB. " |
|   CALL FUNCTION 'SD_CCARD_ASSIGN_OPEN_VALUES' "NOTRANSL: Zuweisung offener Werte zu autorisierten Zahlungskarten |
| EXPORTING | ||
| I_VALUE | = lv_i_value | |
| I_VBELN | = lv_i_vbeln | |
| TABLES | ||
| T_XFPLT_IN | = lt_t_xfplt_in | |
| T_XFPLT_OUT | = lt_t_xfplt_out | |
| EXCEPTIONS | ||
| NO_ENTRY_FOUND = 1 | ||
| COVERAGE_NOT_SUFFICIENT = 2 | ||
| ZERO_AMOUNT = 3 | ||
| . " SD_CCARD_ASSIGN_OPEN_VALUES | ||
ABAP code using 7.40 inline data declarations to call FM SD_CCARD_ASSIGN_OPEN_VALUES
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 NETWR FROM VBAK INTO @DATA(ld_i_value). | ||||
| "SELECT single VBELN FROM VBAK INTO @DATA(ld_i_vbeln). | ||||
Search for further information about these or an SAP related objects