DB2QWPB SAP (Application Programming Defaults (DB2 for OS390)) Structure details
Description: Application Programming Defaults (DB2 for OS390)
Structure field list including key, data, relationships and ABAP select examples
DB2QWPB 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 "Application Programming Defaults (DB2 for OS390)" 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_DB2QWPB TYPE DB2QWPB.
The DB2QWPB table consists of various fields, each holding specific information or linking keys about Application Programming Defaults (DB2 for OS390) data available in SAP. These include QWPBMID (The EBCDIC mixed coded character set ID), QWPBGID (The EBCDIC graphic coded character set ID), QWPBASID (The ASCII single-byte coded character set ID), QWPBAMID (The ASCII mixed coded character set ID).. 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. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP DB2QWPB structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
QWPBSID | The EBCDIC single-byte coded character set ID | DB2WPBSID | INT4 | 10 | |||||
QWPBMID | The EBCDIC mixed coded character set ID | DB2WPBMID | INT4 | 10 | |||||
QWPBGID | The EBCDIC graphic coded character set ID | DB2WPBGID | INT4 | 10 | |||||
QWPBASID | The ASCII single-byte coded character set ID | DB2WPBASID | INT4 | 10 | |||||
QWPBAMID | The ASCII mixed coded character set ID | DB2WPBAMID | INT4 | 10 | |||||
QWPBAR | Indicates the rules of precision for a decimal field | DB2WPBAR | CHAR | 10 | DB2CHAR10L | ||||
QWPBDRUL | Whether DSNHDECP values are used for dynamic SQL statements | DB2WPBDRUL | CHAR | 3 | DB2CHAR03L | ||||
QWPBDE | Whether the decimal contains a comma (,) or a period (.) | DB2WPBDE | CHAR | 8 | DB2CHAR08L | ||||
QWPBCHAR | The default character set, which can be ALPHANUM or KATAKANA | DB2WPBCHAR | CHAR | 8 | CHAR8 | ||||
QWPBENS | The default encoding scheme, which can be ASCII or EBCDIC. | DB2WPBENS | CHAR | 8 | CHAR8 | ||||
QWPBLANG | The default programming language for your site | DB2WPBLANG | CHAR | 8 | CHAR8 | ||||
QWPBGRA | Default mixed graphic | DB2WPBGRA | CHAR | 3 | DB2CHAR03L | ||||
QWPBSDL | The string delimiter for SQL | DB2WPBSDL | CHAR | 10 | DB2CHAR10L | ||||
QWPBDSD | Distributed SQL string delimiter | DB2WPBDSD | CHAR | 10 | DB2CHAR10L | ||||
QWPBDATE | The default output format for dates | DB2WPBDATE | CHAR | 10 | CHAR10 | ||||
QWPBTIME | The default output format for times | DB2WPBTIME | CHAR | 10 | CHAR10 | ||||
QWPBDLEN | Local date length | DB2WPBDLEN | INT2 | 5 | DB2SINT | ||||
QWPBTLEN | Local time length | DB2WPBTLEN | INT2 | 5 | DB2SINT | ||||
QWPBSQL | SQL language support level | DB2WPBSQL | CHAR | 3 | DB2CHAR03L | ||||
QWPBAGID | ASCII GBCS CCSID | DB2WPBAGID | INT4 | 10 | DB2INT4 | ||||
QWPBDEL | Default delimiter | DB2WPBDEL | CHAR | 10 | DB2CHAR10L | ||||
QWPBLCTP | Default locale LC_CTYPE | DB2WPBLCTP | CHAR | 50 | DB2CHAR50L | ||||
QWPBUSID | 0 | ||||||||
QWPBUMID | 0 | ||||||||
QWPBUGID | 0 | ||||||||
QWPBAPSC | Application encoding scheme | DB2WPAPSC | CHAR | 30 | CHAR30 |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2QWPB using ABAP code?
As DB2QWPB 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 DB2QWPB as there is no data to select.How to access SAP table DB2QWPB
Within an ECC or HANA version of SAP you can also view further information about DB2QWPB and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects