‎2007 Jun 15 6:36 AM
Hi,
I need to produce a match code in which two columns of data are shown.
Problems are:
Whenever a row is selected, both values must be picked on a table control.
Need to change column names.
How can this be done?
Thanks.
‎2007 Jun 15 6:39 AM
Hi,
IN the event PROCESS ON VALUE-REQUEST..
Call the function module F4IF_INT_TABLE_VALUE_REQUEST and then in the return internal table...Get the values for both the fields..and assign to the screen fieldname..
Thanks,
Naren
‎2007 Jun 15 6:39 AM
Hi,
IN the event PROCESS ON VALUE-REQUEST..
Call the function module F4IF_INT_TABLE_VALUE_REQUEST and then in the return internal table...Get the values for both the fields..and assign to the screen fieldname..
Thanks,
Naren
‎2007 Jun 15 2:56 PM
Please, can you correct this code?
In my dynpro (3000) there is a tableview (table control). The two fields I would like to fill whenever I push F4 on one of them and click on a row are named after the original internal table fields, IT_DATOS-SECFAB and IT_DATOS-GRULIN.
So, I try to provide:
TYPES: BEGIN OF values,
secfab TYPE likp-secfab,
grulin TYPE likp-grulin,
END OF values.
DATA: it_fieldtab TYPE TABLE OF dfies WITH HEADER LINE,
it_return_tab TYPE TABLE OF ddshretval WITH HEADER LINE,
it_dynpfld_mapping TYPE TABLE OF dselc WITH HEADER LINE,
values_tab TYPE TABLE OF values.
it_fieldtab-tabname = 'LIKP'.
it_fieldtab-fieldname = 'SECFAB'.
APPEND it_fieldtab.
it_fieldtab-tabname = 'LIKP'.
it_fieldtab-fieldname = 'GRULIN'.
APPEND it_fieldtab.
CLEAR it_fieldtab.
it_dynpfld_mapping-fldname = 'SECFAB'.
it_dynpfld_mapping-dyfldname = 'IT_DATOS-SECFAB'.
APPEND it_dynpfld_mapping.
CLEAR it_dynpfld_mapping.
it_dynpfld_mapping-fldname = 'GRULIN'.
it_dynpfld_mapping-dyfldname = 'IT_DATOS-GRULIN'.
APPEND it_dynpfld_mapping.
CLEAR it_dynpfld_mapping.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'SECFAB'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'IT_DATOS-SECFAB'
TABLES
value_tab = values_tab
fieldtab = it_fieldtab
return_tab = it_return_tab
dynpfld_mapping = it_dynpfld_mapping.
What's wrong with that?
Thanks a lot.
‎2007 Jun 18 2:45 PM
‎2007 Jun 15 6:39 AM
Hi,
If you want to transfer data from a search help to more than one field on the table then you have to assign this search help at the table level.
Goto SE11 and open your strucutre and for the any one fields you want this search help to transfer data put you cursor there and then click on the Search help icon there mention you search help and do paramter mapping.
Then this will transfer data to multiple fields on the screen.
Regards,
Sesh
‎2007 Jun 15 3:07 PM
That does sound well, but, alas, I am unable to locate the icon you talk of.
I open the table LIKP on SE11, select the line corresponding to GRULIN (one of the two columns I need), and I search for the <i>search help icon</i>. Where should I look? If it is not so easy to explain with words, could you please send me a printscreen to <i>qwerty at ctv dot es</i>?
Thanks a lot.
‎2007 Jun 15 7:15 AM
Search helps can be implemented in a variety of ways:
please see the link for your use ...
<a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_imp.htm</a>
<a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm</a>
reward points if it is usefull ...
Girish