<?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 Creating profitability segment from BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507178#M1933303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read hundreds of posts related to BAPI_ACC_DOCUMENT_POST and creating profitability segment; however, I still am not satisfied that I have found the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some background... &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We are using BAPI_ACC_DOCUMENT_POST for the creation of a variety of "standard" entries&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Some entries use GL accounts for which profitability segment has been configured&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;When we test an entry via the BAPI that has profitability segment active, we get an error back... F5 808 - GL account requires profitability segment&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;When we test the same entry via transaction FB01, there is no problem. The "Assignment to profitability segment" popup appears with the characteristics Plant, Product, and Profit Center populated. User accepts the entries, and moves on.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can make the BAPI work of course by populating the CRITERIA table with plant, product, and profit center; however, with the complexity of COPA, I will not always know which characteristics to add to the CRITERIA table. I feel like it must be possible to get a profitability segment assigned without putting any information in the CRITERIA table; however, I may be wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Is it possible to have BAPI_ACC_DOCUMENT_POST behave similar to how FB01 auto-assigns values to characteristics in the &lt;EM&gt;assignment to profitability screen&lt;/EM&gt;? If not, does anyone have advice on how to determine what the characteristics need to be each time I use a GL where profitability segment is active?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Respectfully,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Dec 2015 21:25:01 GMT</pubDate>
    <dc:creator>former_member219908</dc:creator>
    <dc:date>2015-12-31T21:25:01Z</dc:date>
    <item>
      <title>Creating profitability segment from BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507178#M1933303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read hundreds of posts related to BAPI_ACC_DOCUMENT_POST and creating profitability segment; however, I still am not satisfied that I have found the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some background... &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We are using BAPI_ACC_DOCUMENT_POST for the creation of a variety of "standard" entries&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Some entries use GL accounts for which profitability segment has been configured&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;When we test an entry via the BAPI that has profitability segment active, we get an error back... F5 808 - GL account requires profitability segment&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;When we test the same entry via transaction FB01, there is no problem. The "Assignment to profitability segment" popup appears with the characteristics Plant, Product, and Profit Center populated. User accepts the entries, and moves on.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can make the BAPI work of course by populating the CRITERIA table with plant, product, and profit center; however, with the complexity of COPA, I will not always know which characteristics to add to the CRITERIA table. I feel like it must be possible to get a profitability segment assigned without putting any information in the CRITERIA table; however, I may be wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Is it possible to have BAPI_ACC_DOCUMENT_POST behave similar to how FB01 auto-assigns values to characteristics in the &lt;EM&gt;assignment to profitability screen&lt;/EM&gt;? If not, does anyone have advice on how to determine what the characteristics need to be each time I use a GL where profitability segment is active?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Respectfully,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 21:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507178#M1933303</guid>
      <dc:creator>former_member219908</dc:creator>
      <dc:date>2015-12-31T21:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating profitability segment from BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507179#M1933304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK you must populate the Criteria table with the PA Segments you or functionals want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You already identified the &lt;SPAN style="font-size: 10pt;"&gt;Plant, Product, and Profit Center fields.&amp;nbsp; If you don't want to hardcode this, &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;quite commendable, &lt;/SPAN&gt;&lt;/SPAN&gt;you have to analyze your Customizing tables.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 16:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507179#M1933304</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-04T16:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating profitability segment from BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507180#M1933305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. This is the same conclusion I have come to. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 16:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-profitability-segment-from-bapi-acc-document-post/m-p/11507180#M1933305</guid>
      <dc:creator>former_member219908</dc:creator>
      <dc:date>2016-01-04T16:18:18Z</dc:date>
    </item>
  </channel>
</rss>

