Skip to Content
Author's profile photo Mathieu GRAVIL

TREX 7.1 INSTALLATION ON LINUX and connection to SAP ERP 6

TREX 7.1 INSTALLATION
ON LINUX and connection to SAP ERP 6

Documentation

Note 1391758 – Compatibility of TREX ABAP CLient with TREX Server

Note 948418 – “Unknown function” error message when calling Open dialogs

Note 658052 – TREX 6.1/7.00: additional info about TREX ABAP client

Note 647658 – Availability of TREX ABAP client for 6.20/6.40/7.0/7.1

Note 723688 – BBP TREX corrections for SRM 4.0 SP01

Sources

/wp-content/uploads/2013/07/image001_241688.png

OS prerequisite

File system

For /sapmnt/SES, we need 2 G ( after installtion we have 693MB Used) and for /usr/sap/SES we eneed 4GB (after installation we have about 1GB Used but size of this file system depends of number and size of created index.

For my test, I install it on virtual server on linux Red Hat 5.8 with 2 CPU and 12GB of RAM but there is a SAP ECC605 instance install on the same server .

Sapinst installation

/wp-content/uploads/2013/07/image004_241689.jpg

/wp-content/uploads/2013/07/image005_241690.png

/wp-content/uploads/2013/07/image007_241691.png/wp-content/uploads/2013/07/image009_241692.png

/wp-content/uploads/2013/07/image011_241693.png

/wp-content/uploads/2013/07/image011_241693.png

/wp-content/uploads/2013/07/image013_241695.png

/wp-content/uploads/2013/07/image015_241694.png

/wp-content/uploads/2013/07/image017_241696.png

Create a connection to SAP ECC605

On ECC605, create user :

/wp-content/uploads/2013/07/image019_241697.png

/wp-content/uploads/2013/07/image021_241698.png

On /usr/saP/SES/TRX01, with user sesadm after exporting DISPLAY to your computer launch script TREXAdmin.sh:

/wp-content/uploads/2013/07/image023_241699.png

/wp-content/uploads/2013/07/image025_241700.png

/wp-content/uploads/2013/07/image027_241701.png

/wp-content/uploads/2013/07/image029_241702.png

Add in  TREXDaemon.ini :

[rfcserver]

executable=TREXRfcServer2.x

arguments= -r -host=sapb2j -instance=sapgw43 -service=Trex_B2J_20130523171347

startdir=${SAP_RETRIEVAL_PATH}

instances=1

environment=RFC_TRACE_DIR=${SAP_RETRIEVAL_PATH}/trace,CPIC_TRACE_DIR=${SAP_RETRIEVAL_PATH}/trace,CPIC_MAX_CONV=2000

stdout=${SAP_RETRIEVAL_PATH}/trace/TrexRfcServer$(INSTANCE).out

stderr=

flags=COMPRESSBACKUP

Then in ECC605, tx SES_ADMIN define of RFC connection to be use for TREX (table

COM_SE_SEARCH ) :

/wp-content/uploads/2013/07/image031_241704.png

/wp-content/uploads/2013/07/image033_241705.png


/wp-content/uploads/2013/07/image035_241703.png

/wp-content/uploads/2013/07/image038_241707.jpg



/wp-content/uploads/2013/07/image058_241712.png

/wp-content/uploads/2013/07/image058_241712.png

/wp-content/uploads/2013/07/image062_241713.png

SPRO in order to activate business fonction :

/wp-content/uploads/2013/07/image046_241715.jpg

/wp-content/uploads/2013/07/image047_241717.png

tx ESH_COCKPIT:

/wp-content/uploads/2013/07/image046_241715.jpg

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo S Sriram
      S Sriram

      Hi MathieuMathieu GRAVIL

      It’s really good one

      Thanks

      Sriram

      Author's profile photo Mathieu GRAVIL
      Mathieu GRAVIL
      Blog Post Author

      Hi S Sriram

      Thank you for your comment. If you really think it, click on like please 😉 .


      Author's profile photo Former Member
      Former Member

      Awesome and clear Doc mathieu.

      I want to install TREX 7.10 for EHP1 for SAP Netweaver 7.0 portal .

      Can you help me what version of SAPInst i need to download and path. Thanks in advance.

      Author's profile photo Mikhail Sirotkine
      Mikhail Sirotkine

      Hi Mathieu,

      just two comments:
      1) Starting TREX 710 REV 58 you can not use the sapinst anymore (in the REV 58 it's  a part of the TREX installation SAR file yet ) . You need to take either SWPM instead , or just run the install.sh/install.cmd script as described in the installation guide.

      2) When you setup the RFC connection you don't need to do any changes in the TREXDaemon.ini file  !!! all necessary changes will be done by the TREXAdminTool automatically!

      Regards,
      Mikhail

      Author's profile photo Former Member
      Former Member

      Friends - I have installed TREX 7.1 for EP 7.0 . After connecting TREX to EP, I get error " No active HTTP server found".

      One more thing. I didnt find any HTTP proxy setting while installing TREX using SWPM. Please advice.

      Author's profile photo Mikhail Sirotkine
      Mikhail Sirotkine

      Hi Sandeep,

      1) Is this installation on Linux? What's the TREX version? Could you please check if the note 2032219 need to be applied in your case.

      2) You can change the proxy settings in TREXPreprocessor.ini every time you want.
      Changing Proxy Server Settings - Search and Classification TREX - SAP Library

      Best regards,
      Mikhail

      Author's profile photo Former Member
      Former Member

      Awesome piece, well articulated.
      Thank you Mr Mathieu