<?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 error in the Header data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766350#M1462512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajat - your original question seems to have been answered. Please assign po1nts to the helpful answers and close this thread. You can start a new thread with the new question, but my advice is to search the forum before asking it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Mar 2010 19:51:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-31T19:51:15Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766333#M1462495</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 am trying to post a document using BAPI "BAPI_ACC_DOCUMENT_POST". But when I was testing this BAPI I got the error that required field for the "Reference document number is missing". We are using the same BAPI in couple of our custom programs and there we are not passing the reference document number in the header data there and it's working fine. So can you please let me know what I am doing wrong here, as per the requirement we don;t have to pass the reference document number.&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;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 19:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766333#M1462495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T19:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766334#M1462496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the exact error message you get (Including number and ID)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 19:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766334#M1462496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T19:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766335#M1462497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting this message "RW 602 Required Field was not transferred in Parameter"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 19:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766335#M1462497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T19:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766336#M1462498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some FI document types require a reference number; others don't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So change the document type to one that doesn't require a reference document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 19:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766336#M1462498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T19:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766337#M1462499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I need to put a value in for this field "OBJ_KEY    Reference number of source document". Do you know any document type that doesn't require reference document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766337#M1462499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T12:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766338#M1462500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically we need to use document type "KR" for vendor invoice...can you suggest me any other BAPI which i can try ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is much appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766338#M1462500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T12:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766339#M1462501</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;In header u need to pass fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUS_ACT  = 'RFBU'.&lt;/P&gt;&lt;P&gt;HEADER_TXT = "Any Text".&lt;/P&gt;&lt;P&gt;COMP_CODE  = "Company Code'.&lt;/P&gt;&lt;P&gt;DOC_DATE   = SY-DATUM.&lt;/P&gt;&lt;P&gt;PSTNG_DATE = SY-DATUM.&lt;/P&gt;&lt;P&gt;FISC_YEAR  = SY-DATUM+0(4).&lt;/P&gt;&lt;P&gt;FIS_PERIOD = SY-DATUM+4(2).&lt;/P&gt;&lt;P&gt;DOC_TYPE   = "Doc type" (eg SA).&lt;/P&gt;&lt;P&gt;REF_DOC_NO = Referance number must like sales order or serivce order or any value.&lt;/P&gt;&lt;P&gt;                          This is just referance it will store in field xblnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766339#M1462501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766340#M1462502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The whole problem is we don't want to have a reference document number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766340#M1462502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766341#M1462503</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;If you are not maintaing any reference document number. You can pass some dummy value for all the documents. (Any alpha numeric) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Naresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766341#M1462503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766342#M1462504</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;Referance number will depend on the Doc_type u pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some doc_type this field is mandatory. Check u r configuration for the &lt;/P&gt;&lt;P&gt;document type u r passing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766342#M1462504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T12:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766343#M1462505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try to post the same info that u r passing to the BAPI, using tcode F-02 and check if u receive the same message.&lt;/P&gt;&lt;P&gt;Otherwise, the FI consultant should have to change the parametrization of that doc class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 13:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766343#M1462505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T13:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766344#M1462506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.... when I put a dummy number in the field I got the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in document: RFBU 111111111111ABCDEGHD RXXCLNT200&lt;/P&gt;&lt;P&gt;FI/CO interface: Object type RFBU not defined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please advise on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 14:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766344#M1462506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T14:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766345#M1462507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any More Suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 19:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766345#M1462507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T19:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766346#M1462508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the value you have passed in DOCUMENTHEADER-REF_DOC_NO?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 04:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766346#M1462508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T04:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766347#M1462509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont pass any values to obj_type, obj_key and obj_sys variables. What document you are tring to post by using this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Naresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: naresh durki on Mar 31, 2010 8:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 06:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766347#M1462509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T06:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766348#M1462510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to post a vendor Invoice. I created a test program and calling the BAPI in there and following is the coe for the same:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: WA_DOCUMENT_HEADER    LIKE BAPIACHE09,
      LW_ACCOUNTGL          LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
      LW_CURRENCYAMOUNT     LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE,
      COMPANYCODEID         LIKE BAPI0002_2-COMP_CODE,
      POSTING_DATE          LIKE BAPI0002_4-POSTING_DATE,
      EFISCAL_YEAR          LIKE BAPI0002_4-FISCAL_YEAR,
      EFISCAL_PERIOD        LIKE BAPI0002_4-FISCAL_PERIOD,
      RETURN                LIKE BAPIRETURN1,
      T_RETURN              LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.

DATA: C_RFBU(04)              VALUE 'RFBU',
      L_POSTING_SUCCESS_MESSAGE TYPE SYMSGNO.


*POSTING_DATE      = Sy-DATUM.
COMPANYCODEID     = C_BUKRS.

WA_DOCUMENT_HEADER-BUS_ACT             = C_RFBU.
WA_DOCUMENT_HEADER-USERNAME            = SY-UNAME.
WA_DOCUMENT_HEADER-HEADER_TXT          = 'test posting'.
WA_DOCUMENT_HEADER-COMP_CODE           = 'XX'.
WA_DOCUMENT_HEADER-DOC_DATE            = SY-DATUM.
WA_DOCUMENT_HEADER-PSTNG_DATE          = SY-DATUM.
WA_DOCUMENT_HEADER-FISC_YEAR  = '2010'.
WA_DOCUMENT_HEADER-FIS_PERIOD = '1'.
WA_DOCUMENT_HEADER-DOC_TYPE            = 'JE'.

LW_ACCOUNTGL-ITEMNO_ACC                = '1'.
LW_ACCOUNTGL-GL_ACCOUNT                = '500000'.
LW_ACCOUNTGL-FUNC_AREA                 = '5'.
LW_ACCOUNTGL-FUND                      = 'ZZ00002'.
LW_ACCOUNTGL-COSTCENTER                = '991023456'.
LW_ACCOUNTGL-BUS_AREA                  = 'U'.
APPEND LW_ACCOUNTGL.

LW_CURRENCYAMOUNT-ITEMNO_ACC           = '1'.
LW_CURRENCYAMOUNT-CURRENCY             = 'USD'.
LW_CURRENCYAMOUNT-AMT_DOCCUR           = '100'.
APPEND LW_CURRENCYAMOUNT. CLEAR LW_CURRENCYAMOUNT.

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
  EXPORTING
    DOCUMENTHEADER          = WA_DOCUMENT_HEADER
  TABLES
     ACCOUNTGL              = LW_ACCOUNTGL
     CURRENCYAMOUNT         = LW_CURRENCYAMOUNT
*   EXTENSION1              =
    RETURN                  = T_RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rajatg on Mar 31, 2010 9:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 19:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766348#M1462510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T19:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766349#M1462511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and now when I checked the Return table it has the following error messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4	E	F5	507	G/L account 500000 is not defined in chart of accounts XX&lt;/P&gt;&lt;P&gt;5	E	FH	004	Account 500000 does not exist in chart of accounts XX&lt;/P&gt;&lt;P&gt;6	E	FI	311	No commitment item entered in item 00000 UC 500000&lt;/P&gt;&lt;P&gt;7	W	GRANTMGMT	517	GL account/cost element 500000/ has not been set up for updating in grants&lt;/P&gt;&lt;P&gt;______________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also checked tcode FS00 and found that this G/L account is there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 19:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766349#M1462511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T19:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766350#M1462512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajat - your original question seems to have been answered. Please assign po1nts to the helpful answers and close this thread. You can start a new thread with the new question, but my advice is to search the forum before asking it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 19:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766350#M1462512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T19:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766351#M1462513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Rob.. I will do that. I did a search and couldn;t find tha appropriate answer. I will open a new thread and will clsoe this one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks, &lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 19:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766351#M1462513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T19:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST error in the Header data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766352#M1462514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajat - I notice that you marked this as solved by giving full po1nts to the answer that said basically "use a dummy reference document"; however, in the code you post above, you are in fact using a different document type instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A couple of points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;People do search the forum looking for posts that are solved to answer their own questions. If you don't take care when assigning po1nts, then users who search will not get as much out of this thread as they could.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say you are creating a vendor invoice, but the document type you actually use looks like a journal entry document type. I doubt if your users are going to approve of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 20:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-in-the-header-data/m-p/6766352#M1462514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T20:47:21Z</dc:date>
    </item>
  </channel>
</rss>

