CPRO_API_TS_RETURN_CODE SAP (General Return Structure with Description of Error) Structure details

Dictionary Type: Structure
Description: General Return Structure with Description of Error




ABAP Code to SELECT data from CPRO_API_TS_RETURN_CODE
Related tables to CPRO_API_TS_RETURN_CODE
Access table CPRO_API_TS_RETURN_CODE




CPRO_API_TS_RETURN_CODE is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "General Return Structure with Description of Error" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_CPRO_API_TS_RETURN_CODE TYPE CPRO_API_TS_RETURN_CODE.

The CPRO_API_TS_RETURN_CODE table consists of various fields, each holding specific information or linking keys about General Return Structure with Description of Error data available in SAP. These include FAULTSTRING (), FAULTCODE (Text (length 132)), DETAIL_V1 (Message Variable), DETAIL_V2 (Message Variable)... See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

CPRO_API_TS_RETURN_CODE structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP CPRO_API_TS_RETURN_CODE structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CPRO_API_TS_RETURN_CODE table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
CODE 0=no error, 1..1000 Framework Error, 1001.. CFX, 2001.. DPR0
FAULTSTRING 0
FAULTCODEText (length 132) TEXT132CHAR132TEXT132
DETAIL_V1Message Variable SYMSGVCHAR50SYCHAR50
DETAIL_V2Message Variable SYMSGVCHAR50SYCHAR50
DETAIL_V3Message Variable SYMSGVCHAR50SYCHAR50
DETAIL_V4Message Variable SYMSGVCHAR50SYCHAR50
DETAIL_PARAMETERParameter Name BAPI_PARAMCHAR32SWC_ELEM
DETAIL_ROWLines in parameter BAPI_LINEINT410INT4
DETAIL_FIELDField in parameter BAPI_FLDCHAR30Assigned to domainFDNAME

Key field Non-key field



How do I retrieve data from SAP structure CPRO_API_TS_RETURN_CODE using ABAP code?

As CPRO_API_TS_RETURN_CODE is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on CPRO_API_TS_RETURN_CODE as there is no data to select.

How to access SAP table CPRO_API_TS_RETURN_CODE

Within an ECC or HANA version of SAP you can also view further information about CPRO_API_TS_RETURN_CODE and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!