<?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: Read transcation screen and fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865603#M1476362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do want to get all the fields in the transaction with values(if entered),, you can use the below FM.&lt;/P&gt;&lt;P&gt;DYNP_VALUES_READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the program name and screen number...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Apr 2010 13:08:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-27T13:08:13Z</dc:date>
    <item>
      <title>Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865602#M1476361</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;There is API(method,FM) which we can use in order &lt;/P&gt;&lt;P&gt;to get the transaction screen and fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance if i put as input transaction FI03&lt;/P&gt;&lt;P&gt;i will get all the screens and fields of the transaction&lt;/P&gt;&lt;P&gt;per step .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alex Dean on Apr 27, 2010 2:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 11:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865602#M1476361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T11:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865603#M1476362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do want to get all the fields in the transaction with values(if entered),, you can use the below FM.&lt;/P&gt;&lt;P&gt;DYNP_VALUES_READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the program name and screen number...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 13:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865603#M1476362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T13:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865604#M1476363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try it and i get some error.&lt;/P&gt;&lt;P&gt;assume that i want to use transaction SU01 (or diff) &lt;/P&gt;&lt;P&gt;what should i pass in the parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 14:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865604#M1476363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T14:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865605#M1476364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please see the below example and declare the variables needed by the FM&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'DYNP_VALUES_READ'
  EXPORTING
    dyname                   = sy-cprog 
    dynumb                   = sy-dynnr
*           TRANSLATE_TO_UPPER       = ' '
    request                  = 'A'
*           PERFORM_CONVERSION_EXITS = ' '
*           PERFORM_INPUT_CONVERSION = ' '
  TABLES
    dynpfields               = l_dynpfields
  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
    OTHERS                   = 10.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 14:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865605#M1476364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T14:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865606#M1476365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps we should add the comment that DYNP_VALUES_READ will fetch &lt;STRONG&gt;the content of the fields&lt;/STRONG&gt;  only if the dynpro, from which you want to get the field values, is currently the active dynpro or if it is in the call stack. This means that you must first execute transaction FI03 so that the dynpro gets loaded and afterwards you execute DYNP_VALUES_READ.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex, &lt;/P&gt;&lt;P&gt;Do you really want &lt;STRONG&gt;the content of the fields&lt;/STRONG&gt; or just the &lt;STRONG&gt;name of the fields&lt;/STRONG&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865606#M1476365</guid>
      <dc:creator>adrian_dorn</dc:creator>
      <dc:date>2010-04-27T15:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865607#M1476366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrain,&lt;/P&gt;&lt;P&gt;you are right. once you run the transaction, then within that transaction, this FM returns the fields in the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865607#M1476366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-27T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865608#M1476367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Adrian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it for both .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 11:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865608#M1476367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T11:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865609#M1476368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This FM gets you both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 12:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865609#M1476368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T12:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865610#M1476369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks but how i use it for transaction such su01 va01 se11 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 13:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865610#M1476369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Read transcation screen and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865611#M1476370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Table is Some what useful look at once,&lt;/P&gt;&lt;P&gt;D021T-Screen Key Word Texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghava Channooru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 13:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-transcation-screen-and-fields/m-p/6865611#M1476370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T13:20:00Z</dc:date>
    </item>
  </channel>
</rss>

