SAP Communication: CPI-C Programming (BC-CST-GW)
SAP Communication
SAP Interfaces
Communications Basis CPI-C
Remote Function Call (RFC)
Queue Application Programming Interface (Q-API)
Communication in an IBM Host Environment (SNA)
Communication in a BS2000 Host Environment
Communication in a TCP/IP Environment
Programming under Various Constellations
Communication Between R/3 Systems
Communication Between R/3 and R/2 (MVS/VSE)
From R/3 to R/2
From R/2 to R/3
Communication Between R/3 and R/2 (BS2000)
From R/3 to R/2
From R/2 to R/3
Communication Between R/3 and an Externally Regist
From R/3 to an External Program (registered progra
From an External Program to R/3
Registered Program
Communication Between R/2 Systems
Communication Between R/2 and an Externally Regist
From R/2 to an External Program (registered progra
From an External Program to R/2
Communication Between C Programs
CPI-C Implementation in ABAP
Agreements Between Sender and Recipient
Setting the Send/Receive Mode
Synchronization
Setting the Size of Transfer Units
Selecting Data Types and Structures
Data Conversion
Remotely Attachable ABAP Program
SAP Logon Protocol for External CPI-C Programs
Establishing a Connection via an ABAP Program
CPI-C Implementation in ABAP
COMMUNICATION INIT: Initialization
COMMUNICATION ALLOCATE: Set up connection
COMMUNICATION ACCEPT: Accept connection
COMMUNICATION SEND: Send Data
COMMUNICATION RECEIVE: Receive data
COMMUNICATION DEALLOCATE: Close the connection
Return Codes
CPI-C Interface in C
CPI-C Development Libraries
Libraries Based on LU6.2: cpicslib
Libraries Based on TCP/IP: cpictlib
Linking an SAP Development Library
Implemented CPI-C Function Calls
CPI-C Starter Set
CMINIT
CMACCP
CMALLC
CMSEND
CMRCV
CMDEAL
Advanced Function Calls
CMCFM
CMCFMD
CMCNVO
CMCVNI
CMSCSP
CMSCST
CMSCSU
CMSPLN
CMSTPN
CMSSL
SAP-Specific CPI-C Functions
SAP_CMINIT
SAP_CMACCP
SAP_CMPERR
SAP_CMLOGON
SAP_CMCERR
SAP_CMLOADCONVTAB
SAP_CMMODCONVTAB
SAP_CMTIMEOUT
SAP_CMHANDLE
SAP_CMGWHOST
SAP_CMGWSERV
Functions for Registered CPI-C Programs
SAP_CMCANCREGTP
SNC Function Calls
Define Variables for Host Types
Asynchronous Data Transfer With Q-API
Data Transfer
Queues
Queue Attributes
Queue Element
Queue Unit
Queue Interface in the R/3 System
QUEUE_OPEN
QUEUE_PUT
QUEUE_GET
QUEUE_CLOSE
QUEUE_ERASE
QUEUE_DELETE
QUEUE_SCHEDULE
Queue Interfaces in the R/2 System
Queue Interface for Release 5.0
ABAP Key Words
Queue Parameters
ABAP Statements
Transfer in BS2000
Asynchronous Driver Communication
Recipient is not an SAP System
Recipient is not an SAP System
Queue Transfer Without Buffering
Notes on Installation
Extensions
SAP ACCOUNTING Interface SAPSTEC (as of Release 4.3J, 4.4C and 5
Queue Interface for C Programs: RFC to R/3
Using SAP Test Programs
Available SAP Test Programs
Specifying Program Parameters
Requirements for Starting an External Partner Prog
Testing Connections
Calling Program: ABAP Program in R/3
Calling Program: ABAP Program in R/2
Calling Program: Program Written in C
Error Analysis
Function SAP_CMPERR
Error Analysis Under OS/2
Error Analysis Under UNIX and WindowsNT
Error Messages of the SAP Transfer Program
Special Features on R/2 Hosts
BS2000 R/2 Host: UTM-UTM Connection
Initiator: R/2 System
Initiator: Non-SAP system
MVS/VSE R/2 Host: CICS and IMS
CICS Special Features
IMS Special Features
Sample Programs
Sample Program for R/3
Sample Programs for R/2 Release 5.0
Program RSAPPQ10
Program RSAPPQ20
Program RSAPPQ30
APC and APQ Headers DSECT for Assembler Programs
Conversion Tables EBCIDC from/to ASCII
Creating Your Own Tables
Sample File with Conversion Tables