<?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: Creating IDoc Type from Change Pointers using RBDMIDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284776#M1022158</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;Include a step in your job and have a program which checks if a job is already running. If yes do not start the next instance of the same job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the custom program just call function module&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'ZBC_JOB_ALREADY_RUNNING'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;         JOBNAME           = p_job&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;         JOB_RUNNING       = w_count&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;         JOB_NOT_SPECIFIED = 1&lt;/P&gt;&lt;P&gt;         OTHERS            = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code within FM -&amp;gt;&lt;/P&gt;&lt;P&gt;   select count(*)&lt;/P&gt;&lt;P&gt;   into   job_running&lt;/P&gt;&lt;P&gt;   from   tbtco&lt;/P&gt;&lt;P&gt;   where  jobname = jobname&lt;/P&gt;&lt;P&gt;   and    status  = 'R'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where p_job is the job name.&lt;/P&gt;&lt;P&gt;w_count is current running job count. If its greater than 1, then stop the 2nd with an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2008 11:37:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-05T11:37:25Z</dc:date>
    <item>
      <title>Creating IDoc Type from Change Pointers using RBDMIDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284775#M1022157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are executing program RBDMIDOC(Creating IDoc Type from Change Pointers) evrey 15 minuts in background.&lt;/P&gt;&lt;P&gt;Issue : if some jobs are taking more than 15 minuts then next jobs are failed, &lt;/P&gt;&lt;P&gt;is next job will pick up any idocs that were missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no extesion's and ther is no Z-fields are used in that message type , we are used OILMAT as mesage type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DSK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: suresh dameruppula on Aug 5, 2008 2:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 08:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284775#M1022157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T08:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating IDoc Type from Change Pointers using RBDMIDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284776#M1022158</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;Include a step in your job and have a program which checks if a job is already running. If yes do not start the next instance of the same job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the custom program just call function module&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'ZBC_JOB_ALREADY_RUNNING'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;         JOBNAME           = p_job&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;         JOB_RUNNING       = w_count&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;         JOB_NOT_SPECIFIED = 1&lt;/P&gt;&lt;P&gt;         OTHERS            = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code within FM -&amp;gt;&lt;/P&gt;&lt;P&gt;   select count(*)&lt;/P&gt;&lt;P&gt;   into   job_running&lt;/P&gt;&lt;P&gt;   from   tbtco&lt;/P&gt;&lt;P&gt;   where  jobname = jobname&lt;/P&gt;&lt;P&gt;   and    status  = 'R'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where p_job is the job name.&lt;/P&gt;&lt;P&gt;w_count is current running job count. If its greater than 1, then stop the 2nd with an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 11:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284776#M1022158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T11:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating IDoc Type from Change Pointers using RBDMIDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284777#M1022159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is standard program, we can not change,&lt;/P&gt;&lt;P&gt;and my query is if job fails, then next job will pick up idocs that were missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;suresh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 14:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-idoc-type-from-change-pointers-using-rbdmidoc/m-p/4284777#M1022159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T14:04:14Z</dc:date>
    </item>
  </channel>
</rss>

