cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP SE16 Tables behind MD04 StockRequirements List

Minick
Discoverer
0 Likes
1,541

Hello everyone,
we want to recreate the logic of the stock/requirements list (md04). To do this, we need the source data/tables (SE16) behind this process.

Can you please help us here and name the tables and their connections/links to each other to get exactly the same output in the end?StockRequirementsList.PNG

Thank you in advance 🙂

Accepted Solutions (0)

Answers (1)

Answers (1)

Minick
Discoverer
0 Likes

 

Hello,

I have done a lot of research in the last few days and found the following tables with relationships:

Planned Orders: PLAF

TableColumnFriendlyNameTable Relationship
PLAFAUFNRProductionOrderNrAUFK
PLAFKDAUFSales_Order_NumberVBUK
PLAFKDPOSSales_Order_Number_PositionVBUK
PLAFKONNRNumber_of_Principal_Purchase_AgreementEKKO
PLAFKTPNRNumber_of_Principal_Purchase_Agreement_PositionEKPO


Purchase Requistions: EBAN

TableColumnFriendlyNameTable Relationship
EBANEBELNPurchaseRequestNrEKPO
EBANEBELPPurchaseRequestNr_PositionEKPO
EBANKONNRNumber_of_Principal_Purchase_AgreementEKKO
EBANKTPNRNumber_of_Principal_Purchase_Agreement_PositionEKPO

Purchase Orders EKPO, EKKO, EKKN

TableColumnFriendlyNameTable Relationship
EKPOBANFNBANFEBAN
EKPOBNFPOBANF_PositionEBAN
EKPOKONNRNumber_of_Principal_Purchase_AgreementEKKO
EKPOKTPNRNumber_of_Principal_Purchase_Agreement_PositionEKPO
EKPOUEBPOHigher_Level_Item_Purchasing_DocumentsEKPO
TableColumnFriendlyNameTable Relationship
EKKOKONNRNumber_of_Principal_Purchase_AgreementEKKO
EKKOLPONRLast_Item_NumberEKPO
EKKOAUSNRBid_invitation_numberEKKO
TableColumnFriendlyNameTable Relationship
EKKNEBELNPurchaseRequestNrEKPO
EKKNEBELPPurchaseRequestNr_PositionEKPO
EKKNVBELNSales_Order_NumberVBUK
EKKNVBELPSales_Order_Number_PositionVBUK
EKKNAUFNRProductionOrderNrAUFK


Material: MSEG, STPO

TableColumnFriendlyNameTable Relationship
MSEGKDAUFSales_Order_NumberVBUK
MSEGKDPOSSales_Order_Number_PositionVBUK
MSEGRSNUMReservation_NumberRESB
MSEGRSPOSReservation_Number_PositionRESB
MSEGEBELNPurchaseRequestNrEKPO
MSEGEBELPPurchaseRequestNr_PositionEKPO
MSEGAUFNRProductionOrderNrAUFK
TableColumnFriendlyNameTable Relationship
STPOSTLNRBill_of_materialCAUFV
STPOSTLTYBOM_categoryCAUFV


Production Orders: CAUFV(AUFK+AFKO)

TableColumnFriendlyNameTable Relationship
CAUFVSTLNRBill_of_materialSTPO
CAUFVSTLTYBOM_categorySTPO
CAUFVKDAUFSales_Order_NumberVBUK
CAUFVKDPOSSales_Order_Number_PositionVBUK


Sales Orders: VBBE, VBEP

TableColumnFriendlyNameTable Relationship
VBBEVBELEBusiness_document_numberVBUK
VBBEPOSNEBusiness_item_numberVBUP
VBBEETENESchedule_lineVBEP
TableColumnFriendlyNameTable Relationship
VBEPBNFPOBANF_PositionEBAN
VBEPAUFNRProductionOrderNrAUFK
VBEPPLNUMPlannedOrderNrPLAF
VBEPVBELEBusiness_document_numberVBUK
VBEPPOSNEBusiness_item_numberVBUP
VBEPETENESchedule_lineVBEP


Reservations: RESB

TableColumnFriendlyNameTable Relationship
RESBAUFNRProductionOrderNrAUFK
RESBPLNUMPlannedOrderNrPLAF
RESBBANFNBANFEBAN
RESBBNFPOBANF_PositionEBAN
RESBKDAUFSales_Order_NumberVBUK
RESBKDPOSSales_Order_Number_PositionVBUK
RESBEBELNPurchaseRequestNrEKPO
RESBEBELPPurchaseRequestNr_PositionEKPO


Stock Available: MARD

Nevertheless, I don't know exactly which table I should start with and whether all the information I have collected is correct or whether there might be better options?

Many thanks in advance