ABAPCOMMUNICATION_OPTIONS - COMMUNICATION OPTIONS

CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.

COMMUNICATION - cpic_options

Short Reference



Obsolete Syntax

... [RETURNCODE rc]
    [LENGTH leng]
    [RECEIVED rec]
    [HOLD] ... .

Additions

1. ... RETURNCODE  rc

2. ... LENGTH leng

3. ... RECEIVED rec

4. ... HOLD

Effect

Additional additions for the statement COMMUNICATION.

Addition 1

... RETURNCODE  rc

Effect

This addition can be specified in all communication steps. rcexpects the data type i. The meaning of the return codes is coded in theinclude program RSCPICDF. Here, data objects with descriptive names andstartvalues are declared and can be compared with rc. The following table contains a list of possible return values.

rcData Object from RSCPICDF
0CM_OK
1CM_ALLOCATE_FAILURE_NO_RETRY
2CM_ALLOCATE_FAILURE_RETRY
3CM_CONVERSATION_TYPE_MISMATCH
6CM_SECURITY_NOT_VALID
8CM_SYNC_LVL_NOT_SUPPORTED_PGM
9CM_TPN_NOT_RECOGNIZED
10CM_TP_NOT_AVAILABLE_NO_RETRY
11CM_TP_NOT_AVAILABLE_RETRY
12CM_DEALLOCATED_ABEND
13CM_DEALLOCATED_NORMAL
14CM_PARAMETER_ERROR
15CM_PRODUCT_SPECIFIC_ERROR
16CM_PROGRAM_ERROR_NO_TRUNC
18CM_PROGRAM_ERROR_NO_TRUNC
19CM_PROGRAM_ERROR_TRUNC
26CM_RESOURCE_FAILURE_NO_RETRY
27CM_RESOURCE_FAILURE_RETRY
28CM_UNSUCCESSFUL

The same return codes are also written to the system field sy-subrc.

Addition 2

... LENGTH leng

Effect

This addition can only be specified in the communication steps SEND and RECEIVE. As aresult, the data buffer buffer is only sent or received in the length leng. The length leng expects a data object of the data type i.

Addition 3

... RECEIVED rec

Effect

This addition can only be specified for the communication step RECEIVE. The data object reccontains the number of bytes received by the partner program. Only byte-like data objects of length 4 are allowed for rec.

Addition 4

... HOLD

Effect

This addition can only be specified for the communication step RECEIVE. It prevents theinternal session being changed when receiving data to avoid the possible loss of thedatabase cursor. In this case, the current work process waits until all data has been received.


CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.


Length: 5417 Date: 20120518 Time: 210245     triton ( 138 ms )