<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: How to handle Multi Value Attributes? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720059#M199228</link>
    <description>&lt;P&gt;Hello folks, &lt;/P&gt;&lt;P&gt;After describing my problem and working on it afterwards it worked!&lt;/P&gt;&lt;P&gt;I could write in the multi value attribute, then read the entire column with uSelect(); and split the values with the split method. &lt;/P&gt;&lt;P&gt;I could sum it up in an array but needed to parse the values to int with pareInt();&lt;/P&gt;&lt;P&gt;This should be it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grateful,&lt;/P&gt;&lt;P&gt;Berkay &lt;/P&gt;</description>
    <pubDate>Thu, 25 Oct 2018 12:22:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-10-25T12:22:10Z</dc:date>
    <item>
      <title>How to handle Multi Value Attributes?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaq-p/720055</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I'm asking myself how to handle multi value attributes. I'm not much into them and can't find any tutorial how to handle them. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I choose multi value attribute and try to write some values in it and i expect something like "a|b|c" for the values a, b and c. &lt;/P&gt;
  &lt;P&gt;In the presentation tab i selected MultiSelect for the presentation.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;But all I'm getting is an error with : "Value not legal for this attribute:...."&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/236780-error.png" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;And this is my table for this attribute:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/236781-table.png" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Am I right how to handle multi value attributes? &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Grateful&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Berkay&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 11:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaq-p/720055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-10-24T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle Multi Value Attributes?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720056#M199225</link>
      <description>&lt;P&gt;Hello Berkay,&lt;/P&gt;&lt;P&gt;did you enter some legal values on the attribute directly? Can you share a screenshot of the attribute configuration? &lt;/P&gt;&lt;P&gt;And how did you write the values into it?&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Steffi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720056#M199225</guid>
      <dc:creator>Steffi_Warnecke</dc:creator>
      <dc:date>2018-10-24T16:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle Multi Value Attributes?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720057#M199226</link>
      <description>&lt;P&gt;Hi Berkay,&lt;/P&gt;&lt;P&gt;As Steffi says, having an idea of what you want to do would be most helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's some generic information that might be of some help while you are gathering those screenshots...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/viewer/4773a9ae1296411a9d5c24873a8d418c/8.0/en-US/82da8c8e501b41978817126cb722a060.html" target="test_blank"&gt;https://help.sap.com/viewer/4773a9ae1296411a9d5c24873a8d418c/8.0/en-US/82da8c8e501b41978817126cb722a060.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/viewer/4773a9ae1296411a9d5c24873a8d418c/8.0/en-US/9a44222776a14ddb8a39694bcac67571.html" target="test_blank"&gt;https://help.sap.com/viewer/4773a9ae1296411a9d5c24873a8d418c/8.0/en-US/9a44222776a14ddb8a39694bcac67571.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know what you want to do and we can give you some more specific support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 17:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720057#M199226</guid>
      <dc:creator>former_member2987</dc:creator>
      <dc:date>2018-10-24T17:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle Multi Value Attributes?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720058#M199227</link>
      <description>&lt;P&gt;Hay guys,&lt;/P&gt;&lt;P&gt;first of all you guys are awesome! Thanks for the quick answers.&lt;/P&gt;&lt;P&gt;At first i wanted to write data into a multi value attribute then process it. I'm on it to write a UI task to create your own scheduling rules for specific jobs.&lt;/P&gt;&lt;P&gt;I want to write / read the weekdays like in the scheduling rule. &lt;/P&gt;&lt;P&gt;It's like sunday = 1, monday = 2, tuesday = 4, wednesday = 8, ... &lt;/P&gt;&lt;P&gt;Now a user can pick a abitary combination of the weekdays and then a script or another process can add the sum of the weekdays for the entry of the mc_sched_rule table.&lt;/P&gt;&lt;P&gt;Like: Monday + Tuesday = 2 + 4 = 6. This tells us that the job will occur every Monday and Tuesday.&lt;/P&gt;&lt;P&gt;Now I want to process it in the background as numbers. That's why I took multi value attributes.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/234913-atributevalues.png" /&gt;&lt;/P&gt;&lt;P&gt;At first I used the the Value point for Leagal Attribute values: &lt;/P&gt;&lt;P&gt;Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday&lt;/P&gt;&lt;P&gt;The same error occurred.&lt;/P&gt;&lt;P&gt;Then I tryed an sql query to the mc_weekdays table.&lt;/P&gt;&lt;P&gt;The result wasn't satisfying, because an error occurred and the values in the attribute were over more rows. &lt;/P&gt;&lt;P&gt;Like: Monday (one row)&lt;/P&gt;&lt;P&gt;        Monday|Tuesday (one row)&lt;/P&gt;&lt;P&gt;        Tuesday (one row)&lt;/P&gt;&lt;P&gt;For the combination Monday and Tuesday.&lt;/P&gt;&lt;P&gt;The last tryout was the best one.&lt;/P&gt;&lt;P&gt;In this one I used Value Help. I defined my own 7 rows for all weekdays and the value for every day.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/234914-errorvaluehelp.png" /&gt;&lt;/P&gt;&lt;P&gt;The value is correct for the attribute to precess it further on.  (This error occurred for the values Sunday = 1 and Friday = 32)&lt;/P&gt;&lt;P&gt;But still the error occurred. &lt;/P&gt;&lt;P&gt;I hope I could make this more palpable.&lt;/P&gt;&lt;P&gt;Grateful,&lt;/P&gt;&lt;P&gt;Berkay&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 10:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720058#M199227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-10-25T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle Multi Value Attributes?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720059#M199228</link>
      <description>&lt;P&gt;Hello folks, &lt;/P&gt;&lt;P&gt;After describing my problem and working on it afterwards it worked!&lt;/P&gt;&lt;P&gt;I could write in the multi value attribute, then read the entire column with uSelect(); and split the values with the split method. &lt;/P&gt;&lt;P&gt;I could sum it up in an array but needed to parse the values to int with pareInt();&lt;/P&gt;&lt;P&gt;This should be it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grateful,&lt;/P&gt;&lt;P&gt;Berkay &lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 12:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-handle-multi-value-attributes/qaa-p/720059#M199228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-10-25T12:22:10Z</dc:date>
    </item>
  </channel>
</rss>

