‎2011 Aug 25 4:58 PM
Hi experts,
Please, I need help for creatin a new Search help for a field.
In my screen I have 3 fields that has common connection one field. The problem is, how can I proceed to read only the specific field and shown only those specific values in a matchcode?
I've created an elementary search help and this one has a Selection method, how can I put in the selection conditions some code refering to a dynamic field?
Thanks in advance,
Regards,
Rebeca
‎2011 Aug 25 6:52 PM
I am not very sure, what you are trying to ask.
Please provide some examples to explain clearly.
If you want to use search help for a field.
selection-screen : s_carrid for carrid
‎2011 Aug 25 7:41 PM
Sorry...
I hope I can explain it better.
I've created an OM Infotype. This OM infotype has 3 fields. This infotype must be filled accoriding the object C. I've created also this, the only problem that I have are the matchcode for all of them. These matchcode should use a restricted help search. I've created for each field a search help, using a view to the table and in SE11 an elementary help. This works but my problem now is to restrict this values with only the specific entry that C object gives, example:
Object C is AAA
Field one shoudl only have in the matchcode one entry (select at the table with the key of this Key from C object)
Fields two and three should have all entries related with that C key, imagine 3 entries.
I've seen that in the Selection method allows you to put some conditions, but only constant conditions, and I don't have that information 'cause the condition is dynamic.
I ask if it will be possible to create a short code that allows to short the matchcode using only the specific fields, or I've to create this using code, FM F4IF_FIELD_VALUE_REQUEST in the module pool...
Do you know if this could be created using this or maybe I should create all by code using FM?
Thanks a lot!!!
‎2011 Aug 25 7:49 PM
Hi
All Search help have to have the field C as import parameter, that means the field C has to be an element of the selection method.
If you assign the search help to the field of the infotype and you use it to draw the screen you should the result you need automatically
I means if you set all in the dictionary you should do nothing in the screen
Max
‎2011 Aug 25 8:08 PM
Wow, I think this is too complex for me...do you have any screenshots for that?
What shoul I do then, put the HRP1000-SHORT in the selection method? And this will automatically generated what I say? I don't have Saplogon here, but tomorrow I will test it.
According to this, I should create in the Tables tab define the table HPR1000. When I put the connection with the other tables I should put HRP1000 SHORT EQ PXXX - SHORT and then I will obtain what I want? If the problem is this...I think I'm blind!!!
Thanks a lot for your response, I see some light at the end of the tunnel!!!
‎2011 Aug 26 8:16 AM
Hi Max,
I've tried to do what you told me, and I have one doubt, my HRP1000-short hasn't the same characters to the field PXXX-field, so I can do the join using this.... how can I solve this?? Is any way to cut the HRP1000-short only to three characters?
Thanks a lot!!!
Regards,
Rebeca
‎2011 Aug 25 7:33 PM
Use search help exit.....
please check the below link :
http://www.iconet-ltd.co.uk/how_to_entry.php?id=110&keyword=search%20help.
Regards
Aravind.