<?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: Short dump with BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858840#M1321041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanupriya Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Can You paste a snippet of code what all you are passing to FM &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST&lt;/STRONG&gt;, and cross check what&lt;/P&gt;&lt;P&gt;mandatory fields to be passed to that FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rds,&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2009 10:11:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-13T10:11:03Z</dc:date>
    <item>
      <title>Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858838#M1321039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to use BAPI "BAPI_ACC_DOCUMENT_POST" for F-02 posting, I get the following short dump:&lt;/P&gt;&lt;P&gt;"Syntax error in program SAPLACC9".&lt;/P&gt;&lt;P&gt;"The data object GS_ACCIT does not have a component called BAPI_PARA"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me how can this error be removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kanupriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 10:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858838#M1321039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-13T10:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858839#M1321040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Check all the FMs in the function group ACC9.&lt;/P&gt;&lt;P&gt;Probably some note is missing. Have you upgraded toa new system or applied any support pack recently?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 10:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858839#M1321040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-13T10:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858840#M1321041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanupriya Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Can You paste a snippet of code what all you are passing to FM &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST&lt;/STRONG&gt;, and cross check what&lt;/P&gt;&lt;P&gt;mandatory fields to be passed to that FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rds,&lt;/P&gt;&lt;P&gt;Suneel G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 10:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858840#M1321041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-13T10:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858841#M1321042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanupriya ,&lt;/P&gt;&lt;P&gt;gs_accit is of type -- &amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;gs_accit     TYPE accit&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here there is one filed like  &lt;STRONG&gt;BAPI_PARAM&lt;/STRONG&gt; ,so obviously the system will pop an error if you miigt have attempeted to assign something to a filed &lt;STRONG&gt;BAPI_PARA&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Prog - SAPLACC9 in the Inlude -LACC9F20 check out these lines..&lt;/P&gt;&lt;P&gt;It should  be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Menge: Flag Retourenposition setzen
  IF NOT gs_accit-xmfrw IS INITIAL.
    PERFORM negative_quantity.
  ENDIF.

  gs_accit-bapi_param   = gs_bapi_accit-parameter.           "NOT BAPI_PARA !!!!!!!
  gs_accit-bapi_tabix   = gs_bapi_accit-tabix.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 10:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858841#M1321042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-13T10:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858842#M1321043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the entries in the table: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GJV_PROG_BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope That Helps&lt;/P&gt;&lt;P&gt;Anirban M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 10:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858842#M1321043</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2009-07-13T10:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858843#M1321044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently we moved from HRSP level 80 to level 91 in R/3 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this have led to some changes in FM BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kanupriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 03:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858843#M1321044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T03:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858844#M1321045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suneel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_upload_rec.
    header-bus_act = 'RFBU'.
    header-doc_date = it_upload_rec-bldat.
    header-pstng_date = it_upload_rec-budat.               header-header_txt = 'F-02 Posting'.
    header-comp_code = 'PL10'.
    header-doc_type = 'SA'.
    header-username = sy-uname.

    APPEND header.
    CLEAR header.

    account_gl-itemno_acc = '1'.
    account_gl-gl_account = it_upload_rec-account1.
    APPEND account_gl.
    CLEAR account_gl.

    account_payable-itemno_acc = '2'.
    account_payable-vendor_no = it_upload_rec-account2.
    APPEND account_payable.
    CLEAR account_payable.

    currency_amount-itemno_acc = '1'.
    currency_amount-currency = 'INR'.
    currency_amount-amt_doccur = it_upload_rec-amount.
    APPEND currency_amount.
    CLEAR currency_amount.

  ENDLOOP.


  CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
    EXPORTING
      documentheader          = header
*   CUSTOMERCPD             =
*   CONTRACTHEADER          =
   IMPORTING
  obj_type = gv_obj_type
  obj_key = gv_obj_key
  obj_sys = gv_obj_sys
    TABLES
     accountgl               = account_gl
   ACCOUNTRECEIVABLE       =
     accountpayable          = account_payable
*   ACCOUNTTAX              =
      currencyamount          = currency_amount
*   CRITERIA                =
*   VALUEFIELD              =
*   EXTENSION1              =
    return                  = it_return
*   PAYMENTCARD             =
*   CONTRACTITEM            =
*   EXTENSION2              =
*   REALESTATE              =
            .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kanupriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 04:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858844#M1321045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T04:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858845#M1321046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are facing the same issue after R/3 plug-in upgrade.   DId you find any fix? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Parag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 23:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858845#M1321046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T23:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858846#M1321047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are facing the same issue after R/3 plug-in upgrade.   DId you find any fix? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Parag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 23:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-bapi-acc-document-post/m-p/5858846#M1321047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T23:46:08Z</dc:date>
    </item>
  </channel>
</rss>

