on 2021 Mar 09 12:59 PM
Hi seniors,
For my client requirement I need to trigger a mail at the time of Milestone confirmation, There using two scenarios,
1) Milestone directly under the WBS
2) WBS > Network > Activity > Milestone.
For the email content I need to fetch up the organization structure data like plant and location, so that I can maintain Z table for maintain email id with plant details.
Coming to the point, The WBS element is a only link for MLST and PRPS, WBS element data is not updating in MLST table for scenario 2
What can I do to resolve this issue, Kindly help.
Request clarification before answering.
Dear Vignesh,
AUFPL – Operation task list number in MLST table is also known as order number which is common for all orders (Including Network order) APLZL – Is an Activity number.
These both are the key link for your requirement.
Now, Pass the Milestone number in MLST - MLST_ZAEHL, Pick the AUFPL and APLZL values,
Pass that into the AFVC – AUFPL , AFVC – APLZL,
Get PROJN, WERKS and BUKRS. WBS ,Plant and company code. Hope this fulfilled your requirement.
Reg
Prasath E
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look in Project Builder and the Milestone will be below its assigned object. Milestones can be assigned to either a WBS or a Network Activity.
To understand things at the table level you need to study object numbers for the different objects. WBS elements start with PR and network activities start with NV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scenario 2, I am guessing, has a network and not a WBS
Then you will have to find the link between the network on the milestone and it's related WBS
See this blog for a start - https://blogs.sap.com/2015/04/03/sap-ps-useful-tables-linkage-to-fetch-data-from-various-tables/ there's a section on MLST table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether you get PLNNR (network number) from MLST table.
You may have to query CAUFV table/view by passing AUFNR (PLNNR of MLST table) field to get the wbs number (PSPEL field).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.