<?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: Screen Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316234#M1028728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="736844"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2008 08:51:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-19T08:51:43Z</dc:date>
    <item>
      <title>Screen Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316232#M1028726</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;I have been assigned to a object wherein i need to customize standard screen through screen exit .&lt;/P&gt;&lt;P&gt;I am new to screen exit and never worked on it. How i can customize screen via screen exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Parag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316232#M1028726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316233#M1028727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://it.toolbox.com/wiki/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://it.toolbox.com/wiki/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/how-to-find-a-screen-exit-in-a-given-sap-standard-t-code.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/how-to-find-a-screen-exit-in-a-given-sap-standard-t-code.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316233#M1028727</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-08-19T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316234#M1028728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="736844"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316234#M1028728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316235#M1028729</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;Check this link. You will get good many tutorial links on screen exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="427035"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316235#M1028729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316236#M1028730</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;See below threads ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5583604"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5573788"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6012427"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5882548"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5802232"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5450706"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5858279"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/profile?editmode=true&amp;amp;userid=3775058" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/profile?editmode=true&amp;amp;userid=3775058&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316236#M1028730</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-08-19T08:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316237#M1028731</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;Step by step procedure for creating Screen Exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PART A: Search for the screen exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. A screen exit is a way to add a sub-screen and corresponding functionality to an SAP transaction. The first step is to navigate to the screen where you want to attach menu exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Go to the field list of that screen through system -&amp;gt; status or F1 -&amp;gt; Technical details and look for fields that have subscreen as the field type for that particular screen. These are the area's on the main screen which can be enhanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PART B: Creating your own subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Identify the enhancement and its component that has the provision for creating the screen exit for that particular screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note A: To know more about how to identify the enhancement, refer to the document on Locating User Exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note B: All SAP provided subscreenu2019s may not have the scope for enhancement. There are a limited number of transactions which has scope for screen exit. Refer to Annexure A for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Include the Enhancement in your own project through transaction CMOD.&lt;/P&gt;&lt;P&gt;5. Go to Enhancement Components and double click on the component name. &lt;/P&gt;&lt;P&gt;6. It will take you to the screen attributes for that particular subscreen.&lt;/P&gt;&lt;P&gt;u2022 The screen type should be subscreen.&lt;/P&gt;&lt;P&gt;u2022 Maintain the size of the subscreen through Lines/Columns attribute. This should correspond to the size of the subscreen mentioned in the main SAP screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022 The development class for the subscreen should be the development class for the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Create the subscreen using the fullscreen editor.&lt;/P&gt;&lt;P&gt;8. You can add your own modules in the subscreenu2019s flow logic. However, one has to be careful regarding data transfer between the main screen and the subscreen. For more details refer to R/3 On-line Help.&lt;/P&gt;&lt;P&gt;9. Generate the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PART C: Activating the project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. Use the back button to navigate back to the project enhancement main screen.&lt;/P&gt;&lt;P&gt;11. Activate the project.&lt;/P&gt;&lt;P&gt;Locating User Exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you can add functionality to a SAP system, you need to be able to locate the appropriate user exits. SAP has provided around 2000 user exits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching from transaction CMOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching from the Application Hierarchy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making your own customized search&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that you must first search for an enhancement. Once you find an enhancement, you can display its components -- the actual user exits. Then you need to include the enhancement containing the required user exit as a component in your own project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method #1: Using Transaction CMOD &lt;/P&gt;&lt;P&gt;u2022	Transaction CMOD contains search functionality to help locate enhancements. &lt;/P&gt;&lt;P&gt;u2022	Selecting the "Utilities -&amp;gt; SAP enhancements" menu path in transaction CMOD will take you to an enhancement selection screen . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022	You can limit the search for enhancements based on: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancement name&lt;/P&gt;&lt;P&gt;Development class&lt;/P&gt;&lt;P&gt;u2022	After clicking on the u2018Executeu2019 pushbutton (or u2018F8u2019) on the selection screen, the system will display a listing of the development classes that contain enhancements (see graphic above). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022	From this listing, you can double-click a development class to display its enhancements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022	If you have clicked on the u2018Display componentsu2019 pushbutton on the selection screen (see graphic on previous page), the components of each enhancement will automatically be displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remark: To use this search method one must either know the part of the enhancement name or the development class. But if one looks at SAPu2019s naming convention for user exits (see note below), the screen numbers/program names/ function codes/etc are contained in the components name and there is no scope for that in selection options. Also one cannot restrict the search to only one type of exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method #2: Using SAP Application Hierarchy&lt;/P&gt;&lt;P&gt;u2022	Selecting the "Overview -&amp;gt; Applic. hierarchy -&amp;gt; SAP" menu path in the ABAP/4 Development Workbench will take you to a listing of all standard SAP applications and components . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022	To locate a user exit for a particular application, follow these steps &lt;/P&gt;&lt;P&gt;from the SAP Application Hierarchy:&lt;/P&gt;&lt;P&gt;u2022	Select the appropriate application by single clicking on it. &lt;/P&gt;&lt;P&gt;u2022	Choose the "Edit Sel./desel. subtree" menu path. &lt;/P&gt;&lt;P&gt;u2022	Click on the u2018Repository Infosys.u2019 pushbutton. &lt;/P&gt;&lt;P&gt;u2022	This will take you to the ABAP/4 Repository Information System. &lt;/P&gt;&lt;P&gt;u2022	Double click on the u2018Environmentu2019 branch. &lt;/P&gt;&lt;P&gt;u2022	Double click on the u2018Customer enhancementu2019 branch. &lt;/P&gt;&lt;P&gt;u2022	Double-click on the u2018Customer exitu2019 branch. &lt;/P&gt;&lt;P&gt;u2022	This will take you to the customer exit (or enhancement) selection screen with the appropriate development class for the application selecting on the Application Hierarchy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022	Click on the u2018Executeu2019 pushbutton. &lt;/P&gt;&lt;P&gt;u2022	This will take you to a listing of all enhancements that meet the selection criteria. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this listing, you can display the components of each enhancement and the documentation. You will be taken automatically to transaction SMOD from the ABAP/4 Repository Information System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remark: To use this one must have knowledge about the application hierarchy to which that particular enhancement belongs. Also one has to explode individual enhancements to identify weather the component is contained in that enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like previous method, there is no scope for selection option on the components name.&lt;/P&gt;&lt;P&gt;Method #3: Writing a small report program&lt;/P&gt;&lt;P&gt;The details about projects, enhancements and components are contained in two SAP tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODSAP: containing enhancement name, type of exit and component&lt;/P&gt;&lt;P&gt;MODACT: containing project name and enhancements&lt;/P&gt;&lt;P&gt;Thus by writing a report program to retrieve data from these two tables, you can customize your search requirements. Code for one such sample program is attached in annexure A and the corresponding transaction code to execute this program is YSMD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this you can list all components that match a particular string like the program name or the function code as well as search for only one type of exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAPu2019s naming convention for user exits-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022 Program/Function exits : EXIT_AAAAAAAA_nnn where&lt;/P&gt;&lt;P&gt;AAAAAAAA stands for the program name which contains the exit and&lt;/P&gt;&lt;P&gt;nnn is a SAP assigned number starting from 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022 Menu exits : AAAAAAAA+XXX where&lt;/P&gt;&lt;P&gt;AAAAAAAA stands for the program name which contains the exit and&lt;/P&gt;&lt;P&gt;+XXX is the name of the function code contained in the menu item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022 Screen Exits : AAAAAAAA_nnnn_BBBBBBBB_CCCCCCCC_mmmm where&lt;/P&gt;&lt;P&gt;AAAAAAAA : calling program name&lt;/P&gt;&lt;P&gt;nnnn : calling screen number&lt;/P&gt;&lt;P&gt;BBBBBBBB : area&lt;/P&gt;&lt;P&gt;CCCCCCCC : called program name&lt;/P&gt;&lt;P&gt;mmmm : called screen number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code to find User Exits 1&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;u2022	REPORT YSMOD2 &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;u2022	SELECTION TEXTS : INPUT1 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; Enter search term for Trxn. &lt;/P&gt;&lt;P&gt;u2022	INPUT2 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; Enter type of exit &lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;REPORT YSMOD2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: MODSAP, MODACT, TSTC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',&lt;/P&gt;&lt;P&gt;INPUT2 LIKE MODSAP-TYP DEFAULT ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: SEARCH1(6),&lt;/P&gt;&lt;P&gt;SEARCH2(3),&lt;/P&gt;&lt;P&gt;SEARCH3 LIKE MODSAP-MEMBER.&lt;/P&gt;&lt;P&gt;DATA : FIRST_ROW VALUE 'Y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,&lt;/P&gt;&lt;P&gt;'%' INPUT2 INTO SEARCH2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.&lt;/P&gt;&lt;P&gt;FIRST_ROW = 'Y'.&lt;/P&gt;&lt;P&gt;CHECK TSTC-PGMNA NE SPACE.&lt;/P&gt;&lt;P&gt;CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.&lt;/P&gt;&lt;P&gt;SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2&lt;/P&gt;&lt;P&gt;AND MEMBER LIKE SEARCH3.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.&lt;/P&gt;&lt;P&gt;IF FIRST_ROW EQ 'Y'.&lt;/P&gt;&lt;P&gt;WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,&lt;/P&gt;&lt;P&gt;45 MODSAP-MEMBER, 70 MODACT-NAME.&lt;/P&gt;&lt;P&gt;FIRST_ROW = 'N'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CLEAR : MODSAP, MODACT.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CLEAR TSTC.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;CLEAR: SEARCH1, SEARCH2, SEARCH3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code to Locate User Exits&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;u2022	REPORT YSMOD &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;u2022	SELECTION TEXTS : INPUT1 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; Enter search term for Enhancmn &lt;/P&gt;&lt;P&gt;u2022	INPUT2 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; Enter type of exit &lt;/P&gt;&lt;P&gt;u2022	INPUT3 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; Enter search term for componen &lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;REPORT YSMOD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: MODSAP, MODACT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: INPUT1 LIKE MODSAP-NAME DEFAULT ' ',&lt;/P&gt;&lt;P&gt;INPUT2 LIKE MODSAP-TYP DEFAULT ' ',&lt;/P&gt;&lt;P&gt;INPUT3 LIKE MODSAP-MEMBER DEFAULT ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: SEARCH1 LIKE MODSAP-NAME,&lt;/P&gt;&lt;P&gt;SEARCH2(3), " like modsap-typ,&lt;/P&gt;&lt;P&gt;SEARCH3 LIKE MODSAP-MEMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,&lt;/P&gt;&lt;P&gt;'%' INPUT2 INTO SEARCH2,&lt;/P&gt;&lt;P&gt;'%' INPUT3 '%' INTO SEARCH3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM MODSAP WHERE NAME LIKE SEARCH1&lt;/P&gt;&lt;P&gt;AND TYP LIKE SEARCH2&lt;/P&gt;&lt;P&gt;AND MEMBER LIKE SEARCH3.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.&lt;/P&gt;&lt;P&gt;WRITE: /10 MODSAP-NAME, 30 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.&lt;/P&gt;&lt;P&gt;CLEAR : MODSAP, MODACT.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;WRITE : /'Not found'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;CLEAR: SEARCH1, SEARCH2, SEARCH3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easiest way is to create a subscreen and embed this in your dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest_0001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Custom Selection Screen 1010 &lt;/P&gt;&lt;P&gt;selection-screen begin of screen 1010 as subscreen.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters: p_rad1 radiobutton group grp1 default 'X',&lt;/P&gt;&lt;P&gt;p_rad2 radiobutton group grp1,&lt;/P&gt;&lt;P&gt;p_rad3 radiobutton group grp1.&lt;/P&gt;&lt;P&gt;select-options: s_matnr for mara-matnr,&lt;/P&gt;&lt;P&gt;s_matkl for mara-matkl,&lt;/P&gt;&lt;P&gt;s_mtart for mara-mtart.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 1010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 100.&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Module STATUS_0100 OUTPUT&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;module status_0100 output.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'xxxxxxxx'. &lt;/P&gt;&lt;P&gt;SET TITLEBAR 'xxx'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Module USER_COMMAND_0100 INPUT&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;module user_command_0100 input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen screen 100 with a subscreen area called "subscreen_1010" &lt;/P&gt;&lt;P&gt;Screen Flow Logic follows &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*process before output.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;module status_0100. &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;call subscreen subscreen_1010 including sy-repid '1010'. &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*process after input.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;call subscreen subscreen_1010 . &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;module user_command_0100. &lt;/P&gt;&lt;P&gt;Checkout the FM`S in SE37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/BKC/RFC_GET_TABLE_SIZE &lt;/P&gt;&lt;P&gt;/SDF/INF_TOP_TABLES &lt;/P&gt;&lt;P&gt;/SDF/MSS_TEXT_IMAGE_FIELDS &lt;/P&gt;&lt;P&gt;GET_TABLE_SIZE_DB4 &lt;/P&gt;&lt;P&gt;GET_TABLE_SIZE_DB6 &lt;/P&gt;&lt;P&gt;MSS_GET_DB_SIZE_DETAILS &lt;/P&gt;&lt;P&gt;MSS_GET_SCHEMA_SIZE_INFO &lt;/P&gt;&lt;P&gt;MSS_GET_TABLE_SIZE_INFO &lt;/P&gt;&lt;P&gt;SFMSS_SIZE &lt;/P&gt;&lt;P&gt;GET_TABLE_SIZE_MSS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 09:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exit/m-p/4316237#M1028731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T09:00:30Z</dc:date>
    </item>
  </channel>
</rss>

