PCASUB SAP (EC-PCA: Substitution in Sales Order) Structure details

Dictionary Type: Structure
Description: EC-PCA: Substitution in Sales Order




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




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

PCASUB 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 "EC-PCA: Substitution in Sales Order" 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_PCASUB TYPE PCASUB.

The PCASUB table consists of various fields, each holding specific information or linking keys about EC-PCA: Substitution in Sales Order data available in SAP. These include MVGR1 (Material group 1), MVGR2 (Material group 2), MVGR3 (Material group 3), MVGR4 (Material group 4).. 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)


SAP PCASUB 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
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
MVGR1Material group 1 MVGR1CHAR3Assigned to domainMVGR1
MVGR2Material group 2 MVGR2CHAR3Assigned to domainMVGR2
MVGR3Material group 3 MVGR3CHAR3Assigned to domainMVGR3
MVGR4Material group 4 MVGR4CHAR3Assigned to domainMVGR4
MVGR5Material group 5 MVGR5CHAR3Assigned to domainMVGR5
KONDMMaterial Pricing Group KONDMCHAR2Assigned to domainKONDMVKM
KDGRPCustomer group KDGRPCHAR2Assigned to domainKDGRPVKD
BZIRKSales district BZIRKCHAR6Assigned to domainBZIRKBZI
KVGR1Customer group 1 KVGR1CHAR3Assigned to domainKVGR1
KVGR2Customer group 2 KVGR2CHAR3Assigned to domainKVGR2
KVGR3Customer group 3 KVGR3CHAR3Assigned to domainKVGR3
KVGR4Customer group 4 KVGR4CHAR3Assigned to domainKVGR4
KVGR5Customer group 5 KVGR5CHAR3Assigned to domainKVGR5
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPAR2Division in the order header SPARKCHAR2Assigned to domainSPART
SPARTDivision in item SPARPCHAR2Assigned to domainSPART
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MATWAMaterial entered MATWACHAR18Assigned to domainMATN1MATNRMAT
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
PRODHProduct hierarchy PRODH_DCHAR18Assigned to domainPRODHVPR
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3Assigned to domainAUGRU
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
LAND1Country Key LAND1CHAR3Assigned to domainLAND1LND
KTGRMAccount assignment group for this material KTGRMCHAR2Assigned to domainKTGRM
VRGNGBusiness Transaction J_VORGANGCHAR4Assigned to domainJ_VORGANG
KTGRDAccount assignment group for this customer KTGRDCHAR2Assigned to domainKTGRD
INT_KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
INT_VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
INT_VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
INT_SPARTDivision in item SPARPCHAR2Assigned to domainSPART
PRCTR_TYPEProfit Center Type PRCTR_TYPECHAR1PRCTR_TYPE

Key field Non-key field



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

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

How to access SAP table PCASUB

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