<?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: Executing BD87 in background from another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525245#M1425720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this program is calling screen 100 from inside, so probably submit with the required fields may not work automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to  try calling it using CALL TRANSACTION and populating the fields, and simulating the bdc code for execute. In this case, the code for execute is-  &lt;STRONG&gt;CRET&lt;/STRONG&gt; and not ONLI as in case of other normal se38 reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jan 2010 11:42:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-15T11:42:23Z</dc:date>
    <item>
      <title>Executing BD87 in background from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525241#M1425716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scerario in which I have written a z program. Now in my z program i m  generating an idoc no in status 64,yellow status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have to process the idoc by calling the tcode BD*&amp;amp; from within the z program and all this should rum in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing following prob:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program stops at first screen of BD87 itself. After that I have to press F8 manually..again I have to select the idoc and click on process button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all this should be automate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525241#M1425716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T11:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Executing BD87 in background from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525242#M1425717</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;Use the program RBDAPP01 , this will change the status of 64 to 53 if success or 51 if any error. No need for BD87&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525242#M1425717</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2010-01-15T11:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Executing BD87 in background from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525243#M1425718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a background job for program &lt;STRONG&gt;RBDAPP01&lt;/STRONG&gt; and set it to daily,weekly..&lt;/P&gt;&lt;P&gt;based on your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will automate the process of changing status from 64.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:36:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525243#M1425718</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2010-01-15T11:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Executing BD87 in background from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525244#M1425719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you know the IDOC number you can just make a call to function IDOC_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data: l_input_method type inputmethd,
        l_input_succeeded type input_ok.

  l_input_method = 'E'.  "Foreground from errors

  refresh: t_unprocessed_idocs,
           t_idoc_data,
           t_idoc_control.

  t_unprocessed_idocs-docnum = '00000000' &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; put in IDOC number to be proccessed
  append t_unprocessed_idocs.

  call function 'IDOC_INPUT'
    exporting
      mass_processing          = c_false
      input_method             = l_input_method
      idoc_start_event_enabled = c_false
      end_event_enabled        = c_true
    importing
      input_succeeded_for_all  = l_input_succeeded
    tables
      unprocessed_idocs        = t_unprocessed_idocs
      idoc_data                = t_idoc_data
      idoc_control             = t_idoc_control
    exceptions
      others                   = 17.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525244#M1425719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T11:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Executing BD87 in background from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525245#M1425720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this program is calling screen 100 from inside, so probably submit with the required fields may not work automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to  try calling it using CALL TRANSACTION and populating the fields, and simulating the bdc code for execute. In this case, the code for execute is-  &lt;STRONG&gt;CRET&lt;/STRONG&gt; and not ONLI as in case of other normal se38 reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-bd87-in-background-from-another-program/m-p/6525245#M1425720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-15T11:42:23Z</dc:date>
    </item>
  </channel>
</rss>

