SAP table TEWSTEP (Business Process Step)

SAP table TEWSTEP has 3 primary key fields being MANDT,TEW_TYPE,STEP.

If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.

Field Description Data Type Length Decimals Checktable Data Element
MANDT Client CLNT 3 0 T000 MANDT
TEW_TYPE Trading Execution Workbench Type CHAR 4 0 TEWTYPE WB2_TEW_TYPE
STEP Business Process Step CHAR 4 0 WB2_STEP
MASTER_DOC Document Type CHAR 2 0 WB2_DOC_TYPE
## Not used and is not written to database
* All Document Categories
1 Pricing Document (Internal)
A Sales Order
A1 Credit Memo Request
A2 Debit Memo Request
A3 RFQ/Inquiry
A4 Quotation
A5 Scheduling Agreement (SD)
A6 Returns
A7 Independent Requirements Plan
B Contract (SD)
C Purchase Order
D Delivery
E Inbound Delivery
E1 Return Delivery for Order
F Supplier Billing Document
G Goods Receipt
H Invoice Verification
I Accounting Document
J Settlement Document
J1 Supplier Settlement List
J2 Customer Settlement List
J3 Settlement Document List
K Invoice
K1 Credit Memo
K2 Debit Memo
K3 Invoice Reversal
K4 Credit Memo Reversal
K5 Pro Forma Invoice
K6 Invoice List
K7 Credit Memo List
K8 Internal Settlement, Invoice
K9 Internal Settlement, Credit Memo
L Goods Issue
L1 Goods Movement
M Picking
N Contract (MM)
O RFQ (MM)
P Scheduling Agreement (MM)
Q Trading Contract
Q1 Sales-Side Trading Contract (Only WBGT Entries for BW)
R Nomination
S1 Held Goods Reciept Document (Purchase Order)
S2 Held Goods Reciept Document (Inbound Delivery)
SH Shadow
T Forward Exchange Transaction
U1 Handling Unit
V1 Difference Calculation
W Period End Valuation: Invoice
W1 Period End Valuation: Credit Memo
W3 Period End Valuation: Invoice Reversal
W4 Period End Valuation: Credit Memo Reversal
W8 Period End Valuation: Intercompany Invoice
W9 Period End Valuation: Intercompany Credit Memo
XX Undefined Document Type
Z0 For cust.enhancements
Z1 For cust.enhancements
Z2 For cust.enhancements
Z3 For cust.enhancements
Z4 For cust.enhancements
Z5 For cust.enhancements
Z6 For cust.enhancements
Z7 For cust.enhancements
Z8 For cust.enhancements
Z9 For cust.enhancements
ZA For cust.enhancements
ZB For cust.enhancements
ZC For cust.enhancements
ZD For cust.enhancements
ZE For cust.enhancements
ZF For cust.enhancements
ZG For cust.enhancements
ZH For cust.enhancements
ZI For cust.enhancements
ZJ For cust.enhancements
ZK For cust.enhancements
ZL For cust.enhancements
ZM For cust.enhancements
ZN For cust.enhancements
ZO For cust.enhancements
ZP For cust.enhancements
ZQ For cust.enhancements
ZR For cust.enhancements
ZS For cust.enhancements
ZT For cust.enhancements
ZU For cust.enhancements
ZV For cust.enhancements
ZW For cust.enhancements
ZX For cust.enhancements
ZY For cust.enhancements
ZZ For cust.enhancements
ASSO_ON Association Active CHAR 1 0 WB2_ASSO_ON
REASSO_ON Reassociation Active CHAR 1 0 WB2_REASSO_ON
MASTER_STEP Main Step CHAR 4 0 WB2_MASTER_STEP
IS_MASTER_STEP Selection by Master Step CHAR 1 0 WB2_IS_MASTER_STEP
LOG_ASSOC_UNIT Assoc. Mngt: Logical Association Unit CHAR 4 0 TLOG_ASSOC_UNIT WB2_LOG_ASSOC_UNIT
SIDE Side CHAR 1 0 WB2_SIDE
A Settlement Management
B Purchasing and Sales Side
P Purchasing Side
S Sales Side
Z Add-On Document
SEND_COMPL Send Completion Indicator CHAR 1 0 WB2_SEND_COMPLETION
B Send Completion Indicator for Purchasing and Sales
P Send Completion Indicator for Purchasing
S Send Completion Indicator for Sales
ASSO_UNLINK Separate Preceding Associations in Association Operation CHAR 1 0 WB2_ASSO_UNLINK
REASSO_UNLINK Separate Preceding Associations in Reassociation Operation CHAR 1 0 WB2_REASSO_UNLINK
DELETE_UNLINK Separate Preceding Associations in Deletion Operation CHAR 1 0 WB2_DELETE_UNLINK
FULLY_INCR_ASSO N2M: Quantity Increase Should Influence Associations CHAR 1 0 WB2_FULLY_INCR_ASSO
Only Transfer Active Associations
X Also Transfer Non-Active Parent Associations
STOCK_TRANSFER Processing CHAR 1 0 WB2_STOCK_TRANSFER

TEWSTEP foreign key relationships

Table Field Check Table Check Field
0 TEWSTEP LOG_ASSOC_UNIT TLOG_ASSOC_UNIT Association Management: Logical Association Units MANDT
0 TEWSTEP LOG_ASSOC_UNIT TLOG_ASSOC_UNIT Association Management: Logical Association Units TEW_TYPE
1 TEWSTEP TEW_TYPE TEWTYPE Trading Execution Workbench Type MANDT
1 TEWSTEP TEW_TYPE TEWTYPE Trading Execution Workbench Type TEW_TYPE