<div dir="ltr">Hi,<div><br></div><div>variable length currently is not supported yet.</div><div>You can try to fix it in the source code of the connector Yourself. </div><div>If You need more assistance, please write to <a href="mailto:info@inalogy.com">info@inalogy.com</a> with a full track trace.</div><div><br></div><div>best regards</div><div><br></div><div>Gustav</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">st 11. 6. 2025 o 12:02 InformationSecurity via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg3034365839838570308">
<div lang="EN-GB">
<div class="m_3034365839838570308WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are using the SAP Connector documented here : <a href="https://docs.evolveum.com/connectors/connectors/com.evolveum.polygon.connector.sap.SapConnector/" target="_blank">
https://docs.evolveum.com/connectors/connectors/com.evolveum.polygon.connector.sap.SapConnector</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We have successfully connected our SAP environment and are able to fetch the default data (accounts, profiles and activity groups). Now we are trying to fetch data from an arbitrary table, which we understood is supported using
<i>tables</i> tag. Our issue is that one of the fields have data of variable length, i.e., descriptions, and we don’t understand how to specify that this field can have values of different size and can be empty.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The SAP definition of the table is here: <a href="https://www.sapdatasheet.org/abap/tabl/agr_texts.html" target="_blank">
https://www.sapdatasheet.org/abap/tabl/agr_texts.html</a> <u></u><u></u></p>
<p class="MsoNormal">Our definition in the connector: AGR_TEXTS as DESCRIPTION=MANDT:3:IGNORE,AGR_NAME:30:KEY,SPRAS:1,LINE:5,TEXT:80<u></u><u></u></p>
<p class="MsoNormal">Behaviour: any value in TEXT field smaller than 80 digits triggers an error “StringIndexOutOfBoundsException”. If we remove the TEXT field from the definition it works perfectly, just of course without the TEXT value. If we use a smaller
value, e.g., 30, then all TEXT values smaller than 30 trigger the error.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can anyone help us on this subject please ?<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif">Thomas LARCHER<u></u><u></u></span></p>
</div>
</div>
_______________________________________________<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" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</div></blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">s pozdravom<div><br></div><div>Gustáv Pálos</div></div>