Facing problem with RFC to File scenario

Hi Team,
My scenario is like this:
Iam running a report in r/3 system which would then create a file on target side.
I am taking source message as external definition.r/3 people have created proxy on sender side(r/3 server).
when i run the report it would then call proxy and send data to xi.
when i run report on r/3 end it is generating succesful msg in moni.but iam file is not getting created on file server side(iam using NFS file server).
RWB is showing status as holding.not able to tarce out the problem exactly.
Kindly help me out.
Regards
Madhu

i have gone through the link but still unble to resolve the error.
could help me out with more solutions?
Regards
Madhu

Similar Messages

  • 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.

  • Problem with IDOC TO FILE Scenario

    Hi Experts,
    I am doing IDOC TO FILE Scenario.
    I have done all the configuration.I have cretaed RFC,PORT,LS and Partner profile at both R/3 and
    XI Side.
    when I am trying to generate IDOC using we19 and I put the r/3 port,partner in sender and XI
    port and partner in receiver it gives me error as "Port 'SAPCU6_100' does not exist in the table
    of port descriptions.
    Please help me.....
    Regards

    HI Saras,
    Please go through the below weblog which has all the stpes which is required for ur scenario...I think screen by screen help u to debug ur problem and it will help u to find out the msitake which u have made.
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    Thnx
    Chirag

  • Facing problem with RFC connections

    In the Maintenace View for RFC connections, when I press the 'Apply' button I am getting the message"You have no authorization to display the destinationu201D for all the 4 destination IDs"
    Can somebody suggest on how to overcome this problem?
    Thanks,
    Mohammed Tauseef Ahmed

    Hi
    The message over here means the user with which you are logged into the control system and the CPIC user that you may be using to create RFC destinations to the other systems in the landscape do not have the right authorizations.
    It is recommended that all the users have the role TDMS_USER (atleast) or TDMS_MASTER assigned to it.
    Once the role is assigned it will work fine.
    Regards
    Pankaj.

  • I am Facing Problem with the WSDl File which is in the local SAP Server

    Hi All,
               Can you please give me solution of my Problem. Here i am working with the WSDl which is create from the SAP Local System. Now i want to take the wsdl file URL from the local server to my system.Here i Struck. can you please help me .
    thanks
    Siva...

    Here i Followed  Url &sap-user=XXX&sap-password=YYY to the WSDL-URL with XXX and YYY being your username and password and you will be authenticated.
    Later i Struck. Actual my requirement is I have two views i want to take a value from the first view and then return value displayed in the second view. All input/output parameters are the taken from the WSDL file. Can you please Help me.

  • Facing problem with posting Excel file for download - Content in browser

    I am trying to post an Excel file to download from a servlet to a JSP. The content is written properly but to the IE browser and not in an Excel. I even tried giving the ContentType as Word/CSV etc. But nothing works, the content gets displayed only in the browser.
    PLEASE HELP.
    Code snippet in calling JSP:
    DownloadServlet downServlet = new DownloadServlet();
    downServlet.download(response);
    Code in Servlet:
    public class DownloadServlet extends HttpServlet{
    public void download(HttpServletResponse response) throws IOException {
              /*PrintWriter out = response.getWriter( );
              response.setContentType("text/html");
              out.println("<H1>Hello from a Servlet</h2>"); */
         /*HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet("Sheet1");*/
    String strData = "This is a Test for Download";
    byte[] b = strData.getBytes();
    //response.reset();
    response.setHeader("Content-disposition", "attachment; filename=" + "Download.xls");
    response.setContentType( "application/msword" );
    //response.addHeader( "Content-Description", "Download Excel file" );
    ServletOutputStream out = response.getOutputStream();
    out.write(b);
    //out.flush();
    out.close();          
    }

    Hi Naresh,
    My thoughts on a possible solution, convert the last character value to a HEX value and check if it falls within the ASCII/Unicode CP range, Obviously this becomes easier if you are just looking at a single language character set.
    The below FM and code helps you check if the character falls within the ASCII char set.
    DATA: l_in_char TYPE string,
          l_out     TYPE xstring.
    CALL FUNCTION 'NLS_STRING_CONVERT_FROM_SYS'
      EXPORTING
        lang_used                   = sy-langu
        SOURCE                      = l_in_char
      TO_FE                       = 'MS '
    IMPORTING
       RESULT                      = l_out
      SUBSTED                     =
    EXCEPTIONS
       illegal_syst_codepage       = 1
       no_fe_codepage_found        = 2
       could_not_convert           = 3
       OTHERS                      = 4.
    IF l_out LT '0' OR l_out GT '7F'.
      WRITE: 'error'.
    ENDIF.
    Links: http://www.asciitable.com/
              http://www.utf8-chartable.de/unicode-utf8-table.pl
    Regards,
    Chen
    Edited by: Chen K V on Apr 21, 2011 11:25 AM

  • Facing Problem with RFC Function Module

    Hi,
    I have created an RFC function module to get some data in table format.
    I have run the RFC in original system: It is giving the data.
    However, when I run this in target system, It is not giving any values.
    Could you please let me know, why it happens? I am not sure where I missed out.
    Thanks,
    Sandeep

    HI,
    i hope you are calling the RFC function module in the target system like this
    CALL FUNCTION <FUNC NAME> DESTINATION <DESTINATION NAME> . The destination should be logical system name of the source Logical system .
    Regards,
    Nagaraj

  • Problem with RFC Communication in BPM

    Hi,
       I'm again facing problem with transfer of
    File->RFC->File scenario.The error in sxmb_moni is given below .
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error
    opening an RFC connection.</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Can anyone help me in fixing out this problem.
    Regards,
    Prashanth K.R,

    Hi Prashant,
    Just click onto your namespace and verify the details given in the "Connection data for import from SAP system". Check whether its matching the system from where you have called the RFC.
    hope this will help u.
    regards
    divya
    Message was edited by: Divya Nambiar

  • 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

  • HTTP-RFC(BPM)-FILE Scenario

    I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the  Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
    The error msg is displayed below:
    Result:  
    <SAP:Error>
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
    </SAP:Error>
    Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
    Expecting this prob will be off soon.
    thanks
    vinod v

    Hi Vinod,
    your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
    Regards,
    Udo

  • Facing problem with logo in the PDF attachment when sending mail...

    hi friends,
    i'm facing problem with logo in the PDF attachment to the mail.
    my requirement:
    1. enter spool number and mail id in the selection screen.
    process:
    1. now the program will fetch the spool data and converts it to PDF.
    2. but when i'm trying to send mail with this PDF as attachment.
    when i open the PDF file from the mail, logo is not coming properly (looks disturbed).
    can anyone help me how to resolve this issue...
    thanks in advance, murashali.

    hi dinakar, thanks for your mail...
    logo looks good in spool/script/smartform.
    even it look good when i download this spool to pdf and to the presentation server as pdf file.
    i'm using CONVERT_OTFSPOOLJOB_2_PDF.
    when i used CONVERT_ABAPSPOOLJOB_2_PDF, is gives a msg - 'spool number not found'.
    here i'm using folloing code to pass pdf to the function module: SO_NEW_DOCUMENT_ATT_SEND_API1.
    code:
    Transfer the 132-long strings to 255-long strings
      lt_mtab_pdf[] = pdf[].
      LOOP AT lt_mtab_pdf INTO lwa_mtab_pdf.
        TRANSLATE lwa_mtab_pdf USING ' ~'.
        CONCATENATE lv_gd_buffer lwa_mtab_pdf INTO lv_gd_buffer.
        CLEAR lwa_mtab_pdf.
      ENDLOOP.
      TRANSLATE lv_gd_buffer USING '~ '.
      DO.
        lwa_mess_att = lv_gd_buffer.
        APPEND lwa_mess_att TO lt_mess_att.
        CLEAR lwa_mess_att.
        SHIFT lv_gd_buffer LEFT BY 255 PLACES.
        IF lv_gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    NOTE: problem i believe is with ''.  i'm getting this tilt symbol () in my pdf internal table.  here in the above code the line   TRANSLATE lv_gd_buffer USING '~ ' is changing the existing tilt to space.  so my logo is getting disturbed.
    even i tried with REPLACE this tilt with other char, but it doent work.
    can you give any idea...

  • 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

  • CC error in RFC to File Scenario

    Hi ,
    While am trying to do end-to-end test for a RFC to file Scenario. Am getting this below error. Please help me to proceed further.
    Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '2008-08-13' too long (>8 for 2. column) - must stop', probably configuration error in file adapter (XML parser error)'
    Regards,
    Hemanthika

    Hi,
    Please go through this Blog
    RFC Scenario using BPM --Starter Kit
    check this blog on how to configure sender rfc adapter.
    The specified item was not found.
    I hope it helps,
    Regards,
    Surya

  • Triggering RFC FM in R3 for the RFC to File scenario

    Hi All,
    I am Developing a  RFC-XI-FILE  scenario where i am unable to triger an RFC from the source system(R/3) .I have used the RFC-FM : ZBAPI_COMPANY_GETDETAIL ( which is remote enable)  i havent written any source code in the function module : just i have created only the parameters in the table as :
    Tables:
    COMPANY_DETAIL LIKE  T880
    i have created a source code in the se38 of R/3  to call this function module as :
    DATA: COMPANY_DETAIL TYPE STANDARD TABLE OF T880 with header line .
    selection-screen begin of block blk1 with frame title text-001.
    PARAMETERS : COMP_ID TYPE BAPI0014_2-COMPANY.
    selection-screen end of block blk1.
    start-of-selection .
    SELECT RCOMP
           NAME1
           CNTRY
           LANGU
           STRET
           CITY
           FROM T880
           INTO CORRESPONDING FIELDS OF TABLE COMPANY_DETAIL
           WHERE RCOMP = COMP_ID.
    CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
                   IN BACKGROUND TASK
                   DESTINATION 'SENDRFC'
      TABLES
        COMP_DETAIL = COMPANY_DETAIL.
    COMMIT WORK.
    I have created RFC destination in R/3 as : SENDRFC  of type T with the programid : SENDRFC_PORTAL this same program id is used in the XI sever for the sender RFC adapter .
    When i execute the above program in R/3 the changes are reflecting in the XI when i checked in the SXMB_MONI.
    Please sugest the correct source code if the above source code is wrong  and provide me the exact process to do .
    Regards,
    Bharat .

    Hi bharat,
    >>When i execute the above program in R/3 the changes are reflecting in the XI when i checked in the SXMB_MONI.
    That means your RFC was called and the data was sent to XI.
    >>Please sugest the correct source code if the above source code is wrong and provide me the exact process to do .
    Since XI was called the source code is correct.
    Am I missing something here? Can you provide some details about your requirement/error.
    Regards
    Suraj

  • Issue in RFC to File Scenario

    Hi All,
    I am working on SAP PI 7.31 dual stack. I have configured a simple RFC to File scenario with aysnchronous interface. I am using classic configuration.
    In Sender RFC channel monitoring I am getting the below exception and the file is not created.
    "Error in processing caused by : com.sap.aii.af.lib.mp.module.ModuleException : call to messaging system failed: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message xxxxxxxxxxx(OUTBOUND) expired".
    Please suggest me what could be the issue.
    Thanks,
    Madhurima

    Hi Madhu
    As the log says the function module is try to execute synchronously.
    But as per your requirement it should be asynchronous. Please remove all the  export parameters from the function module.
    Then re-import the function module in PI and adjust mapping and operation mapping.
    Stop and start the RFC sender adapter so that it will get the new metadata of the function module.
    The function module should have only import parameters so that it will act like a asynchronous interface.

Maybe you are looking for

  • Steps Invloved in Company Code Creation

    I need to create a new company code in the existing landscape of SAP. Please tell me all the steps involved while creation of a new company code in the existing landscape . I mean I need to know all the high level steps involved. e.g. create new comp

  • Uninstalling Quicktime 7.5 and installing 7.4

    I bought a MXO and an addition Apple monitor to color correct in FCP Color. I found out that I cannot calibrate my new monitor with MXO with Quicktime 7.5. They say that if I install 7.4 it will work, then reinstall 7.5. When I uninstall 7.5 and try

  • How to learn Photoshop CS 5.1?

    Hello Everyone, First off I just want to thank you for taking the time to look and hopefully answer my question. I am fairly new to the Photoshop world.  I purchased Photoshop CS 5.1 over a year ago and it has been sitting on my Mac without me using

  • I can't exit full screen mode and there are no navigation areas like I used to have.

    I just loaded Foxfire 4.0. I tried out full screen mode and cannot get back to the original mode. Even more annoying is that there doesn't seem to be any way to open new tabs or show the items that I used to keep at the top of my start screen. It's a

  • Cannot update to new version

    I am running linex on an Acer Aspire one. I have tried to update Firefox to version 4 and after sucessfully downloading the file I then couldn't install the update. I have extracted the file from the archiever be still can't work out how to run the u