<?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: CMD_EI_API modify to accept wrong address in customer creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652465#M1943671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Function module &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ADDR_SUPPRESS_POSTALCODE_CHECK just returns parameter&amp;nbsp; SUPPRESS_POSTALCODE_CHECK but I do not see that it would suppress the CAM validation though&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 07:46:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-11T07:46:02Z</dc:date>
    <item>
      <title>CMD_EI_API modify to accept wrong address in customer creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652462#M1943668</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 am using CMD_EI_API-&amp;gt;MAINTAIN_BAPI to create customer master. I have a requirement, that during customer creation the check if postal code exists for a country, should be overwritten in case of an error. The standard customer creation works similarly, so a popup is displayed, that the postal code does not belong to the country, but the address can be created nevertheless. Using the BAPI does not allow this, so customer cannot be created in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only idea now is to copy the whole class with the methods to a z-class and modify the method adresses_complete where the check is happening. If you have any other idea, what can be done, please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 08:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652462#M1943668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-08T08:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: CMD_EI_API modify to accept wrong address in customer creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652463#M1943669</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'd be looking to extend, if necessary, the postal code check logic (which is not in CMD_EI_API, I believe). Do you have a message class and number for the error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have never tried it, but could it be that FM ADDR_SUPPRESS_POSTALCODE_CHECK suppresses the entire CAM (Central Address Management) postal code validation logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Janis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jānis B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 13:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652463#M1943669</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2016-04-08T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: CMD_EI_API modify to accept wrong address in customer creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652464#M1943670</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;thanks for your comments. Message class R5, number 510.&lt;/P&gt;&lt;P&gt;I will check the FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ADDR_SUPPRESS_POSTALCODE_CHECK , sounds promising. Any other idea is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652464#M1943670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-11T05:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: CMD_EI_API modify to accept wrong address in customer creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652465#M1943671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Function module &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ADDR_SUPPRESS_POSTALCODE_CHECK just returns parameter&amp;nbsp; SUPPRESS_POSTALCODE_CHECK but I do not see that it would suppress the CAM validation though&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 07:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652465#M1943671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-11T07:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: CMD_EI_API modify to accept wrong address in customer creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652466#M1943672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is actually another FM ADDR_ACCEPT_REG_DATA_ERROR which is called in the CMD_EI_API-&amp;gt;ADDRESSES_COMPLETE which suppresses the error message when I set the flag in the debugger. But I don't know how to make use of this when executing my code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;Tim &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 09:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652466#M1943672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-11T09:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: CMD_EI_API modify to accept wrong address in customer creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652467#M1943673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ok, in that case (a regional data error), using &lt;SPAN style="color: #333333;"&gt;ADDR_ACCEPT_REG_DATA_ERROR and ADDR_SET_DIALOG_FOR_REG_DATA seem to be a better choice. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'd try to set up the flags prior to &lt;SPAN style="color: #333333;"&gt;MAINTAIN_BAPI call - dialog = off, accept errors = on.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;There does appear to be a way to control the CVI behaviour as described in &lt;SPAN class="title" style="color: #000000;"&gt;&lt;A href="http://service.sap.com/sap/support/notes/1399414" style="font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;" title="1399414  - Address checks acceptance during synchronization"&gt;1399414 - Address checks acceptance during synchronization&lt;/A&gt;&lt;/SPAN&gt; (via controlling CVI_API message 026 in transaction &lt;SPAN style="color: #000000; font-family: 'Lucida Console', Monaco, 'Courier new', monospace;"&gt;OBA5&lt;/SPAN&gt;), but... if I had to write my own 'consistent' logic on top of &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;CMD_EI_API, I'd try to control the flags directly, rather than relay on some 'obscure' (though rather more flexible, down even to individual users) customization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Janis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Edit in: &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ADDR_SUPPRESS_POSTALCODE_CHECK should work, I believe, according to the same principle: pass in SUPPRESS_POSTALCODE_CHECK = 'X', prior to the API call. The only obvious argument against using these FMs IMO is: they do not appear to be 'released' to customers or 'properly' documented (or I'm unable to quickly find the documentation...). But that applies to &lt;SPAN style="color: #333333; font-size: 13.3333px;"&gt;ADDR_ACCEPT_REG_DATA_ERROR and &lt;SPAN style="color: #333333; font-size: 13.3333px;"&gt;ADDR_SET_DIALOG_FOR_REG_DATA as well - other than being mentioned in OSS Notes, I don't see SAP documenting their use for customers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jānis B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 10:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cmd-ei-api-modify-to-accept-wrong-address-in-customer-creation/m-p/11652467#M1943673</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2016-04-11T10:30:08Z</dc:date>
    </item>
  </channel>
</rss>

