<?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: Regarding BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-acc-document-post/m-p/3606710#M868803</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;hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Pls reward if help.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The posting key is decided automatically by the BAPI, it depends on the sign you have assigned to the amounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I suppose the BAPI'll use the postig key 40/50:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;40 if the amount is greater than 0, &lt;/P&gt;&lt;P&gt;50 if the amount is less than 0, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can have some problem only if you need to use some keys different from 40/50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I believe you have to use the BAPI BAPI_ACC_DOCUMENT_POST, here you can choose which posting keys to be used in order to transaction key (KOTSL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the table T030B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I could make a suggestion why dont you use LSMW for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard object is 0100.&lt;/P&gt;&lt;P&gt;It uses the standard program RFBIBL00 itself. But you should be able to format it easily&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a document on how you can use the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf" target="test_blank"&gt;http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can Do BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below threads, these threads have the sameple code also&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1799592"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="121541"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest you to Search in SDN with key - FB01&lt;/P&gt;&lt;P&gt;Will get few more useful related Posts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2008 08:38:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-01T08:38:50Z</dc:date>
    <item>
      <title>Regarding BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-acc-document-post/m-p/3606709#M868802</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;How can I insert the posting key in the BAPI_ACC_DOCUMENT_POST?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!!!&lt;/P&gt;&lt;P&gt;james evert lising&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 08:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-acc-document-post/m-p/3606709#M868802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-acc-document-post/m-p/3606710#M868803</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;hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Pls reward if help.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The posting key is decided automatically by the BAPI, it depends on the sign you have assigned to the amounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I suppose the BAPI'll use the postig key 40/50:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;40 if the amount is greater than 0, &lt;/P&gt;&lt;P&gt;50 if the amount is less than 0, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can have some problem only if you need to use some keys different from 40/50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I believe you have to use the BAPI BAPI_ACC_DOCUMENT_POST, here you can choose which posting keys to be used in order to transaction key (KOTSL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the table T030B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I could make a suggestion why dont you use LSMW for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard object is 0100.&lt;/P&gt;&lt;P&gt;It uses the standard program RFBIBL00 itself. But you should be able to format it easily&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a document on how you can use the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf" target="test_blank"&gt;http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can Do BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below threads, these threads have the sameple code also&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1799592"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="121541"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest you to Search in SDN with key - FB01&lt;/P&gt;&lt;P&gt;Will get few more useful related Posts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 08:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-acc-document-post/m-p/3606710#M868803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T08:38:50Z</dc:date>
    </item>
  </channel>
</rss>

