<?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: Unable to Post thru Bapi BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634830#M283133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the following link.&lt;/P&gt;&lt;P&gt;&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="2291673"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2006 12:11:31 GMT</pubDate>
    <dc:creator>former_member404244</dc:creator>
    <dc:date>2006-09-20T12:11:31Z</dc:date>
    <item>
      <title>Unable to Post thru Bapi BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634828#M283131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When We try to post a document thru BAPI_ACC_DOCUMENT_POST the System gives a blank screen and does not post the document. We were able post a document in Development but unable to do in testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why this is happening?? &lt;/P&gt;&lt;P&gt;Appreciate any help on this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sivaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 11:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634828#M283131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Post thru Bapi BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634829#M283132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_dh          type bapiache09.&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;  t_ap           type standard table of bapiacap09 with header line,&lt;/P&gt;&lt;P&gt;  t_ret          type standard table of bapiret2 with header line,&lt;/P&gt;&lt;P&gt;  t_amt          type standard table of bapiaccr09 with header line,&lt;/P&gt;&lt;P&gt;  t_gl           type standard table of bapiacgl09 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       wa_dh-doc_date = ll_a00-creation_date.&lt;/P&gt;&lt;P&gt;        wa_dh-obj_key    = ll_i04-inv_number. "Inv ref&lt;/P&gt;&lt;P&gt;        wa_dh-ref_doc_no = ll_i04-inv_number. "Inv ref&lt;/P&gt;&lt;P&gt;        wa_dh-header_txt = co_headtext.   "'BAPI-IDE'&lt;/P&gt;&lt;P&gt;        wa_dh-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;        wa_dh-doc_type   = co_doctype.    "KR&lt;/P&gt;&lt;P&gt;        wa_dh-obj_type   = co_objecttype. "'IDOC'&lt;/P&gt;&lt;P&gt;        wa_dh-obj_sys    = v_sen_ls(10).&lt;/P&gt;&lt;P&gt;        wa_dh-username   = sy-uname.&lt;/P&gt;&lt;P&gt;        wa_dh-bus_act    = co_businessact.  "'RFBU'&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;          t_gl-itemno_acc = v_item_readcount.&lt;/P&gt;&lt;P&gt;          t_gl-item_text = wa_acc_values-code.&lt;/P&gt;&lt;P&gt;          append t_gl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          t_ap-itemno_acc = v_item_readcount.&lt;/P&gt;&lt;P&gt;          t_ap-vendor_no  = v_vendor_account.&lt;/P&gt;&lt;P&gt;          t_ap-bline_date = v_base_date.&lt;/P&gt;&lt;P&gt;          append t_ap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_amt-itemno_acc = v_item_readcount.&lt;/P&gt;&lt;P&gt;    t_amt-currency   = v_currency.&lt;/P&gt;&lt;P&gt;    t_amt-amt_doccur = wa_vat-vatamt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the Base amount from the header table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if wa_vat-vatamt lt 0.&lt;/P&gt;&lt;P&gt;      read table t_inv into wa_inv&lt;/P&gt;&lt;P&gt;     with key type = 'C'.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      read table t_inv into wa_inv&lt;/P&gt;&lt;P&gt;      with key type = 'I'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_amt-amt_base = wa_inv-inv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append t_amt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the BAPI to post the Invoice.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'BAPI_ACC_DOCUMENT_POST'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            documentheader = wa_dh&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            accountgl      = t_gl&lt;/P&gt;&lt;P&gt;            accountpayable = t_ap&lt;/P&gt;&lt;P&gt;            currencyamount = t_amt&lt;/P&gt;&lt;P&gt;            return         = t_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check for errors (filter for E &amp;amp; A)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  loop at t_ret into ll_result.&lt;/P&gt;&lt;P&gt;    if    ll_result-type = 'E'&lt;/P&gt;&lt;P&gt;       or ll_result-type = 'A'.&lt;/P&gt;&lt;P&gt;      append ll_result to lt_result_tmp.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 12:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634829#M283132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Post thru Bapi BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634830#M283133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the following link.&lt;/P&gt;&lt;P&gt;&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="2291673"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 12:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-post-thru-bapi-bapi-acc-document-post/m-p/1634830#M283133</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-20T12:11:31Z</dc:date>
    </item>
  </channel>
</rss>

