<?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 Field Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224274#M1009236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we access global screen values in field exit. Say, if we are creating a field exit for posting date then can we access other data such as plant material displayed on the screen inside the field exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ HELP!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 09:54:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T09:54:54Z</dc:date>
    <item>
      <title>Field Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224274#M1009236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we access global screen values in field exit. Say, if we are creating a field exit for posting date then can we access other data such as plant material displayed on the screen inside the field exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ HELP!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224274#M1009236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T09:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224275#M1009237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can read the screen values by using Function Module: DYNP_VALUES_READ. You have to populate Screen number, name and internal table with Screen Field for which you need values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224275#M1009237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T10:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Field Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224276#M1009238</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 can very well do that for that you got to identify the program name and the screen number and call the FM &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  T_DYNPREAD-FIELDNAME = 'AFVGD-ARBPL'.      "Maintenance item Flow
  APPEND T_DYNPREAD.
  T_DYNPREAD-FIELDNAME = 'AFVGD-WERKS'.      "Maintenance item Flow
  APPEND T_DYNPREAD.

  W_PROG = 'SAPLCOIH'.
  W_DNUM = '3800'.


   CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
             DYNAME                   = W_PROG"     
             DYNUMB                   = W_DNUM
*            TRANSLATE_TO_UPPER       = ' '
*            REQUEST                  = ' '
*            PERFORM_CONVERSION_EXITS = ' '
*            PERFORM_INPUT_CONVERSION = ' '
*            DETERMINE_LOOP_INDEX     = ' '
        TABLES
             DYNPFIELDS               = T_DYNPREAD
        EXCEPTIONS
             INVALID_ABAPWORKAREA     = 1
             INVALID_DYNPROFIELD      = 2
             INVALID_DYNPRONAME       = 3
             INVALID_DYNPRONUMMER     = 4
             INVALID_REQUEST          = 5
             NO_FIELDDESCRIPTION      = 6
             INVALID_PARAMETER        = 7
             UNDEFIND_ERROR           = 8
             DOUBLE_CONVERSION        = 9
             STEPL_NOT_FOUND          = 10
             OTHERS                   = 11.
    IF SY-SUBRC IS INITIAL.
      READ TABLE T_DYNPREAD WITH KEY FIELDNAME = 'AFVGD-WERKS'.
      IF SY-SUBRC IS INITIAL.
        CLEAR: OUTPUT.
        CONCATENATE T_DYNPREAD-FIELDVALUE ' / ' INTO OUTPUT.
      ENDIF.
      READ TABLE T_DYNPREAD WITH KEY FIELDNAME = 'AFVGD-ARBPL'.
      IF SY-SUBRC IS INITIAL.
        CONCATENATE OUTPUT T_DYNPREAD-FIELDVALUE INTO OUTPUT
                            SEPARATED BY SPACE.
      ENDIF.
    ENDIF. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or do this way ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   OUTPUT = INPUT.
 FIELD-SYMBOLS : &amp;lt;FS&amp;gt;.
 DATA: ASSIGNFIELD(21) TYPE C,
       L_LINE LIKE SY-STEPL,
       V_BANFN LIKE EBAN-BANFN,
       V_IDATE(10),
       V_ODATE(10),
       V_KDATE LIKE EKKO-KDATE,
       V_BNFPO LIKE EBAN-BNFPO.

 DATA: WA_ZMP19 LIKE ZMP19 OCCURS 0 WITH HEADER LINE.

 GET CURSOR LINE L_LINE.
 IF SY-STEPL NE L_LINE.
   EXIT.
 ENDIF.

 V_IDATE = OUTPUT.
 CONCATENATE V_IDATE+6(4) V_IDATE+3(2) V_IDATE+0(2) INTO V_ODATE.
*  message e000(zz) with v_odate.
 ASSIGNFIELD = '(SAPMM06B)AEBAN-BANFN'.
 ASSIGN (ASSIGNFIELD) TO &amp;lt;FS&amp;gt;.
 IF SY-SUBRC = 0.
   MOVE &amp;lt;FS&amp;gt; TO V_BANFN.
 ENDIF.
 V_BNFPO = SY-STEPL.

 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224276#M1009238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T10:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224277#M1009239</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;Yes. We can access global values in field exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check OSS Note 29377 (FAQ on Field Exits)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is something interesting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u201CIn principle, every field exit can store its value in the global variables of the function group (TOP) and make them available to other field exits.u201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the values stored in the TOP include of the function group can be accessed in other field exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-exit/m-p/4224277#M1009239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T10:26:59Z</dc:date>
    </item>
  </channel>
</rss>

