Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

C Function - SSF_ABAP_SERVICE - Problem in return code.

Former Member
0 Likes
3,277

Hi all,

We are actually executing a custom program with standard FM - CCARD_DEVELOPE which does a decryption of credit card number. This FM inturn calls another FM SSF_KRN_DEVELOPE which inturn calls C function SSF_ABAP_SERVICE.

It is working fine in Development server. But it is not working in quality.

Please find the C function below.

In Dev, for CRC(return code) we are getting '0'. So it is working fine. But in Quality, we are getting CRC ='9'. Because of this, decryption is not happening. Please let me know, what could be the problem, if it could be because of SAP authorization or any third party software to be installed for validation or anything else.

  • call C function 'SSFDEVELOPE'

CALL 'SSF_ABAP_SERVICE'

ID 'OPCODE' FIELD SSF_OPCODES-DEVELOPE

ID 'SECTOOLKIT' FIELD SSFTOOLKIT

ID 'STRFORMAT' FIELD STR_FORMAT

ID 'STRFORMATL' FIELD STR_FORMAT_L

ID 'BOUTDEC' FIELD B_OUTDEC

ID 'IOSPEC' FIELD IO_SPEC

ID 'OSTRENVELOPEDDATAL' FIELD OSTR_ENVELOPED_DATA_L

ID 'OSTROUTPUTDATAL' FIELD OSTR_OUTPUT_DATA_L

ID 'CRC' FIELD CRC

ID 'OSTRENVELOPEDDATA' FIELD OSTR_ENVELOPED_DATA-SYS

ID 'RECIPIENT' FIELD RCPTAB-SYS

ID 'OSTROUTPUTDATA' FIELD OSTR_OUTPUT_DATA-SYS

2 REPLIES 2
Read only

sridhar_k1
Active Contributor
0 Likes
1,705

To test SSF installed properly, Execute programs SSF01 if security product on front end, or SSF02 if it's on appserver. The programs also use fm SSF_KRN_DEVELOPE.

Regards

Sridhar

Read only

Former Member
0 Likes
1,705

Hi Balaji,

Do you have the documentation for the function CCARD_DEVELOPE. Can you please share? Thanks.

Regards.

M