TREX ABAP connection

Hi Guys,
Our TREX RFC connection to backend ABAP system keep going down every few days....
A quick restart of TREX solves the problems....I get errors in trex traces directory like:
T:1489906240 ======> Connect to SAP gateway failed
I suspect this might be due to some timeout at SAP gateway side or something like that....the TREX is not used heavily so I suspect that inactivity for long periods is causing this...
How can I solve this...will some parameters like gw/reg_timeout be relevant here?
Thanks
Cyrus

Hi,
Please see the below link.
[http://help.sap.com/saphelp_nw04/Helpdata/EN/21/c6a73860bf5f2ce10000009b38f8cf/content.htm]
[http://help.sap.com/saphelp_nw04/helpdata/EN/7c/e75c6798dc40269fd7213ff01c9aa8/content.htm]
Regards
Krishna

Similar Messages

  • How to configure RZ12  and SM59 ABAP connection settings when we have work with Load Balancing servers rather than a specific server .

    Hi ,
    If we have a specific server say 10.10.10.10 (abc.co.in) on which we are working, Then under RZ12 we make the following entry  as :
    LOGON GROUP          INSTANCE
    parallel_generators        abc.co.in_10         ( Lets assume : The instance number is 10 )
    Now in SM59 under ABAP Connections , I am giving the following technical settings:
    TARGET HOST          abc.co.in
    IP address                  10.10.10.10
    Instance number          10
    Now if we have a scenario of load balancing servers with following server details (with all servers on different instance numbers ) :
    10.10.10.11    
    10.10.10.13
    10.1010.10
    10.10.10.15
    In this case how can we make the RZ12 settings and SM59 settings such that we don't have to hardcode any IP Address.
    If the request is redirected to 10.10.10.11 and not to 10.10.10.10 , in that case how will the settings be.
    Regards,
    SHUBHAM

    Hi,
    No one using FMS behind a load balancer? No one using RTMPT?

  • Fetching ABAP connection information from SLD

    Hi Experts,
    I had created one SLD. so i want to use the ABAP connection information of SLD in JCo programming.  how can we achieve this one?
    Thanks,
    Maha

    Hi,
    Refer the below links...
    SLD Configuration:
    Configuring SLD in Sneak Preview SAP NetWeaver '04 Sneak
    SAP Help on JCO Destinations and on other bussiness Packages.
    http://help.sap.com/saphelp_erp2005/helpdata/en/8c/cb3042366c0521e10000000a155106/frameset.htm
    Creating ABAP Technical System:
    http://help.sap.com/saphelp_nw70/helpdata/en/24/8fa93e08503614e10000000a114084/content.htm
    Regards,
    Srinivas

  • ABAP connect SQL run SQL insert into Error

    Dear All
             I have a problem in ABAP connect SQL,Below is my code snippet sentence.
    CONCATENATE 'Insert Into [timportcortrol]'
                    '(zucode,zstate,zdate,zkind) Values('''
                      VG_PCID ''','''
                      '1'','''
                      SY-DATUM ''','''
                      '1' ''')'
                     INTO SQL.
        CALL METHOD OF REC 'Execute'
         EXPORTING #1 = SQL
         #2 = CON
         #3 = '1'.
    IF NOT SY-SUBRC = 0.
        MESSAGE I000 WITH 'Download  to [timportcortrol] failure,Please Check the SQL Connect!!! '.
        EXIT.
      ENDIF.
    "Con:is the connect SQL String ,the connect SQL is Okay.
    I debug this code,when I used u2018Select u2026sentenceu2019,the program can work.if I  use u2018insert intou2019 then canu2019t work,but I copied the SQL of the u2018inset Into sentenceu2026u2019run it into SQL server then it can work also.
    And I found the SY-SUBRC eq u20182u2019.whatu2019s mean about of the sy-subrc eq u20182u2019.
    I think the insert into sentence in abap I have write the wrong ,but I canu2019t assurance.
    The Insert Into Sentence is:u2019 Insert Into [timportcortrol](zucode,zstate,zdate,zkind) Values('20080807094713','1','20080807','1')u2019
    Could you give me some advice for this issue?
    Thanks of all
    Sun.

    Hi
    I think the problem is with the date format "20080807094713". You should know first how the date is stored in the underlying database. In that format we have to pass the date in the SQL DML statements.
    Try "07-Aug-2008' for example and check.
    Hope it helps.
    Murthy

  • Configuration Wizard-NW:BI-AS ABAP(Connectivity of BI and Source System): M

    Hi friends,
    I´m configuring the (NW: BI - AS ABAP (Connectivity of BI and Source System): Maintain) in NWA using Configuration Wizard.
    But there is the error in step (NW: BI - AS ABAP (Connectivity of BI and Source System): Maintain > Scenario UI: NW_BI_ABAP_DEFAULT > Scenario Process: Abap Server Integration to BI > Configuration Process > Configuration Unit: Initialize > Config Unit BI System: Initialize > Customizing: Assign Logical System to Client > Write Customizing data to Table T000)
    Below error log:
    *Write Customizing data to Table T000*
    Description:
    Exception in step "WriteProfile_1223390220410"
    Exception details : com.sap.tc.lm.ctc.metamodel.exception.ActionExecuteException: Exception during the import of the profile!
    State
    Step finished with error
    Support Information
    Type of Action
    WriteProfile
    Debug Events
    WriteProfile:Write Customizing data to Table T000
    Library: sap.com/tclmconfig~bs
    SourcePath ./com_sap_nw_bi_abap_default_maintain/ext_12064772269223/ext_1206447991146/Process_1207123636083/proc_1196064316796/Process_1204300420808/proc_1204300371034/WriteProfile_1223390220410
    Time 2011/11/03 at 15:36:57
    Schema content/NetWeaver/Common/Customizing/Clients/T000.xsd
    Type : View Maintenance
    Input
    <TABLE_T000 xmlns:expr="http:/sap.com/ctc/expressions"><T000><MANDT>100</MANDT><LOGSYS>SOLCLNT100</LOGSYS></T000></TABLE_T000>
    Schema
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vma="http://www.sap.com/ctc/vma"
    elementFormDefault="qualified"> <xsd:element name="TABLE_T000" type="TABLE_T000"></xsd:element> <xsd:complexType name="TABLE_T000"> <xsd:sequence> <xsd:element name="T000" type="T000"> <xsd:annotation> <xsd:appinfo
    source="http://www.sap.com/ctc"> <vma:vmacontext table="T000" isupdate="false"/> </xsd:appinfo> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="T000"> <xsd:sequence> <xsd:element name="MANDT" type="xsd:string"> <xsd:annotation> <xsd:appinfo source="http://www.sap.com/ctc"> <vma:vmaproperty column="MANDT"/> </xsd:appinfo>
    </xsd:annotation> </xsd:element> <xsd:element name="LOGSYS" type="xsd:string"> <xsd:annotation> <xsd:appinfo source="http://www.sap.com/ctc"> <vma:vmaproperty column="LOGSYS"></vma:vmaproperty> </xsd:appinfo> </xsd:annotation> </xsd:element
    </xsd:sequence> </xsd:complexType> </xsd:schema>  
    Destination parameters
    user : SOLMAN_ADMIN
    password : % secure content %
    host : cdsolman
    sysnr : 01
    client : 100
    language : en
    Stack Trace
    Caused by: com.sap.tc.lm.ctc.cul.api.CULServiceException: Exception during the import of the profile!
         at com.sap.tc.lm.ctc.cul.serviceimpl.writeProfile.CULServiceWriteProfileImpl.writeProfile(CULServiceWriteProfileImpl.java:98)
         at com.sap.tc.lm.ctc.cul.serviceimpl.process.WriteProfileControllerImpl.execute(WriteProfileControllerImpl.java:160)
         ... 16 more
    Caused by: com.sap.tc.lm.ctc.cul.cpi.context.ConfigurationBrokerException: <Localization failed: ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle', ID='xml_parsing_exception', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key xml_parsing_exception
         at com.sap.tc.lm.ctc.cul.broker.BrokerWriteProfileImpl.writeProfile(BrokerWriteProfileImpl.java:79)
         at com.sap.tc.lm.ctc.cul.serviceimpl.writeProfile.CULServiceWriteProfileImpl.writeProfile(CULServiceWriteProfileImpl.java:95)
         ... 17 more
    Caused by: com.sap.tc.lm.ctc.provider.vmaprovider.exceptions.VMAProviderBaseException: Incorrect XML
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.VMAUtil.getDocument(VMAUtil.java:349)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.VMAUtil.setXmlValue(VMAUtil.java:250)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.JCOProfileExecutorImpl.executeContext(JCOProfileExecutorImpl.java:310)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.JCOProfileExecutorImpl.executeChildNode(JCOProfileExecutorImpl.java:183)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.JCOProfileExecutorImpl.executeProfile(JCOProfileExecutorImpl.java:129)
         at com.sap.tc.lm.ctc.provider.vmaprovider.VMAWriteProfile.writeProfile(VMAWriteProfile.java:59)
         at com.sap.tc.lm.ctc.cul.broker.BrokerWriteProfileImpl.writeProfile(BrokerWriteProfileImpl.java:144)
         at com.sap.tc.lm.ctc.cul.broker.BrokerWriteProfileImpl.writeProfile(BrokerWriteProfileImpl.java:73)
    Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0x6f, (bin) 1101111. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:1, col:637)(:main:, row=1, col=637) -> com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0x6f, (bin) 1101111. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:1, col:637)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.VMAUtil.getDocument(VMAUtil.java:341)
    Caused by: com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0x6f, (bin) 1101111. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:1, col:637)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:209)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
         at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:143)
    All the others steps were finished successfully
    Only this step is with error. I don´t know that to do.
    Regards,
    Ricardo Arriado
    Edited by: Ricardo Arriado on Nov 4, 2011 6:24 PM

    Hi,
    Please double check the JCO user and the authorization.
    Or
    Apply these two notes, it should resolve ur issue
    1493124 CTC: Check table existence before table whitelist
    1471762 CTC: Automated Configuration:
    Hope this helps u.
    Best Regards
    Vijay K

  • Checking the ABAP connection - error

    Hi
    According to the ADS config guide for NW2004s, I wanted to test the ABAP connection. I went to t.code SA38, entered FP_PDF_TEST_00 and entered the connection name, and when I execute it I get the error
    Error Code: 2
    Error Message: ADS
    Invalid http conenction: ADS
    No version available.
    Can anyone please explain me where and how should I set the http conenctions to make this test successful.
    Thanks in advance
    regards
    SM

    Hi SM,
    Programs FP_PDF_TEST_00 & FP_TEST_00 are completely different.
    The program FP_PDF_TEST_00 that you run is just returns ADS version only.
    If you execute the program FP_TEST_00, it will show you PDF output. That is this program takes the PDF form name FP_TEST_00 in the selection-screen parameter and also ADS destination name and will return you the PDF Output.
    Basically you will do the following steps to run an Adobe Form.
    1. Get the generated function module name for the Adobe form using function module FP_FUNCTION_MODULE_NAME.
    2. Call the function module FP_JOB_OPEN. here we have to pass ADS connection, Device name, No dialog option...etc
    3. Call the generated function module , here we an pass SAP data from the print program.
    4. Call the function module FP_JOB_CLOSE.
    For more information, check the program FP_TEST_00 code .
    Thanks
    Ramakrishna

  • Why ABAP connections?

    Hi all,
    I have just read a few notes on RFC connection particularly on maintaining RFC destinations (SM59) and there are a few groups: ABAP connections, HTTP connections, Internal connections, logical connection and so forth...
    Why do i use ABAP connections when I was doing my IDOC? Can i use other RFC destination?
    Thanks and regards,
    William Wilstroth

    Hi William,
    The most important is ABAP conenctions, HTTP connections and TCP/IP connections.
    HTTP - Type G- When you need to connect to the external HTTP server
    Type T (TCP/IP) This is the most imortant, as this will be used for all the external systems connectes, lets say FAX system, IXOS, etc.
    Do reward points to useful answers.
    Regards,
    Atish

  • TREX ABAP Client: How to index file content?

    Hello Colleagues,
    We have installed TREX search engine and writing own solution by using ABAP Client. Everything is ok except files content like XLS, DOC and so on. When we try to post binary content to the FM TREX_EXT_INDEX it is not processed by TREX and only attributes search is available. I think something wrong with data types.
    Test example:
      data lt_data type table of char100.
      data l_size type i.
      data lt_doc type trext_index_docs.
      data ls_doc type trexs_index_doc.
      call function 'GUI_UPLOAD'
        exporting
          filename   = 'D:test.xls'
          filetype   = 'BIN'
        importing
          filelength = l_size
        tables
          data_tab   = lt_data.
      ls_doc-doc_key = '00001'.
      ls_doc-doc_langu = 'EN'.
      ls_doc-doc_type = 'B'.
      ls_doc-mime_type = 'application/excel'.
      call function 'SCMS_BINARY_TO_STRING'
        exporting
          input_length = l_size
        importing
          text_buffer  = ls_doc-content
        tables
          binary_tab   = lt_data.
      append ls_doc to lt_doc.
      call function 'TREX_EXT_INDEX'
        exporting
          i_index_id            = me->index_id
          i_rfc_destination     = me->rfc_dest
          i_index_document_list = lt_doc.
    Document is indexed without content. Why?

    Hi Evgeni,
    I realise this is a little late, but just in case you are still interested - or anyone else out there is:
    Basically somewhere internally the FM 'TREX_EXT_INDEX' does the following with your ls_doc-content:
    l_xstring = p_content_in. "(p_content_in == ls_doc-content)
    If you look at the conversion rules in ABAP the xstring then expects the string to contain only the characters '0-9A-F'. Which your string does not have after calling the FM SCMS_BINARY_TO_STRING.
    Thus you have to format your ls_doc-content differently. Basically you need to move the hex characters in your xstring into 'real characters'. Which will expand the string massively.
    We solved the problem using the following Form:
    form conv_content using value(raw_content) type string
                   changing content            type string.
      data: lv_char   type c,
            lv_string type string.
      field-symbols:  type x.
      clear content. " init output.
      while raw_content is not initial.
        lv_char = raw_content(1).
        assign lv_char to  casting.
        lv_string = .
        concatenate content lv_string into content in character mode respecting blanks.
        shift raw_content left.
      endwhile.
    endform.
    Not exactly efficient, but you can call it just as you would call the FM SCMS_BINARY_TO_STRING (except you don't need the filesize). Then the TREX will index your MS-Office documents as long as they are not of type Office 2007 or newer. In that case there is another bug, where the mime_type you pass in the interface is only 50 Chars long - which is too short to fit the full docx mime type for example.
    Regards,
    Robin

  • ABAP connection to EJB

    Hello @ all,
    I have a problem. I want to establish a connection from ABAP to an EJB to transfer data from the EJB to ABAP. I found a class which can help me solving that problem. The class name is "CL_EJB_JAVA_OBJECT_METHODS".
    But there is no Documentation for the class. So I didn't know what exactly to do. My actually coding is looking like:
    FUNCTION ZEJB_TEST_ZUGRIFF.
    Data: v_bean TYPE REF TO cl_ejb_java_object_methods.
    CALL METHOD v_bean->GET_RESULT
      EXPORTING
        NUMBER     =
        METHODNAME = getMessage()
        IM_PARAMS  =
      IMPORTING
        RESULT     =
    ENDFUNCTION.
    Can anybody of you help me solving my problem or do anybody still have a solution for my problem?
    Thank you in advance!!!
    Greetings, Alexander

    Hi ALexander,
    If you want to access Web Service, you should have WSDL available from the provider.You don't have to do anything with EJB now. Web Services automatically takes care of that. You have to make a connection to Web Services now.
    If you have WSDL file or link to the URL, post the same question in ABAP forum.
    Don't write EJB, but reframe your question as "How to access Web Service from ABAP
    regards,
    Piyush

  • *ABAP connect to an environment of java*

    Hi GURU,
    I have a problem and I would like your help.
    I'm new at Abap and I'm trying to develop an application from ABAP to connect to an environment of java.
    I watched how to do this in various forums and the help of SAP, but just as I have found make the connection.
    In java I have already developed the server side and I have developed a ABAP function. But is not exactly how it works.
    Can you give me an example of how to send data from the sap application to java? Or give me any manual please.
    Thank you very much in advance
    RAFA

    Hi,
    such an environment is described in the manuals:
    [SAP JCo Server Programming|http://help.sap.com/saphelp_nw70/helpdata/en/f3/924a4278bbb56be10000000a155106/frameset.htm]
    there is  also an example.
    regards,
    Benny

  • TREX RFC connection

    Dear Gurus'
    1.    We have an issue regarding the TREX.
            We have installed TREX on windows server x86_64 bit machine
              and the http services are not starting.
                 can any HELP me on this.
    2.   Can any one HELP on the postinstallation Steps to be performed
           to connect to the backend system.
    Your help will be appriciated
    Regards
    Kiran Deverla

    Hi Kiran,
    for backend configuration of TREX 7.1 see
    Search and Classification TREX
    http://help.sap.com/saphelp_nw2004s/helpdata/en/47/1b074063616446e10000000a114a6b/frameset.htm
    TREX 7.1 for SAP NetWeaver 7.0
    TREX Configuration
    TREX Basic Configuration
    Connecting TREX with an Application
    http://help.sap.com/saphelp_nw2004s/helpdata/en/46/c0167538001827e10000000a1553f6/frameset.htm
    For applying patches to TREX 7.1 see
    TREX 7.1 Install and Update Guide on SMP:
    https://websmp108.sap-ag.de/~sapidb/011000358700000854952007E/TREX71InstallSingleHost.pdf
    Page 43 ff. Updating TREX
    For enabling IIS for 32bit/64 bit for TREX 7.0/7.1 see
    SAP note 1008299 Configuring IIS on Windows 2003 64-Bit
    and the following description:
    In order that a TREX 7.0 32-bit system could use a MS Internet Information Server (IIS), the IIS must have been previously set to 32-bit mode (see SAP note 1008299 Configuring IIS on Windows 2003
    64-Bit).
    You have to set the IIS back to 64-bit mode so the TREX 7.1 64-bit system can use it:
    a. Open a command prompt and navigate to the
    %systemdrive%\InetPub\AdminScripts directory
    b. Execute the following command:
    cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 False
    c. Do an iisreset.
    Note: An Internet Information Server (IIS) can not be used both by a TREX 7.0 32-bit and a TREX 7.1 64-bit system since the IIS can not run in 32-bit and 64-bit mode at the same time. Hence TREX 7.0 and 7.1 can not concurrently be accessed by HTTP.
    Best regards,
    Ralph

  • ABAP connection to ISAM datasource

    Hi all,
    can anyone help me with ideas on how to connect to an ISAM datasource?
    I have an application written using ACUCOBOL and the "database" is essentially ISAM files.
    I want read and update data from ABAP.
    There is an ODBC driver that connects to the application and makes the ISAM data look like a relational database so possible this is a method that could be used? If so my question then becomes "How do I access an ODBC datasource from ABAP?"
    Cheers
    Graham Robbo

    Hi Graham,
    you might investige using web services and iWay Software's intelligent C-ISAM adapter which provides highly efficient access to C-ISAM data. Third-party products can also access the adapter via iWay connectors, including ODBC, OLE DB, JDBC, XML, Web services, and others.
    In other words, access the C-ISAM data via Web Services.
    Regards
    Andrew Barnard

  • Search advice for good ABAP-connect-Java Book

    Hi,
    I want to navigate a Java-application in SAP.
    The Java-application is a routing-software.
    The SAP-user (the planner/coodinator) should choose a
    customer and a worker/sales-person in an ABAP-application.
    So this the SAP-user plans, which sales person drives to
    which customer.
    The ABAP-application should give this information to the java-application
    which then plans the route! The user should not remark anything from
    the communication between abap- and java-application.
    Has anybody an idea with which technique I can realise the problem?
    Can anybody advice me a good manual or book concerning this topic?

    Hi,
        These are the recommended books for OO programming in ABAP.
    1.ABAP Objects: The Official Reference
    by Horst Keller, Joachim Jacobitz
    This is systematic language reference book for ABAP Objects.
    2. ABAP Objects: Introduction to Programming SAP(R) Applications
    by Horst Keller, Sascha Kruger
    3.Java and BAPI Technology for SAP" by by Ken Kroes, Anil Thakur, Gareth M. deBruyn, Robert Lyfareff
    Regards

  • Difference bitween PI  and Xi  ( and Abap Connectivity )

    Thanks all for your replies.
    Let me be more specific with my requirement
    When I execute SPROXY transaction in ECC, I see few new methods I am not sure which method to use to write the ABAP code to push the data to PI server.
    eariler   In XI 3.0 I used execute asynchronous method. I am clueless with PI methods.
    Can anyone share some documents or link or sample code to help me with my requirement.
    Thanks
    Meeta

    Hi Meeta,
    Please look at the below links regarding.
    http://help.sap.com/saphelp_nw04s/helpdata/en/5f/555a421b5ec153e10000000a1550b0/content.htm
    and XI.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    &***************Reward Point if helpful**************&

  • Abap connectivity WSDL error

    Hi Expert,
    Do you have any idea for below attachment issue? we are getting error when Creating web service consumer
    SAP SOD: Create web service consumer (external web service)
    WSDL: https://xxxdev.service-now.com/u_charm.do?WSDL
    1. goto SE80, package ZSOLMAN, then Create à Enterprise Service
    2. Select Service Consumer then continue.
    3. Select “External WSDL” then “URL”
    4. Enter WSDL url then continue.
    5. Enter package name, Prefix (any unique prefix e.g ZXX), then Continue and Complete.
    regards,
    Raymond

    Hi Raymond
    There might be some issue on your SOLMan system accessing the URL, maybe firewall issue.
    Alternatively, try and download the WSDL file from the website to your local PC. Then use "External WSDL" -> "Local File" and proceed with proxy generation.
    Rgds
    Eng Swee

Maybe you are looking for