<?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 Complete fields in dynpro after input help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324200#M1395059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello expert.&lt;/P&gt;&lt;P&gt;This is my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 input fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD1&lt;/P&gt;&lt;P&gt;FIELD2&lt;/P&gt;&lt;P&gt;FIELD3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 has martchcode, and i want after select the value from the search help of field1, that field2 and field3 be completed with some data&lt;/P&gt;&lt;P&gt;I put the code to complete the field2 and field3 in the PBO, but, the pbo doesnt execute until the user press enter.&lt;/P&gt;&lt;P&gt;How can i do, that after the user select the value from the help, but without press enter, the field be completed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2009 14:04:32 GMT</pubDate>
    <dc:creator>mariano_gallicchio2</dc:creator>
    <dc:date>2009-11-06T14:04:32Z</dc:date>
    <item>
      <title>Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324200#M1395059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello expert.&lt;/P&gt;&lt;P&gt;This is my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 input fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD1&lt;/P&gt;&lt;P&gt;FIELD2&lt;/P&gt;&lt;P&gt;FIELD3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 has martchcode, and i want after select the value from the search help of field1, that field2 and field3 be completed with some data&lt;/P&gt;&lt;P&gt;I put the code to complete the field2 and field3 in the PBO, but, the pbo doesnt execute until the user press enter.&lt;/P&gt;&lt;P&gt;How can i do, that after the user select the value from the help, but without press enter, the field be completed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 14:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324200#M1395059</guid>
      <dc:creator>mariano_gallicchio2</dc:creator>
      <dc:date>2009-11-06T14:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324201#M1395060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question is not clear &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are executing Help which process on value request event.... the control should go to PBO automatically when you add the fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So write the help functionality under POV event. Read help on it or post clearly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 14:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324201#M1395060</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-11-06T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324202#M1395061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for mi english Sampath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is mi code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;porcess before output.&lt;/P&gt;&lt;P&gt;              module complete_fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process on value-request.&lt;/P&gt;&lt;P&gt;               field field1 module module_field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the module execute the function F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the PBO is not executed after select a value for field1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 14:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324202#M1395061</guid>
      <dc:creator>mariano_gallicchio2</dc:creator>
      <dc:date>2009-11-06T14:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324203#M1395062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see this program for Dropdown value's &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEMO_DYNPRO_DROPDOWN_LISTBOX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEMO_DROPDOWN_LIST_BOX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see this  link for  more infomation[http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&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, 06 Nov 2009 14:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324203#M1395062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-06T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324204#M1395063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mariano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  t_dynpread-fieldname = p_fieldname.
  t_dynpread-fieldvalue = p_fieldvalue.
  APPEND t_dynpread.

  CALL FUNCTION 'DYNP_UPDATE_FIELDS'
    EXPORTING
      dyname               = sy-repid
      dynumb               = sy-dynnr
      request              = sy-ftype
    TABLES
      dynpfields           = t_dynpread
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      undefind_error       = 7

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 15:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324204#M1395063</guid>
      <dc:creator>danilo_henriques</dc:creator>
      <dc:date>2009-11-06T15:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324205#M1395064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mariano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create a custom search help where you define field2 and field3 additionally as export parameters and everything is done, probaly without any programming.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 15:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324205#M1395064</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-06T15:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324206#M1395065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Clemens, thanks,&lt;/P&gt;&lt;P&gt;I have create the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My quiestion is:&lt;/P&gt;&lt;P&gt;How map the 2 others parameters to the field2 and field3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 16:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324206#M1395065</guid>
      <dc:creator>mariano_gallicchio2</dc:creator>
      <dc:date>2009-11-06T16:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324207#M1395066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the return tab of the function module. If you get them in the tab then you can map them to your fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it does not go through PBO... use dunpro update fm (some one already posted here)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 16:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324207#M1395066</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-11-06T16:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324208#M1395067</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;U can do it in the POV event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST for a selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST for a dynpro (in this case the abap code has to be placed in a MODULE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is always the same, after selecting the data of the first field, it needs to select and transfer the data to other input fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It needs to use the fm DYNP_VALUES_UPDATE in order to fill the fields not managed in the events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: P_BUKRS LIKE T001-BUKRS,
            P_BUKR1 LIKE T001-BUKRS,
            P_BUKR2 LIKE T001-BUKRS.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BUKRS.

  DATA: DYNAME LIKE  D020S-PROG,
        DYNUMB LIKE  D020S-DNUM,
        DYNPFIELDS TYPE TABLE OF DYNPREAD WITH HEADER LINE.

  DATA: RETURN_TAB LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE.

  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      TABNAME    = 'T001'
      FIELDNAME  = 'BUKRS'
    TABLES
      RETURN_TAB = RETURN_TAB.

  READ TABLE RETURN_TAB INDEX 1.

  MOVE RETURN_TAB-FIELDVAL TO P_BUKRS.

  CHECK P_BUKRS = 'MAAB'.

  DYNAME = SY-REPID.
  DYNUMB = SY-DYNNR.

  DYNPFIELDS-FIELDNAME = 'P_BUKR1'.
  DYNPFIELDS-FIELDVALUE = 'AAAA'.
  APPEND DYNPFIELDS.

  DYNPFIELDS-FIELDNAME = 'P_BUKR2'.
  DYNPFIELDS-FIELDVALUE = 'BBBB'.
  APPEND DYNPFIELDS.

  CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
      DYNAME     = DYNAME
      DYNUMB     = DYNUMB
    TABLES
      DYNPFIELDS = DYNPFIELDS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 16:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324208#M1395067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-06T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324209#M1395068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mariano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the desired values as export in search help interface. Connection is done via data element on screen.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324209#M1395068</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-06T18:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Complete fields in dynpro after input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324210#M1395069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, thank a lot for the answers, i took max`s solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complete-fields-in-dynpro-after-input-help/m-p/6324210#M1395069</guid>
      <dc:creator>mariano_gallicchio2</dc:creator>
      <dc:date>2009-11-06T18:04:04Z</dc:date>
    </item>
  </channel>
</rss>

