The SNC configuration for external CPIC client programs is located in the sideinfo file. For CPIC server programs (started or registered), the SNC parameters are passed to the server program from the client (see CPIC: Start an External Program over a Gateway and CPIC: Registered Program).
SNC information is available to C programs using the following functions in the SAP CPIC Interface:
Function |
Description |
---|---|
SAP_CMSNCMODE |
Returns whether SNC is active or not |
SAP_CMSNCNAME |
Returns the SNC name of the partner in printable form |
SAP_CMACLKEY |
Returns the SNC name of the partner in canonical form (ACLKEY) |
SAP_CMNAMETOACLKEY |
Coverts an SNC name to canonical form |
SAP_CMACLKEYTONAME |
Converts an SNC name from canonical form to printable form |