WSPO_DOC_SHDOC_RH SAP (SAP Retail Store PO model:Search Result Document Headers) Structure details

Dictionary Type: Structure
Description: SAP Retail Store PO model:Search Result Document Headers




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




Structure field list including key, data, relationships and ABAP select examples

WSPO_DOC_SHDOC_RH 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 "SAP Retail Store PO model:Search Result Document Headers" 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_WSPO_DOC_SHDOC_RH TYPE WSPO_DOC_SHDOC_RH.

The WSPO_DOC_SHDOC_RH table consists of various fields, each holding specific information or linking keys about SAP Retail Store PO model:Search Result Document Headers data available in SAP. These include DOC_DATE (Purchasing Document Date), DOC_TYPE (Order Type (Purchasing)), DOC_TYPE_D (Short Description of Purchasing Document Type), VNDR_ID (SAP Retail Store: Vendor or Plant Number).. 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 WSPO_DOC_SHDOC_RH 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
PO_NUMBERPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
DOC_DATEPurchasing Document Date EBDATDATS8DATUM
DOC_TYPEOrder Type (Purchasing) BSARTCHAR4Assigned to domainBSARTBSA
DOC_TYPE_DShort Description of Purchasing Document Type BATXTCHAR20TEXT20
VNDR_IDSAP Retail Store: Vendor or Plant Number WSRS_VENDOR_SITE_IDCHAR10
VNDR_TYPESAP Retail Store: Indicator Vendor or Plant WSRS_VENDOR_SITE_TYPECHAR1WSRS_VENDOR_SITE_TYPE
NAME_1Name 1 AD_NAME1CHAR40TEXT40
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
CREATED_BY_NSAP Retail Store: Text Field for Description (40 Characters) WSRS_DESCR_40CHAR40WSRS_DESCR_40
NUMB_ITEMSNumber of items ANPOSNUMC6ANPOS
NUMB_ITEMS_RNumber of items ANPOSNUMC6ANPOS
VALUE_SUMSAP Retail Store PO: Value of Document in Document Currency WSPO_VALUE_SUMCURR15(2) WERTV8
VALUE_SUM_RSAP Retail Store PO: Value of Document in Document Currency WSPO_VALUE_SUMCURR15(2) WERTV8
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
STO_NUMBER_EXTExternal order number EXAUFNRCHAR50CHAR50
EXPANDCheckbox XFELDCHAR1XFELD
DELIV_DATE_FIRSTSAP Retail store: Purchase order first deliver date WSPO_DELIV_DATE_FIRSTDATS8DATUM
DELIV_DATE_LASTSAP Retail store: Purchase order last deliver date WSPO_DELIV_DATE_LASTDATS8DATUM
STATUSSAP Retail Store PO: Document Status WSPO_DOC_STATUSCHAR1
STATUS_GISAP Retail Store PO: Document Status WSPO_DOC_STATUSCHAR1
STATUS_GRSAP Retail Store PO: Document Status WSPO_DOC_STATUSCHAR1
STATUS_INVSAP Retail Store PO: Document Status WSPO_DOC_STATUSCHAR1
STATUS_DESCRSAP Retail Store: Description 80 Characters WSRS_DESCR_80CHAR80WSRS_DESCR_80
STATUS_GR_NORMALSAP Retail Store PO: Document Status WSPO_DOC_STATUSCHAR1
STATUS_GR_RETURNSAP Retail Store PO: Document Status WSPO_DOC_STATUSCHAR1
HAS_ITEM_CAT_7Checkbox XFELDCHAR1XFELD

Key field Non-key field



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

As WSPO_DOC_SHDOC_RH 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 WSPO_DOC_SHDOC_RH as there is no data to select.

How to access SAP table WSPO_DOC_SHDOC_RH

Within an ECC or HANA version of SAP you can also view further information about WSPO_DOC_SHDOC_RH 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!