<?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: Return to List Processing From Business Object Method CTREQUEST.Display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-list-processing-from-business-object-method-ctrequest-display/m-p/8333500#M1638433</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 command LEAVE TO SCREEN 0 instead of EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 00:54:40 GMT</pubDate>
    <dc:creator>raviahuja</dc:creator>
    <dc:date>2011-11-11T00:54:40Z</dc:date>
    <item>
      <title>Return to List Processing From Business Object Method CTREQUEST.Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-list-processing-from-business-object-method-ctrequest-display/m-p/8333499#M1638432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple program which displays selected TRKORR (Transport/Correction) numbers in a list on the screen. I want to be able to double click on the number and inspect the contents of these items.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program is not pretty - its for my use only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, the code below is tucked at the end of my program, and it works fine - double clicking will display the request. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM SHOWCTS  USING  P_REQ.
  DATA : ThisReq      TYPE SWC_OBJECT.
  DATA : ReqObjectKey Like SWOTOBJID-OBJKEY .
  SWC_CONTAINER        REQCONTAINER.
  SWC_CREATE_CONTAINER REQCONTAINER.
  move p_req to ReqObjectKey .
  SWC_CREATE_OBJECT ThisReq 'CTREQUEST' ReqObjectKey .
  SWC_CALL_METHOD   ThisReq 'Display'   ReqContainer .
ENDFORM. 

AT LINE-SELECTION .
  data l_req type TRKORR .
  move sy-lisel+29(20) to l_req . CONDENSE l_req NO-GAPS .
  perform showcts using l_req .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;problem&lt;/STRONG&gt; is, when I exit from the CT Request, the program &lt;STRONG&gt;EXITs&lt;/STRONG&gt;  . The desired behavior would be to return to my list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I return to my list upon exiting the Request display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 23:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-list-processing-from-business-object-method-ctrequest-display/m-p/8333499#M1638432</guid>
      <dc:creator>mike_mcinerney</dc:creator>
      <dc:date>2011-11-10T23:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Return to List Processing From Business Object Method CTREQUEST.Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-list-processing-from-business-object-method-ctrequest-display/m-p/8333500#M1638433</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 command LEAVE TO SCREEN 0 instead of EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 00:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-list-processing-from-business-object-method-ctrequest-display/m-p/8333500#M1638433</guid>
      <dc:creator>raviahuja</dc:creator>
      <dc:date>2011-11-11T00:54:40Z</dc:date>
    </item>
  </channel>
</rss>

