<?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: Error while using the z t-code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906621#M1145632</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;Search for the keyword 'SY-BATCH' in the program. Check if it is checked for 'X'. If it is checked, eventhough when you run the Ztcode, it takes you to the program so if the program is restricted to Background only the same properties apply to the Ztcode for which the program is assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2008 10:29:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-23T10:29:11Z</dc:date>
    <item>
      <title>Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906615#M1145626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;     We have created a z t-code and when we enter that we are getting an error msg that "Please schedule the program in background" . The program that was created is scheduled to run in back ground but we are getting this message when we execute the t-code itself. Can someone suggest what could be the problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 09:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906615#M1145626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T09:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906616#M1145627</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;You would have written the code in the initialization. If you want to avoid this, write in some other event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906616#M1145627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906617#M1145628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji ,&lt;/P&gt;&lt;P&gt;I think that the prog has been writeen so as to throw the message when it is executed in foreground .&lt;/P&gt;&lt;P&gt;Check the prog first it seems that this message has been thrown deliberately .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906617#M1145628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906618#M1145629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the program code itself....check and see if any code is wriiten to give a message as mentioned...since there are ways to identify if a job is background or not,an abaper can easily write code ,give message and exit the program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906618#M1145629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906619#M1145630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sahiil  , &lt;/P&gt;&lt;P&gt;                 I checked the code , the person who has created the program has written the coding part for scheduling the job in backgroung under the event Start-of-Selection but he has not concluded the event with End-of-Selection , could the problem be because of this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and best regards ,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906619#M1145630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906620#M1145631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byju , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the code , the person who has created the program has written the coding part for scheduling the job in backgroung under the event Start-of-Selection but he has not concluded the event with End-of-Selection , could the problem be because of this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and best regards ,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906620#M1145631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906621#M1145632</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;Search for the keyword 'SY-BATCH' in the program. Check if it is checked for 'X'. If it is checked, eventhough when you run the Ztcode, it takes you to the program so if the program is restricted to Background only the same properties apply to the Ztcode for which the program is assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906621#M1145632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906622#M1145633</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;You have to check the SY-BATCH eq 'X' for background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;     if it_report3[] is not initial  and sy-batch ne 'X'.&lt;/P&gt;&lt;P&gt;        perform alv_report (Write your logic here)&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 10:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906622#M1145633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T10:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using the z t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906623#M1145634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for the code "Please schedule the program in background" in ur pgm and you can find why tht error is displaying,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be the code is checking for sy-batch , if so it is throwing tht message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugg ur program thoroughly, it helps you a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 13:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-the-z-t-code/m-p/4906623#M1145634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T13:18:43Z</dc:date>
    </item>
  </channel>
</rss>

