BBP_PDS_HISTORY SAP (History for All Documents (purchase order history, ...)) Structure details

Dictionary Type: Structure
Description: History for All Documents (purchase order history, ...)




ABAP Code to SELECT data from BBP_PDS_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_LEVELDummy for B20 int1 (Local Everywhere) INT1INT13INT1
HEADER_GUIDGlobally Unique identifier BBP_GUIDRAW16SYSUUID
ITEM_GUIDGlobally Unique identifier BBP_GUIDRAW16SYSUUID
OBJTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
SUBTYPESpecification of a Purchasing Doc.(e.g. Credit Memo/Invoice) BBP_H_SUBTYPECHAR2BBP_H_SUBTYPE
TYPE_DESCRCharacter field of length 40 CHAR40CHAR40CHAR40
OBJECT_IDFollow-On Document Object ID in Back-End System BE_OBJECT_IDCHAR20BBP_BE_OBJECT_ID
NUMBER_INTItem Number BBP_ITEM_NONUMC10CRM_ITEM_NO
DESCRIPTIONTransaction Description CRMT_PROCESS_DESCRIPTIONCHAR40CRM_PROCESS_DESCRIPTION
CREATED_AT_DATESystem Date SYDATUMDATS8SYDATS
DCINDDebit/Credit Indicator BBP_DCINDCHAR1BBP_DCIND
QUANTITYQuantity in Order Unit BBP_MNGQUAN13(3) MENG13
UNITUnit of Measurement BBP_UNITUNIT3Assigned to domainCUNITMEINS
VALUENet Value BBP_VALUECURR15(2) WERT8
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
STATUSObject status J_STATUSCHAR5J_STATUS
STATUS_DESCRCharacter field of length 40 CHAR40CHAR40CHAR40
STATUS_DESCR_LONGText (length 132) TEXT132CHAR132TEXT132
DSPL_LN_OBJ_IDFollow-On Document Object ID in Back-End System BBP_BE_OBJECT_IDCHAR20BBP_BE_OBJECT_ID
DSPL_LN_OBJ_ITEMItem Number BBP_ITEM_NONUMC10CRM_ITEM_NO
DSPL_BE_OBJ_IDFollow-On Document Object ID in Back-End System BE_OBJECT_IDCHAR20BBP_BE_OBJECT_ID
DSPL_BE_OBJ_ITEMFollow-On Object Item in Back-End System BE_OBJ_ITEMCHAR10BBP_REF_ITEM
REF_DOC_YRFiscal year of a reference document BBP_LFBJANUMC4GJAHRGJAHR
REF_DOCDocument Number of a Reference Document BBP_LFBNRCHAR10ALPHABELNR
REF_DOC_ITItem of a Reference Document BBP_LFPOSNUMC4BBP_MBLPO
BE_LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
DOC_DATESystem Date SYDATUMDATS8SYDATS
DUMMY_EEW_PDHISSDummy function in length 1 DUMMYCHAR1DUMMY
.INCLU--AP 0
PS_LONGNUMSmart Number /SAPPSSRM/_LONGNUMCHAR40/SAPPSSRM/_LONGNUM
DUMMY_EEW_PDHISCDummy function in length 1 DUMMYCHAR1DUMMY

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 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!