<?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 BTE in background process in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bte-in-background-process/m-p/2780280#M647989</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 need to create a BTE for update field BSEG-SGTXT in a FI document generated by transaction F110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For test, I have created function module Z_SAMPLE_PROCESS_00001430, and insert this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z_sample_process_00001430.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Interfase local&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_BSEC STRUCTURE  BSEC OPTIONAL&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;*"  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;    LOOP AT t_bseg.&lt;/P&gt;&lt;P&gt;      LOOP AT t_bsegsub.&lt;/P&gt;&lt;P&gt;        t_bsegsub-sgtxt = 'TEST BTE'.&lt;/P&gt;&lt;P&gt;        MODIFY t_bsegsub INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&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;Changing field BSEG-SGTXT in tx. FB02 in on-line mode it works good, ... but, when I run transaction F110 that runs in background process the BTE it seems that it can't be reached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is possible to use BTE in backgroung process???... what am I doing wrong???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, I really need help with this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mayra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Sep 2007 00:23:48 GMT</pubDate>
    <dc:creator>mayra_cobo</dc:creator>
    <dc:date>2007-09-15T00:23:48Z</dc:date>
    <item>
      <title>BTE in background process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bte-in-background-process/m-p/2780280#M647989</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 need to create a BTE for update field BSEG-SGTXT in a FI document generated by transaction F110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For test, I have created function module Z_SAMPLE_PROCESS_00001430, and insert this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z_sample_process_00001430.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Interfase local&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_BSEC STRUCTURE  BSEC OPTIONAL&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;*"  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;    LOOP AT t_bseg.&lt;/P&gt;&lt;P&gt;      LOOP AT t_bsegsub.&lt;/P&gt;&lt;P&gt;        t_bsegsub-sgtxt = 'TEST BTE'.&lt;/P&gt;&lt;P&gt;        MODIFY t_bsegsub INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&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;Changing field BSEG-SGTXT in tx. FB02 in on-line mode it works good, ... but, when I run transaction F110 that runs in background process the BTE it seems that it can't be reached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is possible to use BTE in backgroung process???... what am I doing wrong???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, I really need help with this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mayra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 00:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bte-in-background-process/m-p/2780280#M647989</guid>
      <dc:creator>mayra_cobo</dc:creator>
      <dc:date>2007-09-15T00:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: BTE in background process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bte-in-background-process/m-p/2780281#M647990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are certainly other BTEs that run in background - try putting in "message s398(00) with 'This is the start of the BTE'." and some other "S" debug messages in the loops and see if they come out in the job log for the background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 08:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bte-in-background-process/m-p/2780281#M647990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-15T08:21:55Z</dc:date>
    </item>
  </channel>
</rss>

