<?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: BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959626#M394599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I interchanged GL and ASSET while passing to BAPI but i got the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, that right now iam using posting key as 70 and 75. when i post through tranx i think they are 70 and 50.&lt;/P&gt;&lt;P&gt;But in table T030B i dont find that 70 and 50 combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        KDeepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2007 10:36:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-13T10:36:25Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959620#M394593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to post GR on ASSET through BAPI.&lt;/P&gt;&lt;P&gt;It was throughing error that GL was not a reconcile account.&lt;/P&gt;&lt;P&gt;But when go through FB01 with the same GL it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody give me some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        KDeepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        KDeepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959620#M394593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T09:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959621#M394594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto FS00. Put the account number.&lt;/P&gt;&lt;P&gt;Press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto tab Create/bank/interest. Click on checkbox Reconn. acct. ready for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto tab Control data. Put account type as Asset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959621#M394594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T09:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959622#M394595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am creating the ASSET. For the created ASSET iam posting accounting document.&lt;/P&gt;&lt;P&gt;So my GL will be ASSET and offset GL will be the normal GL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am facing 2 errors.&lt;/P&gt;&lt;P&gt;1st is when i tried with reconcile account iam getting error that asset number not found in chart of accounts.&lt;/P&gt;&lt;P&gt;2nd is we have offset account for thst it is giving the account is not recocile account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any sample code on this can have it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959622#M394595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959623#M394596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u have to pass complete length of g/l account , like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G/L = 32506&lt;/P&gt;&lt;P&gt;then u have to pass this data to bapi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;g/l = 0000032506&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959623#M394596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T09:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959624#M394597</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;Here's how it is in F-02. My first line item is to credit from a clearing account using psting key 50 and then debit into an asset account with posting key 70 using transaction type 100. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two tables that I am maintaining are ACCOUNTGL and CURRENCYAMOUNT. I make the BAPI determine the posting key and whether it's debit or credit by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the above i am getting the error that GL is not a reconcile account.&lt;/P&gt;&lt;P&gt;For the 1st line item i am passing GL as ASSET number which i am creating.&lt;/P&gt;&lt;P&gt;2nd line item i will be passing the GL which is offset for the above line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some thing.&lt;/P&gt;&lt;P&gt;*********************************************&lt;/P&gt;&lt;P&gt;       on change of it_polin-recpid.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         write it_po-budat to date yymmdd.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          clear jv_po. "&lt;/P&gt;&lt;P&gt;          line_item = 0.&lt;/P&gt;&lt;P&gt;          clear v_bktxt.&lt;/P&gt;&lt;P&gt;          concatenate it_polin-recpid it_polin-bukrs&lt;/P&gt;&lt;P&gt;                      it_po-budat(04) into v_bktxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                 Header Data               " Sending comp code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            it_hdr-comp_code = it_polin-bukrs.&lt;/P&gt;&lt;P&gt;            it_hdr-doc_date = it_po-budat.&lt;/P&gt;&lt;P&gt;            it_hdr-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;            it_hdr-doc_type = v_blart.&lt;/P&gt;&lt;P&gt;            it_hdr-ref_doc_no = it_polin-recpid.&lt;/P&gt;&lt;P&gt;            it_hdr-BUS_ACT    = 'RFBU'.&lt;/P&gt;&lt;P&gt;            it_hdr-USERNAME = sy-uname.&lt;/P&gt;&lt;P&gt;            it_hdr-header_txt = v_bktxt.&lt;/P&gt;&lt;P&gt;          append it_hdr.&lt;/P&gt;&lt;P&gt;          move: it_polin-recpid to jv_po-mblnr,&lt;/P&gt;&lt;P&gt;                it_polin-bukrs to jv_po-bukrs,&lt;/P&gt;&lt;P&gt;                it_polin-ebeln to jv_po-ebeln,&lt;/P&gt;&lt;P&gt;                it_amr-anln1 to jv_po-anln1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       endon.&lt;/P&gt;&lt;P&gt;          line_item = line_item + 1.&lt;/P&gt;&lt;P&gt;          if not it_sactno-aufnr is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              clear: v_sgtxt.&lt;/P&gt;&lt;P&gt;              concatenate it_sactno-recpid '/' it_sactno-rclno into v_sgtxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                First Item&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                Account number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_gl-gl_account   = it_amr-anln1+2(10)."asset#&lt;/P&gt;&lt;P&gt;                it_gl-ASSET_NO = it_amr-anln1.&lt;/P&gt;&lt;P&gt;                it_gl-item_text = v_sgtxt.&lt;/P&gt;&lt;P&gt;                it_gl-COSTCENTER = it_sactno-kostl.&lt;/P&gt;&lt;P&gt;                it_gl-ACCT_TYPE  = 'A'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-COMP_CODE = it_polin-bukrs.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-BUS_AREA  = ekkn_it-gsber.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-PSTNG_DATE = sy-datum.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fis_period  = v_monat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fisc_year   = v_gjahr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-tax_code    = podoc_it-mwskz.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-acct_key = 'ANL'.&lt;/P&gt;&lt;P&gt;                it_gl-CS_TRANS_T = '120'.&lt;/P&gt;&lt;P&gt;                append it_gl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                Set amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_curr-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_curr-currency = it_polin-waers.&lt;/P&gt;&lt;P&gt;                it_curr-amt_doccur = it_polin-wrbtr.&lt;/P&gt;&lt;P&gt;                append it_curr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   **********Balancing the line item amnt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                clear it_gl.&lt;/P&gt;&lt;P&gt;                line_item = line_item + 1.&lt;/P&gt;&lt;P&gt;                it_gl-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_gl-gl_account = '0000020010'. "credit&lt;/P&gt;&lt;P&gt;                it_gl-item_text = v_sgtxt.&lt;/P&gt;&lt;P&gt;                it_gl-COSTCENTER = it_sactno-kostl.&lt;/P&gt;&lt;P&gt;                it_gl-ACCT_TYPE  = 'A'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-COMP_CODE = it_polin-bukrs.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-BUS_AREA  = ekkn_it-gsber.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-PSTNG_DATE = sy-datum.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fis_period  = v_monat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fisc_year   = v_gjahr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-tax_code    = podoc_it-mwskz.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-acct_key = 'ANL'.&lt;/P&gt;&lt;P&gt;                it_gl-CS_TRANS_T = '120'.&lt;/P&gt;&lt;P&gt;                append it_gl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                Set amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                clear it_curr.&lt;/P&gt;&lt;P&gt;                it_curr-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_curr-currency = it_polin-waers.&lt;/P&gt;&lt;P&gt;                it_curr-amt_doccur = it_polin-wrbtr.&lt;/P&gt;&lt;P&gt;                it_curr-amt_doccur = it_curr-amt_doccur * -1.&lt;/P&gt;&lt;P&gt;                append it_curr.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;          if it_sactno-aufnr = space.&lt;/P&gt;&lt;P&gt;              clear: v_sgtxt.&lt;/P&gt;&lt;P&gt;              concatenate it_polin-recpid '/' it_polin-rclno into v_sgtxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                First Item&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                Account number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_gl-gl_account = it_sactno-genlg.&lt;/P&gt;&lt;P&gt;                it_gl-item_text = v_sgtxt.&lt;/P&gt;&lt;P&gt;                it_gl-COSTCENTER = it_sactno-kostl.&lt;/P&gt;&lt;P&gt;                it_gl-ACCT_TYPE  = 'S'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-COMP_CODE = it_polin-bukrs.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-BUS_AREA = ekkn_it-gsber.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-PSTNG_DATE = sy-datum.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fis_period  = v_monat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fisc_year   = v_gjahr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-tax_code    = podoc_it-mwskz.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-acct_key = 'A00'.&lt;/P&gt;&lt;P&gt;                append it_gl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                Set amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_curr-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_curr-currency = it_polin-waers.&lt;/P&gt;&lt;P&gt;                it_curr-amt_doccur = it_polin-wrbtr.&lt;/P&gt;&lt;P&gt;                append it_curr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   **********Balancing the line item amnt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                clear it_gl.&lt;/P&gt;&lt;P&gt;                line_item = line_item + 1.&lt;/P&gt;&lt;P&gt;                it_gl-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_gl-gl_account = '0000020010'. "credit&lt;/P&gt;&lt;P&gt;                it_gl-item_text = v_sgtxt.&lt;/P&gt;&lt;P&gt;                it_gl-COSTCENTER = it_sactno-kostl.&lt;/P&gt;&lt;P&gt;                it_gl-ACCT_TYPE  = 'S'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-COMP_CODE = it_polin-bukrs.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-BUS_AREA = ekkn_it-gsber.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                it_gl-PSTNG_DATE = sy-datum.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fis_period  = v_monat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-fisc_year   = v_gjahr.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-tax_code    = podoc_it-mwskz.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               it_gl-acct_key = 'A00'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                append it_gl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                Set amount&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                clear it_curr.&lt;/P&gt;&lt;P&gt;                it_curr-itemno_acc = line_item.&lt;/P&gt;&lt;P&gt;                it_curr-currency = it_polin-waers.&lt;/P&gt;&lt;P&gt;                it_curr-amt_doccur = it_polin-wrbtr.&lt;/P&gt;&lt;P&gt;                it_curr-amt_doccur = it_curr-amt_doccur * -1.&lt;/P&gt;&lt;P&gt;                append it_curr.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;          at end of recpid.&lt;/P&gt;&lt;P&gt;                refresh t_result. clear t_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                call function 'BAPI_ACC_DOCUMENT_CHECK'&lt;/P&gt;&lt;P&gt;                     exporting&lt;/P&gt;&lt;P&gt;                          documentheader = it_hdr&lt;/P&gt;&lt;P&gt;                     tables&lt;/P&gt;&lt;P&gt;                          accountgl      = it_gl&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                         ACCOUNTPAYABLE    = act_pay&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                          currencyamount = it_curr&lt;/P&gt;&lt;P&gt;                          return         = t_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                loop at t_result where ( type = 'E' or&lt;/P&gt;&lt;P&gt;                                         type = 'A' ).&lt;/P&gt;&lt;P&gt;                  exit.&lt;/P&gt;&lt;P&gt;                endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;                  refresh t_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  call function 'BAPI_ACC_DOCUMENT_POST'&lt;/P&gt;&lt;P&gt;                       exporting&lt;/P&gt;&lt;P&gt;                            documentheader  = it_hdr&lt;/P&gt;&lt;P&gt;                       tables&lt;/P&gt;&lt;P&gt;                            accountgl       = it_gl&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                           ACCOUNTPAYABLE    = act_pay&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                            currencyamount  = it_curr&lt;/P&gt;&lt;P&gt;                            return          = t_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;                  call function 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;                endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************&lt;/P&gt;&lt;P&gt;Thanks once again,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        KDeepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959624#M394597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T09:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959625#M394598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi deepak, &lt;/P&gt;&lt;P&gt;The problem seems to be with the sign of the amount  (i.e posting key) and GL account mismatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just interchange the GL accounts while passing to credits and Assets in ur program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets see....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 10:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959625#M394598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T10:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959626#M394599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I interchanged GL and ASSET while passing to BAPI but i got the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, that right now iam using posting key as 70 and 75. when i post through tranx i think they are 70 and 50.&lt;/P&gt;&lt;P&gt;But in table T030B i dont find that 70 and 50 combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        KDeepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 10:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959626#M394599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T10:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959627#M394600</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;Now i got new error.&lt;/P&gt;&lt;P&gt;That is I was passing ASSET to GL in BAPI.&lt;/P&gt;&lt;P&gt;Now it is giving that 'number is not defined in chart of accounts'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions please..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 12:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959627#M394600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959628#M394601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try to simulate the same values manually to F-02 and check the results.&lt;/P&gt;&lt;P&gt;I think the posting keys are not maintained or the G/L account no. is invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 14:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959628#M394601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959629#M394602</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;I tried through TRANX:ABZON and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i dont have option to use the posting key 70 and 50.&lt;/P&gt;&lt;P&gt;I have only 70 and 75.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option to post JV via BAPI on ASSET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 14:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/1959629#M394602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T14:25:11Z</dc:date>
    </item>
  </channel>
</rss>

