<?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 BAPI PRoblem urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873206#M674177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI can anyone help in giving me step by step process of Background scheduling using bapi.&lt;/P&gt;&lt;P&gt;My requirement is to give the user 2 radio buttons one is for background processing and the other for foreground processing.&lt;/P&gt;&lt;P&gt;Can anyone help me how to do the background process with sample prog, it will be very helpful if u give a step by step explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to knw ow to chk those in sm37 and how to run the process frm there.&lt;/P&gt;&lt;P&gt;Kindly help me.&lt;/P&gt;&lt;P&gt;its very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 09:43:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T09:43:24Z</dc:date>
    <item>
      <title>BAPI PRoblem urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873206#M674177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI can anyone help in giving me step by step process of Background scheduling using bapi.&lt;/P&gt;&lt;P&gt;My requirement is to give the user 2 radio buttons one is for background processing and the other for foreground processing.&lt;/P&gt;&lt;P&gt;Can anyone help me how to do the background process with sample prog, it will be very helpful if u give a step by step explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to knw ow to chk those in sm37 and how to run the process frm there.&lt;/P&gt;&lt;P&gt;Kindly help me.&lt;/P&gt;&lt;P&gt;its very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873206#M674177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PRoblem urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873207#M674178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You need to creatre the 2 Radiobuttons, is the Foreground is clicked then no need to wrtie the code for the background scheduling, if the Background radiobuton is checked then you need to write the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Submit report as job(i.e. in background)  &lt;/P&gt;&lt;P&gt;data: jobname like tbtcjob-jobname value&lt;/P&gt;&lt;P&gt;                             ' TRANSFER TRANSLATION'.&lt;/P&gt;&lt;P&gt;data: jobcount like tbtcjob-jobcount,&lt;/P&gt;&lt;P&gt;      host like msxxlist-host.&lt;/P&gt;&lt;P&gt;data: begin of starttime.&lt;/P&gt;&lt;P&gt;        include structure tbtcstrt.&lt;/P&gt;&lt;P&gt;data: end of starttime.&lt;/P&gt;&lt;P&gt;data: starttimeimmediate like btch0000-char1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Job open &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            delanfrep        = ' '&lt;/P&gt;&lt;P&gt;            jobgroup         = ' '&lt;/P&gt;&lt;P&gt;            jobname          = jobname&lt;/P&gt;&lt;P&gt;            sdlstrtdt        = sy-datum&lt;/P&gt;&lt;P&gt;            sdlstrttm        = sy-uzeit&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            jobcount         = jobcount&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            cant_create_job  = 01&lt;/P&gt;&lt;P&gt;            invalid_job_data = 02&lt;/P&gt;&lt;P&gt;            jobname_missing  = 03.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;                                       "error processing&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Insert process into job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Call the function module JOB_SUBMIT to submit a Backgroud job&lt;/P&gt;&lt;P&gt;                                       "error processing&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Close job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  starttime-sdlstrtdt = sy-datum + 1.&lt;/P&gt;&lt;P&gt;  starttime-sdlstrttm = '220000'.&lt;/P&gt;&lt;P&gt;  call function 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            event_id             = starttime-eventid&lt;/P&gt;&lt;P&gt;            event_param          = starttime-eventparm&lt;/P&gt;&lt;P&gt;            event_periodic       = starttime-periodic&lt;/P&gt;&lt;P&gt;            jobcount             = jobcount&lt;/P&gt;&lt;P&gt;            jobname              = jobname&lt;/P&gt;&lt;P&gt;            laststrtdt           = starttime-laststrtdt&lt;/P&gt;&lt;P&gt;            laststrttm           = starttime-laststrttm&lt;/P&gt;&lt;P&gt;            prddays              = 1&lt;/P&gt;&lt;P&gt;            prdhours             = 0&lt;/P&gt;&lt;P&gt;            prdmins              = 0&lt;/P&gt;&lt;P&gt;            prdmonths            = 0&lt;/P&gt;&lt;P&gt;            prdweeks             = 0&lt;/P&gt;&lt;P&gt;            sdlstrtdt            = starttime-sdlstrtdt&lt;/P&gt;&lt;P&gt;            sdlstrttm            = starttime-sdlstrttm&lt;/P&gt;&lt;P&gt;            strtimmed            = starttimeimmediate&lt;/P&gt;&lt;P&gt;            targetsystem         = host&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            cant_start_immediate = 01&lt;/P&gt;&lt;P&gt;            invalid_startdate    = 02&lt;/P&gt;&lt;P&gt;            jobname_missing      = 03&lt;/P&gt;&lt;P&gt;            job_close_failed     = 04&lt;/P&gt;&lt;P&gt;            job_nosteps          = 05&lt;/P&gt;&lt;P&gt;            job_notex            = 06&lt;/P&gt;&lt;P&gt;            lock_failed          = 07&lt;/P&gt;&lt;P&gt;            others               = 99.&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;                                       "error processing&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873207#M674178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T09:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PRoblem urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873208#M674179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closing the thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 06:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem-urgent/m-p/2873208#M674179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T06:11:00Z</dc:date>
    </item>
  </channel>
</rss>

