Fonction SAP BAPI_CREDITCARD_CHECKNUMBER - Credit card check, type and number

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CREDITCARD_NUMBER BAPICCARD-CC_NUMBER C 25 Credit card number
CREDITCARD_TYPE BAPICCARD-CC_TYPE C 4 Credit card type

Paramètre Reférence Type Long. Description
RETURN1 BAPIRETURN1 u 470 Formatted ouput

Functionality
The function module checks for the:
- valid card type
- correct card number

Description
The return code for the function module is displayed in this structure.
Structure
TYPE Message type: S Success, E Error, W Warning, I Information
ID Message ID
NUMBER Message number
MESSAGE Message text
LOG_NO Application log: Log number
LOG_MSG_NO Application log: sequential message number
MESSAGE_V1 Message variable 1
MESSAGE_V2 Message variable 2
MESSAGE_V3 Message variable 3
MESSAGE_V4 Message variable 4

Value range
The return parameter is blank or initial if no errors occured.Otherwise the system displays the relevant message with its short text.

Description
Credit card number

Description
Credit card type
Example: MC, VISA, AMEX

Value range
The credit card types allowed are defined in the table TVCIN.

414058CHECKLISTSD: differences in online and BAPI processing