<?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: Function module for FI document change with G/L line items in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031452#M83928</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;&lt;/P&gt;&lt;P&gt;sorry i don't know any fm .&lt;/P&gt;&lt;P&gt;I use bdc for transaction fb09 to change fi documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2005 06:45:40 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-10-19T06:45:40Z</dc:date>
    <item>
      <title>Function module for FI document change with G/L line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031451#M83927</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;Does anybody know how to change FI document with G/L line items (fields like XREF3, SGTXT, ZUONR - generally speaking, all the fields can be changed with FB02)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM FI_DOCUMENT_CHANGE has needed functionality and works well for account payables and account receivables line items, but it doesn't handle general ledger line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maxim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 02:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031451#M83927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T02:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for FI document change with G/L line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031452#M83928</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;&lt;/P&gt;&lt;P&gt;sorry i don't know any fm .&lt;/P&gt;&lt;P&gt;I use bdc for transaction fb09 to change fi documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 06:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031452#M83928</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-10-19T06:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for FI document change with G/L line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031453#M83929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function has some mandatory fields to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_AWTYP -&amp;gt; get value from BKPF-AWTYP for the specific document;&lt;/P&gt;&lt;P&gt;I_AWREF -&amp;gt; number of the document to change;&lt;/P&gt;&lt;P&gt;I_AWORG-&amp;gt; concatenate document's company with respective year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, only one of the following fields should be filled:&lt;/P&gt;&lt;P&gt;i_lifnr,&lt;/P&gt;&lt;P&gt;i_kunnr,&lt;/P&gt;&lt;P&gt;i_obzei,&lt;/P&gt;&lt;P&gt;i_buzei.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the relevant data for this fields in BSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure I_BSEGC should be filled with data you think appropriate. I didn't tested it, but i think the first fields are sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, add lines (1 for each field you wish to change) in table T_ACCCHG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you should notice that you're not allowed to change all fields. For instance, KKBER is one of the fields that is forbidden to change in this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rui Delca Mendes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 17:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fi-document-change-with-g-l-line-items/m-p/1031453#M83929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T17:10:58Z</dc:date>
    </item>
  </channel>
</rss>

