<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:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Hi,<br>
<br>
i created a pull request and would be happy about some feedback.<br>
<br>
Kind Regards,<br>
Emil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> Martin Lízner - AMI Praha a.s. <martin.lizner@ami.cz>
<br>
<b>Gesendet:</b> Samstag, 29. Januar 2022 09:48<br>
<b>An:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Militzer, Emil <Emil.Militzer@tk.de><br>
<b>Betreff:</b> Re: [midPoint] SAP Connector indirect ACTIVITYGROUPS contribution<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi, yes this is exactly what we were facing. We dedicated to work it out with custom matching rule, since we need it for other purposes as well. But hiding indirect roles in ri:ACTIVITYGROUPS (orgflag=C) on the connector may be more effective.
Make sure its a connector configurable and please create a pull request on the master.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Btw, Im currently working on another SAP connector enhancement - that you can configure update error codes that are considered as nonfatal (e.g. company value missing in SAP and so on).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">M.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">út 18. 1. 2022 v 16:05 odesílatel Emil.Militzer--- via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> napsal:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Hello together,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">we encountert a problem in our deployment with indirect ACTIVITYGROUPS in the SAP. We want to be non tolerant in the SAP
ACTIVITYGROUPS Mapping.<br>
In the SAP itself we also have a complicted role hierarchy. The indirect roles will be calculated in the SAP after we assign a SAP ACTIVITYGROUP with child ACTIVITYGROUPs.<br>
During the next recompute midPoint tries to delete all indirect roles because we are not tolerant. This will have no effect in SAP but will be tried during every recompute.<br>
<br>
We tried to work around the issue by importing every indirect role into midpoint but now every indirect role will be mapped as direct in the SAP.<br>
<br>
In general indirect roles can be identified through the „ORG_FLAG“ in the ACTIVITYGROUPS XML field. We also tried targetsets but this is quite complicated and did not resolve the issue as wanted.<br>
<br>
We came to the conclusion that the clean way would be a configuration fort he SAP connector to hide all indirect ACTIVITYGROUPS. I implemented this in the SAP Connector and the results are quite promising.<br>
I think this change could benefit others and would like to contribute it to the SAP connector.<br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Did any of you had the same problem? Could you solve it in a way which we did not see? What do you think about a connector
configuration idea and the contribution?<br>
<br>
I would be happy if i could get some feedback.<br>
<br>
Kind regards</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Emil</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>