Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

select-options

Former Member
0 Likes
1,157

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

1 ACCEPTED SOLUTION
Read only

faisalatsap
Active Contributor
0 Likes
1,137

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

10 REPLIES 10
Read only

kamesh_g
Contributor
0 Likes
1,137

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 .

Read only

Former Member
0 Likes
1,137

Hi,

For the custom field also you can create a search help using transaction SE11.

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,137

Hi,

Can you please explain a bit more clear....!

Regards,

Tarun

Read only

Former Member
0 Likes
1,137

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

Read only

Former Member
0 Likes
1,137

Hi,

Try using

AT SELECTION-SCREEN ON VALUE-REQUEST FOR field

-


use FM 'F4IF_INT_TABLE_VALUE_REQUEST'

Regards,

jaya

Read only

faisalatsap
Active Contributor
0 Likes
1,138

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

Read only

0 Likes
1,137

hi faisal, thanks for the code!

Read only

Former Member
0 Likes
1,137

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.

Read only

Former Member
0 Likes
1,137

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

Read only

matt
Active Contributor
0 Likes
1,137

Please use a more informative subject line in future