/GBT/O_SALO_HDR SAP (Sales Document) Table details

Dictionary Type: Table
Description: Sales Document




ABAP Code to SELECT data from /GBT/O_SALO_HDR
Related tables to /GBT/O_SALO_HDR
Access table /GBT/O_SALO_HDR




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

/GBT/O_SALO_HDR is a standard SAP Table which is used to store Sales Document data and is available within R/3 SAP systems depending on the version and release level.

The /GBT/O_SALO_HDR table consists of various fields, each holding specific information or linking keys about Sales Document data available in SAP. These include OBJ_GUID (Object GUID), SALONR (Sales Order Number), CRYEAR (Year of Sales Document Creation), LOGSYS (Logical System).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP /GBT/O_SALO_HDR table 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
OBJ_GUIDObject GUID /GBT/OBJ_GUIDRAW16SYSUUID
SALONRSales Order Number /GBT/SALONRCHAR10Assigned to domainALPHAVBELNAUN/GBT/SALI_TD_CSH
CRYEARYear of Sales Document Creation /GBT/SALOYRNUMC4JAHR
LOGSYSLogical System /GBT/LOGSYSCHAR10Assigned to domainALPHALOGSYSCOM_LOGSYS/GBT/LOGSYS_CSH
INSERTED_ATInsertion Time into GBT /GBT/INSERTED_ATDEC15TZNTSTMPS
MODIFIED_ATModification Time in GBT /GBT/MODIFIED_ATDEC15TZNTSTMPS
CREATED_DATECreation Date /GBT/CREATED_DATEDATS8DATS
CREATED_TIMECreation Time /GBT/CREATED_TIMETIMS6UZEIT
CREATED_BYUser Name of Creator /GBT/CREATED_BYCHAR12Assigned to domainXUBNAME
CHANGED_DATEChange Date /GBT/CHANGED_DATEDATS8DATS
CHANGED_TIMEChange Time /GBT/CHANGED_TIMETIMS6UZEIT
CHANGED_BYChange User Name /GBT/CHANGED_BYCHAR12Assigned to domainXUBNAME
SOLD_TOSold-To Party /GBT/SOLD_TO_PRTCHAR10Assigned to domainALPHAKUNNR/GBT/CUSTOMER_CSH
SD_DOC_CATSD document category VBTYPCHAR1VBTYP
DOC_TYPESales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
SALESORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
SALES_GRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
SALES_OFFSales Office VKBURCHAR4Assigned to domainVKBURVKB
BUS_AREABusiness Area GSBERCHAR4Assigned to domainGSBERGSB
PURCH_NOCustomer Purchase Order Number /GBT/SALO_BSTNKCHAR20
PO_METHODCustomer Purchase Order Type /GBT/SALO_BSARKCHAR4CHAR4
PURCH_DATECustomer purchase order date BSTDKDATS8DATUM
PO_SUPPLEMPurchase Order Number Supplement /GBT/SALO_BSTZDCHAR4

Key field Non-key field



How do I retrieve data from SAP table /GBT/O_SALO_HDR using ABAP code

The following ABAP code Example will allow you to do a basic selection on /GBT/O_SALO_HDR to SELECT all data from the table
DATA: WA_/GBT/O_SALO_HDR TYPE /GBT/O_SALO_HDR.

SELECT SINGLE *
FROM /GBT/O_SALO_HDR
INTO CORRESPONDING FIELDS OF WA_/GBT/O_SALO_HDR
WHERE...

How to access SAP table /GBT/O_SALO_HDR

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