<?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: selection screen 2 connected parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459151#M216851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;here goes your code with commented my lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS: idzb TYPE z46_zestawy_skla-idz,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          nazwab TYPE z46_zestawy_skla-nazwa.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETERS: idzb TYPE t001-bukrs,&lt;/P&gt;&lt;P&gt;           nazwab TYPE t001-butxt.&lt;/P&gt;&lt;P&gt;data: dynfields type table of dynpread with header line.&lt;/P&gt;&lt;P&gt;data: return type table of ddshretval with header line.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR idzb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           tabname           = 'z46_zestawy_skla'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            tabname           = 't001'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           fieldname         = 'idz'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            fieldname         = 'bukrs'&lt;/P&gt;&lt;P&gt;            dynpprog          = sy-cprog&lt;/P&gt;&lt;P&gt;            dynpnr            = sy-dynnr&lt;/P&gt;&lt;P&gt;           dynprofield       = 'IDZB'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            return_tab        = return&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            field_not_found   = 1&lt;/P&gt;&lt;P&gt;            no_help_for_field = 2&lt;/P&gt;&lt;P&gt;            inconsistent_help = 3&lt;/P&gt;&lt;P&gt;            no_values_found   = 4&lt;/P&gt;&lt;P&gt;            others            = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE return WITH KEY FIELDNAME = 'IDZB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynfields-fieldname = return-retfield.&lt;/P&gt;&lt;P&gt;dynfields-fieldvalue = return-fieldval.&lt;/P&gt;&lt;P&gt;APPEND dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jul 2006 03:04:47 GMT</pubDate>
    <dc:creator>Private_Member_26822</dc:creator>
    <dc:date>2006-07-08T03:04:47Z</dc:date>
    <item>
      <title>selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459142#M216842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have 2 fields. Both are "F4 enabled" ( they are of type of key fields in one DBtable, and those DBtable fields have domains, which have value check with their table). And I want these 2 parameters to be connected - when I choose value in 1, value in the 2nd should be placed, and vice versa.&lt;/P&gt;&lt;P&gt;(What I miss is some event like on value-request...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459142#M216842</guid>
      <dc:creator>Private_Member_26822</dc:creator>
      <dc:date>2006-07-07T15:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459143#M216843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOu have to use the function module dynp_values_update to have the second parameter field set.&lt;/P&gt;&lt;P&gt;This code has to be in at selection-screen on value request event.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459143#M216843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T15:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459144#M216844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the example program below.  This is how you can update the screen with the other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .

parameters: p_bukrs type t001-bukrs,
            p_butxt type t001-butxt,
            p_ort01 type t001-ort01,
            p_land1 type t001-land1.

data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.

at selection-screen on value-request for p_bukrs.

  call function 'F4IF_FIELD_VALUE_REQUEST'
       exporting
            tabname           = 'T001'
            fieldname         = 'BUKRS'
            dynpprog          = sy-cprog
            dynpnr            = sy-dynnr
            dynprofield       = 'P_BUKRS'
       tables
            return_tab        = return
       exceptions
            field_not_found   = 1
            no_help_for_field = 2
            inconsistent_help = 3
            no_values_found   = 4
            others            = 5.

  read table return with key fieldname = 'P_BUKRS'.

* Add it back to the dynpro.
  dynfields-fieldname = return-retfield.
  dynfields-fieldvalue =  return-fieldval.
  append dynfields.

* Get the company code from db and add to dynpro
  data: xt001 type t001.

  clear xt001.
  select single * into xt001
         from t001
        where bukrs = return-fieldval.

  dynfields-fieldname = 'P_BUTXT'.
  dynfields-fieldvalue = xt001-butxt.
  append dynfields.

  dynfields-fieldname = 'P_ORT01'.
  dynfields-fieldvalue = xt001-ort01.
  append dynfields.

  dynfields-fieldname = 'P_LAND1'.
  dynfields-fieldvalue = xt001-land1.
  append dynfields.

* Update the dynpro values.
  call function 'DYNP_VALUES_UPDATE'
       exporting
            dyname     = sy-cprog
            dynumb     = sy-dynnr
       tables
            dynpfields = dynfields
       exceptions
            others     = 8.

start-of-selection.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459144#M216844</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-07T15:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459145#M216845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the DYNP_VALUES_UPDATE function. Search the forum with the term DYNP_VALUES_UPDATE. There have been similar queries off late.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459145#M216845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T15:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459146#M216846</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;Use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name eq 'FIELD1'.&lt;/P&gt;&lt;P&gt;    P_FIELD2 = 'VALUE_123'.&lt;/P&gt;&lt;P&gt;  ELSEIF SCREEN-NAME EQ 'FIELD2'.&lt;/P&gt;&lt;P&gt;    p_FIELD1 = 'VALUE_567'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459146#M216846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T15:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459147#M216847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Plusa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the on value request event for the second parameter para2, you can place a check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose, first parameter para1 gets data from table t1 and based on this value paramter 2 should list should get data from table t2. so in the on value request of second parameter para2 write a select from table t2 with a where condition that states value selected in para1. And finally call the function module DYNP_VALUES_UPDATE. which will help you getting the new selection screen values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this example will help you in understand the concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459147#M216847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T15:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459148#M216848</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 the sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_F4HELP                              .

*---Report with selection screen and to display the list of
* possible entries for field 'B' as per the value in field 'A'.


parameters: p_vbeln type vbak-vbeln,
            p_posnr type vbap-posnr.

at selection-screen on value-request for p_posnr.


  data: begin of help_item occurs 0,
          posnr type vbap-posnr,
          matnr type vbap-matnr,
          arktx type vbap-arktx,
        end of help_item.

  data: dynfields type table of dynpread with header line.


  dynfields-fieldname = 'P_VBELN'.
  append dynfields.

  call function 'DYNP_VALUES_READ'
       exporting
            dyname               = sy-cprog
            dynumb               = sy-dynnr
            translate_to_upper   = 'X'
       tables
            dynpfields           = dynfields
       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.


  read table dynfields with key fieldname = 'P_VBELN'.

  p_vbeln = dynfields-fieldvalue.


  call function 'CONVERSION_EXIT_ALPHA_INPUT'
       exporting
            input  = p_vbeln
       importing
            output = p_vbeln.

  select posnr matnr arktx into table help_item
                 from vbap
                      where vbeln = p_vbeln.



  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'POSNR'
            dynprofield = 'P_POSNR'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = help_item.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 15:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459148#M216848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T15:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459149#M216849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the example. It works, but when I change the names of table and fields, there is no F4 action.&lt;/P&gt;&lt;P&gt;If the DBtable has to be "tuned", what should be set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 21:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459149#M216849</guid>
      <dc:creator>Private_Member_26822</dc:creator>
      <dc:date>2006-07-07T21:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459150#M216850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 21:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459150#M216850</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-07T21:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459151#M216851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;here goes your code with commented my lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS: idzb TYPE z46_zestawy_skla-idz,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          nazwab TYPE z46_zestawy_skla-nazwa.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETERS: idzb TYPE t001-bukrs,&lt;/P&gt;&lt;P&gt;           nazwab TYPE t001-butxt.&lt;/P&gt;&lt;P&gt;data: dynfields type table of dynpread with header line.&lt;/P&gt;&lt;P&gt;data: return type table of ddshretval with header line.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR idzb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           tabname           = 'z46_zestawy_skla'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            tabname           = 't001'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           fieldname         = 'idz'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            fieldname         = 'bukrs'&lt;/P&gt;&lt;P&gt;            dynpprog          = sy-cprog&lt;/P&gt;&lt;P&gt;            dynpnr            = sy-dynnr&lt;/P&gt;&lt;P&gt;           dynprofield       = 'IDZB'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            return_tab        = return&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            field_not_found   = 1&lt;/P&gt;&lt;P&gt;            no_help_for_field = 2&lt;/P&gt;&lt;P&gt;            inconsistent_help = 3&lt;/P&gt;&lt;P&gt;            no_values_found   = 4&lt;/P&gt;&lt;P&gt;            others            = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE return WITH KEY FIELDNAME = 'IDZB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynfields-fieldname = return-retfield.&lt;/P&gt;&lt;P&gt;dynfields-fieldvalue = return-fieldval.&lt;/P&gt;&lt;P&gt;APPEND dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 03:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459151#M216851</guid>
      <dc:creator>Private_Member_26822</dc:creator>
      <dc:date>2006-07-08T03:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459152#M216852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


PARAMETERS: idzb TYPE z46_zestawy_skla-idz,
            nazwab TYPE z46_zestawy_skla-nazwa.

data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR idzb.
 
data: iz46_zestawy_skla type table of z46_zestawy_skla with header line.

clear iz46_zestawy_skla. refresh iz46_zestawy_skla.
select * into table iz46_zestawy_skla from z46_zestawy_skla.
sort iz46_zestawy_skla ascending

clear dynfields. refresh dynfields.

  call function 'F4IF_FIELD_VALUE_REQUEST'
       exporting
*            tabname           = 'Z46_ZESTAWY_SKLA'
*            fieldname         = 'IDZB'
            dynpprog          = sy-cprog
            dynpnr            = sy-dynnr
            dynprofield       = 'IDZ'
       tables
            return_tab        = return
            value_tab         = iz46_zestawy_skla 
       exceptions
            field_not_found   = 1
            no_help_for_field = 2
            inconsistent_help = 3
            no_values_found   = 4
            others            = 5.
 
  read table return with key fieldname = 'IDZB'.
 
* Add it back to the dynpro.
  dynfields-fieldname = return-retfield.
  dynfields-fieldvalue =  return-fieldval.
  append dynfields.
 
read table iz46_zestawy_skla  with key idz = return-fieldval.
 
  dynfields-fieldname = 'NASWAB'.
  dynfields-fieldvalue = iz46_zestawy_skla-nazwa.
  append dynfields.
 
 
* Update the dynpro values.
  call function 'DYNP_VALUES_UPDATE'
       exporting
            dyname     = sy-cprog
            dynumb     = sy-dynnr
       tables
            dynpfields = dynfields
       exceptions
            others     = 8.



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 12:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459152#M216852</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-08T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen 2 connected parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459153#M216853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answers; what I have wanted I did by a search help; sorry by vacation leave delay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 12:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-2-connected-parameters/m-p/1459153#M216853</guid>
      <dc:creator>Private_Member_26822</dc:creator>
      <dc:date>2006-08-07T12:28:35Z</dc:date>
    </item>
  </channel>
</rss>

