<?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: Check field Initial. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302577#M1025983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i8n this case.. field1 will be having the name of the screen field right? i need to check if the value in that field is initial? Do i have to change the type of field1 to some predefined type. Mine is char now, so it will have the name of the screen field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2008 12:59:31 GMT</pubDate>
    <dc:creator>lijisusan_mathews</dc:creator>
    <dc:date>2008-08-05T12:59:31Z</dc:date>
    <item>
      <title>Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302573#M1025979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;is there some function module or other way by which i can check if a screen field, whose name is avalilable only at runtime as character field, is initial ?&lt;/P&gt;&lt;P&gt;Pls help..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302573#M1025979</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2008-08-05T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302574#M1025980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use 'DYNP_VALUES_READ' to read selection screen values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_dynpfields-fieldname = name. "-&amp;gt; select option to read&lt;/P&gt;&lt;P&gt;  APPEND it_dynpfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname                         = sy-cprog&lt;/P&gt;&lt;P&gt;      dynumb                         = sy-dynnr&lt;/P&gt;&lt;P&gt;      start_search_in_current_screen = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields                     = it_dynpfields&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea           = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield            = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname             = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer           = 4&lt;/P&gt;&lt;P&gt;      invalid_request                = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription            = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter              = 7&lt;/P&gt;&lt;P&gt;      undefind_error                 = 8&lt;/P&gt;&lt;P&gt;      double_conversion              = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found                = 10&lt;/P&gt;&lt;P&gt;      OTHERS                         = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aparna Gaikwad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302574#M1025980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T12:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302575#M1025981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Field-Symbols : &amp;lt;fs&amp;gt; type any.

Assign l_fieldaname to &amp;lt;fs&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302575#M1025981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T12:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302576#M1025982</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 it is possible to check whether teh field is initial or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field1 is the name of your screen element then try teh following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;if field1 is initial.&lt;/P&gt;&lt;P&gt;&amp;lt; required logic&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302576#M1025982</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2008-08-05T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302577#M1025983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i8n this case.. field1 will be having the name of the screen field right? i need to check if the value in that field is initial? Do i have to change the type of field1 to some predefined type. Mine is char now, so it will have the name of the screen field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302577#M1025983</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2008-08-05T12:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302578#M1025984</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;Plz get back again to understand your reuirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know the screen field's tech name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Place the curser on that field&lt;/P&gt;&lt;P&gt;2. click on F1&lt;/P&gt;&lt;P&gt;3. Click on technical settings icon in pop-up window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the field desripton only like "sales district"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. goto se15.&lt;/P&gt;&lt;P&gt;2. expand abap dictionary, fields....&lt;/P&gt;&lt;P&gt;3. Enter this discription in Field description filed in the screen...&lt;/P&gt;&lt;P&gt;4. Excute...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu can get all the field and table name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 12:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302578#M1025984</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-08-05T12:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302579#M1025985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Suzie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you reply me in detail. &lt;/P&gt;&lt;P&gt;there is one function module to read dynmaic value of field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module name : DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by this you cam get value in internal table it_dynpred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to declare this things in top ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_DYNPREAD TYPE STANDARD TABLE OF DYNPREAD,&lt;/P&gt;&lt;P&gt;        WA_DYNPREAD LIKE LINE OF IT_DYNPREAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DYNAME               = PROGNAME&lt;/P&gt;&lt;P&gt;      DYNUMB               = DYNNUM&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DYNPFIELDS           = IT_DYNPREAD&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      INVALID_ABAPWORKAREA = 1&lt;/P&gt;&lt;P&gt;      INVALID_DYNPROFIELD  = 2&lt;/P&gt;&lt;P&gt;      INVALID_DYNPRONAME   = 3&lt;/P&gt;&lt;P&gt;      INVALID_DYNPRONUMMER = 4&lt;/P&gt;&lt;P&gt;      INVALID_REQUEST      = 5&lt;/P&gt;&lt;P&gt;      NO_FIELDDESCRIPTION  = 6&lt;/P&gt;&lt;P&gt;      INVALID_PARAMETER    = 7&lt;/P&gt;&lt;P&gt;      UNDEFIND_ERROR       = 8&lt;/P&gt;&lt;P&gt;      DOUBLE_CONVERSION    = 9&lt;/P&gt;&lt;P&gt;      STEPL_NOT_FOUND      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE IT_DYNPREAD WITH KEY FIELDNAME = 'ZINCHILD-INCOMPCODE'&lt;/P&gt;&lt;P&gt;           INTO WA_DYNPREAD.&lt;/P&gt;&lt;P&gt;    CHECK SY-SUBRC = 0.&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;Vipul Darji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 13:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302579#M1025985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T13:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302580#M1025986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry that is not my requirement. I can get the screen field name at runtime in some field say,... 'myfield'. this is of type c.. So this field will have the value 'IT_TABNAME-BUKRS'. BUt i want to check if this field has some value in it. I hope I am clear now. If not pls get back&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 13:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302580#M1025986</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2008-08-05T13:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Check field Initial.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302581#M1025987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx a lot..I got it using 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suzie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 13:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-field-initial/m-p/4302581#M1025987</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2008-08-05T13:08:57Z</dc:date>
    </item>
  </channel>
</rss>

