<?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 Back-Dating Posting Date? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633657#M1442306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;if you want set posting date you need following line:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  gv_doc_header-PSTNG_DATE = gv_posting_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2) FI subsitution it is kind of customisation which may overwrite some data&lt;/P&gt;&lt;P&gt;passed to this BAPI, &lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;"for document type YP set posting date to sy-datum"&lt;/P&gt;&lt;P&gt;regards, darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2010 09:08:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-12T09:08:29Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST Back-Dating Posting Date?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633654#M1442303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forums,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to pass a date in the past for some GL postings, I have found that even if I pass a posting date that is in the past the BAPI will overwrite it with sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone ever had this same issue and what did yo do to get around it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 19:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633654#M1442303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T19:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Back-Dating Posting Date?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633655#M1442304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;in my opinon, this BAPI hasn't such limitation....&lt;/P&gt;&lt;P&gt;maybe this posting date is changed by some FI-substitution ? &lt;/P&gt;&lt;P&gt;(check this in GGB1 transaction)&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 22:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633655#M1442304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T22:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Back-Dating Posting Date?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633656#M1442305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean by FI Substitution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing the Posting date to the header of the document as so:&lt;/P&gt;&lt;P&gt;Should this not give me the posting date that I want, even when this is done it will put in today's date for posting date.&lt;/P&gt;&lt;P&gt;that said, Document date will be change to what is entered by user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  gv_posting_date = p_pstdt.
  gv_doc_header-doc_date = gv_posting_date.
  gv_doc_header-comp_code = pcard_post_rec-zlsapco.
  gv_doc_header-username = sy-uname.
  gv_doc_header-doc_type = doctype.  "'YP'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 23:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633656#M1442305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T23:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Back-Dating Posting Date?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633657#M1442306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;if you want set posting date you need following line:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  gv_doc_header-PSTNG_DATE = gv_posting_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2) FI subsitution it is kind of customisation which may overwrite some data&lt;/P&gt;&lt;P&gt;passed to this BAPI, &lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;"for document type YP set posting date to sy-datum"&lt;/P&gt;&lt;P&gt;regards, darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 09:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633657#M1442306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T09:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Back-Dating Posting Date?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633658#M1442307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Darak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I posted the wrong piece of code but I am setting the posting date to gv_posting_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  gv_doc_header2-doc_date = gv_posting_date.
  gv_doc_header2-pstng_date = gv_posting_date.
  gv_doc_header2-header_txt = lv_hdrtxt.
  gv_doc_header2-fisc_year = gv_curr_year.
  gv_doc_header2-trans_date = gv_posting_date.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 14:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633658#M1442307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T14:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Back-Dating Posting Date?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633659#M1442308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the header was being overwritten by the posting date  in the DETAIL items... once I changed this to be the same as the header it back dated in the GL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 17:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-back-dating-posting-date/m-p/6633659#M1442308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T17:38:31Z</dc:date>
    </item>
  </channel>
</rss>

