2012 Nov 19 12:03 PM
Hi Guru's,
I have a screen in Module pool which has 6 input fields, each input field is attached to the same search help.
EMPID
EMPNAME
PHONE
DEPTID
DEPTDESC
These fields are from 'Z' table. I have created a collective search help USING these 6 fields. All the 6 fields are marked for IMPORT and EXPORT.
So whenever i click F4 on any of the above 6 fields, It will display search help popup and returns some rows...But the values are transfered back only for 1 fields ..i.e for the first field only (EMPID).
I want that ...as soon as i select any of the row from Search hit list..corresponding field from that row should get populated.
Regards,
Rithika.
2012 Nov 21 7:49 AM
Please give detailed screen shot one more time for:
I’m using following table
Zktest_coll is a collective search help included in Entry help/check tab of the table
Elementary search help zktest created using the fields which I need in screen
ZKTEST_COLL collective search help details
Regards
2012 Nov 19 1:04 PM
Do a parameter assignment for all the six field in your collective search help. You get the button "Param.Assignment" in Included search help tab. See standard collective search help DEBI and included search help DEBID for your reference.
2012 Nov 19 1:25 PM
To simplify the situation create a elementary search help USING these 6 fields.
Attach search help to these 6 fields in 'Z' table using SE11(Explicit search help attachment to field).
2012 Nov 20 5:59 AM
I have done the parameter assignment for these fields also, still the problem exist. I have created this collective search by including two 'z' search help , and i have also tried attaching elementary search help to these fields in z table. Nothing is working.
Rgds,
Rithika
2012 Nov 20 11:53 AM
I did it by myself. And it works like a charm. Here are the steps what I followed.
1. Create a elementary search help for all the fields and remember to tick the "export" check box for the field you want to transfer from screen.
2. Create a collective search help. This is optional and will only be required if you want to include more that one search help. Do the parameter assignment as I suggested earlier.
3. Create a dictionary structure with all the fields and add the search help in the field level by search help assignment in the Entry help/Check tab in SE11.
4. Now refer the field to the dictionary structure ( e. g. STRUCTURE-FIELD1) that was created in Step 3.
Now it should work.
Hope it helps.
2012 Nov 21 9:53 AM
Dear Rudra,
Firstly thanks for your reply and effort, But i tried all the above steps you mentioned still my problem exist, for your better understand look into the detailed screen shot below:
I’m using following table:
Zktest_coll is a collective search help included in Entry help/check tab of the table
Elementary search help zktest created using the fields which I need in screen:
ZKTEST_COLL collective search help details:
Parameter assignment of the fields in collective search help
Zktest1 is the check table for zktest just for reference I’m showing this, I’m not using this table in my screen, will use in future.
My screen details:
Empid
Empname
Deptid is the listbox in the screen
Phone
Still all the fields are taking empid in my output
Regards,
Rithika
2012 Nov 19 1:24 PM
Hello,
Try to directly assign the value to the specific Selection screen parameter name..
Just a question, would it be possible that user can choose a value which is not pertaining to the combination of the 6 fields?
Regards,
KR
2012 Nov 19 2:27 PM
Hi
Check this threads
http://scn.sap.com/message/5647104
http://scn.sap.com/message/9667225
http://scn.sap.com/message/4215059
Thanks and Regards
Bhaskar V
2012 Nov 21 7:49 AM
Please give detailed screen shot one more time for:
I’m using following table
Zktest_coll is a collective search help included in Entry help/check tab of the table
Elementary search help zktest created using the fields which I need in screen
ZKTEST_COLL collective search help details
Regards
2012 Nov 22 6:49 AM
Dear Boris,
Here is the detailed screenshot for what you asked,
I’m using following table
Zktest_coll is a collective search help included in Entry help/check tab of the table
Elementary search help zktest created using the fields which I need in screen
ZKTEST_COLL collective search help details
Zktest1 is the check table for zktest just for reference I’m showing this, I’m not using this table in my screen, will use in future.
Regards
Rithika.
2012 Nov 22 2:08 PM
Hi Rithika,
I think that you should start with a simpler version, get it to work, and then gradually move to your case.
I did following steps with standard objects of SAP , so you can replicate,check and
compare your development with my work.
1. Create a table ZKTEST.
2. Create a help view ZKTEST_VIEW.
3. Create a elementary search help ZKTEST.
4. Create a collective search help ZKTEST_COLL.
5. Assign collective search help ZKTEST_COLL to fields in SE11.
Hope it helps.
2012 Nov 23 10:37 AM
Dear Boris,
I have followed the steps as you said, but the problem is not not solved, i think am making some mistake in module pool screen in assignment part of search help to the field. Can you give screen shot of module pool screen with search help assignment to the field. It will be helpful.
Thanks,
2012 Nov 25 8:31 AM
You must only create fields on module pool screen without assignment of search help to them.
The fields automatically will be assigned to search help by inheritance from data dictionary properties.
Regards
Boris
2012 Nov 26 6:09 AM
Dear Boris,
Thank you, your solution solved my problem. But i want to know in what type of situation we should use the search help assignment for the screen field.
Regards,
Rithika
2012 Nov 26 7:58 AM
Hi Rithika,
Have a look at
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee93446011d189700000e8322d00/content.htm
Regards
Boris
2012 Nov 27 6:51 AM
2012 Nov 21 11:54 AM
Rithika,
Pass the data elements to the Search method as exporting parameters.
All the other configuration looks fine for me.
Regards,
SK
2012 Nov 22 6:54 AM
Dear SK,
You are asking me to make search help parameter in zktest_coll(collective search help) to export parameter rite? previously i ticked both export and import parameter, now as you said i ticked only export paratmeter but my problem is not solved yet.
Regards,
Rithika
2012 Nov 22 9:52 AM
Hi Rithika,
May be the problem is that you have drop down fields instead of normal fields with Search help. Please try with converting them to normal fields.
You can also try to with POV and using F4IF_INT_TABLE_VALUE_REQUEST FM and then populate the data programmatically.
2012 Nov 22 10:53 AM
Dear Rudra,
Except DeptID all the fields are normal fields only, its not working for normal fields also, i can use F4IF_INT_TABLE_VALUE_REQUEST, but my question is why is it not working if i assign search help to the field.
2012 Nov 22 11:04 AM
I don't know. I tried by myself and it worked perfectly fine. So i thought it might be due to drop down listbox.