<?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: Problem with transaction KKS2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561282#M856943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA list_tab TYPE TABLE OF abaplist. 
" SAPMKKS0 is the program name for tcode KKS2
SUBMIT ZREP1 EXPORTING LIST TO MEMORY 
              AND RETURN. 
 
CALL FUNCTION 'LIST_FROM_MEMORY' 
  TABLES 
    listobject = list_tab 
  EXCEPTIONS 
    not_found  = 1 
    OTHERS     = 2. 
 
IF sy-subrc = 0. 
  CALL FUNCTION 'WRITE_LIST' 
    TABLES 
      listobject = list_tab. 
ENDIF. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program ZREP1 will have the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZREP1.

CALL TRANSACTION KKS2 AND SKIP FIRST SCREEN.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkatram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 12:18:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T12:18:45Z</dc:date>
    <item>
      <title>Problem with transaction KKS2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561279#M856940</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;I am having a transaction KKS2..,,, I want to pass the transaction's output to an internal table .,,, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report i am calling the transaction KKS2 using call transaction statement , ,,, after executuion of the statement , i want to pass the output of that transcation to an internal table.,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i cannot use the submit statement , becos my standard report is &lt;STRONG&gt;MODULE POOL REPORT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hoping for ur wonderful support please!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;karthikeyan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 10:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561279#M856940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T10:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with transaction KKS2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561280#M856941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA list_tab TYPE TABLE OF abaplist. 
" SAPMKKS0 is the program name for tcode KKS2
SUBMIT SAPMKKS0 EXPORTING LIST TO MEMORY 
              AND RETURN. 

CALL FUNCTION 'LIST_FROM_MEMORY' 
  TABLES 
    listobject = list_tab 
  EXCEPTIONS 
    not_found  = 1 
    OTHERS     = 2. 

IF sy-subrc = 0. 
  CALL FUNCTION 'WRITE_LIST' 
    TABLES 
      listobject = list_tab. 
ENDIF. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it would help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 10:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561280#M856941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T10:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with transaction KKS2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561281#M856942</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;Thanks for ur kind reply.,, But the problem is  that  it is a module pool program.,,&lt;/P&gt;&lt;P&gt;So its going for dump.,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you plese sugesst some other soliution??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 11:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561281#M856942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T11:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with transaction KKS2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561282#M856943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA list_tab TYPE TABLE OF abaplist. 
" SAPMKKS0 is the program name for tcode KKS2
SUBMIT ZREP1 EXPORTING LIST TO MEMORY 
              AND RETURN. 
 
CALL FUNCTION 'LIST_FROM_MEMORY' 
  TABLES 
    listobject = list_tab 
  EXCEPTIONS 
    not_found  = 1 
    OTHERS     = 2. 
 
IF sy-subrc = 0. 
  CALL FUNCTION 'WRITE_LIST' 
    TABLES 
      listobject = list_tab. 
ENDIF. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program ZREP1 will have the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZREP1.

CALL TRANSACTION KKS2 AND SKIP FIRST SCREEN.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkatram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 12:18:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-transaction-kks2/m-p/3561282#M856943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T12:18:45Z</dc:date>
    </item>
  </channel>
</rss>

