RFC Adapter Trace!

Hi Everybody,
I'm currently trying to debug a problem with the RFC adapter. Is there a flag that can be set that would allow me to see the actual JCO code being executed by the RFC adapter? I'm in a situation where the RFC is being executed and it's generating an error message but it seems to be data related...however, the data in the XML looks correct so I need to see how the RFC adapter is interpreting the XML message. Of course, I'm definitely open to any other ideas that you may have.
Thanks alot,
...Scottd
p.s.I'm using XI 3.0!

Hi, Soctt,
Go to the J2ee Visual Admin tool. Check the service Log configurator. Go to the RFC adapter file and set the trace level to debig mode. Save it. Noe try to test your sceanrio and check the file system for the traces...You have more info from the trace now.
Looks like you have a problem with the data you trying to send thorouch XI.
Regards
Prasad

Similar Messages

  • Why is the RFC Adapter so unstable

    Hi all,
    I have a scenario where an IDOC is sent from the sender system and an RFC enabled Function Module is called on the target system. Sometimes I get an error in the Adapter for no aparent reason. I check the RFC adapter trace file but none of the exceptions was raised and I am not able to see what was the problem.
    But, if I restart the RFC Adapter and send the IDOC again, everything's allright. Why? Is there any other trace avilable somewhere? Is there any way to restart the RFC Adapter periodically and automatically?
    Thanks and regards,
    Nuno

    This sounds like a bizarre scenario.  Why would a Idoc (asynchronous) be calling an RFC (synchronous)?
    Unless the RFC is doing update?  Then you have more problems.  You are mixing your QoS from EO to BE.  The delivery is no longer guaranteed.  The posting to the RFC could work but XI may not get the acknowledgement - RFC adapter does not do commit so you must have a commit in the remote function.  If no acknowledgement is received, do you resend and risk duplicate updates?  How do you guarantee EO delivery?  The sender system is right in expecting EO for it's outbound Idoc.
    In all the training material RFC is intended for data retrieval, not data posting.  This is consistently done with Idoc (EO, or EOIO).
    I would consider changing the scenario to Idoc->xi->Idoc.

  • RFC Sender problem  between 46D and RFC adapter

    Hi,
    I have this simple integration scenario where I want to send data to a archiving system;
    SAP -> (tRFC) -> XI -> (MQ) -> BizTalk -> (MQ) Arch.syst.
    SAP side ***
    A Z-program using a Z func. like;
        CALL FUNCTION 'ZSD_DCF_SEND_TAG'
          IN BACKGROUND TASK
          DESTINATION 'XISYSTEM_TRFC_DCF'
          EXPORTING
            pt_filing_info = gt_filing.
        COMMIT WORK AND WAIT.
    XI side ***
    Both IR and ID is configured correctly, in the development environment everything works just great. I have created a test program where I can define how many calls I will do, looping over the func. call with a commit inside the loop - 500 or more msgs are ok.
    The integration scenario is transported to quality enviroment using CMS, and the RFC sender comm.ch. is configured accordingly.
    The problem in quality ***
    When sending just 1 msg, everything is just fine, message received and delivered to MQ.
    When sending >= 2 msgs, the 1 msg is always ok, BUT all others fails due to the following from Adapter monitor;
    RFC_HISTORY
    - Error: 2006-01-19 10:55:18 CET: com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'RFCSender_XI0002' (02d4d30de3593874942ed0659add0827, party '', schema 'TechnicalSystem', identifier 'Q93#120')
    - OK: 2006-01-19 10:55:17 CET: Message processed for interface ZSD_DCF_SEND_TAG
    My sending system is Q93 CLI 505 so I can understand the error, BUT I cannot understand why the RFC adapter is saying the TechnicalSystem is Q93#120 - it should be Q93#505. My Q XI has client 120...
    It seems to me that the RFC adapter is kind of confused about the sender..
    I have created a OSS message and SAP has looged on and looked into it with both a XI expert and RFC expert without being able to answer - all is configured correctly.
    - The SLD config. for bus.system Q93 is ok -
    - The bus.system in ID is showing correct vaues for
    Adapter Specific Identifiers (SID Q93, client 505)
    - Both Dev. and Qual. environment are running on XI 3.0 SP 14 latest patch, RFC component version on the SAP side is identical between dev. and qual. SAP systems
    - It doesn't matter which gw I use (Q93 gw or XI gw), the error is persistent
    - It doesn't matter if I increase initial conn, max conn.
    I have also tried to use qRFC instead, but with the same result.
    Anyone using tRFC for asynch. communication from SAP to XI seeing something similar?
    Meanwhile, I will do RFC trace on GW and RFC Adapter on AE....
    Please, do not say SP15, oss msg for FAQ RFC adapter or links to RFCAdapter config....
    best regards
    Torstein

    Hi,
    SAP Note 730870 FAQ: XI 3.0 RfcAdapter Q.no 15
    <i>Q 15: Whats wrong when the error message "lookup of alternativeServiceIdentifier via CPA-cache failed" shows up while sending a RFC call to the RfcAdapter?
    A: A RFC sender channel is located beneath a service within the Integration Directory. Within this service choose "Service" -> "Adapter-Specific Identifiers". The values in the fields "R/3 System ID" and "Client" has to be maintained with the correct values of the system, that sends the RFC call to the RfcAdapter. It normaly only makes sense to have these values filled for services of type "Business System". If maintained in SLD, this fields will be filled automaticaly for services of type "Business System" and can be updated with the button "Compare with System Landscape Directory".</i>
    - Give correct appserver and gateway service details in XI.
    - Open the service holding the RFC adapter you are trying to use. On the top menu, goto Service -> Adapter Specific Identifiers..
    Regards,
    Prateek

  • RFC ADAPTER destination hangs

    To All
    I am working on a XI 7.0 system SP5 for netweaver 2004s and am having problems with the RFC adapter.
    Steps as follows:-
    1.Configure SM59 tcp ip destination on r/3(4.6C) sender system using Xi system host and gateway service
    2. step 2 - configure communication channel on my scenario in Integration directory. Activate channel
    3. Send Asynchronous message via prgram from R/3 sender
    this delivers successfully to BW target ssytem via asynchronous RFC
    My problem is when I repeat steps 3 to send more my rfc destination fails with the following in the trace log:-
    Trace file opened at 20060303 160158 WST, REL 46D,0,1984, VER 3
    ======> CPIC-CALL: 'ThSAPECMINIT'
    Transaction program not registered
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1356
    CPIC-CALL: 'ThSAPECMINIT'
    Transaction program not registered
    DEST =ZSCEN2_XI
    HOST =%%RFCSERVER%%
    PROG =ZBWIP24_19
    GWHOST =ux0800
    GWSERV =sapgw53
    If I repeat setps 1 to 3 above with a new transaction program it will again work but only once.
    Any help would be greatly appreciated and I will award points.
    Regards
    Liz Porter
    PS the adaptor monitor periodically gives the following message:-
    Sender Channel 'RFC_INDE4' for Party '', Service 'ERP_WATERCORP_SAPR3_D' (Internal Name 'RfcServer[RFC_INDE4]')
    Server data: {jco.server.gwhost=ux0800, jco.server.progid=ZBWIP24_19, jco.server.gwserv=sapgw53, jco.server.unicode=0}
    Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=100, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=portere0, jco.client.sysnr=81, jco.client.ashost=sapdev}
    Current pool size: 1, max pool size : 50
    RFC_HISTORY
    - Error: 2006-03-03 16:49:27 WST:
    RfcException:
    message: CPIC-CALL: SAP_CMACCPTP3
    no SAP ErrInfo available
    Return code: RFC_SYS_EXCEPTION(3)
    error group: 102
    key: RFC_ERROR_COMMUNICATION

    To All
    The call from to the RFC destination is attempted as tRFC
    see below:-
    PARAMETERS:P_TPLNR LIKE IFLOT-TPLNR,
               P_DESTN LIKE TRFCQOUT-DEST DEFAULT 'ZSCEN2_XI'.
    CALL FUNCTION 'ZBWIP_FUNCTIONAL_LOCN_OUT'
       IN BACKGROUND TASK
        DESTINATION P_DESTN
         TABLES
           FUNCT_LOC_MAIN       = T_TABLE.
      IF SY-SUBRC = 0.
        COMMIT WORK.
        WRITE:/ 'So far so good check XI'.
      ELSE.
        WRITE:/ 'Error ', SY-SUBRC.
      ENDIF.
    The SM59 parameters on R/3 4.6C as set as
    Connection type T     TCP/IP connection
    Activation Type: registration
      Program ID   ZBWIP24_28
    Gateway:-
    Type                 T  TCP/IP connection
    Gateway host    ux0800
    Gateway service sapgw53
    and finally tRFC:-
    Connection attempts up to task        2
    Time betw. 2 tries [mins]             10
    In the XI integration directory:-
    Adapter type RFc sender
    Application Server(gateway) ux0800
    Application service(gateway)  sapgw53
    Program id                    ZBWIP24_28
    Initial Connections           1
    Maximum connections           50
    Advanced Mode   Maximum reconnection delay 3
    A bit more information from our XI system.  In SMGW on XI our program shows as "connected" and on drill-down shows status receive data/send.  If however we configure a SM59 TCP-IP connection  on XI to our XI gateway(ie connect to myself) I get the same CPIC message about 677 timeout for registered program.
    Regards
    Liz

  • Sender RFC adapter Error- request was null while trying to extract it.

    Hi All,
    I  have a scenario running in Production(PI 7.0 system) where SAP ECC sends RFC request through sender RFC adapter. The scenario was working fine but now I am getting the below error in default trace and I couldn't see any error in communication channel monitoring.
    java.lang.Exception: RfcServer[BAS_ECC_RFC_Snd]1[AFSenderD] request was <null> while trying to extract it.
    I have gone through the below thread and performed a full cache refresh but it didn't help :  
    [NULL]
    I have gone through SAP note:730870 and I couldn't get any help on this error. Can you please suggest your ideas to solve this issue.
    Thanks & Regards,
    Laawanya

    Hi Lawanya,
    Check you RFC and input data , whether the RFC call is able to get the data from ECC or not.
    you can test the same RFC in ECC with input data and you can check whether the RFC in ECC is return the value or not.
    I gues in your case the RFC in ECC is not return any data  to PI.

  • XI RFC Adapter 4705: Wrong response

    Hi all,
    I am trying to configure an RFC Adapter in XI. My scenario is as follows: SAP -> RFC Adapter -> XI -> File Adapter -> Local filesystem.
    When I try to send the message I get the following error in the trace document for the RFC Adapter:
    >>RfcAdapter> Fri Oct 15 11:48:38 CEST 2004>>
    > App2Jco: got RFC Adapter exception
    > exception occurred, detail:
    > 4705: Wrong response - Z_PS_PROJECT_INFO_TO_XI.Response or *Exception expected
    What is strange is that the file is actually written (though empty) on the filesystem, and even more strange is that there are no xml-messages passing through XI (using t-code sxmb_moni).
    Can somebody please help me understand this?
    Best Regards
    Odd Hilt

    Hi Odd,
    I'm also trying to configure a RFC adapter scenario as sender like yours.
    I've configured a TCP/IP destination in SM59 as the XI system (test connection is working fine).
    But when I execute the RFC in R/3 with the XI system name as the destination I'm getting the error msg "com.sap.aii.af.rfc.afcommunication.RfcAFWException : lookup of binding via"
    Can you help me regarding this?
    Thanks & Regards,
    Dipankar

  • Error in pushing a request to R3 System using RFC Adapter

    I am trying to send a request to R3 system using an RFC Adapter as my end point and pointing to
    the Application server of the  R3 box.
    In the Transaction SM58 I see and error saying "<i><b>Exception in handleRequest of server Xmb2RfcService: java.lang.Exception:</b></i>"
    Here are the corresponding details:
    Caller: CENTRALADMIN
    Function Module: SRFC_ADAPTER_SERVICE
    Target System: AI_RFCADAPTER_JCOSERVER
    Host: .... (The XI Server)
    Program: SAPMSSY1
    Clnt: 100
    As per the SRFC_ADAPTER_SERVICE function module, the <i><b>purpose stated so...
    "This function is the glue between the JCo RFC Inbound Adapter and the XMS Pipeline."</b></i>
    By the by the RFC adapter is started and I can see no activity in the log after startup.
    I would really appreciate for any idea/leads in solving this. Thanks.<b></b>

    Here are the details
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Config File for RFC Adapter%%%%%%%%%%%%%%%%%%%%
    RFC ADAPTER CLASSNAME FOR ADAPTER ENGINE
    classname=com.sap.aii.rfcadapter.core.RfcAdapterModule
    RFC ADAPTER CONFIGURATION PROPERTIES
    Tue Jan 21 13:27:43 CET 2003
    1. GENERAL SECTION
      1.1 trace settings
    RfcAdapter.trace=2
    -> adapter trace level 0 = none
                           1 = error
                           2 = standard
                           3 = request
                           4 = payload
                           5 = binary payload outbound
    #RfcAdapter.traceStack=0
    #RfcAdapter.listenException=0
    #RfcAdapter.listenState=0
    -> additional trace switches (in general not needed)
    RfcAdapter.traceFile=./LogFiles/Adapter_rfc.log
    -> name of trace file (traces to stdout if not specified)
       NOTE: in a productive environment, the trace file should be written to the
             log-file directory of the Adapter Engine
      1.2 connectivity settings
    RfcAdapter.registerInbound=sourceBackendXD1
    -> space-delimited list of logical names for inbound R/3 systems subsections.
       The adapter will register with all R/3 systems defined in this list and
       those systems can send RFC requests into the XI via an RFC destination
       that has to be setup in SM59 to point to the RFC Adapter
    RfcAdapter.accessInbound=toXmb
    -> logical name for inbound access to XMB subsection
    RfcAdapter.registerOutbound=fromXmb
    -> logical name for outbound access from XMB subsection
    RfcAdapter.accessOutbound=targetBackend
    -> space-delimited list of logical names for pre-allocated outbound R/3 systems subsections.
       This is an option to speed up connection setup during request processing. The RFC Adapter
       preallocates sessions to all listed R/3 systems.
    RfcAdapter.clientCloseConn=1
    -> close calling connections after call (1) or just reset session (0)
       NOTE: the reset mechanism is slightly faster for request processing. However, it does
             not re-connect after a target system shutdown and hence requires a restart of the
             RFC Adapter in such a situation.
    #RfcAdapter.maxDynPools=128
    -> maximum number of dynamically allocated client pools to access outbound R/3 systems
    #RfcAdapter.minDynPoolSize=4
    -> initial number of clients in dynamically allocated client pools
    #RfcAdapter.incDynPoolSize=4
    -> increment number of clients in dynamically allocated client pools
    #RfcAdapter.maxDynPoolSize=64
    -> maximum number of clients in dynamically allocated client pools
    2. SUBSECTION FOR REGISTRATION TO CLIENT APPLICATION SYSTEMS
    (one subsection per incoming R/3 system; requires callback service user for repository access)
    RfcAdapter.sourceBackendXD1.host=db03
    RfcAdapter.sourceBackendXD1.sysnr=00
    RfcAdapter.sourceBackendXD1.progid=Rfc2XmbService
    -> recommended is: RfcAdapter.sourceBackend.progid=Rfc2XmbService
    RfcAdapter.sourceBackendXD1.poolsize=5
    RfcAdapter.sourceBackendXD1.unicode=1
    -> source system is Unicode installation (1) or not (0)
    RfcAdapter.sourceBackendXD1.client=500
    RfcAdapter.sourceBackendXD1.user=XIAPPLUSER
    RfcAdapter.sourceBackendXD1.passwd=********
    RfcAdapter.sourceBackendXD1.lang=EN
    RfcAdapter.sourceBackendXD1.trace=2
    -> enable RFC trace for this connection (1) or not (0)
    #RfcAdapter.sourceBackendXD1.sncName=<SNC_name_of_adapter>
    -> e.g. RfcAdapter.sourceBackendXD1.sncName=p:CN=USERNAME, O=ORGNAME, C=DE
    #RfcAdapter.sourceBackendXD1.sncLib=<SNC_library_path>
    -> e.g. on Win2K: RfcAdapter.sourceBackendXD1.sncLib=C:
    Program Files
    SECUDE
    SECUDE for R3
    secude.dll
    #RfcAdapter.sourceBackendXD1.sncQop=<SNC_quality_of_protection>
    -> 1,2,3,8,9 e.g. RfcAdapter.sourceBackendXD1.sncQop=1
    #RfcAdapter.sourceBackendXD1.sncAcl=<SNC_access_control_list>
    -> logical names for allowed callers e.g. RfcAdapter.sourceBackend.sncAcl=peerB6A peerB6Q
    #RfcAdapter.sourceBackendXD1.sncAcl.peerB6A=p:CN=B6A, O=SAP-AG, C=DE
    #RfcAdapter.sourceBackendXD1.sncAcl.peerB6Q=p:CN=B6Q, O=SAP-AG, C=DE
    -> details for peer ACL lists
    3. SUBSECTION FOR ACCESS TO XMB INBOUND RFC SERVICE
    (only one entry possible)
    RfcAdapter.toXmb.host=web03
    RfcAdapter.toXmb.sysnr=00
    RfcAdapter.toXmb.poolsize=5
    RfcAdapter.toXmb.client=100
    RfcAdapter.toXmb.user=XIAPPLUSER
    RfcAdapter.toXmb.passwd=******
    RfcAdapter.toXmb.lang=EN
    RfcAdapter.toXmb.trace=2
    4. SUBSECTION FOR REGISTRATION OF XMB OUTBOUND RFC SERVICE
    (only one entry possible)
    RfcAdapter.fromXmb.host=web03
    RfcAdapter.fromXmb.sysnr=00
    RfcAdapter.fromXmb.progid=Xmb2RfcService
    this value must be in sync with Program Id setting for AI_RFCADAPTER_JCOSERVER in SM59
    RfcAdapter.fromXmb.poolsize=5
    RfcAdapter.fromXmb.unicode=1
    -> source system is Unicode installation (1) or not (0)
    RfcAdapter.fromXmb.trace=2
    5. SUBSECTION FOR ACCESS TO SERVER APPLICATION SYSTEMS
    (one subsection per outgoing R/3 system; pre-allocated connection pools via service user)
    RfcAdapter.targetBackend.host=db03
    RfcAdapter.targetBackend.sysnr=00
    RfcAdapter.targetBackend.poolsize=5
    RfcAdapter.targetBackend.client=500
    RfcAdapter.targetBackend.user=XIAPPLUSER
    RfcAdapter.targetBackend.passwd=*******
    RfcAdapter.targetBackend.lang=EN
    RfcAdapter.targetBackend.trace=2
    END OF RFC ADAPTER CONFIGURATION PROPERTIES
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Log data for the adapter%%%%%%%%%%%%%%%%%%%%%%%%%%
    Fri Sep 24 09:50:09 EDT 2004 *****
    09:50:09 (6011): RFC adapter initialized
    09:50:09 (6031): RFC adapter started
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%SM59 entries on the XI box%%%%%%%%%%%%%%%%%%%%%%%%%%
    Name: AI_RFCADAPTER_JCOSERVER
    Program ID: Xmb2RfcService
    Action Type: Registered Server Program
    Gateway: web03  (Local XI box)
    Gateway Service: sapgw00 (00 is the system number)
    Name: XI_SERVER
    Program ID: Rfc2XmbService
    Action Type: Registered Server Program
    Gateway: db03  (R3 box)
    Gateway Service: sapgw00 (00 is the system number for R3)
    Both the entries are tested fine.

  • RFC adapter - AE_DETAILS_GET_ERROR - no adapter engine

    Hello,
    have a strange error.
    Our scenario connects two R/3 systems via RFC adapter (outbound / inbound) for an RFC in a standard R/3 function module SUSR_ZBV_GET_REMOTE_PROFILES.
    The RFC is synchronous.
    When starting the RFC call from the sender system the error message in the trace is "exception while reading from SLD:Property sap_xiadapterservice.adapterType does not exist".
    Message in RWB:
    "Transmitting the message using connection http://abc038.ceu.test.com:8077/sap/xi/engine?type=entry failed, due to: XIServer:AE_DETAILS_GET_ERROR:Property sap_xiadapterservice.adapterType does not: Unable to find any Adapter Engines."
    - SLD connection is working
    - Vis.Admin.: no problems found
      (SAP RFC adapter active)
    - Component monitoring: no errors
    - all rfc connections checked: ok
    Does anybody have an idea, how to fix that?
    Best regards
    Dirk

    Hello Dirk and all posters,
    We get the same problem just as you described.
    We also see no entries in the sxi_cache part for the adapter engine which indicates a problem in getting AE metadata from the SLD.
    I see we are all not alone so i believe SP12 is the cause for the problem.
    We have another SP11 system that works well.
    We tried all those things to understand the problem:
    1. look at the structure of the calsses maintained in the SLD to make sure the property "adapterType" exists.
    2. Checked the log of the SLD with level "Finest" to make sure the data for the property is sent - all OK.
    3. Try to completely delete SLD and reimport CIM 1.4 and CR content 2.0 - all the latest from the web - problem still exists.
    4. Put a huge trace on the RFC gateway in the ABAP engine to make sure all XML data is received from SLD server including specific proprty. all ok.
    5. Of course we made sure all caches are refreshed, access to SLD is performed all right (logs, traces).
    6. Try to disable SM59 entry: SAPSLDAPI and look at the trace in SXMB_MONI. It shows error of connection of course instead of the error of the non exsitene property. But it still shows the error for not getting the access data - so this is only a side affect of the real problem.
    Now, as you can see we turned the system from inside out.
    I beleive the problem is SAP's problem regarding the parsing of the COM model in the CIM client. I believe that if i could debug the actual abap that parses the XML in the ABAP WAS i would find the problem - i could'nt find a way of debugging the actual processing of a message in QRFC so i'm stuck here.
    - Does all of you who have the problem has SP12 ?
    - Does any one have an idea of anything else we can all check ?
    Good luck for us all :->
    Yoad Snapir.

  • RFC Adapter Debug

    I would like to trigger a debug in the backend R/3 system for an RFC coming in through the RFC adapter in XI 2.0.  Does anyone know how this is done.  I suspect that it should be an option in the RFC Adapter configuration similar to RfcAdapter.trace, but I cannot seem to find one.

    Hi,
    I also wanted to debug the RFC coming from BW system to XI. We raised an oss note to SAP , and they said that its not a background job , but it is a module pool . So I am also stuck over here.
    The only debug option is RFC trace Log file , where in the end it gives a message , what went wrong .
    Thanks,
    Pushpendra

  • Adapter trace

    Hi experts!
    I am developing an adapter on PI 7.0 that complains with JCA 1.0, based on sampleAdapter delivered by SAP.
    A lot of trace calls are made on my code: trace.entering(...), trace.exiting(...), trace.catching(...) but none of them appear at nwa logs.
    The file structure of MyAdapter.sda is the following:
    META-INF\application-j2ee-engine.xml
    META-INF\application.xml
    META-INF\log-configuration.xml
    META-INF\MANIFEST.MF
    META-INF\SAP_MANIFEST.MF
    META-INF\sda-dd.xml
    MyAdapter.rar
    And the structure of MyAdapter.rar is:
    META-INF\connector-j2ee-engine.xml
    META-INF\MANIFEST.MF
    META-INF\ra.xml
    MyAdapter.jar
    When I make the deploy at Visual Administrator, I can see the tab Log Configurator with the data of log-configuration.xml that is on sda:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
    <log-configuration>
         <log-formatters>
              <log-formatter
                   name="trc"
                   pattern="%26d %150l [%t] %10s: %m"
                   type="TraceFormatter"/>
         </log-formatters>
         <log-destinations>
              <log-destination
                   count="5"
                   effective-severity="ALL"
                   limit="2000000"
                   name="MyAdapter.trc"
                   pattern="./log/applications/mycompany.MyAdapter/default.trc"
                   type="FileLog">
                   <formatter-ref name="trc"/>
              </log-destination>
         </log-destinations>
         <log-controllers>
              <log-controller
                   name="mycompany.MyAdapter"
                   effective-severity="ALL">
                   <associated-destinations>
                        <destination-ref
                             association-type="LOG"
                             name="MyAdapter.trc"/>
                   </associated-destinations>
              </log-controller>
         </log-controllers>
    </log-configuration>
    At Service > Log Configurator >Locations, I can also see those configured values. But nothing is logged on trace.
    Is there something missing?

    Hi, Soctt,
    Go to the J2ee Visual Admin tool. Check the service Log configurator. Go to the RFC adapter file and set the trace level to debig mode. Save it. Noe try to test your sceanrio and check the file system for the traces...You have more info from the trace now.
    Looks like you have a problem with the data you trying to send thorouch XI.
    Regards
    Prasad

  • Changes don't reflect using BAPI_PROJECT_MAINTAIN through RFC adapter

    Hi,
    I am working on a Integration Scenario in XI. In this I am executing BAPIs through RFC adapter. I am using BAPI_PROJECT_MAINTAIN to create WBS Elements in Project System. After creating WBS Elements when I try to define the hierarchy, the BAPI calls executes successfully but the hierarchy is not visible when viewed in the SAP WEB GUI.
    I am using following parameters to define WBS hierarchy:
    *IMethodProject
        OBJECTTYPE = WBS-HIERARCHY
        METHOD = CREATE
        OBJECTKEY =
        REFNUMBER =
        OBJECTTYPE =
        METHOD = SAVE
        OBJECTKEY =
        REFNUMBER =
    *IProjectDefinition
        PROJECT_DEFINITION = P-0300-00-04
    *IWbsHierarchieTable
        WBS_ELEMENT = WBS-001
        PROJECT_DEFINITION = P-0300-00-04
        UP =
        DOWN = WBS-002
        LEFT =
        RIGHT =
        WBS_ELEMENT = WBS-002
        PROJECT_DEFINITION = P-0300-00-04
        UP = WBS-001
        DOWN =
        LEFT =
        RIGHT =
    In normal case the WBS element 'WBS-002' should move below 'WBS-001', but when I execute BAPI with above parameters, the Hierarchy is not visible in the GUI the both WBS Elements remain at root level, even I get '000' as response with no errors.
    When I run the BAPI through transaction SE37 with same parameters as above, the changes are visible in the GUI.
    Can anyone please tell what am I missing here.
    Thanks & Regards,
    Ajay

    Hi Ajay,
    I understand the problem this way, when u do something thru XI you dont see the effect (even if the the transaction is successful), whereas when it done is directly in the R/3 you can see the output.
      look into the below
    - check if your XI user is having necessary authorisations (you can do this by enabling the trace in ur R/3 - back end system)
    - check if you are passing the input properly in the XI. (like field formats, padding characters, prefixes etc)
    Hope this helps to fix ur issue
    Regards
    Vishnu

  • FILE-RFC ADAPTER problem

    Hi all,
    I am trying file->xi->rfc adapter scenario.
    My scenario is employee information is written to flat file n  will be kept on ftp server.THe file adapter will pickup the file and sends it to rfc adapter through pipeline service.
    This is going well. The problem is the data is not being updated into receiving sap system.
    in SXMB_MONI transaction the messages are successully processed . But there are no messges in rfc adapter when i gone through idx5 transaction???
    Any one have idea??
    Thanks in advance.
    Rgds,
    Ram Sri

    sxmb_moni only shows the status of the integration engine's processing, not the result of what happened in the rfc call.  First, you can check if the adapter framework successfully passed the message to the destination system (not on moni, thru RWB)
    as far as did the rfc succeed - it's as difficult as always with internal processing.  We did a lot of testing by debugging modules on the destination side (manually putting in the data as the adapter would've to step thru & see where the message is "lost") - have not yet found a better way, sorry.  It's not so much a problem with XI, just in general the difficulty to debug rfc's

  • Receiver RFC adapter issue! Please help!

    Hi Experts,
       I have 4 XI interfaces. All of these are Webservice to RFC scenarios. Moreover all of them are synchronous.
      Request message: Webservice (SOAP Adapter) ---> XI -
    > RFc Adapter ---> ECC Function modules
      Response message: Webservice (SOAP Adapter) <- XI < RFc Adapter <- ECC Function modules
    As you can see above, external system calls XI web service via SOAP Adapter. The input data is then sent from SOAP Adapter to RFC adapter to call RFC function module in the receiving side.  The receiving system is SAP ECC system.
    The receiver ECC system has two instances. For example SP0 ad SP1. 
    In the receiver determination step we have maintained a rule such that if the Plant value in the input message is XYZ then send data to SP0. But if the plant value in ABC then send data to SP1.
    This Conditional rule is working fine.
    However we are getting couple of issues with only one instance of ECC (SP0).
    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-001cc495e48a(INBOUND) expired
    2. NO_MAPPINGPROGRAM_FOUND. Mapping program is not available in runtime cache: Object ID C2B41FFDFD4635BAB1E41AE53C0D10CE Software Component 5394F420463611DAC1CFFBBC0A01BC16
    3. com.sap.engine.interfaces.messaging.api.exception.MessagingException: No response available
    The above listed errors are generated occasionally. Sometimes no errors are generated even when the same input data is sent again and message is successfully processed.
    I have verified the input data and everything is OK with that.
    Mapping object is available in XI and cache was also refreshed. I additionally reactivated the objects in XI as well.
    So what could be the real root cause of this? Please help!
    Thanks
    Gopal

    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-
    001cc495e48a(INBOUND) expired
    Check the Timeout parameter of your adapter.....for requests which expire with this error confirm from the SAP end that the message processing is done well within the Timeout period of the adapter.
    Refer this note for more info on the above occuring error and the possible way to avoid it: https://service.sap.com/sap/support/notes/791379
    Update:
    Even problem 3 seems to be occuring due to insufficient Timeout specified for the adapter.....if possible try increasing the Timeout in VA
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Oct 6, 2009 1:42 PM

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • Error while doing commint from RFC Adapter

    Hi,
    We have a SOAP-PI-RFC synchronous scenario. Through this Soap request comes to PI and passed on to BAPI via RFC adapter. This BAPI saves the transaction & return the document number. We are using " PI PI parameter u201CCommit Handling for single BAPI' in RFC receiver Channel.
    While this setup works for 1 posting, when we do the mass load ( Say 20 Documents) half of the documents are not able to Save. Although BAPI, returns the document number but on checking the document does not exists in SAP. To do further test, we created a program in ECC and try calling BAPI in loop and calling BAPI Commit.
    This way program works fine and there is no error
    So in nutshell, when we PI do the commit, half of the documents are not saving where as when the ABAP program commits no error. Is there any  special way that PI calls this commit work.
    PS: We created a wrapper BAPI which calls the orgirnal BAPI and Commit BAPI & called this from PI but still the same problem is coming.
    Appreciate help on this.
    Regards,
    Harish

    Are there any error messages in the RFC Reciever channel in Runtime Workbench?
    RWB -> Component monitoing -> Adapter Engine -> Comm Channel -> filter for type RFC
    Please try to give some more details on why the system says the messages are failing.

Maybe you are looking for

  • Unable to launch application with webstart

    Hi all, hope someone can help I recently installed j2se 5.0 update 1 and uninstalled my earlier version of 1.4.2_06. Since uninstalling the earlier version I am unable to run my application, I get the following error: An error occurred while launchin

  • Acrobat V9 Pro OCR can't produce a file

    I am trying to perform OCR on a credit card statement. The statement has 3 PDF pages and except for the non-regular header info at the top of the page, everything is in nice columns - five of them.   I specify the output file to be an excel spreadshe

  • CS4 Crashes when opening a PP project saved on another identical workstation

    Hello, I have 2 identical computers Running PP CS4 in seperate buildings. When I copy a project to a USB flash drive or network drive from workstation A and copy it on to workstation B, the project acts like it successfully loads and at the very last

  • Netbeans 6.1 JavaFX build error

    Env: Netbeans 6.1, JavaFX, Linux, Java(TM) SE Runtime Environment 1.6.0_06-b02 Hi, The error below is displayed building the "Practical Guide to JavaFX " project (CrudFX) http://molgav.nn.ru/index.php?view=article&catid=38%3Aexample&id=229%3Apractica

  • Limit an infotype time constraint 2

    Hi, We have maked a client infotype that must have one register for every year. And for this reason its time constraint is 2. User wants this infotype limits when employee fires. Do you know how to limit this infotype in a date different of 31.12.999