BBP_PDS_HISTORY SAP (History for All Documents (purchase order history, ...)) Structure details
Description: History for All Documents (purchase order history, ...)
Related tables to BBP_PDS_HISTORY
Access table BBP_PDS_HISTORY
Structure field list including key, data, relationships and ABAP select examples
BBP_PDS_HISTORY 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 "History for All Documents (purchase order history, ...)" 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_BBP_PDS_HISTORY TYPE BBP_PDS_HISTORY.
The BBP_PDS_HISTORY table consists of various fields, each holding specific information or linking keys about History for All Documents (purchase order history, ...) data available in SAP. These include HEADER_GUID (Globally Unique identifier), ITEM_GUID (Globally Unique identifier), OBJTYPE (Object Type), SUBTYPE (Specification of a Purchasing Doc.(e.g. Credit Memo/Invoice)).. 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: Can be enhanced (character-type or numeric)
SAP BBP_PDS_HISTORY 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 |
DISPLAY_LEVEL | Dummy for B20 int1 (Local Everywhere) | INT1 | INT1 | 3 | INT1 | ||||
HEADER_GUID | Globally Unique identifier | BBP_GUID | RAW | 16 | SYSUUID | ||||
ITEM_GUID | Globally Unique identifier | BBP_GUID | RAW | 16 | SYSUUID | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | Assigned to domain | OJ_NAME | OBJ | ||
SUBTYPE | Specification of a Purchasing Doc.(e.g. Credit Memo/Invoice) | BBP_H_SUBTYPE | CHAR | 2 | BBP_H_SUBTYPE | ||||
TYPE_DESCR | Character field of length 40 | CHAR40 | CHAR | 40 | CHAR40 | ||||
OBJECT_ID | Follow-On Document Object ID in Back-End System | BE_OBJECT_ID | CHAR | 20 | BBP_BE_OBJECT_ID | ||||
NUMBER_INT | Item Number | BBP_ITEM_NO | NUMC | 10 | CRM_ITEM_NO | ||||
DESCRIPTION | Transaction Description | CRMT_PROCESS_DESCRIPTION | CHAR | 40 | CRM_PROCESS_DESCRIPTION | ||||
CREATED_AT_DATE | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
DCIND | Debit/Credit Indicator | BBP_DCIND | CHAR | 1 | BBP_DCIND | ||||
QUANTITY | Quantity in Order Unit | BBP_MNG | QUAN | 13(3) | MENG13 | ||||
UNIT | Unit of Measurement | BBP_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VALUE | Net Value | BBP_VALUE | CURR | 15(2) | WERT8 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
STATUS | Object status | J_STATUS | CHAR | 5 | J_STATUS | ||||
STATUS_DESCR | Character field of length 40 | CHAR40 | CHAR | 40 | CHAR40 | ||||
STATUS_DESCR_LONG | Text (length 132) | TEXT132 | CHAR | 132 | TEXT132 | ||||
DSPL_LN_OBJ_ID | Follow-On Document Object ID in Back-End System | BBP_BE_OBJECT_ID | CHAR | 20 | BBP_BE_OBJECT_ID | ||||
DSPL_LN_OBJ_ITEM | Item Number | BBP_ITEM_NO | NUMC | 10 | CRM_ITEM_NO | ||||
DSPL_BE_OBJ_ID | Follow-On Document Object ID in Back-End System | BE_OBJECT_ID | CHAR | 20 | BBP_BE_OBJECT_ID | ||||
DSPL_BE_OBJ_ITEM | Follow-On Object Item in Back-End System | BE_OBJ_ITEM | CHAR | 10 | BBP_REF_ITEM | ||||
REF_DOC_YR | Fiscal year of a reference document | BBP_LFBJA | NUMC | 4 | GJAHR | GJAHR | |||
REF_DOC | Document Number of a Reference Document | BBP_LFBNR | CHAR | 10 | ALPHA | BELNR | |||
REF_DOC_IT | Item of a Reference Document | BBP_LFPOS | NUMC | 4 | BBP_MBLPO | ||||
BE_LOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
DOC_DATE | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
DUMMY_EEW_PDHISS | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
.INCLU--AP | 0 | ||||||||
PS_LONGNUM | Smart Number | /SAPPSSRM/_LONGNUM | CHAR | 40 | /SAPPSSRM/_LONGNUM | ||||
DUMMY_EEW_PDHISC | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY |
Key field | Non-key field |
How do I retrieve data from SAP structure BBP_PDS_HISTORY using ABAP code?
As BBP_PDS_HISTORY 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 BBP_PDS_HISTORY as there is no data to select.How to access SAP table BBP_PDS_HISTORY
Within an ECC or HANA version of SAP you can also view further information about BBP_PDS_HISTORY 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