Ansicht
Dokumentation

C datatypes and Data Dictionary domains <br />Tip-No.: 29 ( INFO29 )

C datatypes and Data Dictionary domains
Tip-No.: 29 ( INFO29 )

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

C datatypes and Data Dictionary domains
Tip-No.: 29

Symptom

Conventions for C datatypes that will be generated from the SAP
Data Dictionary in the future.

Cause

See solution.

Solution

Domains:
Store in Data Dictionary under application category CSRC (=C-source).
Corresponding C datatype and, for arrays, length macro in file
saptypec.h.
Naming convention:
Length macro SAP_ Typedef: SAP_
Example:
Domain PROGRAM_ID (CHAR 8)
==>
#define SAP_PROGRAM_ID_LN 8
typedef SAP_CHAR SAP_PROGRAM_IDÜSAP_PROGRAM_ID_LNð;
Limitations:
The domain name cannot contain any special characters
except "_" (underscore).
Tables:
Table structure in C is like the corresponding SAP table:
example: Table TSCTC Table TSe TC => typedef TSTC.
The table must be stored in the dictionary with application
category CSRC.
Limitations:
Table name and the names of individual fields cannot contain any
special characters other than "_" (underscore). The names of
individual fields cannot be C key words. C key words are
(among others) :
asm auto break char continue do double extern else
far float for fortran goto huge if int interrupt
near pascal static struct union while






ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1599 Date: 20240426 Time: 113101     sap01-206 ( 18 ms )