<?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 populated. 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-populated/m-p/12594394#M2010499</link>
    <description>&lt;P&gt;Did you check whether it is cleared by a substitution rule or a user exit (e.g. the one where you can process the extension fields)? &lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2022 07:41:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2022-07-30T07:41:19Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST - header text not populated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594393#M2010498</link>
      <description>&lt;P&gt;Dear All&lt;/P&gt;
  &lt;P&gt;Please help me where I am missing. I am using BAPI_ACC_DOCUMENT_POST to post the documents. Everything is working fine. But the Header text is not populated. &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  header-username = sy-uname.
  header-header_txt = 'Transfer Cost Posting'.
  header-comp_code = '1000'.
  header-doc_date =  p_bldat. "                     wa_finalposting_cc-bldat.
  header-pstng_date = p_budat. "                    wa_finalposting_cc-budat.
  header-doc_type = 'TR'.
  header-ref_doc_no =  'TR-06'.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Is anything related to document type setting? Kindly help me.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 06:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594393#M2010498</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-07-30T06:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - header text not populated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594394#M2010499</link>
      <description>&lt;P&gt;Did you check whether it is cleared by a substitution rule or a user exit (e.g. the one where you can process the extension fields)? &lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 07:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594394#M2010499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2022-07-30T07:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - header text not populated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594395#M2010500</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;gabmarian&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There are no exits / rule that replaces this value. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 17:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594395#M2010500</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-07-30T17:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - header text not populated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594396#M2010501</link>
      <description>&lt;P&gt;You may search the forum/SAP Web site with your favorite Web search engine. I see many answers for search below. Based on the results, if it still doesn't solve, you may anyway refine your query/provide more information. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BAPI_ACC_DOCUMENT_POST header_txt site:sap.com&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Jul 2022 19:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594396#M2010501</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-07-30T19:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - header text not populated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594397#M2010502</link>
      <description>&lt;P&gt;Thank you &lt;SPAN class="mention-scrubbed"&gt;gabmarian&lt;/SPAN&gt; and &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Your directions helped me a lot.&lt;/P&gt;&lt;P&gt;Yes, there was a BADI implemented AC_DOCUMENT - but no functional code exists.  Only there was some break point checks were there. Hence I replied that there was no enhancements. &lt;/P&gt;&lt;P&gt;But later as per sandra's comment, i further searched and found that - even if you dont' have any code but the method is implemented for any reason - the header text will be over written.. That was the message I got.&lt;/P&gt;&lt;P&gt;So adding further code in those methods - brought the header text. &lt;/P&gt;&lt;P&gt;CHANGE_INITIAL &amp;amp; CHANGE_AFTER_CHECK&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: wa_header TYPE acchd.
  IF sy-xprog EQ 'SAPMSSY1'.
    CLEAR wa_header.
    wa_header = im_document-header.
    ex_document-header-bktxt = wa_header-bktxt.
    CLEAR wa_header.
  ENDIF.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Many thanks to  &lt;SPAN class="mention-scrubbed"&gt;gabmarian&lt;/SPAN&gt; and &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2022 08:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-header-text-not-populated/m-p/12594397#M2010502</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-07-31T08:23:32Z</dc:date>
    </item>
  </channel>
</rss>

