‎2009 Mar 09 6:41 AM
Please use a more informative subject line in future
how can a customized field get to have a loop-up like a search help? i didnt use a data element. is it really necessary ? because if i use a data element, it will get the data from that data element and not from my table.
Edited by: Matt on Mar 9, 2009 10:24 AM
‎2009 Mar 09 6:50 AM
Hi,
Refer to My [Sample Code|; if you are using FM F4IF_INT_TABLE_VALUE_REQUEST than the internal table you are using to pass to that FM you must have all the variables type define in data dictionary if you will use like pernr type c it will not show this in the search help you can use pernr LIKE pa0001-pernr or pernr TYPE PERSNO
Please Reply if any Problem,
Kind Regards,
Faisal
‎2009 Mar 09 6:43 AM
hi
If you use data element it wil ask for domain .
In domain we wil have check table then we can data from check table .
Its best practice to maintain Data element .
‎2009 Mar 09 6:44 AM
Hi,
For the custom field also you can create a search help using transaction SE11.
‎2009 Mar 09 6:44 AM
Hi,
Can you please explain a bit more clear....!
Regards,
Tarun
‎2009 Mar 09 6:49 AM
Check this [link>>>|https://www.sdn.sap.com/irj/scn/wiki?path=/display/erp6/fm%252bhelp_values_get_with_table%252bobsolete%252breplace%252bwith%252bf4if_int_table_value_request] for custom field search help.
~Satya
‎2009 Mar 09 6:46 AM
Hi,
Try using
AT SELECTION-SCREEN ON VALUE-REQUEST FOR field
-
use FM 'F4IF_INT_TABLE_VALUE_REQUEST'
Regards,
jaya
‎2009 Mar 09 6:50 AM
Hi,
Refer to My [Sample Code|; if you are using FM F4IF_INT_TABLE_VALUE_REQUEST than the internal table you are using to pass to that FM you must have all the variables type define in data dictionary if you will use like pernr type c it will not show this in the search help you can use pernr LIKE pa0001-pernr or pernr TYPE PERSNO
Please Reply if any Problem,
Kind Regards,
Faisal
‎2009 Mar 09 8:17 AM
‎2009 Mar 09 7:08 AM
When you define a field by <table name>-<field name> it does not link the data of that table to your field.
Instead the type of that field becomes similar to that field of the table
So rather than using the field name to declare a variable you can use data element.
And this way you can assure your code to work even if that table does not exist in some other client.
And you also find the search help available for that data element in your field.
Thanks & Regards,
Lalit Mohan Gupta.
‎2009 Mar 09 7:34 AM
oh sorry, i mean look-up. the list where u can select records, if a user doesnt know what to specifc data to display. i tried to create a search help, but we're not allowed to create.
Edited by: lan sdng on Mar 9, 2009 9:07 AM
‎2009 Mar 09 9:25 AM