No sending characters RFC to PI

Hi all,
I developing a PI scenario RFC to JDBC, and when i sending a RFC to PI, only numerical fields are filled in XML message, and characters fields no, like as, message below. In RFC function a see all fields in ABAP Debug, but in SXMB_MONI in PI, i can't see characters fields!!!
Please, could you help me?
Thanks!
Regrads
Fábio Ferri
SAP Netweaver Consultant

Make sure that the datatype of RFCs support the character values and its nor integer only. Or if you have edited the RFC after its import in XI, then reimport it before using. Also check payload in RWB and see whether the sender is able to send all the fields or not.
Regards,
Prateek

Similar Messages

  • SAP WCF - Getting incorrect action when trying to send a RFC to SAP

    SAP WCF - Getting incorrect action when trying to send a RFC to SAP
    I am trying to send a rfc and i am getting this message below.
    Does anyone know the correct action i need to use?
    Event Type:        Warning
    Event Source:    BizTalk Server 2006
    Event Category:                BizTalk Server 2006
    Event ID:              5743
    Date:                     7/6/2009
    Time:                     3:02:26 PM
    User:                     N/A
    Computer:          saptestbox
    Description:
    The adapter failed to transmit message going to send port "WcfSendPort_SAPBinding_Rfc_Custom" with URL "sap://CLIENT=200;LANG=EN;@a/saptest/90?ListenerGwServ=sapgw90&ListenerGwHost=saptest&ListenerProgramId=testE1D200&RfcSdkTrace=False&AbapDebug=False". It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: Incorrect Action <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Operation Name="_x002F_SIE_x002F_E_MM_INVENTORY_INTF" Action="http://Microsoft.LobServices.Sap/2007/03/Rfc/_x002F_SIE_x002F_E_MM_INVENTORY_INTF" />
    </BtsActionMapping>. Correct the specified Action, or refer to the documentation on the allowed formats for the Actions.
    Server stack trace:
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    I am getting same error even after using the same operation name  in logical and  in action on physical port as in Binding file created by adapter
    Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: Incorrect Action <BtsActionMapping>
    <Operation Name="Send" Action="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//711/Send"/>
    </BtsActionMapping>. Correct the specified Action, or refer to the documentation on the allowed formats for the Actions. Note that Actions are case-sensitive.

  • Help Need on SOAP (Sender) to RFC Scenario(Synchronous Communication)

    Hi All
    I have a requirement of <b>SOAP(Sender) to RFC</b> scenario(Syncronous Communication).  The scenaio goes like this........
    I have a web service through which I have to create a SAP Notification in SAP system and the Notification ID created and other details have to be returned back to the webservice from the BAPI.  I have identified the relevant BAPI for the scenario.
    I have a wsdl file which I have uploaded it.  What are the next steps to be done?
    Please let me know what all(e.g., Data types, Message Types, Message Interface)  I have to create in Integration Repository and what all configurations I have to make in Integraion Directory.
    FYI, I have a gone through a list of Blogs, but didn't get enough info.
    Please help me out in providing your valuable answers.
    Thanks,
    Vijay
    P.S. Rewards points are sure .....

    Hi Vijay,
       If at all you have uploded wsdl file for the webservice you no need to create data types for the same even for the same as RFC also.
         Create message mapping and drag the wsdl file which you have imported as External Definiations and there you will be having request and response parameters..Do the mapping accordingly(according to your requirement).
    Mapping like:
        Wsdl(Request)---->RFC (Input parametrs)
        RFC (out parameters)------>wsdl(Response)
    Create message interface with Synchronous for outbound
        No need of DT,MT if at all if you import the wsdl file.
       Hope i am clear.
      Please let me know if you have any queries..!
      Thanks and Regards,
      Chandu.
    null
    null

  • JDBC(Sender)-XI-RFC (Request) RFC (Response)-XI-JDBC(Receiver)

    Hi All,
    JDBC(Sender)-XI-RFC (Request)
    RFC (Response)-XI-JDBC(Receiver).
    Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
    Let me explain the scenario:
    We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
    I need the solution how to implement the same requirement in current scenario.
    Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
    I am at PI 7.0 SP12 with HP unix box.
    Thanks in Advance for creative idea
    With Regards
    Sunil

    Hi Bhavesh,
    Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
    Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
    JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status “S” and “E” and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
    Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
    Even I do not find the link to reward point. Please let me know how to do it.
    With Regards
    Sunil

  • Jco.webas.ignore_jdsr_error=1 in the sender side RFC adapter of RFC to SOAP scenario

    Hello Team,
    I am doing RFC to SOAP scenario after configuring the scenario i have checked the sender side communication channel it is not throughing any errors and it shows the status as green but it is displaying a short message
    it is the short log displayed while checking the sender side RFC communication channel it shows that "jco.webas.ignore_jdsr_error=1" can please any one suggest me how we can solve the issue.
    Regards,
    Avinash.

    Hi Avinash - I don't think that is an error instead it just displays your  system configuration.
    your RFC adapter should work i believe..
    Are you facing any issues?
    (I think the parameter is nothing but the value @ nwa/java system properties/XPI Adapter:RFC -> ignoreJrfcJdsrError(true/false))

  • Soap Sender and RFC Adapter receiver getting APPLICATION_ERROR

    Hi, all,
    I have a webservice soap sender and RFC Adapter receiver scenario, it works fine with RFC "RFC_SYSTEM_INFO", When i tried the RFC "RFC_READ_TABLE", getting the following error message,  <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code> in
    SXI_MONITOR, in webservice client, i am getting error message like this:
    <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <rfc:ZZTEST_RFC_READ_TABLE.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
                   <Name>TABLE_NOT_AVAILABLE</Name>
                   <Text>QUERY_TABLE not active in Dictionary</Text>
                </rfc:ZZTEST_RFC_READ_TABLE.Exception>
    Thanks a lot!

    Hi
    Its not compulsory but its good to wrap it as Z object.
    Well if you are facing problem with SOAP data. Then try to do one thing. Check with the data you received from SOAP message. If this works
    Then try to check in mapping is it passing the data correctly or not. With this check with the user authorization PIAPPLUSER. if its having less authorizations to execute this BAPI in ECC
    Thanks
    Gaurav

  • RFC Sender and RFC Receiver Sync Scenario . Help required.

    Hi,
    I need to make RFC Sender and RFC Receiver Sync Scenario.
    Any docs/links for it.
    Regards

    Hi,
    I have CRM (r/3) and DM (r/3)system.
    Data from differnent tables of CRM system needs to go to
    DM system different tables , data will be saved there and then return response back to CRM system.
    For this I have given one RFC for CRM system
    For this I have given one RFC for DM system
    So I have to make Sync Outbound Interface
    and Sync Inbound Interface.
    So I think so no BPM is required.I am correct?
    Adapter -- RFC Sender and RFC Receiver Adapter.
    Regards
    Edited by: Henry H on Jan 29, 2008 11:20 AM

  • Sending characters VISA serial connection

    Hello.
    I am working on a project where I have to write characters to a PIC in the style of a train controller that controls the direction of a train simulation.
    I have the basic serial reading and writing working. Labview initially sends a 'S' to start the simulation on the PIC. Then it waits for the PIC to send characters relating to what station the train arrives at. Labview then lights the relevant LEDS on the front panel and then tells the PIC to move with a 'M' 
    However, I need to add some extra functions. I want to be able to send additional commands to the PIC such as 'J' to jump a station. 'E' to end the simulation and 'R' for reverse, so the train goes back a station instead of forward. I need these commands to be sent to the PIC when the 'M' is considered.
    So basically user sends a 'J' 'E' or 'R' then send 'M' however I am having trouble with this and not really sure where to put it.
    I've attached my VI so if anyone could give me some useful hints I would be very grateful!
    Attachments:
    Simulation2.vi ‏26 KB

    Looking at your code more closely... why do you have your Start button wired to the "Enable Termination Char" input of VISA Configure Serial Port?  That doesn't make any sense, nor does the comment next to it.  Outside the while loop, why are you reading a local variable of each indicator and then writing that same value to the indicator terminal?  That's not doing anything.  It would be better to get rid of the local variables entirely.  For example you could do something like this:
    Now, on to your question.  What do you mean by "how will this affect my code"?  Try writing it and see.  Start by just duplicating the code you have now, but with a shift register, an enumeration, and 4 cases (matching the 4 states in your current sequence structure). Once that works, you can probably simply add some code to the first case that checks if any command button has been pressed, and if so, send the corresponding character to the serial port.

  • Can send characters to the standard input while DOS Command is under execution

    Can Labview send characters to the standard input while DOS Command is under running with System Exec.vi?

    iftu wrote:
    Found following VI's in ogpipe.llb under the ZIP file. Didn't find PING Example.vi
    OGPIPE Write To Pipe__ogtk.vi
    OGPIPE RefNum__ogtk.ctl
    OGPIPE Read From Pipe__ogtk.vi
    OGPIPE Open System Command__ogtk.vi
    OGPIPE Open Pipe__ogtk.vi
    OGPIPE Close Pipe__ogtk.vi
    OGPIPE - VI TREE__ogtk.vi
    PING Example is not in that archive. This is only the actual PIPE function library. What you want to do is using "OGPIPE Open System Command" to create the pipe handles for stdin and stdout and optinally stderr. Then use "OGPIPE Write To Pipe" to write to stdin and "OGPIPE Read From Pipe" to read from stdout and optionally stderr. When finished close each opened pipe handle with "OGPIPE Close Pipe".
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to use HyperTerminal to send characters to the cRIO

    Hello, I built an RS232 serial cable using three wires interface of serial port (Rx, TX, GND). And I connected it between my computer and the cRIO. I would like to ask is it possible to use HyperTerminal to send characters to the cRIO? What vi. do I need to do so?
    And is my cable interface correct? Do I need to connect other pins besides Rx, TX and GND?
    Thank you very much for helping.

    So did it or did it not work when you typed words in by hand in hyperterminal?  I'm not clear on this from your response.
    What kind of things are you trying to send?  What code do you have on your SBRIO to handle the other end of the communication.
    It could mean your connection failed.  It could mean you have the wrong cable between the two (null modem vs. straight through), it could mean you aren't sending the data in the same way the code on the RIO is expecting.  Look at such things like any termination characters you send at the end of the message.
    It's kind of hard to help without know more details of what you are trying to do and whether it is working for you in Hyperterminal or not.

  • Help required for Sender Proxy/RFC and Receiver RFC approach. Urgent please

    Hi All,
    I have one sender R/3 system
    I have two receivers R/3 systems
    Business Partners data from sender R/3 system needs to be repliacted to 2 receivers R/3 systems
    From sender R/3 system one Sync Abap Client Proxy or
    Sync RFC will send Business Partners data to XI.
    For both receivers R/3 systems there is only one RFC Currently there is no flag condition for 2 receivers as this is
    Business Partner replication scenario.
    Also In XI there is restriction that multiple sync receivers cannot be there.
    Please let me know how to make this approach.
    Regards

    Rich,
    Create two O/B Interfaces - Synch. Create Proxy1 for O/B Interface1 , Proxy2 for O/B interface 2.
    So while defining Receiver determinatio, you will define as following,
    Receiver Determination----1
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 1 ( i.e Proxy1)
    Receiver : BusinessSystem_ C
    Interace Determination
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 1 ( i.e Proxy1)
    Inbound Interface: RFC_Rec
    Receiver Determination----2
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 2 ( i.e Proxy2)
    Receiver : BusinessSystem_D
    Interace Determination
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 2 ( i.e Proxy2)
    Inbound Interface: RFC_Rec
    Hope it helps!
    raj.

  • Upload file from local PC and send to RFC function

    Hi to all,
    I have a web dynpro that do a procedure which creates a file pdf in a temp folder on my local PC. I need to upload this file and send it to an RFC function module (R/3 4.6c) which saves it to DMS on r/3 system. Which java code I have to implement to handle this file? Which kind of data type I have to create on my Func module to storage the file? and how can I save it to DMS (I have to create a new document)?
    I hope I was clear.
    Thank you very much
    Enrico

    hi,
    regarding Functional Module storage
    how to upload a pdf file and download/open it
    PDF Upload
    from web dynpro side you can use upload UI element
    How to Upload PDF file in to Web Dynpro
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/288e9c7d-0c01-0010-5382-dbec82af50b2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    regards,
    Pradeep

  • SOAP Sender to RFC Scenario WSDL File

    Hi,
    I am working on SOAP -> PI -> RFC Scenario. I generated WSDL from sender agreement and gave to the client that can consumed by the third party system. But client is not ready to consume the WSDL. He provided WSDL and asking me to use that. Could you please suggest whether WSDL given by the client can be used in SOAP -> PI -> RFC Scenario. If it is possible, could you please provide steps how it can be done?
    Thank you.
    Regards,
    Cdr.

    Thank you Hareesh & Divya,
    When we generate WSDL from PI, it gives soap action and soap address location based on the interface we use for SOAP -> PI -> RFC.
    When we import WSDL given by the client as external definition, we get messages(Structures). But where do we pass the soap action or address location. I do not see any option in the soap sender communication channel. I am not visualize the link.
    Can somebody share their knowledge if they have done in this way.
    Thank you.
    Regards,
    Cdr.

  • BPM Question: JDBC Sender to RFC to JDBC Receiver

    I have the following requirement:
    JDBC Sender Adapter (by nature Asynchronous) – SELECT multiple rows from a table
    To…
    RFC Receiver Adapter (Synchronous)
    To…
    JDBC Receiver Adapter (Synchronous) – UPDATE multiple rows in a table
    Then…
    IF <SAP:Error> XML is returned from the JDBC Receiver Adapter, I want to either issue a CCMS alert, or utilize the XI Email Adapter for error notification. 
    ELSE, if <root_response> XML is returned from the JDBC Receiver Adapter, do nothing.
    This obviously requires a BPM.  If I use the JDBC Receiver Adapter Asynchronously (with no error handling) this is a piece of cake.  But after trying to use it synchronously along with error handling logic, I am stuck.
    This issue that I am facing is how to logically handle the JDBC Receiver Adapter Response XML in the BPM.  I would like to know what I need to do in the BPM in order to issue a CCMS alert (and/or send a message through the XI Email Adapter) ONLY if the <SAP:Error> XML is returned. 
    Below are examples of the 2 types of response messages that I would receive back from the JDBC Receiver:
    Error:
      <?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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_OrderImport' (structure 'StatementName2'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'PK_SAP_OrderImport'. Cannot insert duplicate key in object 'SAP_OrderImport'.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Success:
      <?xml version="1.0" encoding="utf-8" ?>
      <root_response>
      <StatementName1_response>
      <update_count>1</update_count>
      </StatementName1_response>
      </root_response>
    I have searched SDN for a while but did not find anything that specifically addressed this.  I would appreciate any help…

    Hi,
    In ur BPM wrap the jdbc send step with a exception block. in the exception block define a control step to throw an alert.
    so when the jdbc step fails, the exception is caught and an alert is generated by the control step.
    cheers,
    naveen

  • Sending characters to the printer

    Hello together,
    we are trying to send raw data or control characters to a printer using the standard "Universal / TextOnly" printer driver in order to print barcode data on a special printer. This works fine by using Windows Notepad.
    Unfortunately, Java only provides printing with a Graphics context. So we have not succeeded so far.
    Has anyone else had the same problem and how did they overcome it?

    Hi again.
    This is distilled from the JavaCOMM API.
    This code is changed from the example and looking at the docs for a minute. I don't know if it compiles but it should :-)
    import java.io.*;
    import java.util.*;
    import javax.comm.*;
    public class SimpleWrite {
        static Enumeration portList;
        static CommPortIdentifier portId;
        static String messageString = "Hello, world!\n";
        static ParallelPort parallelPort;
        static OutputStream outputStream;
        public static void main(String[] args) {
            portList = CommPortIdentifier.getPortIdentifiers();
            while (portList.hasMoreElements()) {
                portId = (CommPortIdentifier) portList.nextElement();
                if (portId.getPortType() == CommPortIdentifier.PORT_PARALLEL) {
                    // if (portId.getName().equals("LPT1")) {
                    if (portId.getName().equals("/dev/lp0")) {
                        try {
                            parallelPort= ParallelPort
                                portId.open("SimpleWriteApp", 2000);
                        } catch (PortInUseException e) {}
                        try {
                            outputStream = parallelPort.getOutputStream();
                        } catch (IOException e) {}
                        try {
                            outputStream.write(messageString.getBytes());
                        } catch (IOException e) {}
    }Hope this helps,
    Nuno

Maybe you are looking for