<?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: implicit enhancement code request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051979#M1502104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggest you write it, then post anything for which you are unable to discover a solution from ABAP Help or the SDN Forums.  Everybody here has their own code development assignment...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 17:41:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-21T17:41:05Z</dc:date>
    <item>
      <title>implicit enhancement code request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051978#M1502103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to add code in implicit enhancement point in standard FM  IDOC_INPUT_ACC_DOCUMENT,&lt;/P&gt;&lt;P&gt;writing the code for the first time,request you to help with the piece of code with the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022Check if message function (MESFCT) in IDOC control equals to u201CNSAu201D or u201CSAu201D &lt;/P&gt;&lt;P&gt;u2022Only if the above check is fulfilled, then check if customer number (KUNNR) is exist in specified company code (BUKRS)  check in table KNB1&lt;/P&gt;&lt;P&gt;u2022If customer number is not exist:&lt;/P&gt;&lt;P&gt;oGet company code (COMP_CODE), allocation number (ALLOC_NMBR) and SAP customer prefix (3rd &amp;amp; 4th digit of CUSTOMER) from IDOC segment E1BPACAR09&lt;/P&gt;&lt;P&gt;oValidate if those data are maintained in a new custom table ZAR_CHARGE_MAP as selling company code, selling industry key and selling SAP customer prefix&lt;/P&gt;&lt;P&gt;oIf those data are maintained:&lt;/P&gt;&lt;P&gt;	Get charging company code, charging industry key and charging SAP customer prefix  it is possible to get more than 1 record&lt;/P&gt;&lt;P&gt;	For every record,&lt;/P&gt;&lt;P&gt;u2022	Populate a new customer number with charging SAP customer prefix&lt;/P&gt;&lt;P&gt;u2022	Check if that new customer number is exist in charging company code  check table KNB1 again&lt;/P&gt;&lt;P&gt;u2022	If it is exist, update IDOC value in segment below then it is not necessary to check the next record. Be noted that IDOC value in database table (EDID4) must be updated as well and be noted also that some segment below except header segment can be more than 1 segment in 1 IDOC therefore looping is required.&lt;/P&gt;&lt;P&gt;o	E1BPACHE09  COMP_CODE&lt;/P&gt;&lt;P&gt;o	E1BPACGL09  COMP_CODE, ALLOC_NMBR (same as industry key) and PROFIT_CTR (from custom table ZAR_CONVINVFI)&lt;/P&gt;&lt;P&gt;o	E1BPACAR09  CUSTOMER, COMP_CODE, ALLOC_NMBR (same as industry key) and PROFIT_CTR (from custom table ZAR_CONVINVFI)&lt;/P&gt;&lt;P&gt;o	E1BPACCR09  CURRENCY (from custom table ZAR_CONVINVFI)&lt;/P&gt;&lt;P&gt;u2022	If it is not exist, then repeat 3 steps above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request you all to help with the coding samples,i am doing it for AR invoice interface.&lt;/P&gt;&lt;P&gt;thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 00:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051978#M1502103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T00:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: implicit enhancement code request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051979#M1502104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggest you write it, then post anything for which you are unable to discover a solution from ABAP Help or the SDN Forums.  Everybody here has their own code development assignment...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 17:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051979#M1502104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-21T17:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: implicit enhancement code request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051980#M1502105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please do not post your requirements and ask the forum to do your work for you - post locked

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 18:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implicit-enhancement-code-request/m-p/7051980#M1502105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-21T18:20:11Z</dc:date>
    </item>
  </channel>
</rss>

