<?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: T-CODE execute through ABAP. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459306#M1250872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; but i want to execute it on specific  time for every day...is it possible through  sys-date and sys-time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 18:38:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-16T18:38:36Z</dc:date>
    <item>
      <title>T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459304#M1250870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to execute T-CODE through abap subroutine on specific time every day.simply, i have verious T-CODE with me for extraction data from R/3 with following selection criteria.every day we r doing manually execution of tcode then filling all section as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company code--4432,&lt;/P&gt;&lt;P&gt;material type- erse,    etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want automation in extraction ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;guru will u please simplify me is it possible and send me details solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ganesh Bhosale on Apr 16, 2009 8:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459304#M1250870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459305#M1250871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SET PARAMETER ID 'KUN' FIELD w_companycode.    "Get the parameter-id for the company code,material type by pressingF1 help at the field in the transaction.
SET PARAMETER ID 'MAT' FIELD w_material.
      CALL TRANSACTION 'XD02' AND SKIP FIRST SCREEN.   "XD02  is t-code pass your cutom t-code

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459305#M1250871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459306#M1250872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; but i want to execute it on specific  time for every day...is it possible through  sys-date and sys-time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459306#M1250872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459307#M1250873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
go to-&amp;gt;t-code--&amp;gt;go to  menu --&amp;gt;system --&amp;gt;status--&amp;gt; check the program name--and follow the below steps..

* Calling pgm name for t-code to execute..
    SUBMIT rswiwils        "rswiwils is pgm name enter your t-code program name here
             WITH werks = w_company code
             WITH matnr  = w_matnr
                  AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459307#M1250873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459308#M1250874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create variant for the t-code program and write below code in the program instead of calling the Submit report or call transaction..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'JOB_SUBMIT' 
EXPORTING 
AUTHCKNAM = SY-UNAME " Runtime authorizations 
" user
JOBCOUNT = JOBNUMBER " Value from JOB_OPEN
JOBNAME = JOBNAME " Value from JOB_OPEN
REPORT = 'REPORT' " Report to be run
VARIANT = 'VARIANT' " Variant to use with 
" report
PRIPARAMS = USER_PRINT_PARAMS " User printing options
ARCPARAMS = USER_ARC_PARAMS " User archiving options
" Both sets of options 
" come from 
" GET_PRINT_PARAMETERS
EXCEPTIONS 
BAD_PRIPARAMS = 01 
INVALID_JOBDATA = 02 
JOBNAME_MISSING = 03 
JOB_NOTEX = 04 
JOB_SUBMIT_FAILED = 05 
LOCK_FAILED = 06 
PROGRAM_MISSING = 07 
PROG_ABAP_AND_EXTPG_SET = 08 
OTHERS = 99. 

IF SY-SUBRC &amp;gt; 0. 
&amp;lt;Error processing&amp;gt; 
ENDIF. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/fa/096ee5543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/fa/096ee5543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabhu Das on Apr 17, 2009 12:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459308#M1250874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459309#M1250875</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;Scheduled run of an ABAP prog is only possible via Background Jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Background job and schedule it for time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot achieve this via ABAP Prog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459309#M1250875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T19:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: T-CODE execute through ABAP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459310#M1250876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answared.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 15:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/t-code-execute-through-abap/m-p/5459310#M1250876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T15:57:41Z</dc:date>
    </item>
  </channel>
</rss>

