Advanced Function Calls 

Definition

In addition to the calls of the CPI-C Starter Set, the following Advanced Function Calls are also available (with platform-specific restrictions):

Use

Available Advanced Function Calls

Function

Task

CMCFM

Requests receipt acknowledgement from partner

CMCFMD

Sends receipt acknowledgement to partner

CMCNVO

Converts data buffer from ASCII to EBCDIC

CMCVNI

Converts data buffer from EBCDIC to ASCII

CMSCSP

Sets the Conversation Security Password

CMSCST

Sets the Conversation Security Type

CMSCSU

Sets the Conversation Security User ID

CMSPLN

Sets the logical unit (LU) of the partner LU

CMSTPN

Sets the transaction program name

CMSSL

Sets the synchronization level

All functions are of type CM_RETCODE.

The syntax of the Advanced Function Calls is described in the following topics.

The functions CMCFM and CMCFMD are not available in cpictlib.

CMCNVO and CMCNVI are necessary because the R/2 System on the host only expects data in EBCDIC format, whereas the workstation generally only processes ASCII data.

CMSCST, CMSCSU, CMSCSP and CMSTPN (only for IMS) are necessary, if the LU6.2 partner system uses an external security system (for example, RACF on the host).

The standard definition of the SAP-CPI-C interface and the return codes of the individual CPI-C calls are defined in the file cpic.h.