<?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 How to use 'Submit' for Program rpsinfo (tcode:cn41n) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837440#M1590565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;CN41N is a Hierarchical report of PS Module. Which displays WBS, Network, Project details in Hierarchical view. I want to store the output of this report in internal table for further processing. For this i am using the following code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 SUBMIT  rpsinfo
   WITH cn_pspnr-low EQ 'S-0018-01-01-01-01-001'
   EXPORTING LIST TO MEMORY AND RETURN .

  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = list_tab
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
  DATA: BEGIN OF i_asci OCCURS 0,
       data1(5000) TYPE c,
       END OF i_asci.

  CALL FUNCTION 'LIST_TO_ASCI'
* EXPORTING
*   LIST_INDEX               = -1
*   WITH_LINE_BREAK          = ' '
* IMPORTING
*   LIST_STRING_ASCII        =
*   LIST_DYN_ASCII           =
   TABLES
     listasci                 = i_asci
     listobject               = list_tab
   EXCEPTIONS
     empty_list               = 1
     list_index_invalid       = 2
     OTHERS                   = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above code is not working. Output is not going to memory. But this is working with all other reports which are simple ALV Reports. I think since  rpsinfo (tcode:cn41n) is hierarchical report it is not displaying output. Then how do i send the output to the memory. Please suggest the solution.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Mahender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2011 05:51:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-03T05:51:09Z</dc:date>
    <item>
      <title>How to use 'Submit' for Program rpsinfo (tcode:cn41n)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837440#M1590565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;CN41N is a Hierarchical report of PS Module. Which displays WBS, Network, Project details in Hierarchical view. I want to store the output of this report in internal table for further processing. For this i am using the following code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 SUBMIT  rpsinfo
   WITH cn_pspnr-low EQ 'S-0018-01-01-01-01-001'
   EXPORTING LIST TO MEMORY AND RETURN .

  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = list_tab
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
  DATA: BEGIN OF i_asci OCCURS 0,
       data1(5000) TYPE c,
       END OF i_asci.

  CALL FUNCTION 'LIST_TO_ASCI'
* EXPORTING
*   LIST_INDEX               = -1
*   WITH_LINE_BREAK          = ' '
* IMPORTING
*   LIST_STRING_ASCII        =
*   LIST_DYN_ASCII           =
   TABLES
     listasci                 = i_asci
     listobject               = list_tab
   EXCEPTIONS
     empty_list               = 1
     list_index_invalid       = 2
     OTHERS                   = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above code is not working. Output is not going to memory. But this is working with all other reports which are simple ALV Reports. I think since  rpsinfo (tcode:cn41n) is hierarchical report it is not displaying output. Then how do i send the output to the memory. Please suggest the solution.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Mahender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 05:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837440#M1590565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-03T05:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 'Submit' for Program rpsinfo (tcode:cn41n)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837441#M1590566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the hierarchical report is displayed using SAP Graphics, then you will never be able to get information from memory because the output is not stored into a SAP list&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 08:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837441#M1590566</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2011-05-04T08:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 'Submit' for Program rpsinfo (tcode:cn41n)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837442#M1590567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Then what may be the alternative tips to pick the output.&lt;/P&gt;&lt;P&gt;waiting for your answer.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Mahender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2011 10:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-submit-for-program-rpsinfo-tcode-cn41n/m-p/7837442#M1590567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-07T10:02:46Z</dc:date>
    </item>
  </channel>
</rss>

