PO Creation from MRP Messages
Hi,
I am creating Purchase Order from MRP messages (Msg Type O) and it's creating PO fine. I am trying to understand how exactly it's creating PO. By calling P4310 Business Functions?
When I checked F4311, it's says EP3411 under ProgramID. P3411 application where I see all MRP messages.
Any HELP will be appreciated.
Thanks
Both P3411/R3411 creates any message by calling business function B3401360 (ProcessMessagesBeginDoc, ProcessMessagesEditLine then ProcessMessagesEndDoc) which is calling various master business function.
For your example, ProcessMessagesEditLine is calling F4311EditLine (to validate/default PO detail information then store it as cache) then Begin Doc (to default/validate header and store it into header cache) finally End Doc to commit cache created through Edit Line and Begin Doc. However if you process message for ST/OT then it calls master business function for Sales Order (as P4210 does) then which calls master business function for purchase order (refer to E1: 34: Case Study on MRP Messages for ST/OT/WO - How to Maintain Integrity (