<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Hi there Mark,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Yes, this is possible.&nbsp; There are two types of approval tasks:&nbsp; Completion (TS40007952) and Approval (TS40007953).&nbsp;&nbsp; Both of these have a container element called
 BOR_OBJECT (BUS2121) which is what is being used to display the total cart value.&nbsp;&nbsp; Via SRM configuration you can use a different task (i.e TS9#######) to be used for these approvals.&nbsp; You could then add “Z” attributes to a ZBUS2121 (Delegated from BUS2121)
 and have it display any additional details you need.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">The configuration to specify a different task can be found at “Process Level Configuration”&nbsp; (SPRO &gt; Supplier Relationship Management &gt; SRM Server &gt; Cross-Application
 Basic Settings &gt; Business Workflow &gt; Process-Controlled Workflow &gt; Business Process Configuration &gt; Define Process Levels”)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Let me know if you have any problems.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Joe<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Mark Pyc<br>
<b>Sent:</b> Monday, July 16, 2018 9:16 PM<br>
<b>To:</b> WUG &lt;sap-wug@mit.edu&gt;<br>
<b>Subject:</b> SRM ProcCtrl WF - Display Item details of current Decision Set (current Workitem)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">G'day Wuggers,<o:p></o:p></p>
<div>
<div id="gmail-page">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p>Within SRM 7.0 Process Controlled WF at Item Level for Shopping Carts there is config and BAdIs to define Item Bundles with associated Approvers. This done using the Responsibility Resolver and Area class concept.
<o:p></o:p></p>
<p>Is it possible within the Long Text of the Workitem to show details of the Cart Items&nbsp;associated current Decision Set? There is a linkage between Work Item, Decision Set, Area and Cart Items but within the constricts of a predefined framework Workflow I
 can't see any way to access this.<o:p></o:p></p>
<p>If I could access the current Work Item number within BUS2121 then I could establish the linkage (Work Item into table /SAPSRM/D_WF_013 ​gives Decision Set&nbsp; and can then read /SAPSRM/D_WF_005 to get the Area GUID from which I could invoke my own class methods).
<o:p></o:p></p>
<p>None of the methods I've found reference to work in SRM because they rely on Events being raised but SRM doesn't use events.&nbsp;So FM SWO_QUERY_REQUESTER doesn't work, nor does&nbsp;method cl_swf_evt_requester=&gt;get_workitem.<o:p></o:p></p>
<p>Is there anyway to programmatically determine the Cart Items that relate to the current Work Item so that details of just those Items can be shown in the Work Item long text??<o:p></o:p></p>
<p>Without opening the Shopping Cart screen the user wants to know which Items they are responsible for and what the total value of those are.
<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">Many thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mark<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>