<?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: Calling Program RKAEP000 with submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211259#M1205472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was searching the forum for finding a way to create a program that has all details from KSB1 and some details from CJ13 (WBS details) and found your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you specify the SUBMIT that you had written to call KSB1. If I can have all details from KSB1 in my memory, then I can read that in my program and add WBS details and give the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am doing but it gives the same error as you had - transaction code not defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FCODE TYPE SY-TCODE VALUE 'KSB1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RKAEP000 WITH SY-TCODE = FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 17:37:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T17:37:46Z</dc:date>
    <item>
      <title>Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211252#M1205465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a problem when calling the std program RKAEP000. When i use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUBMIT RKAEP000 with params AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is giving me an error transaction code not defined. i cannot use call transaction KBS1 in this case (CALL TRANSACTION 'KSB1' and SKIP FIRST SCREEN.). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues how i can resolve this issue please and anyone can tell me what is the difference between these 2 statements SUBMIT and CALL TRANSACTION and the impact it has when calling these 2 on a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211252#M1205465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T05:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211253#M1205466</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 EXPORT and IMPORT statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export itab to memory id 'mid' in your calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import itab from memory id 'mid' ,free memory id 'mid' in the called program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211253#M1205466</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-02-17T05:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211254#M1205467</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;If u use submit statement with params ,then those params should be defined in the called program.&lt;/P&gt;&lt;P&gt;This is like calling a program from one program .&lt;/P&gt;&lt;P&gt;And return implies that after execution of calling program,it has to come to called program and resume the execution where it had left before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction 'TCODE'.&lt;/P&gt;&lt;P&gt;This is calling a transaction.&lt;/P&gt;&lt;P&gt;And skip first screen means this will skip the first screen of transaction and proceeds with next screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211254#M1205467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T05:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211255#M1205468</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;SUBMIT is about calling a type 1 program from the current program whereas&lt;/P&gt;&lt;P&gt;if a program has a TCODE, then there are two ways you can call that program&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION TCODE&lt;/P&gt;&lt;P&gt;CALL TRANSACTION TCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase of submit program, the values to be used as parameters/variables for&lt;/P&gt;&lt;P&gt;are exported/imported to ABAP memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase of CALL TRANSACTION these values are transferred using&lt;/P&gt;&lt;P&gt;SET/GET Parameter IDs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211255#M1205468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T05:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211256#M1205469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Its not possible for you to call the program directly, because that program is associated with many transaction codes due to which it gets confused as to which transaction code to be executed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you will have to use call transaction and to pass on the parameters and skip the first screen... you can use using option and skip first screen option....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211256#M1205469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T05:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211257#M1205470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FORM transaction_init, Set the Value for these parameters, &amp;amp; Check the given note also, That might help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-batch IS INITIAL OR c_item_group IS INITIAL.       "note 193499&lt;/P&gt;&lt;P&gt;    "parameters must be filled in batch mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211257#M1205470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T05:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211258#M1205471</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 were right. When i investigated through debug mode, i found that there were quite a few tcodes associated to the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all i had to do was to give the condition t_code eq 'KSB1' with the submit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the tip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 04:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211258#M1205471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T04:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211259#M1205472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was searching the forum for finding a way to create a program that has all details from KSB1 and some details from CJ13 (WBS details) and found your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you specify the SUBMIT that you had written to call KSB1. If I can have all details from KSB1 in my memory, then I can read that in my program and add WBS details and give the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am doing but it gives the same error as you had - transaction code not defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FCODE TYPE SY-TCODE VALUE 'KSB1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RKAEP000 WITH SY-TCODE = FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 17:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211259#M1205472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T17:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211260#M1205473</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;try this code it will work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data is stored in txtlines format the data by the field wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Data Declaration
  DATA:lt_listobject TYPE TABLE OF abaplist,
    l_tab_lines TYPE i.

  DATA: txtlines(1024) TYPE c OCCURS 0 WITH HEADER LINE.


  SUBMIT rkaep000                      "the program name
     USING SELECTION-SET 'BPC TEST'          "Pass varint BPC Test
           EXPORTING LIST TO MEMORY AND RETURN.

* Read list from memory into table
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = lt_listobject
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
*   Error in function module &amp;amp;1
  ENDIF.

*Spool content in Ascii format
  CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
      listobject         = lt_listobject
      listasci           = txtlines
    EXCEPTIONS
      empty_list         = 1
      list_index_invalid = 2
      OTHERS             = 3.


  CALL FUNCTION 'WRITE_LIST'
  TABLES
    listobject = lt_listobject
  EXCEPTIONS
    empty_list = 1
    OTHERS     = 2.

CALL FUNCTION 'LIST_FREE_MEMORY'
  TABLES
    listobject = lt_listobject.



  LOOP AT txtlines.   "data will be stored in this..
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 17:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211260#M1205473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T17:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211261#M1205474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi can you explain a bit more abt your problem. sorry for the late reply.only today i notices your message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2009 06:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211261#M1205474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-25T06:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211262#M1205475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Kevin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was referring to your post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You were right. When i investigated through debug mode, i found that there were quite a few tcodes associated to the program.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;all i had to do was to give the condition t_code eq 'KSB1' with the submit.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks a lot for the tip.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please detail on how you gave the condition to call KSB1. My scenario is that I need to create a transaction similar to KSB1 but also add WBS details in the output. Any help on this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Shipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 15:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211262#M1205475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Program RKAEP000 with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211263#M1205476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin /Shipra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue, can you guys please provide me the  submit statement. i  need to call the program of transaction 'KSB1'. i know the pgm name - RKAEP000. &lt;/P&gt;&lt;P&gt;I'm getting the same error - " - transaction code not defined."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know how to pass the condition of transaction code in the SUBMIT statement.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ELSEIF repname = 'KSB1'.
    SUBMIT (repname) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                   SPOOL PARAMETERS lw_pripar
*                 VIA SELECTION-SCREEN
*                   t_code eq 'KSB1'
                     USING SELECTION-SCREEN 100
                   WITH SELECTION-TABLE rspar
*                      eq 'KSB1'
                   AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys waiting for your reply..&lt;/P&gt;&lt;P&gt;Help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abdur Rafique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 07:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-rkaep000-with-submit/m-p/5211263#M1205476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-07T07:40:23Z</dc:date>
    </item>
  </channel>
</rss>

