<?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>topic Work area initialization check fail even with values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-initialization-check-fail-even-with-values/m-p/678570#M30125</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;I am using "CSAP_MAT_BOM_MAINTAIN" FM to change boms. I'm using an excel file to upload the relevant bom. In the excel file i maintain the structures and fields which are using in this FM.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/166452-excel-upload.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;All the values getting updated to relevant structure correctly. But there is a problem when checking sub-items. I use if condition to check structure "STPU_API01" is initial. if not i do some programing inside the condition. At the time in if condition below is how structure looks&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/166453-stpu-api01.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;My Code&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/166454-code.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Even though structure have values it fails in the condition. I'm so confused with the situation. Pls. help me on this.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks In Advance&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Sajeewa Priyankara&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 06:18:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-06-28T06:18:42Z</dc:date>
    <item>
      <title>Work area initialization check fail even with values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-initialization-check-fail-even-with-values/m-p/678570#M30125</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;I am using "CSAP_MAT_BOM_MAINTAIN" FM to change boms. I'm using an excel file to upload the relevant bom. In the excel file i maintain the structures and fields which are using in this FM.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/166452-excel-upload.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;All the values getting updated to relevant structure correctly. But there is a problem when checking sub-items. I use if condition to check structure "STPU_API01" is initial. if not i do some programing inside the condition. At the time in if condition below is how structure looks&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/166453-stpu-api01.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;My Code&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/166454-code.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Even though structure have values it fails in the condition. I'm so confused with the situation. Pls. help me on this.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks In Advance&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Sajeewa Priyankara&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 06:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area-initialization-check-fail-even-with-values/m-p/678570#M30125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-06-28T06:18:42Z</dc:date>
    </item>
  </channel>
</rss>

