0
Essential               SAP Tutorial   SAP ABAP Basics:Using TREX Quick SearchIn Custom Developments By John DeGrandchamp ...
Tutorial Goal Get a basic overview of TREX search and it capabilities   TREX is the primary search technology currently ...
SAP TREX Search Overview TREX has the ability to search structured business data as well as  unstructured documents TREX...
Open Transaction SE38   Enter your desired    name for the program   Press the create button                            ...
Enter Program Attributes          Enter a title, program           type, program status,           application, and      ...
Create Necessary Data Declarations   Create data variables to    communicate with    method and display    result   Crea...
Call Method For Quick Search   Call method query_result_by    _select_option from class    /plmb/cl_sea_query_api    usin...
Pattern Button   The pattern button can be used    to assist in writing code for items    such as function modules, selec...
Write Results To Screen   Loop the results table into a    work area   Write the desired fields    onto the screen      ...
Selection Screen and Result Screen                    10               Copyrighted 2012 by LeverX, Inc.
Conclusion   You have now written a program that utilizes the TREX quick search    capability   This allows users a much...
Contact InformationPlease contact us for more information about our services or solutions available.                      ...
Upcoming SlideShare
Loading in...5
×

LeverX ABAP Basics - Using The TREX Search Component

1,043

Published on

Provide a basic overview of TREX search and it capabilities, including using method query_result_by _select_option from class /plmb/cl_sea_query_api to retrieve results via your own custom ABAP programs.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,043
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
26
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "LeverX ABAP Basics - Using The TREX Search Component"

  1. 1. Essential SAP Tutorial SAP ABAP Basics:Using TREX Quick SearchIn Custom Developments By John DeGrandchamp 1 Copyrighted 2012 by LeverX, Inc.
  2. 2. Tutorial Goal Get a basic overview of TREX search and it capabilities  TREX is the primary search technology currently used in SAP components Learn the framework to implement TREX quick search in a custom development  This will enable a quicker, more flexible search than standard function modules 2 Copyrighted 2012 by LeverX, Inc.
  3. 3. SAP TREX Search Overview TREX has the ability to search structured business data as well as unstructured documents TREX provides the backend technology for Enterprise Search TREX has several different search modes including: exact, linguistic, fuzzy (search error tolerant), wildcards, phrase search, and Boolean operators TREX consists of an ABAP client and a JAVA client  The JAVA client communicates with non-SAP applications 3 Copyrighted 2012 by LeverX, Inc.
  4. 4. Open Transaction SE38 Enter your desired name for the program Press the create button 4 Copyrighted 2012 by LeverX, Inc.
  5. 5. Enter Program Attributes  Enter a title, program type, program status, application, and press save  Save as a local object or to appropriate package21 July 2012 5 Copyrighted 2012 by LeverX, Inc.
  6. 6. Create Necessary Data Declarations Create data variables to communicate with method and display result Create a parameter for user to enter quick search 6 Copyrighted 2012 by LeverX, Inc.
  7. 7. Call Method For Quick Search Call method query_result_by _select_option from class /plmb/cl_sea_query_api using the pattern button The object type tells the method where to look in the TREX index 7 Copyrighted 2012 by LeverX, Inc.
  8. 8. Pattern Button The pattern button can be used to assist in writing code for items such as function modules, select statements, write statements, and methods In our case we will select ‘ABAP Object Patterns’ and enter values as shown 8 Copyrighted 2012 by LeverX, Inc.
  9. 9. Write Results To Screen Loop the results table into a work area Write the desired fields onto the screen 9 Copyrighted 2012 by LeverX, Inc.
  10. 10. Selection Screen and Result Screen 10 Copyrighted 2012 by LeverX, Inc.
  11. 11. Conclusion You have now written a program that utilizes the TREX quick search capability This allows users a much more flexible search format than using a standard function module It is also much faster when searching large amounts of records because it does not access the database 11 Copyrighted 2012 by LeverX, Inc.
  12. 12. Contact InformationPlease contact us for more information about our services or solutions available. LeverX, Inc. 800 West El Camino Real, Suite 180 Mountain View, CA 94040 USA Tel: (650) 625 – 8347 Web Site: www.LeverX.com 12 Copyrighted 2012 by LeverX, Inc.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×