<?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 Regarding mandatory fields in idoc segment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147157#M1620974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have extended a standard idoc and add one new segment with 20 fields.I need to make 10 fields mandattory out of 20 fields.If these 10 fields doesn't fill then i need to fill status message (error message ) in idoc.I found from several post in sdn that we can make hole segment mandatory but i need to make only some of fields mandatory in my segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know that how to achieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 05:57:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-14T05:57:47Z</dc:date>
    <item>
      <title>Regarding mandatory fields in idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147157#M1620974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have extended a standard idoc and add one new segment with 20 fields.I need to make 10 fields mandattory out of 20 fields.If these 10 fields doesn't fill then i need to fill status message (error message ) in idoc.I found from several post in sdn that we can make hole segment mandatory but i need to make only some of fields mandatory in my segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know that how to achieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 05:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147157#M1620974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T05:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding mandatory fields in idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147158#M1620975</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;Why not u add two segments with the first one containing mandatory fields and the later with non mandatory fields..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Archna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 06:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147158#M1620975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T06:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding mandatory fields in idoc segment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147159#M1620976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, you can make a segment mandatory but not a specific field as mandatory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can do the same check inside the code (If it is inbound do it in the FM, if it is outbound do it in the program). Else check for exists if any and while filling the data to the fields, you can check the condition and throw message accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 07:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-mandatory-fields-in-idoc-segment/m-p/8147159#M1620976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T07:08:34Z</dc:date>
    </item>
  </channel>
</rss>

