<?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: Rewrite value in BKPF when FI document posting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734877#M1457672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to SE11 and create an append to BKPF_SUBST, add your field, activate. Now you can fill the new field in the BTE and it will be updated in calling program via the MOVE-CORRESPONDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative :  In the BTE, export the value to memory, and create a substitution rule that will import this data (create a user-exit in substitution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Mar 2010 12:53:49 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-03-23T12:53:49Z</dc:date>
    <item>
      <title>Rewrite value in BKPF when FI document posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734874#M1457669</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;I need your advice. I have task - Сlear field XREF2_HD in table BKPF when FI document is posting  (FB01, for excemple). &lt;/P&gt;&lt;P&gt;I`m using BTE 1120 "Substitute header and items", belong you can see FM code which i use: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZSAMPLE_PROCESS_00001120.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Локальный интерфейс:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(I_BKDF) TYPE  BKDF OPTIONAL&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      T_BKPF STRUCTURE  BKPF&lt;/P&gt;&lt;P&gt;*"      T_BSEG STRUCTURE  BSEG&lt;/P&gt;&lt;P&gt;*"      T_BKPFSUB STRUCTURE  BKPF_SUBST&lt;/P&gt;&lt;P&gt;*"      T_BSEGSUB STRUCTURE  BSEG_SUBST&lt;/P&gt;&lt;P&gt;*"      T_BSEC STRUCTURE  BSEC OPTIONAL&lt;/P&gt;&lt;P&gt;*"  CHANGING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_BKDFSUB) TYPE  BKDF_SUBST OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;LOOP AT T_BKPF.&lt;/P&gt;&lt;P&gt;T_BKPF-XREF2_HD = '!!!!'.&lt;/P&gt;&lt;P&gt;MODIFY T_BKPF INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after execute this FM, all changes in T_BKPF are rollbacked (it`s OK, becouse after execute T_BKPF is rewrited from local table L_BKPF). &lt;/P&gt;&lt;P&gt;I think, i should i change data in T_BKPFSUB table, but field XREF2_HD is`t included into BKPF_SUBST structure. So, i have two questons:&lt;/P&gt;&lt;P&gt;1. How i can add field XREF2_HD into BKPF_SUBST?&lt;/P&gt;&lt;P&gt;2. What can i do? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best regreades, DrAlex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734874#M1457669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T06:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rewrite value in BKPF when FI document posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734875#M1457670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, using a where-used option on OPEN_FI_PERFORM_00001120_P, display a MOVE-CORRESPONDING from BKPF_SUBST to XBKPF internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not seem to exist any point to enhance this structure in standard, you may append fields to this structure that should update BKPF (creating append ZABKPF_SUBST) but that may cause inconsistencies in other database tables, you could try to use a substitution rule (OBBH) and not the BTE to fulfil your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734875#M1457670</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-23T09:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rewrite value in BKPF when FI document posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734876#M1457671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Raymond! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, i checked variant about substetution with OBBH. But it doesn`t work in my case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have finded place "MOVE-CORRESPONDING from BKPF_SUBST to XBKPF" and what can i do? I`m sorry, i didnt catch &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Do you mean i should enhice this FM (OPEN_FI_PERFORM_00001120_P)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 10:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734876#M1457671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T10:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rewrite value in BKPF when FI document posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734877#M1457672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to SE11 and create an append to BKPF_SUBST, add your field, activate. Now you can fill the new field in the BTE and it will be updated in calling program via the MOVE-CORRESPONDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative :  In the BTE, export the value to memory, and create a substitution rule that will import this data (create a user-exit in substitution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 12:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734877#M1457672</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-23T12:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rewrite value in BKPF when FI document posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734878#M1457673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Raymond! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 04:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734878#M1457673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-24T04:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rewrite value in BKPF when FI document posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734879#M1457674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raymond,&lt;/P&gt;&lt;P&gt;I have one requirement where i need to change t_bkpf and t_bseg values for the BTE 1120 for FI Document posting.Now i have done all the required codings and customization for this BTE. AND i need my BTE to run for F110. But the BTE is not trigerred for F110 but it runs fine for FB01 and F-04 .&lt;/P&gt;&lt;P&gt;Please help if u have come across such issue before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rewrite-value-in-bkpf-when-fi-document-posting/m-p/6734879#M1457674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T15:06:52Z</dc:date>
    </item>
  </channel>
</rss>

