JCo\RFC Trace Files

When using JCo 2.1.5 or 2.1.4, it looks like the .trc trace files are created by defualt.  I do not see this when using JCo 2.1.3  Does anyone know how I can turn off the tracing so that the .trc files are not created?  I tried RFC_TRACE=0 but that did not work so there must be another way to to do it.
Thanks in advance!

Hi,
have a look at this <a href="http://eclipsesap2java.sourceforge.net/Tips.htm">page</a>.

Similar Messages

  • RFC Trace files

    Hi
    I have a stand alone J2ee application which communicates with SAP backend using JCO, I have a requirement to put the RFC export parameters to the RFC Trace files, Is there any API supporting this.
    Regards
    Abhijith YS

    closing

  • MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more...

    Ingo,
    I am getting below error message in BO Test environment when I refresh WebI document.
    MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details
    It was working when we migrated the objects initially. Subsequently when we try to refresh WebI document we are getting the above error message. It still works in BO Dev environment and the no of records are the same in Dev and Test.
    I am able run the underlying BEx query in SAP BW Test environment and it does return data.
    I checked ST22 and SM21 log, but no details there.
    Is it related to Authorization on the Universe or Bex Query?
    We are in the middle of UAT and not able to move forward. I would greatly appreciate your input.
    Thanks
    Ram

    Ingo,
    I ran the zip file and added the required entries to registry.
    And then I tried to reproduce the error, but the files are not generated instead I noticeed below error message on the server:
    The description for Event ID ( 7939 ) in Source ( Crystal OLAP Client ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Registry Access Error: , [HKEY_LOCAL_MACHINE]Software\Business Objects\Suite 12.0\MDA\Log\Modules: The system cannot find the file specified..
    Does tha t mean we do not have permissons to read the registry?
    I would greatly appreciate your input.
    Thanks in advance.
    Ram

  • Deleting RFC Trace

    Hi experts,
    does anyone know, how I can delete RFC-Trace files (dev_rfc...) particulary?
    I don't like to delete the whole trace like with TA RSRFCTRC.
    And also I don't would like to delete them via OS.
    Is there no function like ST11 for workproces-logs (they can be deleted from ST11, dev_rfcs not)?
    Thx in advance for any tip.

    thx for the fast answers.
    However, this is the same like Ta RSRFCTRC.
    So I only can delete all rfc trace files.
    Isn't there a possibility to delete the files singular?
    thx

  • JCO RFC Provider problem

    Hi!
    We are having some problems in 2 PI 7.1 SP7 Development and Project
    systems. Both have the same problem... We cannot see JCO RFC Provider
    connections and we cannot create new JCO RFC connections.
    Our Project system is copy of development and JCO connections are being
    registered on Development causing some problems in proxy connections.
    the problem is that we cannot change the JCO RFC connections on both
    systems.
    If I try to create a new JCO RFC Connection or even a dummy JCO connection it gives the error "The Program ID already exists. Type in an other name."
    These systems are a SAP PI 7.1 upgrade from SAP XI 3.0. In version XI 3.0 the connections were OK.
    In quality Assurance and Production we don't have this problem.
    I've applied the latest AS Java patches but didn't changed the strange behaviour.
    Have any one notice

    In the default trace file we've found something like
    "com.sap.engine.services.jmx.exception.JmxSecurityException: Caller <(>
    <<)>some generated user id> not authorized, required permission missing"activate the UME super user, delete the deleted users, deactivate the UME super user and restart the system.
    For further information you should see note 1261071

  • JCo RFC stop/hang

    Hi,
    I have a JCo RFC setup in my J2EE Administrator. Lately i found out the service will hang/stop by itself as my program unable to call it and when i test connection in SM59 (TCP/IP) it will say timeout. Once i restart the service then only it can work. I check the dev_jrfc.trc file and i noticed this error message.
    RfcGetException rc (7) message: One of the field names in the SELECT clause was not recognized.
    <RfcGetException
    Would like to know am i checking the correct trace file. Also is this error message related to my program or Netweaver server?
    Thanks.

    Hi Surendrajain2003,
    But it able to run like normal.
    Just that suddenly it stop by itself.
    Thanks
    This is only happen to the RFC that i created for my application usage.
    Will it because the RFC is too heavy? It will query my database table/insert/update and return back to R/3
    Edited by: Adrian Chan on May 15, 2009 10:31 AM

  • SSO between EP and ECC-- JCo RFC Provider- Error-- JCO_ERROR_SERVER_STARTUP

    Hello Everyone
    I am setting Up SSO between my EP 7.0 and my ECC 6.0 system. During the phase JCO RFC PRovider i am giving the following values:
    The following was done;
    1. start Visual Administrator -> Service : Choose JCo RFC Provider
    2. Created JCo RFC provider:
    Program ID: SAPJ2EE_Port
    Gateway host: EPDEV ( host of my EP System)
    Gateway service: sapgw00
    Server Count 5
    Application Server Host: ERP6 ( Host of my ECC System)
    System Number: 00
    Client: 000
    Language: EN
    User: SAPJSF
    Password: ..
    When i click on SET i am getting the error " ERROR When ADDING TO BUNDLE" Check LOG FOR DETAILS".
    I checked the DEFAULTTRACE.TRC and get the following MEssage :
    Date , Time , Message , Severity , Category , Location , Application , User
    03/01/2011 , 3:33:30:101 , Error changing bundle SAPJ2EE_PORT , Error , /System/Server , com.sap.engine.services.rfcengine.RFCRuntimeInterfaceImpl.addBundle(BundleConfiguration conf) ,  , Administrator
    03/01/2011 , 3:33:30:085 , com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Tue Mar 01 03:33:30 PST 2011.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=SAPJ2EE_PORT GWHOST=EPDEV GWSERV=sapgw00
    ERROR       partner 'EPDEV:sapgw00' not reached
    TIME        Tue Mar 01 03:33:30 2011
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     1
    I have configured my SLD as well. Any suggestions. Please Advise.

    Hi Ahmed,
    Please do check the validity of the certificate.
    Please do cross check these steps again.
    1.     Transaction u2013 STRUSTSSO2 (Trust Manager for Logon Ticket)
    2.     Double Click Owner certificate. It gets reflected under the certificate tab.
    3.                  Choose Format Binary
    4.                  Choose File Path.
    5.                  Enter the File Name
    6.                 saved in local drive.
    You can import into portal as x.509 certificate.
    check this thread -
    Certificate no longer has signature (use restriction)
    Renew certificate via SAP MarketPlace, and install from tcode slicense.  If you are working on a trial version, there is a SAP license request application form. Fill the form with the hardware key. you will get the new license via email. Install using slicense. Then try exporting the certificate.
    Thanks,
    Divya
    Edited by: Divya V on Mar 10, 2011 11:25 AM

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • RFC Trace in SAP R/3

    Hello everybody,
    I would like to know how to log a RFC Call on SAP R/3 and the data flow from a RFC.
    Thanks for your helps,

    Use t.code ST01 to activate RFC trace.
    Use t.code ST11 to list the file of the trace. The file name should start with dev_rfc . ST11 is sorted by date so double click on the latest changed dev_rfc file.
    Here where it gets kind of ugly.
    Look for string ' **** Trace file opened at '
    A few lines below that you'll find the data stream that was passed to and from SAP via a RFC. The human readable data is on the right side looking like this.
    000000   05000000 05000331 00040000 00010331  .......1.......1 
    000010   03310004 00000002 03310503 00000503  .1.......1...... 
    000020   05140010 C62F2556 F757D147 9D44C888  ....Æ/%V÷WÑG.DÈ. 
    000030   BB189C64 05140512 00000512 01300028  »..d.........0.( 
    000040   5341504C 5A48525F 50414E20 20202020  SAPLZHR_PAN      
    000050   20202020 20202020 20202020 20202020                   
    000060   20202020 20202020 01300335 000C0000          .0.5.... 
    000070   000A0000 00010000 00100335 03020008  ...........5.... 
    000080   000000AB 00000010 03020304 00AB3132  ...«.........«12 
    000090   30373030 31313030 30313242 6C61636B  07001100012Black 
    0000a0   74686F72 6E652050 656E6E73 796C7661  thorne Pennsylva 
    0000b0   6E696120 20202020 20426C61 636B7468  nia      Blackth 
    0000c0   6F726E65 20504120 20202020 20202020  orne PA          
    0000d0   20202020 20202034 32332053 2E204D61         423 S. Ma 
    0000e0   696E2053 742E2020 20202020 20202020  in St.           
    0000f0   20202020 20202020 20202020 20202031                 1 
    000100   38383130 20202020 20417468 656E7320  8810     Athens  
    000110   20202020 20202020 20202020 20202020                   
    000120   20205553 20504120 20202020 20202030    US PA        0 
    000130   30303030 33343634 35030403 0400AB31  000034645.....«1 
    000140   32303135 30313130 30303135 43415261  201501100015CARa 
    000150   64202020 20202020 20202020 20202020  d                
    000160   20202020 20202020 20204341 52616420            CARad  
    000170   20202020 20202020 20202020 20202020                   
    000180   20202020 20202020 32363030 20566961          2600 Via 
    000190   20466F72 74756E61 2044722C 20537569   Fortuna Dr, Sui 
    0001a0   74652033 34302020 20202020 20202020  te 340    
    I hope this helps.
    Mike V.

  • RFC destination for RFC to File scenario

    Hi,
    I m creating a TCP/IP RFC destination in R/3 system for my RFC to File scenario.
    Step 1:
    For this a Registered server program is created in Jco RFc Destinations with,
    Program Id : pgm1
    Gateway host : PI's host
    Gateway service : PI's service
    application server host: ECC's host
    system numer     : ECC's number
    client  : ECC's client
    logon user : ECC user
    password : pwd
    Step 2:
    In SM59, TCP/IP connection the following parameters are given:
    Program ID : pgm1
    Gateway host : PI's host       -
    > is this correct
    Gateway service : PI's service      -
    > is this correct
    Step 3:
    So i am calling the RFC in ABAP program (R/3 system) like:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
    Step 4:
    In PI side,
    for RFC sender I am passing :
    Application server : PI server
    Application server service: PI host
    program ID: pgm1 which was created in the previos step
    For RFC Metadata Repository Parameter, i am passing all the values related to R/3
    Please let me know whether the steps and values i given is correct.
    B'cos even if i give ECC's information in Gateway host and Gateway service the scenario works fine and if i PI's info then also it works fine.
    so i am confused as which is the correct method. pls clarify

    Ok I will try to explain....
    Assumptions: R3_TO_XI is the name of RFC which I created in ECC of type T.
    While creating the RFC in ECC we mention a unique name which is called Progaram ID. Now the same program id we mention in our sender RFC CC.
    So now when an ABAP Progarm (where you will call this RFC with it's destination) is scheduled/triggered with the code as mentioned below then since the DESTINATION ('R3_TO_XI') mentioned here contain the same program id which we have mentioned in our sender CC, invokes the adapter in PI and soon after that all pipeline steps get executed in XI.
    CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
      IN BACKGROUND TASK
      DESTINATION 'R3_TO_XI'
      TABLES
        comp_detail = company_detail.
    COMMIT WORK.
    Regards,
    Sarvesh

  • Details missing in default trace file of XI

    Hi Experts,
    I am doing RFC to RFC scenario. I am getting checkered flag in SXMB_MONI. But for some reason i am not getting the details of my scenario in the default trace of XI. I'm not sure if the detiails of scenarios involving RFC's will be updated in the trace files. If yes, please help me in finding the reasons as to why it is not heppening in my case.
    Thanks and Regards,
    Hari.

    Hi,
    Increase your logging/ Tracing levels in the Integration engine configuration to see the synchronous message in the SXMB_MONI.
    1.Execute SXMB_ADM in the ABAP stack of XI
    2.Navigate to Configuration --> Integration Engine Configuration --> Change Specific Configuration Data
    Set the following:
    Category : Runtime
    Parameter : LOGGING_SYNC
    value : 1 (activated)
    Parameter : TRACE_LEVEL 3
    value : 3 (activated)
    For information on how to activate and deactivate traces, see the following SAP Note: 532918    (RFC Trace Generation)
    also go with below links
    Configuring the Trace File
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/93532ad37011d194ba00a0c94260a5/frameset.htm
    Enqueue Trace Analysis
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/93532ad37011d194ba00a0c94260a5/frameset.htm
    Enqueue Trace Records
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/93532ad37011d194ba00a0c94260a5/frameset.htm
    Please let me know if this helps you or do you need any more info.

  • Error in WP Trace files

    Hi,
    We are getting the below error in our work process trace files for our SCM 5.1 system
    Tue Dec 30 17:35:51 2008
      ***LOG Q0I=> NiPGetHostByName: hostname 'OPTSERVER' not found: gethostbyname [niuxi.c 1470]
    At same time, we have system log entries as below:
    19:07:34 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    Documentation for system log message Q0 I :
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors
    are network problems.
    It could also be a configuration problem at operating system level.
    (file cannot be opened, no space in the file system etc.).
    Does anyone know about this?? The RFC connections between APO server and Optimizer server are working fine and there is no issue. However, for any dialog/background process we are getting the error above. Please suggest.
    Regards,
    Sandeep.

    Tue Dec 30 17:35:51 2008
    ***LOG Q0I=> NiPGetHostByName: hostname 'OPTSERVER' not found: gethostbyname http://niuxi.c 1470
    At same time, we have system log entries as below:
    during that time
    Tue Dec 30 17:35:51 2008
    there might be some ntwork problems so you are getting the message , its a common error which comes due to network connectivity,
    Regards,
    Subhash

  • SCM WP trace file error message

    Hi,
    We are getting the below error in our work process trace files for our SCM 5.1 system
    Tue Dec 30 17:35:51 2008
      ***LOG Q0I=> NiPGetHostByName: hostname 'OPTSERVER' not found: gethostbyname [niuxi.c 1470]
    At same time, we have system log entries as below:
    19:07:34 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    Documentation for system log message Q0 I :
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors
    are network problems.
    It could also be a configuration problem at operating system level.
    (file cannot be opened, no space in the file system etc.).
    Does anyone know about this?? The RFC connections between APO server and Optimizer server are working fine and there is no issue. However, for any dialog/background process we are getting the error above. Please suggest.
    Regards,
    Sandeep.

    Hi Senthil,
    Thanks for your reply. As in the note 388193 that you have mentioned job /SAPAPO/OM_REORG_DAILY is executed daily in our system and there does not seem to be any issue with optimizer installation as optimizer is working fine and there is no connection problem with scm system.
    However the SM21 errors keeps coming.
    13:48:15 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    13:54:38 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    14:01:24 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    14:07:59 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    Regards,
    Sandeep

  • Not able to get the actual plan from trace file

    Hi all
    I have a Db package and want to get actual execution plan of all the statements in that pakcage it does provides the plan for System's statements but does not displays the plan for Sql statements
    DB version 9.2.0 using the following sequence of insructions
    set timing on
    set serveroutput on
    alter session set events '10046 trace name context forever ,level 12';
    begin
    run_service.collect_data(sysdate);
    end;
    alter session set sql_trace=false;
    exit; ---exit from Sql
    now look at the output
    select distinct obj#,containerobj#,pflags,xpflags,mflags
    from
    sum$, suminline$ where sumobj#=obj# and inline#=:1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.00 1 1 0 0
    total 3 0.00 0.00 1 1 0 0
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: SYS (recursive depth: 2)
    Rows Row Source Operation
    0 SORT UNIQUE
    0 NESTED LOOPS
    0 TABLE ACCESS BY INDEX ROWID SUMINLINE$
    0 INDEX RANGE SCAN I_SUMINLINE$_2 (object id 1614116)
    0 TABLE ACCESS BY INDEX ROWID SUM$
    0 INDEX UNIQUE SCAN I_SUM$_1 (object id 319)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 1 0.00 0.00
    SELECT SEQ_NUM, S_DATE, S_TIME, CSTATUS, G_SERVICE,
    B_REFERENCE, V_REFERENCE, M_PRIORITY
    FROM GL_HIST
    ORDER BY S_DATE DESC, S_TIME DESC
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.01 0 0 0 0
    Execute 2819 0.37 0.32 0 0 0 0
    Fetch 2819 2.50 20.47 2786 20164 0 2819
    total 5639 2.88 20.81 2786 20164 0 2819
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 15550 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 2786 0.05 18.19
    latch free 4 0.04 0.06
    UPDATE G_ORIG SET G_SERVICE = :B1
    WHERE
    SEQ_NUM = :B5 AND S_DATE = :B4 AND S_TIME = :B3 AND
    C_STATUS = :B2 AND NVL(G_SERVICE, '+') <> NVL(:B1, '+')
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.03 0 0 0 0
    Execute 3731 0.74 0.99 261 18712 119 54
    Fetch 0 0.00 0.00 0 0 0 0
    total 3732 0.74 1.02 261 18712 119 54
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 15550 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 261 0.01 0.19
    latch free 9 0.01 0.04
    COMMIT

    Remove the line alter session set sql_trace=false and just exit/disconnect. The explain plain is contained in the STAT lines in the trace file and are only written when the cursor closes. If you turn off tracing before the cursor closes the STAT lines will not get written.

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

Maybe you are looking for

  • My macbook pro wont start up

    goes to a gray screen with apple logo and just the gear spins non stop, never made a recovery disk.did a control r and got to the disk utility but still wont work on repair, id like to try to save my data. any ideas...running lion os not sure i remeb

  • How to retrieve the Conversation ID in ABAP

    Does anyone know how to retrieve a conversation ID in ABAP? You can retrieve the reference ID from SXMSPMAST but how do you retrieve the conversation ID? Table names? FM? ABAP not Java or UDF All suggestions welcome. Regards, Nay

  • I've made a major mistake...

    Got the dreaded Snow Leopard/Firewire issue today with my card reader. Tried an external drive with no joy. Looked for info on how to solve this and for some reason thought it would be a good idea to reinstall 10.5 using the 'archive previous system'

  • "Configuration Manager cannot connect to the site" after site update from SP1 to R2

    Our dev SCCM environment only has a single primary site with a remote SQL database.  Initially, the dev primary site had SP1 Beta (5.00.7782.1000) installed but as everyone is aware there is no upgrade path available to SP1 or R2 from Beta; so, we un

  • Issue with reports on 0FIGL_V10,0FIGL_V11-0GLACCEXT doesn't display in BEX

    Hi All, We are implementing new GL functionality and as a part of it , we copied the standard cube 0FIGL_C10 to ZFIGL_C10 and virtual cubes 0FIGL_V10,0FIGL_V11 to ZFIGL_V0, ZFIGL_V11. We also copied all the standard reports to our custom created cube