<?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 Exits in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652745#M611570</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 havnt clearly specified what you want to search for. Please refer to the code below to find the applicable exit for ur transaction....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the available exits with the following program:::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZFINDUSEREXIT&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zfinduserexit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.&lt;/P&gt;&lt;P&gt;tables : tstct.&lt;/P&gt;&lt;P&gt;data : jtab like tadir occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : field1(30).&lt;/P&gt;&lt;P&gt;data : v_devclass like tadir-devclass.&lt;/P&gt;&lt;P&gt;parameters : p_tcode like tstc-tcode obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tstc where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'PROG'&lt;/P&gt;&lt;P&gt;and obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;select single * from trdir where name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;if trdir-subc eq 'F'.&lt;/P&gt;&lt;P&gt;select single * from tfdir where pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt;select single * from enlfdir where funcname =&lt;/P&gt;&lt;P&gt;tfdir-funcname.&lt;/P&gt;&lt;P&gt;select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'FUGR'&lt;/P&gt;&lt;P&gt;and obj_name eq enlfdir-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;select * from tadir into table jtab&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'SMOD'&lt;/P&gt;&lt;P&gt;and devclass = v_devclass.&lt;/P&gt;&lt;P&gt;select single * from tstct where sprsl eq sy-langu and&lt;/P&gt;&lt;P&gt;tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;format color col_positive intensified off.&lt;/P&gt;&lt;P&gt;write:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;20(20) p_tcode,&lt;/P&gt;&lt;P&gt;45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;if not jtab[] is initial.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 'Exit Name',&lt;/P&gt;&lt;P&gt;21 sy-vline ,&lt;/P&gt;&lt;P&gt;22 'Description',&lt;/P&gt;&lt;P&gt;95 sy-vline.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;loop at jtab.&lt;/P&gt;&lt;P&gt;select single * from modsapt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu and&lt;/P&gt;&lt;P&gt;name = jtab-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified off.&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 jtab-obj_name hotspot on,&lt;/P&gt;&lt;P&gt;21 sy-vline ,&lt;/P&gt;&lt;P&gt;22 modsapt-modtext,&lt;/P&gt;&lt;P&gt;95 sy-vline.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;describe table jtab.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;format color col_total intensified on.&lt;/P&gt;&lt;P&gt;write:/ 'No of Exits:' , sy-tfill.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(95) 'No User Exit exists'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(95) 'Transaction Code Does Not Exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;get cursor field field1.&lt;/P&gt;&lt;P&gt;check field1(4) eq 'JTAB'.&lt;/P&gt;&lt;P&gt;set parameter id 'MON' field sy-lisel+1(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 13:48:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-10T13:48:26Z</dc:date>
    <item>
      <title>Screen Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652743#M611568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one give User exits for Screen Exits and Field Exits?&lt;/P&gt;&lt;P&gt;i mean like PBAS0001 is a User exit for Function Exits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 12:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652743#M611568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652744#M611569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is the code to find the Screen exits for a transaction code&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;&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;&lt;/P&gt;&lt;P&gt;FIRST_ROW = 'Y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK TSTC-PGMNA NE SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;CLEAR : MODSAP, MODACT.&lt;/P&gt;&lt;P&gt;&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 : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR TSTC.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;CLEAR: SEARCH1, SEARCH2, SEARCH3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 12:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652744#M611569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T12:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652745#M611570</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 havnt clearly specified what you want to search for. Please refer to the code below to find the applicable exit for ur transaction....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the available exits with the following program:::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZFINDUSEREXIT&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zfinduserexit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.&lt;/P&gt;&lt;P&gt;tables : tstct.&lt;/P&gt;&lt;P&gt;data : jtab like tadir occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : field1(30).&lt;/P&gt;&lt;P&gt;data : v_devclass like tadir-devclass.&lt;/P&gt;&lt;P&gt;parameters : p_tcode like tstc-tcode obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tstc where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'PROG'&lt;/P&gt;&lt;P&gt;and obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;select single * from trdir where name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;if trdir-subc eq 'F'.&lt;/P&gt;&lt;P&gt;select single * from tfdir where pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt;select single * from enlfdir where funcname =&lt;/P&gt;&lt;P&gt;tfdir-funcname.&lt;/P&gt;&lt;P&gt;select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'FUGR'&lt;/P&gt;&lt;P&gt;and obj_name eq enlfdir-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;select * from tadir into table jtab&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'SMOD'&lt;/P&gt;&lt;P&gt;and devclass = v_devclass.&lt;/P&gt;&lt;P&gt;select single * from tstct where sprsl eq sy-langu and&lt;/P&gt;&lt;P&gt;tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;format color col_positive intensified off.&lt;/P&gt;&lt;P&gt;write:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;20(20) p_tcode,&lt;/P&gt;&lt;P&gt;45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;if not jtab[] is initial.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 'Exit Name',&lt;/P&gt;&lt;P&gt;21 sy-vline ,&lt;/P&gt;&lt;P&gt;22 'Description',&lt;/P&gt;&lt;P&gt;95 sy-vline.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;loop at jtab.&lt;/P&gt;&lt;P&gt;select single * from modsapt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu and&lt;/P&gt;&lt;P&gt;name = jtab-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified off.&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 jtab-obj_name hotspot on,&lt;/P&gt;&lt;P&gt;21 sy-vline ,&lt;/P&gt;&lt;P&gt;22 modsapt-modtext,&lt;/P&gt;&lt;P&gt;95 sy-vline.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;describe table jtab.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;format color col_total intensified on.&lt;/P&gt;&lt;P&gt;write:/ 'No of Exits:' , sy-tfill.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(95) 'No User Exit exists'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(95) 'Transaction Code Does Not Exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;get cursor field field1.&lt;/P&gt;&lt;P&gt;check field1(4) eq 'JTAB'.&lt;/P&gt;&lt;P&gt;set parameter id 'MON' field sy-lisel+1(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 13:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652745#M611570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T13:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652746#M611571</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;they are available on 4.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look OSS Notes: 29377&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Field exits are frozen on the 4.6C maintenance level and are not further developed. This means that the existing functionality is kept with all restrictions (see also the last item below). Existing exits can be further used and are called at runtime as usual.&lt;/P&gt;&lt;P&gt;Existing exits can be maintained using program RSMODPRF (run the&lt;/P&gt;&lt;P&gt;program using transaction SE38). Activation of the field exits and&lt;/P&gt;&lt;P&gt;assignment of the dynpros can also be carried out using program&lt;/P&gt;&lt;P&gt;RSMODPRF. For this purpose, the program must be started without&lt;/P&gt;&lt;P&gt;parameters (input fields remain blank).&lt;/P&gt;&lt;P&gt;If required, new field exits can be created using program&lt;/P&gt;&lt;P&gt;RSMODPRF (see the program documentation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt;1. Field exit was created with CMOD, but is not processed when calling the screen.&lt;/P&gt;&lt;P&gt;Since the field exit is not processed until PAI, an action must be triggered on the screen (Return, Save, ...).&lt;/P&gt;&lt;P&gt;Set profile parameter abap/fieldexit to YES and restart the system.&lt;/P&gt;&lt;P&gt;After activating the function module FIELD_EXIT... and the field exit, leave the transaction on whose screen the field exit is to be executed. The screen is not generated until the transaction is started.&lt;/P&gt;&lt;P&gt;Do not work on different application servers since there may be some delay before the field exit is activated.&lt;/P&gt;&lt;P&gt;The profile parameter must be set on all or none of the application servers.&lt;/P&gt;&lt;P&gt;If the field exit is to only be active on specific screens, check whether you chose the correct program and the correct screen number (take care with subscreens).&lt;/P&gt;&lt;P&gt;Generate the screen on which the exit should be active using SE51. It is possible that it was not correctly generated. If you want to be sure that all screens that use the data element are regenerated, you can transfer Report rsmodfdg from the correction instructions and start it with SE38. The Report uses the affected data element as the input parameter and regenerates all screens that use the data element.&lt;/P&gt;&lt;P&gt;Using SE51 -&amp;gt; Field list, check that the screen field does have a reference to a data element. In the name of the field exit, use the name of the data element and not the field name.&lt;/P&gt;&lt;P&gt;After transport, field exits are marked as active but will not be processed. Tip: First try deactivating the field exit once more and then activate it again.&lt;/P&gt;&lt;P&gt;2. How is performance affected by setting abap/fieldexit?&lt;/P&gt;&lt;P&gt;If a screen is generated and the profile parameter is set, a check is run on 2 tables (TDDIR, TDDIRS) to see whether a field exit must be generated for the respective field. In practice, the screen load is not generated until the screen is selected after an update. The user should not notice any difference because screen generation is very fast.&lt;/P&gt;&lt;P&gt;3. Can you read the contents of other screen fields in the field exit?&lt;/P&gt;&lt;P&gt;In principle, every field exit can store its value in the global variables of the function group (TOP) and hence make them available to other field exits. Note here that field exits are always called, not only if an entry is made in the field or if the field is empty. In addition, it is not possible to make any assumptions about the order in which the field exits will be called in the future.&lt;/P&gt;&lt;P&gt;4. How does the field exit behave on step loop fields ?&lt;/P&gt;&lt;P&gt;After the user has entered data, the field exit is called in PAI as often as there are visible fields in the step loop. The system variable SY-STEPL is incremented each time. If a new value is assigned to the field, it is displayed in the module between LOOP and ENDLOOP. This module is also called once for each visible step loop line.&lt;/P&gt;&lt;P&gt;5. Can field exits be debugged ?&lt;/P&gt;&lt;P&gt;No. Field exits must be tested separately in the ABAP/4 Development Workbench. For errors which only occur in the screen environment, it is helpful to write interesting variables to the file system using TRANSFER... . These can then be analysed there.&lt;/P&gt;&lt;P&gt;6. What can you do if the field contents are no longer transported to ABAP/4?&lt;/P&gt;&lt;P&gt;Check whether a value is assigned to the field OUTPUT.&lt;/P&gt;&lt;P&gt;7. When is the field exit called if a conversion exit is attached to the data element?&lt;/P&gt;&lt;P&gt;The field exit is called after the conversion exit. This means that the INPUT field receives the data in the same format as the ABAP/4 program receives it.&lt;/P&gt;&lt;P&gt;8. Although a global field exit is inactive, a function module is called which does not exist (for example FIELD_EXIT_PROGRAMM_@). This can lead to an ABAP dump error when function module FIELD_EXIT_&amp;lt;data element name&amp;gt; is called.&lt;/P&gt;&lt;P&gt;This is an error in the kernel which no longer occurs as of Release 3.0C. As a temporary measure, it is useful to assign a program and a screen which do not exist to the field exit and then activate the field exit.&lt;/P&gt;&lt;P&gt;Due to performance reasons, the active/inactive indicator is stored in the screenload. This can cause inconsistencies between Source and Load. Generate the affected screen with se51. If you want to be sure that all screens that use the data element are regenerated, you can transfer Report rsmodfdg from the correction instructions and start it with se38. The Report uses the affected data element as the input parameter and regenerates all screens that use the data element.&lt;/P&gt;&lt;P&gt;9. Field exit is not visible in CMOD, although created.&lt;/P&gt;&lt;P&gt;If you want to create a field exit for a data element, a function module is proposed with the name FIELD_EXIT_&amp;lt;data_element&amp;gt;. This function module must exist for the field exit to work. If you do not create this function module, but do create one with a suffix, the data element is not displayed in CMOD.&lt;/P&gt;&lt;P&gt;10. Field exit is not executed although it is active.&lt;/P&gt;&lt;P&gt;Fields which do not have the 'Input field' attribute usually do not trigger a field exit. The field exit is designed to allow an extended input check. It is therefore only called for input fields - even if they are not ready for input at runtime of the application by LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;This rule does not apply, however, if the field is located within a steploop. Here the field will be always activated, even if it is invisible.&lt;/P&gt;&lt;P&gt;Field exits can only be executed for fields that are directly related to the dictionary. If the relation is indirect, i.e. via an ABAP declaration (&amp;lt;fieldname&amp;gt; LIKE &amp;lt;dictionary element&amp;gt;), no field exit can be executed.&lt;/P&gt;&lt;P&gt;11. Field exits do not work on selection screens.&lt;/P&gt;&lt;P&gt;Results from the previous item since ABAP-internal fields and never the original Dictionary fields are used on selection screens.&lt;/P&gt;&lt;P&gt;12. Field exists do not work on check buttons.&lt;/P&gt;&lt;P&gt;Field exits are only intended for input fields. As check buttons count as graphical elements, you cannot install field exits on them.&lt;/P&gt;&lt;P&gt;13. How can all screens that use a data element be generated?&lt;/P&gt;&lt;P&gt;If you want to be sure that all screens that use a specific data element are regenerated, you can transfer Report rsmodfdg from the correction instructions into a customer report (e.g. zsmodfdg). The Report regenerates all screens. In this way, you can ensure that active field exits refer to screens and that inactive exits cannot be called on any screen. The Report uses the affected data element as the input parameter. The affected data element is in the name of the exit: FIELD_EXIT_&amp;lt;data element name&amp;gt;.&lt;/P&gt;&lt;P&gt;14. Restriction of usage&lt;/P&gt;&lt;P&gt;Field exit technology was developed for input fields on dynpros and cannot be used for other/new dynpro elements. This means that this technology does not offer support for the new ScreenPainter elements such as graphical elements (e.g. checkbuttons, radiobuttons, dropdown listboxes), controls (except for table controls which are supported like a step loop), or selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below link, may be helpful for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm" target="test_blank"&gt;http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 13:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652746#M611571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T13:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652747#M611572</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;Screen exits are exits that allow you to use a reserved part of the screen (A subscreen) to display or &lt;/P&gt;&lt;P&gt;input data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is determined be SAP where the sub screen will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax is: CALL CUSTOMER-SUBSCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen exit is not processed untill the corresponding subscreen has been created in an &lt;/P&gt;&lt;P&gt;enhancement project, and the project has been activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function codes are only processed in the main screens flow logic&lt;/P&gt;&lt;P&gt;You are not allowed to enter a name for the subscreens command field&lt;/P&gt;&lt;P&gt;You are not allowed to define GUI stauses&lt;/P&gt;&lt;P&gt;You are not allowed to enter a value for Next screen&lt;/P&gt;&lt;P&gt;The global data of the program is not available for the subscreen. Data for the subscreen is provided &lt;/P&gt;&lt;P&gt;by function modules. These function modules belongs to the same function group as the subscreen&lt;/P&gt;&lt;P&gt;Subscreens are edited with transaction CMOD. When you activate a project containg subscreens, &lt;/P&gt;&lt;P&gt;the calling screen is regenerated and the subscreen is displayed next time you display the calling &lt;/P&gt;&lt;P&gt;screen&lt;/P&gt;&lt;P&gt;The developer must create the subscreen and the corresponding PBO and PAI modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to identify screen exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look after CALL CUSTOMER-SUBSCREEN in the screenprogram of the screen you want to modify.&lt;/P&gt;&lt;P&gt;Use transaction CMOD menu Utillities -&amp;gt; SAP enhancements to search for screen exits&lt;/P&gt;&lt;P&gt;Runthe report in the chapter Report for finding User Exit. Search for the words "screen exit" in the &lt;/P&gt;&lt;P&gt;report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of a screen exit can be found in an IDES system, transaction BC425_01 screen 200. You &lt;/P&gt;&lt;P&gt;can also take a look on function group WLF2 screen 0206.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 05:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-exits/m-p/2652747#M611572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T05:25:08Z</dc:date>
    </item>
  </channel>
</rss>

