Skip to Content
author's profile photo Former Member
Former Member

TREX with BO BUS1001006, question on not sending some MARA records.

We plan to activate Enhanced Material Search with TREX and BO BUS1001006.

My question is: How/Where can I place code/logic to skip records (MARA) and not send them down to the TREX index for BUS1001006 (standard materials) ?

We have setup some/many "dummy" MARA records that have a certain "Z" Material Type value. I do not want these MARA records of this specific type to be sent to the TREX system and be included in the Index, that will be searched on by EMS later.

By not putting all these records into the TREX index, will also help the response time of the EMS search results, along with not consuming up the TREX space.

I've researched Note 1131559 and other notes around TREX, BUS1001006, and CL_WSD_ERP_SU_BUS1001006, however, can't find the proper place to add logic/custom code to skip sending down to TREX these MARA records.

Hoping someone has already done this and will know where this can be done.

Thanks for your help on this.

David

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2014 at 08:45 PM

    You should be able to put your code in the method GET_ATTRIBUTE_VALUES. It has been about a year since I messed with it but I think you can control it at line 48. There is a select on MARA that I believe controls (or at least creates a master list) the materials that will be indexed.

    The following helped me when I worked with TREX. I was able to adapt these to other indexes as well as custom indexes.

    Enhanced Material Search with Creation - Part 4: How to create new Search Criteria w/o modification

    Custom SES TREX Functionality Development

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Aaron,

      Thanks for the response.

      I've looked into this method, and I believe you are correct, I should be able to filter out MARA records there so they don't go into TREX. Once we activate this, I can debug to verify.

      I will be tweaking this method already per note 1131559, to add some custom fields into TREXs and in the results set as well.

      Also, thanks for the doc links. I did have the Blog from Ingo, however, never came across the other link, which will be very helpful.

      Thanks again for your input.

      David


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.