Vous êtes sur la page 1sur 13

Collective Search Help

Business Scenario: Lets to find out the Name we can refer to two different tables which provides two
different ways of Name selection. Let's first create two tables and build to elementary search help on two
tables and use these elementary search help in the Collective Search Help.
Step 1. Go to TCODE-SE11, Create a table ZJAVA_TEAM.

[http://2.bp.blogspot.com/-B7EFHEOtXzk/UeVyc731dqI/AAAAAAAABvk/5zLnlmaO464/s1600/1.jpg]

Step 2. Provide the delivery class, save it local package and click on the Technical settings button.

[http://4.bp.blogspot.com/-10yj7MP0OQc/UeVyhQ-qUnI/AAAAAAAABw8/UFrxfDbyaGg/s1600/2.jpg]

Step 3. Provide the technical settings details as mentioned below and save it and at last click on the BACK
button.

[http://1.bp.blogspot.com/-nEZlHHmnO2I/UeVymT93F_I/AAAAAAAAByY/pWnF4_vQOgw/s1600/3.jpg]

Step 4. Mention the table Fields, data elements, primary keys and activate the table.

[http://1.bp.blogspot.com/-9E488WNbniQ/UeVynhkYIYI/AAAAAAAAByo/hafkRTWwF7A/s1600/4.jpg]

comments
yet the records in the table so that we can get some Names.
StepNo
5. At
last mention

Add a comment

[http://4.bp.blogspot.com/-eumVX14MFEc/UeVyoKje-xI/AAAAAAAAByw/41geuS8U96A/s1600/5.jpg]

Step 6. After record creation, we have the set of values in the table.

[http://1.bp.blogspot.com/-WQhWVvZ7jPs/UeVyoYduedI/AAAAAAAABy4/siIsKm92oF0/s1600/8.jpg]

Step 7. Let's create another table ZSAP_TEAM with same same delivery and technical details.
Maintain the same field name, data element, primary key fields and at last activate the table.

[http://3.bp.blogspot.com/-0jfOWNAoOxo/UeVypHhPEdI/AAAAAAAABzA/nU8BRIc_7eg/s1600/9.jpg]

Step 8. Let's maintain some records in this table also.

[http://3.bp.blogspot.com/-2PMtXDtTpTw/UeVyc-t1R9I/AAAAAAAABv8/_jxpBQFKD4o/s1600/10.jpg]

Step 9. All the records created in the table are shown below.

[http://3.bp.blogspot.com/-BAvKTPCKflQ/UeVydCUdqJI/AAAAAAAABvw/G4CXnOJtZGI/s1600/11.jpg]

Step 10. Let's create a elementary search help on table ZJAVA_TEAM. Go to TCODE-SE11, Provide the
Elementary search help name and click on create button.

[http://1.bp.blogspot.com/-kA05udQ5C6U/UeVydpSlCWI/AAAAAAAABwI/Cmti4aKPvrU/s1600/12.jpg]

Step 11. Select the Elementary Search Help radio button and then click on the Tick Button.

[http://1.bp.blogspot.com/-Z62cqr6T0/UeVyd9NISgI/AAAAAAAABwA/lPExfaYw8x8/s1600/13.jpg]

Step 12. Provide the short text, Under the Definition tab provide the Table name against the Selection
method. Mention the Search help parameter as field 'CRIC_NAME', select the Imp and Exp check box and
Provide LPos and SPos values as mentioned below and activate the Elementary search help. Now click on
the execute button to test the Search Help.

[http://4.bp.blogspot.com/-3WkPVCDLFss/UeVyfOwz-iI/AAAAAAAABwQ/fUxVvppfHPc/s1600/14.jpg]

Step 13. Click on the F4 button and it display a set of values.

[http://4.bp.blogspot.com/-xS-BwS6dfnc/UeVyfmlTUkI/AAAAAAAABwc/uW62ZK_D2js/s1600/15.jpg]

\Step 14. Again create elementary Search help, provide the name and click on Create button.

[http://1.bp.blogspot.com/-O_8i7bv4FII/UeVyfrxOf8I/AAAAAAAABwg/vfp8FMuYkA4/s1600/16.jpg]

Step 15. Provide the short text, Under the Definition tab provide the Table name against the Selection
method. Mention the Search help parameter as field 'CRIC_NAME', select the Imp and Exp check box and
Provide LPos and SPos values as mentioned below and activate the Elementary search help. Now click on
the execute button to test the Search Help.

[http://3.bp.blogspot.com/-U-2FfM_muPY/UeVyggakJPI/AAAAAAAABws/ZEZCPsGLp1w/s1600/17.jpg]

Step 16. Click on the F4 button and it display a set of values.

[http://3.bp.blogspot.com/-RlFRyB9RMuw/UeVyg1JSJMI/AAAAAAAABxM/2ydd0YuSS7s/s1600/18.jpg]

Step 17. Our two elementary search help is ready, Let's create Collective Search Help.
Provide the Search help name and click on the Create Button.

[http://3.bp.blogspot.com/-K4Ak5oYbBD8/UeVyg7LLwKI/AAAAAAAABww/JlyZW0-_-kI/s1600/19.jpg]

Step 18. Select the Collective Search Help Radio Button and click on Tick Button.

[http://3.bp.blogspot.com/-5qJAHDmdwpI/UeVyhUiKz2I/AAAAAAAABxA/87OdtONXkkU/s1600/20.jpg]

Step 19. Provide the Short text . Under the Definition tab, Provide the Search help parameter name and
click on the Imp and Exp Check Box. Now Click on the Included search helps tab.

[http://4.bp.blogspot.com/-MK9k5NA8NrE/UeVyiD9j0HI/AAAAAAAABxQ/nDEwN68a1wA/s1600/21.jpg]

Step 20. Under the Search help, mention previously created two elementary search help Name .

[http://3.bp.blogspot.com/-nuuUPTPh7C4/UeVyigSF0nI/AAAAAAAABxc/RgHhDlbAn2I/s1600/22.jpg]

Step 21. Now select the first elementary search help and click on the Param. Assignment Button.

[http://2.bp.blogspot.com/-8WfMzze_4v0/UeVyjC5XjMI/AAAAAAAABxk/UtPPMBX4Lyc/s1600/23.jpg]

Step 22. Now system automatically maps the elementary search help reference parameter (CRIC_NAME)
to the Collective Search help parameter (NAME) and at last click on Copy button.

[http://3.bp.blogspot.com/-WTV26tMV_jk/UeVyjfrRncI/AAAAAAAABxo/hMARnQozKcU/s1600/24.jpg]

Step 22. Now select the second elementary search help and click on the Param. Assignment Button.

[http://2.bp.blogspot.com/-kV8-S9f4gWk/UeVyj0IiebI/AAAAAAAABxw/huH4lq-LjqA/s1600/25.jpg]

Step 24. Now system automatically maps the elementary search help reference parameter (CRIC_NAME)
to the Collective Search help parameter (NAME) and at last click on Copy button.

[http://4.bp.blogspot.com/-4uCuOtitpSk/UeVykC0wUYI/AAAAAAAABx4/RdFm7haCaNU/s1600/26.jpg]

Step 25. at last Activate the collective search help.

[http://2.bp.blogspot.com/-YYO7J_j5H5E/UeVykzWUfdI/AAAAAAAAByA/wYzVoZFzLYU/s1600/27.jpg]

Step 26. Let's create a report program and declare a parameter and assign the collective search help to it
by the keyword 'MATCHCODE OBJECT'. Activate the report and execute it.

[http://4.bp.blogspot.com/-NXWdvuzVNWU/UeVyldH3ZjI/AAAAAAAAByI/hlGsS8E85qM/s1600/28.jpg]

Step 27. Now press F4 button and the collective search help shows the first set of names from the first
elementary search help.

[http://2.bp.blogspot.com/-WHOakvTL_lo/UeVylhiOzeI/AAAAAAAAByQ/bhZS51EBHCs/s1600/29.jpg]

Step 28. Again click on the second tab of the collective search help and it shows the second set of
names from the second elementary search help.

[http://2.bp.blogspot.com/-VMbvdR7iFP8/UeVym4scUeI/AAAAAAAAByg/WE0NcvV6O9k/s1600/30.jpg]

Collective Search help provides multiple ways of data selection and each data selection is created by the
elementary search helps added in the Collective search help.
-------------------------------------------------------------------------------------------------------------------------------Posted 16th July 2013 by S Prasad

View comments

Vous aimerez peut-être aussi