<?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 BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS - Customer Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651913#M1764185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please explain me how to fill Customer fields parameter while calling BAPI.BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 custom fields in COBL structure .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2013 16:33:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-05T16:33:23Z</dc:date>
    <item>
      <title>BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS - Customer Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651913#M1764185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please explain me how to fill Customer fields parameter while calling BAPI.BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 custom fields in COBL structure .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 16:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651913#M1764185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-05T16:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS - Customer Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651914#M1764186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at the BAPI CODE where Function Module MAP2I_BAPIEXTC_TO_BAPICOBL_CI (Include:LK40CF2R Line 137).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the key points,looking at the code:&lt;/P&gt;&lt;P&gt;1.The custom fields on COBL structure should have been added in the include structureCI_COBL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The record which want to update on DOC_ITEMS table should have the same ITEMNO_ACC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Accounting Document Line Item Number on the custom field structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If the first custom field on structure CI_COBL is of 10 character entry of the first line in CUSTOMER_FIELDS should be something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000000001CUSTOMERNUMBER&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000000001-&amp;gt;ITEMNO_ACC -&amp;gt;Same as DOC_ITEMS&lt;/P&gt;&lt;P&gt; Customernumber-&amp;gt;custome field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is how its going to update it. May be you can try now.&lt;/P&gt;&lt;P&gt;I don't have all the data to test it with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 17:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651914#M1764186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-05T17:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS - Customer Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651915#M1764187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am not clear still .......can you consider that we have Custom fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z1 &amp;amp; Z2 in COBL . How would you populate CUSTOMER_FIELDS records table with fields FIELD1, FIELD2, FIELD3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 08:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651915#M1764187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-06T08:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_MANUAL_ALLOC_POST CUSTOMER_FIELDS - Customer Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651916#M1764188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the same problem i had. Assuming you already have your custom fields in the CI_COBL, you have to concatenate the ITEMNO_ACC and your custom fields into a string. This will be field 1 of the&amp;nbsp;&amp;nbsp; EXTENSION_CODINGBLOCK. then the FM MAP2I_BAPIEXTC_TO_BAPICOBL_CI will loop thru the Field 1 string while reading your CI_COBL field lengths and separate your values accordingly. See my example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My CI_COBL fields from BAPICOBL_CI structure:&lt;/P&gt;&lt;P&gt;ITEM_NO_ACC N(10) "SAP already includes this field. not custom&lt;/P&gt;&lt;P&gt;ZZOT_QTY Quan(15)Dec(3) "custom field and length of 19 characters&lt;/P&gt;&lt;P&gt;ZZOT_RATE Curr(11)Dec(2) "custom field and length of 14 characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would need to concatenate the ITEM_NO_ACC (which you get from the DOC_ITEMS in BAPI), ZZOT_QTY, &amp;amp; ZZOT_RATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it loops thru the MAP2I_BAPIEXTC_TO_BAPICOBL_CI, the code will separate the following.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;000000000110.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first 10 chars = ITEM_NO_ACC passed from DOC_ITEMS&lt;/P&gt;&lt;P&gt;The next 19 chars = ZZOT_QTY passed from input field or inbound data etc.&lt;/P&gt;&lt;P&gt;The next 14 chars = ZZOT_RATE passed from input field or inbound data etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Jessica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 16:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-manual-alloc-post-customer-fields-customer-fields/m-p/9651916#M1764188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-07T16:04:42Z</dc:date>
    </item>
  </channel>
</rss>

