Receiver RFC displays data as #

Hello Experts,
  We have a scenario JMS ->PI->RFC.
PI is Unicode system with charecter size 2 where as R3 is a ECC 6 non unicode system with charecter size one.
I guess due to this the error occurs while data conversion and # is diplayed; as RFC destination has default setting i.e. "Ignore Error, Error Indicator: '#' = U+0023"
Please suggest how can I overcome this problem?
I have tried option for changing the encoding using XSLT as mentioned in :
encoding problems XI. 3.0
But it was of no help.
Please suggest!
Kind Regards,
Abhijeet.

Hi Stefan,
   Thanks for inputs. I have changed the encoding in XSLT back to UTF-8, set logon Language to "DA" as the input can contain Danish Characters.
But still it is same, I do get # on receiving side.
I tried to remove XSLT and assign the Constant (actual payload which is a XML again) using a dummy Message mapping and it works fine. Data is received well on receiver system. But as soon as i try to map actual contents from JMS I get this #. 
Can it be due to XSLT mapping used?
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<ns1:HDK083_REFUS_RECVDOCU xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<P_SIGN_DOCUMENT>
<xsl:value-of select="/.../.../ReferenceAttributTekst" />
</P_SIGN_DOCUMENT>
<P_XML_DOCUMENT>
<xsl:copy-of select="." />
</P_XML_DOCUMENT>
</ns1:HDK083_REFUS_RECVDOCU>
</xsl:template>
</xsl:stylesheet>
Also I tried to use Message mapping to replace the XSLT, but as the input coming in payload is a XML, when I assign it to string field it says
com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns1:HDK083_REFUS_RECVDOCU/P_XML_DOCUMENT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
Also i tried to use new feature of PI 7.1 "Return as XML" where we can assign a complete XML to single field, but still it fails in mapping with exception
SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
  <SAP:P1>com/sap/xi/tf/_MM_Test_</SAP:P1>
  <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
  <SAP:P3>on: Cannot create target element /ns1:HDK083_REFUS</SAP:P3>
  <SAP:P4>_RECVDOCU. Values missing in queue context. Targe~</SAP:P4>
  <SAP:AdditionalText />
  <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_Test_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:HDK083_REFUS_RECVDOCU. Values missing in queue context. Targe~</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
Can you suggest something to resolve this???
Kind Regards,
Abhijeet.

Similar Messages

  • Health App not working (receiving/retaining/displaying) data.

    Hi,
    I am using MyFitnessPal and MapMyRun or Strava to send data to the Health App.
    The data was not going to the Health App when I looked.
    I found that when I did a hard reset yesterday the data appeared.
    It was gone in the morning however.
    After trying another hard reset the data has NOT re-appeared.
    Is my data lost?
    Is there a bug here?
    Has anyone else experienced this?
    Thanks.

    Hi I am using MyFitnessPal and Strava, I have noticed this very same problem, There is another thread looking into this, with a suggestion that a hard reset may correct it. In my experience that didn't work.
    From what I can tell the data , ie Steps , flight climbed is still logged and available as I have noticed mine coming and going over the past few days. (almost as things a written to Health App).
    I think it is going to require a software update to fix, either Apple or the App causing the problem.
    iPhone 6.0 , iOS 8

  • Problems Displaying data from RFC on Adobe Forms

    Hi,
    I have some Problems with creating an Adobe Form and hope, someone can help me or give me some hinds to some tutorials, which can help me.
    I'm developing an webdynpro-application which get data from a R/3 via RFC-Call.
    Context-Binding and so on is done and works. I created also an interactive form and can display some datas on it.
    Here my questions:
    I have an field 'unit' which shoulb be displayed on several positions onto the form. My problem is, i can display it only once. If i copy the field, there is no output in it. What can i do, to solve the problem?
    From the RFC i get a table with several rows of data, i want to display on the form.
    With drag&drop i can place the fields onto the form but they are displayed only once. I want one line for every row from the table.
    What do i have to do? Are there tutorials which show the steps?
    When I am not using a form, i can display the data from RFC in a table with no problems (i create a table ui and choose create binding from context menue). Are the nescessary steps for displaying the data on an interactive form the same.
    I read something about creating a dynamic form design. Do i have to create it? What are the steps i have to do.
    Many questions, but i hope that someone can give me some helpful hints.
    Many thanks
    Mathias Lange

    Hi Mathias,
    If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
    So, follow the steps:
    1. Insert one sub form on your adobe form.
    2. Set its type as "flow content" in object->subform property.
    3. Set flow direction as "Table".
    4. Insert another subform inside this subform.
    5. set its type as "flow content" and flow direction as "Table row".
    6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
    7. Now, insert your column fields inside this sub form once.
    8. Format its look and feel as you want.
    When you run this application, it will show you multiple data as table on Adobe form.
    Regards,
    Bhavik

  • Receiver RFC Adapter -Advance Mode  option

    Hi Experts
                    I want Execute the commite transaction after Trigeering the Standred BAPI through XI.
                We haveAdvance Mode  option in Reciver RFC Adapter . Any one explain me how to implment this.
    Regards
    Upendra.V
    Edited by: upendra v on Jan 26, 2009 1:47 PM

    Hmmmm.. I guess you are just practising & exploring all the featers of RFC.. isn't it?
    Anyway upto what I know is here..
    >If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
    First of all you need to write an ABAP program in R3, there you will call your RFC/BAPI to update the database entries.
    In XI, under your receiver RFC adapter check the box "Commit Handiling for Single BAPI Calls". Once you click you will get another check box called "BAPI Advanced Mode".
    >If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
    Once you send the data from XI to R3, then in R3 function module BAPI_TRANSACTION_COMMIT will be called explicitly (you need to define/call this BAPI after the ABAP code for database update). This will commit the work and return the result success or failur in a parameter called RETURN.
    And after this BAPI you should call BAPI_TRANSACTION_ROLLBACK, so that in case of errors the transaction will be rolled back.
    >The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values u201Cu201D, u201CSu201D, u201CIu201D, and u201CWu201D are displayed. All other values are regarded as errors.
    As described above.
    >To change this setting, set the indicator BAPI Advanced Mode.
    In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.
    Once you check the box "BAPI Advanced Mode" a table will appear, there you can write your own values e.g.u201Cu201D, u201CSu201D, u201CIu201D, and u201CWu201D.
    I can not provide a better solution then this... you have to do a work around, but above are the basic steps which can be considered before implementing the solution.
    Regards,
    Sarvesh

  • Display data in excel

    Hi, I have program which display data in Excel layout of ALV loaded from internal table..
    It means that in sap i received excel sheet with all its functionality.
    The problem is that sometimes there are missed some rows with data.
    Did someone meet with similar situation?
    Regards,
    Joanna

    HI
    DATA: v_file LIKE rlgrap-filename,
            v_filename TYPE string.
      REFRESH i_matcontrol.
      CLEAR   i_matcontrol.
      TRANSLATE v_exten TO UPPER CASE.
      IF v_exten = 'XLS'.
        v_file = p_p_file.
        CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
          EXPORTING
            i_field_seperator    = 'X'
            i_tab_raw_data       = ws_rawdata
            i_filename           = v_file
          TABLES
            i_tab_converted_data = i_data.
      ELSEIF v_exten = 'TXT'.
        v_filename = p_p_file.
    File upload
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = v_filename
            filetype                = 'ASC'
            has_field_separator     = 'T'
          TABLES
            data_tab                = i_data
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            OTHERS                  = 17.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e001(00) WITH text-001.
            STOP.
          WHEN 2.
            MESSAGE e001(00) WITH text-002.
            STOP.
          WHEN 0.
            IF i_data IS INITIAL.
              MESSAGE s001(00) WITH text-008.
            ENDIF.
        ENDCASE.
      ENDIF.
      DELETE i_data WHERE matnr IS INITIAL AND
                                  werks IS INITIAL.

  • Sender JDBC to Receiver RFC scenario

    Hi All,
    I have to configure an scenario of sender JDBC to receiver RFC wherein SAP PI will be pulling data from third party database (Oracle).
    Since I am configuring such scenario of sender JDBC, I want help on every important key aspects/prerequisites of configuring sender JDBC adapter/channel. I want to understand about Database Connection, Processing Parameters, etc. details while configuring sender JDBC channel and their significance/relevance.
    Also I need guidelines about the source data structure (message type or external definition) to be used/created in ESR.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    Please guide me on this.
    Thanks & Regards,
    Amit Patil

    Hi Amit,
    First of all you should read the sap.help documentation:
    Configuring the Sender JDBC Adapter - Advanced Adapter Engine - SAP Library
    Configuring the Receiver JDBC Adapter - Advanced Adapter Engine - SAP Library
    Later, you can read Rajs's blog to advance concepts and perfomance JDBC Receiver scenarios best practices part-1
    Finally, search the other blogs and documents in the SCN.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    JDBC sender always does a poll to a DB table (with join some tables) in wich table you will need a field checkbox to mark the registers read, and the the receiver JDBC you can do a typical SQL construction like SELECT, INSERT, DELETE, etc. Both cases need the JDBC DB driver installed (check the SAP notes for this, also you can find some examples in the SCN:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?quicklink=index&…  PI/XI: deploy a JMS/JDBC driver without JSPM? ).
    Regards.

  • Getting the following error in receiver RFC channel

    Hi Folks,
    Iam having two RFC channels one as SENDER and other as RECEIVER.Ensuring that all the required data is perfectly given while creating these two channels...the SENDER RFC channel status is green in channel monitoring and RECEIVER RFC channel is red!
    Iam gettiing follwing error against RECEIVER RFC channel -
    <b>"Receiver channel 'Receiver_RFC' for party '', service 'BXT_100_IS'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect. Please re-enter"</b>
    Even iam pretty sure about the user and pwd used in RECEIVER RFC channel...
    and also i noticed "perform notification" status is failed in cache notification against my user id...
    Can anyone help me in resolving this issue..
    Thanks in advance..
    Regards,
    Ram.

    Hi Ram,
    Please change your password to UPPERCASE and try.
    I have came across few instances where SAP converts passwords to uppercase while storing and so they dont match.
    Hope this helps.
    Regards,
    Rahul.

  • Receiver RFC synchronouse scenario question:

    Dear All,
    I have a doubt in Receiver RFC sync scenario. for example file to XI to RFC.
    Question: when ever Response RFC is triggered in R/3 Side. How the data reaches XI.
    By just creating Synch Communication channel for the RFC in XI, will  the data to come to XI for RFC respose.
    How when a Respose RFC is Triggered in R/3 Server, how the data points or reaches XI port?
    How the Auto Triggered RFC Respose data points to XI and Comes to XI in a Synchronous RFC Receiver scenario.
    PS: I am not from ABAP background. if any code has to be written in R/3 side for making the response RFC point to XI, please provide a generalized code also if possible.
    Please Advice,
    Prakash.

    RFC destination,port at XI would help to get response data
    No need to write any code,because RFC provide sync communication.
    use links RFC Scenario using BPM --Starter Kit
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Exposing BAPI as Web Services through SAP XI
    RFC Scenario using BPM --Starter Kit
    The specified item was not found.
    The specified item was not found.
    HTTP to RFC - A Starter Kit

  • Multiprovider display data issue

    Hello,
    I'm using BI7.0 and created Multiprovider using Custom DSO and Infocube1.
    the problem is, when i use display data through multiprovider, I'm not able to see data from DSO .
    I have considered all common fields from DSO and Cube and assigned in multiprovider.
    basically I'm selecting all IO and Keyfigures from Infocube1 and few IO from DSO
    some reason I am not able to see data from DSO when i view data through multi provider.
    Please help me to view data from both cube and dso through multi provider.
    Thanks
    Ganga

    Hi Ganga,
    Please check whether there is any restrictions for the field 0PROVIDER. There may be restriction to get the data only from cube.
    If there is no any restrictions then here may be your problem.
    You need to maintain atleast one key figure in both targets.
    Since there is no any key fig coming from DSO
    please create a dummy key fig and try to check once again.
    please go through the link.
    Re: MULTIPROVIDER NOT GETTING DATA
    hope this helps u.
    Thanks,
    Sai Chand

  • Need Suggestion in displaying data in ALV.

    Hi All Experts,
    I have a scepic scenario for which I need your inputs. I am preparing a report which will display data foe entries made in time sheet. The entries in time sheet can be made for anything like a change request on an incident etc. It will have various output fields
    And also dates for which entries are made. So it can have date from 1 to 31. This all is
    to be displayed in ALV. Now the report can be displayed in two Summarised ways.
    One summary can be for a user and another for the  object type(incident, change request).
    Now if the user wants to see this report for a period more than a month  then I have to summarise it against a month too. So am not sure how to handle this. Which type of ALV function module to be used to display this?
    Regards,
    Saket

    hello,
    I would suggest to go for GRID display - for that you can use either function module or class.
    Tips:
    If it also need to be summarised by month then add an extra field in fieldcatalog as monthid / monthname.
    also it's better to have an extra field for object tyoe (Incident/ change)...
    Thanks.

  • Display data in JTable

    I am trying to display data from database into the JTable swing component. I can see the table and the heading coming from the vector. I cannot see why the data from the databse table is not loaded on to the Jtable. I just get a table with 6 rows blank.
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class dataTable extends JApplet
    String dbdriver="jdbc:oracle:thin:@ds1.ctateu.edu:1521:wpac";
    String dbuser="system";
    String dbpass="pass";
    Container c;
    JScrollPane jsp;
    JTable table;
    int v,h;
    Connection connection;
    Statement stmt;
    ResultSet rs;
    String param_start,param_end, param_disp_start, param_disp_end,param_shortdesc, param_longdesc;
    public void init()
    c= getContentPane();
    c.setLayout (new BorderLayout());
    v=ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
    h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS;
    Vector heading = new Vector();
    heading.addElement("Event Start Date");
    heading.addElement("Event End Date");
    heading.addElement("Display Start Date");
    heading.addElement("Display End Date");
    heading.addElement("Short Description");
    heading.addElement("Long Description");
    Vector data = new Vector();
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    connection=DriverManager.getConnection(dbdriver,dbuser,dbpass);
    stmt=connection.createStatement();
    rs= stmt.executeQuery("select * from univevents");
    while(rs.next())
    param_start = rs.getString("start_date");
    param_end = rs.getString("end_date");
    param_disp_start = rs.getString("display_start");
    param_disp_end =rs.getString("display_end");
    param_shortdesc = rs.getString("short_desc");
    param_longdesc = rs.getString("long_desc");
    catch (Exception e)
    //JOptionPane.showMessageDialogue("Exception: "+e.getMessage());
    data.addElement(param_start);
    data.addElement(param_end);
    data.addElement(param_disp_start);
    data.addElement(param_disp_end);
    data.addElement(param_shortdesc);
    data.addElement(param_longdesc);
    table = new JTable(data, heading);
    jsp = new JScrollPane(table,v,h);
    //Add scrollpane to container
    c.add("Center",jsp);
    }//init
    }//JApplet

    Your data vector should be a Vector of Vectors.
    I think you need to change your loop to look something like this:
    while(rs.next())
        Vector row = new Vector();
        row.addElement( rs.getString("start_date") );
        row.addElement( rs.getString("end_date") );
        row.addElement( rs.getString("display_start") );
        row.addElement( rs.getString("display_end") );
        row.addElement( rs.getString("short_desc") );
        row.addElement( rs.getString("long_desc") );
        data.addElement( row );
    } Then remove your data.addElement() statements found outside the loop.

  • Displaying data in a tree from database table

    Hi,
    I want to display data from a database table (mara-matnr) in a tree structure. I went through the coding of SBSPEXT_HTMLB. There static data was taken in to wa_tab. But there I want to bring data from a database table into wa_tab. For this I created an internal table without headerline by taking a work area, now how can I move data from this work area to wa_tab record by record.
    I hope some one might have worked on this. Plz help me....
    Thanks in advance,
    Ravindra.

    Hi,
    take a look at this <a href="/people/tomas.altman/blog/2004/12/13/sdn-blog-how-to-do-internal-tables-in-bsp which explains how internal tables work in ABAP OO.
    Furthermore I think you want to do this:
    insert <yourWorkarea> into table wa_tab.
    A complete mara example would be:
    data tab_mara type table of mara.
    data wa_mara type mara.
    select * from mara into table tab_mara.
    *or you can use:
    select * from mara into wa_mara.
       insert wa_mara into table tab_mara.
    endselect.
    regards
    Thomas

  • Can't display data that exist in cupe

    Hi All,
    I get a problem which is thar even i entered data in the cube i cant display with charecteristics. When i go to bw and display data if i say select charecteristics i can see any data but if i dont select charecteristics i can display data. Also when i enter data and sen data it say succesful but i loose data on view. Have anyone get any problem like that thanks for your interest.
    Kasim

    Hi,
    The code you sent appears to be the Audio Talkthrough example with several modifications. Here's the first thing I noticed that appears to be incorrect: You're using the BF AD1871 Wait on Data Ready Flag VI to fill the sub-buffer, then you go into a loop and get the contents of that buffer 256 times. You should be filling the buffer each time before you get the buffer instead of only filling it once. You also aren't resetting the data ready flag by using the BF AD1871 Clear Data Ready Flag VI.
    Message Edited by Michael P on 07-28-2006 09:55 AM
    Michael P
    National Instruments

  • Not able to display data in different columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.

    Hi Venkat,
    After extracting data into DSO check the request whether active or not.
    Check data in DSO in contents.
    If is there any restrictions on info providers in Queries.
    Let us know status clearly.......
    Reg
    Pra

  • Not able to display data in separate columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
    This is an urgent need. Please help me out.

    Hi,
    I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
    eg:
    select
    case
    TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2)
    = :P15_EV_LCL
    then
    span style="background-color:lightgreen"
    || TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    else
    span style="background-color:yellow"
    || TRUNC(
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    end "Effort"
    from actuals Z
    If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
    Please suggest
    Thanks
    Sudhir
    Edited by: Sudhir_N on Mar 23, 2009 10:00 PM

Maybe you are looking for

  • LabVIEW Project and saving only the relevant vis

    I have a large development folder (and sub-folders) that I have used as a repository for all of my development plus test pieces of code. There are about 800 vis in the folder, but if I save my main VI off to another folder using "Duplicate Hierarchy

  • Does anybody know whether Primavera Project Management software can be used under Mac OSX ?

    I itend to use the Primavera software which we are using under Windows with my Apple Notebook and would like to know whether there is an OS X version existing.

  • ORACLE Portal & BPEL

    Help me, please :( I create and deploy BPEL process. I create java class. In java class call create and update instance of process (for create i use ...Locator locator=new Locator("default", "bpel",props); ...NormalizedMessage nm = new NormalizedMess

  • Trigger point for no. of calls of a router

    Hello, we would like to limit the number of calls for a router. So the first three prototypes should use one router, the following work orders should use another one. We would like to inactivate this prototype router and activate the standard router

  • Safari facebook application problem

    Hello! I have a small game project on Facebook, and its works fine in all browsers, except Safari. Browser just don't save the session. I've read that its the problem with Iframe on Safari, and found some solutions, but none of them worked for me, pr