RFC TO File "no message in SXMB_MONI"

Hi,
I am calling "BAPI_COMPANY_GETDETAIL".thuough the zprogram"ZBAPI_COMPANY_GETDETAIL"
REPORT  ZBAPI_COMPANY_GETDETAIL.
DATA:BEGIN OF ITAB,
RCOMP LIKE T880-RCOMP,
END OF ITAB.
ITAB-RCOMP = 99999.
CALL FUNCTION 'BAPI_COMPANY_GETDETAIL'
  EXPORTING
    COMPANYID            = ITAB.
IMPORTING
  COMPANY_DETAIL       =
  RETURN               =
The Details I Gave......
In SM59 of R/3:
PROGRAMID:LCRSAPRFC_PIT
GATEWAYHOST:PITEST
GATEWAYSERVICE:sapgw01
ID:
In Communication Channel.
Application server (Gateway):PITEST
Application server Service (Gateway):
PROGRAMID:LCRSAPRFC_PIT
RFC Metadata Repository parameter.
ip of XI Server
System No Xi System NO
username
pwd
Thanks,
Srinivasa

Hi,
Check this thread which may help you:
File to IDOC
You said you are working with RFC to file scenario but where from IDOC error you are getting?
---Satish

Similar Messages

  • ** List of RFCs to retrieve messages from SXMB_MONI

    Hi friends,
    I found only one RFC 'SXMB_SELECT_MESSAGES'  to retrieve messages from SXMB_MONI. But, this RFC returns only message id.
    Could you kindly tell RFCs or classes other than this which will be usefull to retrieve XML Payload and other things ?
    Kind Regards,
    Jeg P.

    Hi,
    There is a function module SXMB_GET_MESSAGE_LIST through which you can get the messages in SXMB_MONI.
    Refer the below thread for more detail:
    In Which Database Table the Messages are Stored in XI
    Thnx
    Chirag
    Edited by: Chirag Gohil on Feb 15, 2008 6:13 PM

  • RFC to File scenario.. Messages not available in sxmb_moni

    Hi Experts,
    I have created simple RFC to File scenario in my sandbox system.  First time I am doing this type of scenario.
    When I execute the program which is created to call the RFC Function Module nothing is coming into sxmb_moni in sap system as well as in PI system.  I don't know why messages is not coming to sxmb_moni.
    Please suggest me how to resolve this issue.
    Thanks & Regards,
    Satish Kumar P.

    Hi Satish,
    first monitor  Sender RFC channel in communciation channel monitroing ,after executing program in ECC if BAPI triggered then definely you will see log in RFC sender channel.
    if nothing was found then prob in ECC side like Pogram triggered BAPI.
    Regards,
    Raj

  • I can not find the messages in sxmb_moni in http to rfc scenarion

    hi i'm using http client tool when i send the message its working fine i'm getting the response, but i can not find that message in sxmb_moni in http to rfc scenario
    can anyone help me

    Hi lnaki vila
    I'm using pi 7.0 version
    i can see the other scenarios like SOAP to RFC, SOAP to IDOC,FILEto IDOC
    in sender side i'm not using any communication channel and adapter engine i'm just using http client tool for testing purpose
    i'm getting the response that's fine because its a synchronous communication
    i checked sxmb_adm in that -->integration configuration LOGGING parameter of category RUNTIME is set to  ENGINE_TYPE and current value is HUB(Integration server)
    thanks in advance
    regards
    Satish

  • File to IDOC scenario-no messages in SXMB_MONI

    Hi all,
       I know this is asked so many times ,I checked some links but couldn;t find out the gap where it happened.
    I am doing a File to IDOC scenario through XI mapping.
    I am not getting any messages in SXMB_MONI.
    When I check Communication Channel monitering in Runtime Workbench, it shows processing successfully, then it should generate messages in SXMB_MONI and intimate whether the scenario created is correct or not right!
    Please help.
    My scenario goes like this:
    Sender : Business service(Some file location)
    Used File adapter for sender communication channnel.
    Receiver : Business system(SAP R/3)
    Used IDOC Adapter for receiver communication channel.
    One more thing is,do I need to create logical system for Business service also?If so, where do I maintain it?(In SAP R/3 or in XI system?)
    Till now,I maintained my XI system as logical system in WE20 and I didn't create any logical system for business service in any system.Does it create main problem?

    Hi , I am able to poll the files from file location now.and I am receiving IDOC into SAP R/3 with status 56.I already created partner for file path as a logical system and assigned inbound parameters with respective message type . Even the status shows :
    An inbound partner profile could not be found with the following key:
    /LSDEMO/LS//DEBMAS////
    This involves the key fields of table EDP21:
    -SNDPRN  partner number of sender
    -SNDPRT  partner type of sender
    -SNDPFC  partner function of sender
    -MESTYP  logical message type
    -MESCOD  logical message code
    -MESFCT  logical message function
    -TEST    test flag
    I already manitained following data and there is one record in EDP21.
    SNDPRN  = LSDEMO  
    SNDPRT  = LS
    SNDPFC = LS
    MESTYP   =  DEBMAS
    MESCOD = space
    MESFCT = space
    TEST = space
    EVCODE   = DEBM
    SYNCHK = X
    METHOD = space
    USRTYP = space
    USRLNG = space
    INMOD = space
    DCART = space
    And please let me know whether I have to maintain outbound parameters  also for my partner in XI system.I didn't see any difference even I maintained it.
    And my IDOC takes another port rather than I mentioned in my SNDPRN(sender port) of my IDOC control record in message mapping.Let me know whether it's mandatory to maintain port name with SAP<XXX>convension,because IDOC in R/3 is picking the port with that naming convension.
    Edited by: Jaya on Feb 26, 2010 10:17 AM
    Edited by: Jaya on Feb 26, 2010 10:27 AM

  • [RFC to File]Problem about Changing file name in message mapping.

    Hi,
    my problem:
        Type:RFC to File
        I change the file name in message mapping.
    when I call the RFC to send the data twice at the same time, both of the output file names are changed while I only want to change the second output file name.
        thanks
    Sam

    In my MM, the input values to these variables (var1, var2 and var3) are (<ZZCOMBI>array,G499999,END_FIFC0029) ,
    var1 is an array of input <ZZCOMBI> item list;
    var2 is get from a property file by call another UDF;
    var3 is constant value.
    the test input data :
    I send the data for the first time:
    - <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <T_ZIFCTS82100010>
    - <item>
    <ZZCOMBI>G000002G000002</ZZCOMBI>
    <ZZKYKBN>*</ZZKYKBN>
    <ENAME_VE />
    <ENAME_Z5 />
    </item>
    </T_ZIFCTS82100010>
    </rfc:Z_IFCFR821_ZIFCTT82100010>
    so the input values to these variables (var1, var2 and var3) are (G000002G000002,G499999,END_FIFC0029)
    the output file name(File1) :END_FIFC002920090413-171534-053.dat
    output record: G000002G000002
    because the data what I send is the last record, the system send the dummy data for the second time by program.
    - <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <T_ZIFCTS82100010>
    - <item>
    <ZZCOMBI>G499999</ZZCOMBI>
    <ZZKYKBN />
    <ENAME_VE />
    <ENAME_Z5 />
    </item>
    </T_ZIFCTS82100010>
    </rfc:Z_IFCFR821_ZIFCTT82100010>
    so the input values to these variables (var1, var2 and var3) are (G499999,G499999,END_FIFC0029)
    the output file name(File2) :END_FIFC002920090413-171533-928.dat
    output record: G499999
    I find that File2(20090413-171533-928) was ouput before File1(20090413-171534-053 ) from the time stamp.
    I am not sure about that "XI will create a message ID for each message and the messages are independent." as you mentioned above.
    Best regards
    Sam
    Edited by: YONGHE ZHOU on Apr 15, 2009 3:59 AM

  • How to do message mapping in IDoc or RFC to file transfer ?

    Hello guys. I have a doubt. I know how to do an IDoc to file or RFC to file scenario. But how to do mapping in an Idoc to file or RFC to file scenario ? As I understand mapping is done in the sender. But IDoc or RFhas no interface as its used for SAP. So where do we need to perform mapping ?

    Hi,
    You dont need the Data type and message type for IDOC's, RFC's and for external definitions. so u just create one DT,MT for your File structure and you need 2 message interfaces, one for file and one for the Idoc/RFC. You can use them in your mapping program.
    Regards,
    Kumar.
    P.S: Reward Points if Helpful!!!!!!!!!

  • Can not see messages in SXMB_MONI of ECC

    Hi Friends,
                 Here I am facing some problem with SXMB_MONI of ECC. I am doing an XI upgrade from XI3.0 to PI 7.1.
    when I am doing my interface upgrade I am unable to see messages in SXMB_MONI of ECC. As ECC is also got upgraded  now BASIS is very confused about configuration.
                 when I went through some blogs I came across some suggestions like configuration in SXMB_ADM. In ECC the integration engine configuration what I did is
                   Role of Business System         : Application System.
                   Corresponding Integ. Server    : dest://<HTTP DEST>
                  One of my doubts:: Is <HTTP DEST> is the one which we are giving in XI/PI or the new one created for ECC. First BASIS set up  <HTTP DEST> as the same one which was configured in PI. Then I went back to BASIS and tell them that ECC is having its own local Integration Engine, so we need to create <HTTP DEST> which connects to integration engine of ECC.
                   Then they created one <HTTP DEST>  for ECC. but when I am doing connection test, Http response is coming as  400 BAD HTTP Response :: protocol error. I have no idea why it is behaving like that.
                   After when I go through some more blogs they are dealing with RFC destinations LCRSAPRFC and SAPSLDAPI. when I check it in ECC I didn't found RFC destination LCRSAPRFC but SAPSLDAPI is existing in ECC.
                   more over some blogs deal with the configuration in Transaction SLDAPICUST. when I check it in ECC no configuration was done in SLDAPICUST.
                   I already configured ENGINE_TYPE, IS_URL, LOGGING, LOGGING_PROPAGATION, LOGGING_SYNC under specific configuration data of SXMB_ADM of ECC.
                   Please let me know what needs to be done and let me out of this confusion. As I am a PI developer I am unaware of all these configurations. expecting replies from gurus....
    Regards,
    DASARI

    Hi Friends,
                 Looking at some more blogs I got a doubt.
                Actually my scenario is File - XI - RFC.
                Now my doubt is whether we can see the messages which were going to ECC by RFC adapter ?
                Looking at a thread  I got confused whether SXMB_MONI can capture messages only if they are coming from Proxy or IDOC . please clarify me.
    Regards,
    Dasari.

  • File to RFC want to delay rfc or file adapter

    Hi,
    I’ve got a problem with my file to RFC scenario.
    XI picks up a file and puts it to an archive directory.
    Then it makes a synchoon call to a RFC. Quality of Service is Best Effort
    The problem is, that the function module does not execute properly, because it can not find the file, so the RFC acts to quick.
    When I change the quality of service to Exactly One or Exactly One in Order it works properly but in that cause I can not see my return message in the payload from SXMB_MONI.
    I guess it is not possible to delay the RFC with the help of additional parameters. The only way to handle this I think is to build a wait function into the function module but my opinion, that's not a correct solution.
    Any expert an idea?
    Thanks in advance for your answers!

    Hi,
    File adapter doesnot support Sychronous. It only supports Asynchronous. Even you specify as synchrounous it acts like asynchronous only. So that is the reason why you are not seeing the response message in SXMB_MONI.
    ---Satish

  • Error in Proxy to File :no msg in sxmb_moni in application system

    Hi all
    i am doing a Proxy to file scenario.i have executed the scenario successfully and the file is created once. from next time i am executing the scenario it is picking the data in ECC and sending data to proxy method (checked through debugging),but it is not showing the message in sxmb_moni for the second time and is not reaching xi.It is only displaying the message processed for the first time.
    i have not done any changes in design but few modifications like changing the date format in abap pgm.
    plz provide the solution and can any one why there is no message in sxmb_moni?
    Regards
    satish

    Hi,
    Check the following
    1. RFC connection between R/3 and PI
    2. You said Business system of type third party (PI) is receiving it. Try Business system standalone Java. If PI system is already defined in Landscape as Integration server. It will not show any message output.
    3. message is shown in sxmb_moni in your ERP that measn proxy is able to receive all objects and passed it from there.
    4. Check in SMQ2 outbound queue of ERP as well as inbound queue for PI if message exist.
    5. While configuring in ID you dont need a sender agreement. Did you created one.
    and finally Check in SMQ2 transaction if the messages are waiting there. If yes, unlock and release queue.
    regards,
    Surya

  • PL_TIMEOUT error message in SXMB_MONI

    Hi..
           I am doing File to RFC to Webservice to File sceanrio. While executing the scenario for first time i got the output. For second time execution, i got the below message in sxmb_moni.
    <?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="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Could you please help out why this error is coming. I have done scenario correctly.

    Gugel,
    Check this thread and the blog:
    level of trace
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    Usually 1 should be good in prod.
    Regards,
    ---Satish

  • Problem Executing RFC to File Scenario

    Hi,
    I am currently working on RFC to File Scenario which is Asynchronous in Nature i.e. The RFC will send some data to XI and then it'll be dumped in an XML File on the shared drive.
    Following are the steps which were performed by me :
    1. i created an RFC Destination in R/3 using SM59 and entered the Required values as mentioned in the blog
    The specified item was not found.
    2. Then i entered the same values in the communication channel of the sender RFC adapter.
    I tested it from R/3 and the connection was successful.
    3. i created an RFC in SE37 in the R/3 and just added an existing table under the "tables" tab. No further code was written in it. I saved it and activated it.
    4. All the IR and ID objects were made and activated and then the scenario was run by sending a single data row by pressing F8. The RFC showed a message of "System Failure" and while looking into the XI Server (SXMB_MONI) the message gave absurd values with a error symbol(it a Red Light symbol and there was no Red Flag).
    Initially, the XML file was getting posted in the shared drive but after further execution it stopped.
    I am unable to figure out the problem. Kindly let me know where i am going wrong and what needs to be done to correct it ?

    Hi,
    For Sending RFC asynchronously check for these points:
    For RFC creation and importing please follow this discussion. Very useful:
    Re: RFC to FILE
    Specially reply by Udo Martens.
    Also for sender RFC, check two things.
    1) First step is Register your ProgramId using activiating the communication channel(XI). You should be able to see it in smgw(R/3)
    smgw->Goto->Looged on Clients(Check it here)
    2) Then use this registered programid in your RFC Destination,in R/3 (it is Case-Sensitive).
    These are just common errors i have encountered sometimes.

  • Urgent : not able to see any message on SXMB_MONI

    Hi all ,
             I have created a scenario XML->XI->SAP R3 for this i have cretaed data in integration repository and in along with interface object i have created 1 mesg maping( MT--->BAPI ) and and Interface Mapping using  the same mesg mapping.
                      in integration directory i have created 2 communication channels one is of sender(adapter file) and other reciever ( adapter RFC ) and rest other things also .
    but when i am checking in SXMB_MONI i am not getting any message i am unable to figure it out where i have done mistake . when i am checking in communication monitor Sender_File_Comm_channel is working fine and Receive_RFC_Comm_channel is showing this message in log :
    Receiver channel 'RFC_Reciever' for party '', service 'BS_ACC_FLAT_R3' (internal name 'RfcClient[RFC_Reciever]')
    Client data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=300, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=XXXXX, jco.client.sysnr=00, jco.client.ashost=XX.XX.XX.XX}
    Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=300, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=XXXXX, jco.client.sysnr=00, jco.client.ashost=XX.XX.XX.XX}
    Current pool size: 0, maximum pool size : 1
    is this communication channel is fine ?
    please suggest how to check application is made correct or not ?
    thanks in advance
    Regards,
    Praveen

    Hello Praveen,
    If I understand correctly the scenario is File -- XI -- RFC and you do not see any message in SXMB_MONI.
    I would test the Sender File Adapter first before going to RFC. If the file is picked up and sent to Int Server you would see a corresponding message in SXMB_MONI.
    I would first check the Sender File Comm Channel in Comm Channel Monitoring and ensure the file id being picked up.
    In case this is not working you would get the exact error in the File Comm Channel. If this channel is working fine and you see a message id for the picked up file but the corresponding message Id is not available in SXMB_MONI, I would have a look at the queues if they are registered properly in SMQR or check if messages are stuck in any queue using SMQ1 and SMQ2 transactions. Please do the following steps and I am sure the scenario would work.
    In case you find the problem and are not able to resolve it please post it here and I can suggest something.
    Please award points if this post helps you.
    Thanks and Best Regards,
    Kanwal

  • 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

  • Issue in Sync-Async bridge(RFC to File) scenario

    Hi All,
    My scenario id RFC to file synchronous scenario.Following the below link, I configured everything and its working fine. I am working on SAP PI 7.31 Dual Stack.
    http://scn.sap.com/blogs/henrique/2007/08/02/syncasync-scenarios-without-bpm
    As mentioned in the above link, I created the file with Message Id as file name and correlating with the message id(Using WaitResponse and Notify beans).Its working fine. But I don't want the file name to be as Message Id. Then in that case, please suggest me how can I correlate the request and response messages.What are the possible ways of doing it.
    Thanks,
    Madhurima

    there is not a best way, just what you need to archive, take the file name as you mentioned is not the best practice, so you can use another parameter provided by SAP.
    To evaluate the following attributes in the PI message header, set the corresponding indicators:
    ○  File Name (technical name: FileName)
    ○  Directory (technical name: Directory)
    ○  File Type (technical name: FileType)
    ○  File Encoding (technical name: FileEncoding)
    do any of them are good for you?
    Rdgs

Maybe you are looking for