cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module for Discover Credit Card

Former Member
0 Kudos

We have Payment Credit Card types set up in the SAP system as American Express, Master Card and Visa Card. These use the following Function Modules CCARD_CHECK_AMEX, CCARD_CHECK_MC and CCARD_CHECK_VISA respectively.

We want to add Discover Credit Card. Does anybody know how to create a Function Module for it, or where do I get the specifications for the sme?

Please advice.

Thank You.

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
Active Contributor
0 Kudos

Hello Sujeet,

have a look at http://en.wikipedia.org/wiki/Credit_card for the checksum of Credit Card's. I think this function is implemented in CCARD_CHECK_LUHN_MOD_TEN. I think you should try to copy CCARD_CHECK_VISA to Z_CCARD_CHECK_DISCOVER and adapt this module to your needs.

Regards

Gregor

Former Member
0 Kudos

Hi Gregor,

Thank you for your reply.

Regards,

Sujeet

Answers (0)