<?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: How to test BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652964#M289934</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;did you got the solution or not??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; iam also facing same problem.. what are the valid data for those parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj_type&lt;/P&gt;&lt;P&gt;obj_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2010 13:09:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-07T13:09:52Z</dc:date>
    <item>
      <title>How to test BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652960#M289930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In FM BAPI_ACC_DOCUMENT_POST, one parameter is mandatory which is DOCUMENTHEADER having fields 6-7 mandatory fields out of which  &lt;/P&gt;&lt;P&gt;                OBJ_TYPE (Reference procedure)&lt;/P&gt;&lt;P&gt;                OBJ_SYS (logical system)&lt;/P&gt;&lt;P&gt;                OBJ_KEY&lt;/P&gt;&lt;P&gt; for these fields what will be valid field values?&lt;/P&gt;&lt;P&gt;I don't have valid values for these fields.&lt;/P&gt;&lt;P&gt;I intend to update BKPF table using this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 08:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652960#M289930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T08:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to test BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652961#M289931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF GL ACCOUNT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Accountgl / Compte générale&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ws_accountgl-itemno_acc   = w_compt.&lt;/P&gt;&lt;P&gt;        ws_accountgl-comp_code    = p_bukrs.&lt;/P&gt;&lt;P&gt;        ws_accountgl-pstng_date   = ws_reformat-datecpt.&lt;/P&gt;&lt;P&gt;        ws_accountgl-fisc_year    = ws_reformat-datecpt(4).&lt;/P&gt;&lt;P&gt;        ws_accountgl-fis_period   = ws_reformat-datecpt+4(2).&lt;/P&gt;&lt;P&gt;        ws_accountgl-doc_type     = p_blart.&lt;/P&gt;&lt;P&gt;        ws_accountgl-item_text    = ws_reformat-libel.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            input  = ws_reformat-cptclf&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            output = ws_accountgl-gl_account.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            input  = ws_reformat-kostl&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            output = ws_accountgl-costcenter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      ELSE. " ACC. PAYABLE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Account Payable /  Compte fournisseur&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ws_accountpayable-itemno_acc   = w_compt.&lt;/P&gt;&lt;P&gt;        ws_accountpayable-comp_code    = p_bukrs.&lt;/P&gt;&lt;P&gt;        ws_accountpayable-item_text    = ws_reformat-libel.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            input  = ws_reformat-cptclf&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            output = ws_accountpayable-vendor_no.&lt;/P&gt;&lt;P&gt;        APPEND ws_accountpayable TO accountpayable.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Currencyamount Struct.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ws_currencyamount-itemno_acc = w_compt.&lt;/P&gt;&lt;P&gt;      ws_currencyamount-currency = 'EUR'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ws_currencyamount-curr_type = '00'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF ws_reformat-sign EQ 'C'.&lt;/P&gt;&lt;P&gt;        ws_reformat-wrbtr_c = ws_reformat-wrbtr_c * ( - 1 ).&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      ws_currencyamount-amt_doccur = ws_reformat-wrbtr_c.&lt;/P&gt;&lt;P&gt;      APPEND ws_currencyamount TO currencyamount.&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;BAPI&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 = documentheader&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        accountgl      = accountgl&lt;/P&gt;&lt;P&gt;        accountpayable = accountpayable&lt;/P&gt;&lt;P&gt;        currencyamount = currencyamount&lt;/P&gt;&lt;P&gt;        return         = t_return.&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;      MESSAGE e999(re) WITH 'Problem occured'.&lt;/P&gt;&lt;P&gt;    ELSE.&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;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;b&amp;gt;if hlpful pls mark points&amp;lt;/b&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 08:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652961#M289931</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-31T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to test BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652962#M289932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I wanted valid field values for fields &lt;/P&gt;&lt;P&gt;     OBJ_SYS&lt;/P&gt;&lt;P&gt;     OBJ_TYPE&lt;/P&gt;&lt;P&gt;     OBJ_KEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply if u have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 08:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652962#M289932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T08:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to test BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652963#M289933</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;Additional information.&lt;/P&gt;&lt;P&gt;Before ussing function module to post accoutning document.&lt;/P&gt;&lt;P&gt;Use this.&lt;/P&gt;&lt;P&gt;Pass same values here and you will come to know that information is proper and proper document will be generated or not. !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_DOCUMENT_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If result is OK then go for BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Mark all helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 08:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652963#M289933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T08:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to test BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652964#M289934</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;did you got the solution or not??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; iam also facing same problem.. what are the valid data for those parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj_type&lt;/P&gt;&lt;P&gt;obj_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 13:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-test-bapi-acc-document-post/m-p/1652964#M289934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T13:09:52Z</dc:date>
    </item>
  </channel>
</rss>

