<?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: Cannot use BAPI to post FI doc with header text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104649#M981558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are checking in bkpf right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What type of document are you posting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramiro Escamilla on Jun 26, 2008 12:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 17:05:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T17:05:56Z</dc:date>
    <item>
      <title>Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104648#M981557</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 had tried using BAPI : BAPI_ACC_DOCUMENT_POST to post and I had filled the header_txt field in document header structure, but I cannot see the text of the posted doc and all the other information is correct but without any header text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any of you could help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edmond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 17:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104648#M981557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T17:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104649#M981558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are checking in bkpf right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What type of document are you posting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramiro Escamilla on Jun 26, 2008 12:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 17:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104649#M981558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T17:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104650#M981559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 23:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104650#M981559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T23:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104651#M981560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Edmond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if a Substitution is in place for Header Text.&lt;/P&gt;&lt;P&gt;It could be at Company Code or Document Type Level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Vijay Gajavalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 06:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104651#M981560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T06:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104652#M981561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you tell me the detail of how to check it? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 03:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104652#M981561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T03:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104653#M981562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because BAPI: BAPI_ACC_DOCUMENT_POST will Check BADI with Posting&lt;/P&gt;&lt;P&gt;1.BADI Information:&lt;/P&gt;&lt;P&gt; (1)Object Type Name(Interface) is IF_EX_AC_DOCUMENT (T-code: SE24)&lt;/P&gt;&lt;P&gt; (2)Method: CHANGE_INITIAL &amp;amp; CHANGE_AFTER_CHECK&lt;/P&gt;&lt;P&gt;2.Reason:&lt;/P&gt;&lt;P&gt; (1)Once This BADI has been created for any reason, &lt;/P&gt;&lt;P&gt;    BAPI:BAPI_ACC_DOCUMENT_CHECK &amp;amp; BAPI_ACC_DOCUMENT_POST &lt;/P&gt;&lt;P&gt;    will check it for Document Header Text&lt;/P&gt;&lt;P&gt; (2)If Method: CHANGE_INITIAL &amp;amp; CHANGE_AFTER_CHECK has been created for any reason,&lt;/P&gt;&lt;P&gt;    but Creator return an null Document Header Text, then BAPI will clear Document Header Text&lt;/P&gt;&lt;P&gt;3.Solution:&lt;/P&gt;&lt;P&gt; (1)Add source code into Method: CHANGE_INITIAL &amp;amp; CHANGE_AFTER_CHECK,&lt;/P&gt;&lt;P&gt;    please refer to (2) for detail source code below&lt;/P&gt;&lt;P&gt; (2)&lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;  DATA: wa_header TYPE acchd.&lt;/P&gt;&lt;P&gt;  IF sy-xprog EQ 'SAPLBPFC'.&lt;/P&gt;&lt;P&gt;*---&amp;lt;SAPLBPFC&amp;gt; is for Posting     with BAPI: BAPI_ACC_DOCUMENT_CHECK&lt;/P&gt;&lt;P&gt;*---&amp;lt;SAPMSSY1&amp;gt; is for Test(Check) with BAPI: BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;    CLEAR wa_header.&lt;/P&gt;&lt;P&gt;    wa_header = im_document-header.&lt;/P&gt;&lt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&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 06:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104653#M981562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T06:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use BAPI to post FI doc with header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104654#M981563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry! I have corrected source code &lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;  DATA: wa_header TYPE acchd.&lt;/P&gt;&lt;P&gt;  IF sy-xprog NE 'SAPMSSY1'.&lt;/P&gt;&lt;P&gt;*---&amp;lt;SAPLBPFC&amp;gt; is for Posting      with BAPI: BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;*---&amp;lt;SAPCNVE &amp;gt; is for Posting(Tax) with BAPI: BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;*---&amp;lt;SAPMSSY1&amp;gt; is for Test(Check)  with BAPI: BAPI_ACC_DOCUMENT_CHECK&lt;/P&gt;&lt;P&gt;    CLEAR wa_header.&lt;/P&gt;&lt;P&gt;    wa_header = im_document-header.&lt;/P&gt;&lt;P&gt;    ex_document-header-bktxt = wa_header-bktxt.&lt;/P&gt;&lt;P&gt;    CLEAR wa_header.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="69" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 07:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-bapi-to-post-fi-doc-with-header-text/m-p/4104654#M981563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T07:15:12Z</dc:date>
    </item>
  </channel>
</rss>

