SLDOC_ATP SAP (ATP: APO Interface with SD Documents) Structure details

Dictionary Type: Structure
Description: ATP: APO Interface with SD Documents




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




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

SLDOC_ATP 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 "ATP: APO Interface with SD Documents" 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_SLDOC_ATP TYPE SLDOC_ATP.

The SLDOC_ATP table consists of various fields, each holding specific information or linking keys about ATP: APO Interface with SD Documents data available in SAP. These include ATPCAT (ATP: Category of Stock / Receipts / Issues), DOC_NUMBER (Sales and Distribution Document Number), DOC_TYPE (SD document category), ORD_TYPE (Sales Document Type).. 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: Cannot Be Enhanced


SAP SLDOC_ATP 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
METHODAPO: Methods (add/change/delete...) SL_METHOD_ATPCHAR1CHAR1
ATPCATATP: Category of Stock / Receipts / Issues ATPCATCHAR2ATPCAT
DOC_NUMBERSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
DOC_TYPESD document category VBTYPCHAR1VBTYP
ORD_TYPESales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
SALES_ORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
DISTR_CHANDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SLSOFFSales Office VKBURCHAR4Assigned to domainVKBURVKB
SLSGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
SOLD_TOSold-to party with length 20 for APO KUNAG_20CHAR20CHAR20
COMPL_DLVComplete delivery defined for each sales order? AUTLFCHAR1XFELD
ITM_NUMBERItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
ITEM_CATEGSales document item category PSTYVCHAR4Assigned to domainPSTYV
RBACONTROLControl of Rules-Based ATP Check RBACONTROLCHAR1RBACONTROL
CREATORName of Person who Created the Object ERNAMCHAR12USNAM
PRODUCTMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
LOCATIONPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
STORE_LOCStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
BATCHBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
SHIP_TOSold-to party with length 20 for APO KUNAG_20CHAR20CHAR20
SHIP_POINTShipping Point/Receiving Point VSTELCHAR4Assigned to domainVSTELVST
ROUTERoute ROUTECHAR6Assigned to domainROUTE
SHP_CONDShipping Conditions VSBEDCHAR2Assigned to domainVSBED
DLV_PRIODelivery Priority LPRIONUMC2Assigned to domainLPRIO
PART_DLVPartial delivery at item level KZTLFCHAR1KZTLF
MAX_PL_DLVMaximum Number of Partial Deliveries Allowed Per Item ANTLFDEC1ANTLF
ALLOCProduct allocation determination procedure KOSCHCHAR18Assigned to domainKOSCH
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
LOCTYPEType of Executing Location ELOCTYPECHAR4LOCTYP
ITEM_TYPE_USAGEItem usage VWPOSCHAR4Assigned to domainVWPOS
ITM_ANCHORLeading Order Item (Main Item) ITM_ANCHORNUMC6Assigned to domainPOSNR
OVERRIDE_LOCATIONExternal Location Identifier EXT_LOCNOCHAR20LOCNR
OVERRIDE_LOCTYPELocation Type EXT_LOCTYPCHAR4LOCTYP

Key field Non-key field



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

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

How to access SAP table SLDOC_ATP

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