<?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 Re: Filter Mandatory fields in IDoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896879#M1480759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinotha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In IDOC, we does not have any concept of mandatory fields. We have only mandatory segments.&lt;/STRONG&gt;&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;Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 May 2010 10:38:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-20T10:38:59Z</dc:date>
    <item>
      <title>Filter Mandatory fields in IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896877#M1480757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Filter out segments from IDoc Processing , i know we can use transaction BD53 , but this allows only the reduction of Segments and the Fields that are not mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where we want to Update VAT info as a separate message into Customer and Vendor IDoc (CREMAS &amp;amp; DEBMAS). But at this time we do not have the Account Group field, which is mandatory in both these IDoc types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this in WE19, for testing if I pass character '/' in the field, the IDoc executes sucessfully.&lt;/P&gt;&lt;P&gt;Is there any way to reduce the mandatory fields too, &lt;/P&gt;&lt;P&gt;or is it ok to pass '/' in Mapping itself from PI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i just pass '/' to these mandatory fields would it suffice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help resolve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinotha M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinotha M on May 20, 2010 3:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896877#M1480757</guid>
      <dc:creator>vinotha_m</dc:creator>
      <dc:date>2010-05-19T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Mandatory fields in IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896878#M1480758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Filter out segments from IDoc Processing , i know we can use transaction BD53 , but this allows only the reduction of Segments and the Fields that are not mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hhmmm, IDocs can have mandatory segments (by definition/meta data), but I'm not sure what you mean by mandatory fields? I suspect you mean in this case that the application requires the presence of certain fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, you cannot somehow magically remove a field from an IDoc segment. However, as you mentioned already, many applications would consider using an empty field as meaning that the field should be cleared. That's where the &lt;EM&gt;no data&lt;/EM&gt; indicator (usually a '/') comes in for basically telling the application that this field shouldn't be changed. Kind of like with BAPI's where you do a change and don't mark in the corresponding "X-structure" the fields that you don't want to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in doubt it often helps to look at the coding of the function module responsible for processing the inbound IDoc. Here you should see whether the developer added logic for handling a &lt;EM&gt;no data indicator&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you're doing an update and everything works fine with putting an '/' in the field I'd do that (right approach). Often though a field that is required for a &lt;EM&gt;create&lt;/EM&gt; message is not really relevant for a &lt;EM&gt;change&lt;/EM&gt; message. E.g. I vaguely remember that for example the &lt;EM&gt;material type&lt;/EM&gt; is a required field for material creation, but when you change a material the field is actually ignored (doesn't matter at all what the value is, because changing the material type has quite some implications). I'd suspect the same might be true for account group of vendor/debitor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896878#M1480758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-20T10:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Mandatory fields in IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896879#M1480759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinotha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In IDOC, we does not have any concept of mandatory fields. We have only mandatory segments.&lt;/STRONG&gt;&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;Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-mandatory-fields-in-idoc/m-p/6896879#M1480759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-20T10:38:59Z</dc:date>
    </item>
  </channel>
</rss>

