<?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 - Header text not transferred! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556472#M251956</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&g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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;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2009 07:13:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-13T07:13:55Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556467#M251951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've this weird problem that document header text is not being transferred in the accounting document...rest everything is OK. Has anyone come across this problem before? I'm on ECC 5.0 system. I've copied program "ACC_BAPI_TEST_DOCUMENT" into a Z program and changed some fixed values specific to my client, for e.g. company code = 'AU01' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 04:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556467#M251951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T04:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556468#M251952</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;pls chk this code.&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;&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;if helped mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 05:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556468#M251952</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-04T05:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556469#M251953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm talking about field "HEADER_TXT" in structure "BAPIACHE09" not transferred to field "BKTXT" in table "BKPF" when the document is created via the BAPI call in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 05:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556469#M251953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T05:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556470#M251954</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've the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea?&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, 07 Nov 2006 20:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556470#M251954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T20:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556471#M251955</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;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;/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 06:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556471#M251955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T06:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556472#M251956</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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<pubDate>Fri, 13 Nov 2009 07:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556472#M251956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T07:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556473#M251957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556473#M251957</guid>
      <dc:creator>Horacioesteban</dc:creator>
      <dc:date>2011-07-11T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556474#M251958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it solved the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 11:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556474#M251958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-03T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556475#M251959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which one is working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 00:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556475#M251959</guid>
      <dc:creator>former_member186413</dc:creator>
      <dc:date>2016-08-22T00:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556476#M251960</link>
      <description>&lt;P&gt;Thnaks bro... It's now working for my Code...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 11:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556476#M251960</guid>
      <dc:creator>amitbhawsar0433</dc:creator>
      <dc:date>2022-09-26T11:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - Header text not transferred!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556477#M251961</link>
      <description>&lt;P&gt;Check if there are any enhancements or BADI's getting triggered. Put a debug on AC_DOCUMENT_CREATE Fm.&lt;/P&gt;&lt;P&gt;This is called inside the BAPI_ACC_DOCUMENT_POST. Check if the values are coming correctly over there.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 09:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-transferred/m-p/1556477#M251961</guid>
      <dc:creator>sujitsingh5191</dc:creator>
      <dc:date>2022-10-03T09:11:36Z</dc:date>
    </item>
  </channel>
</rss>

