LeverX ABAP Basics - Using The TREX Search Component
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

LeverX ABAP Basics - Using The TREX Search Component

  • 1,849 views
Uploaded 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......

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,849
On Slideshare
1,847
From Embeds
2
Number of Embeds
2

Actions

Shares
Downloads
23
Comments
0
Likes
0

Embeds 2

http://www.docshut.com 1
http://www.mefeedia.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Essential SAP Tutorial SAP ABAP Basics:Using TREX Quick SearchIn Custom Developments By John DeGrandchamp 1 Copyrighted 2012 by LeverX, Inc.
  • 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. 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. Open Transaction SE38 Enter your desired name for the program Press the create button 4 Copyrighted 2012 by LeverX, Inc.
  • 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. 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. 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. 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. 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. Selection Screen and Result Screen 10 Copyrighted 2012 by LeverX, Inc.
  • 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. 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.