<?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 IDOC Segment Mandatory Fields. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917216#M1691126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created one segment with 21 fields and calling from Zprogram.&lt;/P&gt;&lt;P&gt;in that segment some fields are &lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Mandatory&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt; if i gave segment is &lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Mandatory&lt;/STRONG&gt; it is not validating fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where i need to validate this &lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Mandatory&lt;/STRONG&gt; fields and how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2012 09:14:15 GMT</pubDate>
    <dc:creator>former_member635962</dc:creator>
    <dc:date>2012-07-06T09:14:15Z</dc:date>
    <item>
      <title>IDOC Segment Mandatory Fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917216#M1691126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created one segment with 21 fields and calling from Zprogram.&lt;/P&gt;&lt;P&gt;in that segment some fields are &lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Mandatory&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt; if i gave segment is &lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Mandatory&lt;/STRONG&gt; it is not validating fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where i need to validate this &lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Mandatory&lt;/STRONG&gt; fields and how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 09:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917216#M1691126</guid>
      <dc:creator>former_member635962</dc:creator>
      <dc:date>2012-07-06T09:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Mandatory Fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917217#M1691127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cant set the mandatory setting to fields of a segment. You can only set the segment as mandatory. Even if one fields of a mandatory segment is filled, it means the segment is filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check whether the field is populated or not in your code. I hope you are doing a outbound IDOC from SAP. In your case, you need to check whether field was populated in your Z program before generating the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;~Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 09:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917217#M1691127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-06T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Mandatory Fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917218#M1691128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;s its an outbound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the table and no data we will drop that records or any solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 10:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917218#M1691128</guid>
      <dc:creator>former_member635962</dc:creator>
      <dc:date>2012-07-06T10:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Mandatory Fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917219#M1691129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your approach is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the table (or check the field in the segment). If initial/blank, drop the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;~Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 11:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-mandatory-fields/m-p/8917219#M1691129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-06T11:05:28Z</dc:date>
    </item>
  </channel>
</rss>

