Schedule Receiver RFC communication channel to call R3 RFC-FM.

Hi,
I have requirement that I need to schedule/trigger from PI to RFC call R3 function module. Wonder if anyone here has done similar thing before? I tried to use ATP (Availability time planning) in RWB. But this seem does not success for me as there is no response and error message for this.
Below is my configuration detail:
Configured:
1. Receiver communication channel - RFC
2. Receiver agreement with the RFC message type assigned.
3. Scheduled receiver RFC communication channel via ATP daily
*(It is possible to make scheduling job in R/3 but we are not considering this way)
Please let me know if anyone has done this before or any other suggestion to do the scheduling from PI.
Thanks!
Regards,
SP

Hi SP,
As you mentioned, ATP would allow adapter to be open and in start state. Adapter's RFC, SOAP, JMS would need some other application to trigger the message processing because these are not like pooling adapter's File, JDBC and Mail. RFC adapter channel always listening to the RFC port and FM execution. Once FM from R/3 executed then the RFC adapter would trigger it's message processing.
For Sender RFC channel: In order to trigger the RFC adapter execution at particular time then you should write a simple ABAP code which would act a batch application and which does the triggering the FM and Sender RFC channel.
For Receiver Channel: For Receiver RFC channel it's bit trichy because here you have force Receiver RFC adapter to connect backend the execute or initialize the variables without having any XI message triggered from Sender PI channel.
I have 2 ideas:
1. A little difficult approach, similar to the ABAPbatch code, you need to write a java adapter module which can trigger RFC receiver channel to connect and do an initialisation at FM at regular interval.
2. Simple approch configure a File-> 2-> RFC receiver scenario, configure File sender adapter to pick a dummy file at regular interval and RFC receiver channel does the rest.
Please let me know still you have any doubts,
Thanks,
RK

Similar Messages

  • Receiver SOAP Communication channel -- Target URL

    Hi Experts,
    Can anyone provide some inputs for my below question?
    How the receiver SOAP Communication channel internally calls the Target URL?
    What is the internal process behind this call?
    I would really appreciate you all if could provide answers.
    Thanks & Regards,
    Prabu Muthu

    Hi...
    To be able to send SOAP messages from the Integration Server/PCK to remote clients or Web service servers, you must first configure the receiver SOAP adapter. The receiver adapter supports system acknowledgments but not application acknowledgments
    Find the below link .
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    Regards,
    Leela

  • ORABPEL-05002 or ORA-03111: break received on communication channel

    We are on 11.1.1.3 and one of the SOA processes needed to make an oracle stored procedure call...The stored procedure call was returing a nested object type as a a parameter...500 rows at a time...in a loop. The first few iterations would work but at some point at the 4th or 5th iteration it would throw the ORA-03111: break received on communication channel error...Solution was to embed a java code before the invoke to do a checkpoint();
    So all you needed to do was to do that in the statement checkpoint(); That was it. After a day and a half setting different parameters which did not work...the adding the checkpoint() made it work!
    Metalink note How to Avoid BPEL Errors Due to Adapters Response Time (10g) [ID 885114.1] had the resolution

    Hi,
    Can you please let us know how this issue got resolved, We are also facing the same problem.
    This is very critical issue for us, Please help.
    Thanks,
    Neeraj.

  • Dynamic name for attachment in the Receiver Mail Communication Channel

    Hi All,
    I want to dynamically set the name of attachment in receiver mail Communication Channel.
    Example: IN__9907211000004_4048454000005_20081211_01000000002643
    The first two numbers 9907211000004 & 4048454000005 I want to read it from the message
    20081211 this is the date and
    And againg this number 01000000002643 is read from message.
    What is the procedure to create Adapter Module? I am new to Adapter Module.
    Any Ideas ideas?
    Thank You,
    Mukhtar

    Hi Michal,
    I had a look to your blog and tried to modify according to my requirement.
    Here is the code
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import com.sap.aii.af.mp.module.*;
    import com.sap.aii.af.ra.ms.api.*;
    @ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
    @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
    @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
    @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
    @stateless
    public class SetAttachmentName implements SessionBean, Module{
         private SessionContext myContext;
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
                          throws ModuleException{
         try {
    Message msg = (Message) moduleData.getPrincipalData();
    //creating parsable XML document
    InputStream XIStreamData = null;          
    XMLPayload xmlpayload = msg.getDocument();
    XIStreamData = xmlpayload.getInputStream();
    DocumentBuilderFactory  docBuilderFactory = DocumentBuilderFactory.newInstance();               
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    Document doc = docBuilder.parse(XIStreamData);
    //finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
    String SenderIDTag = null;
    SenderIDTag = moduleContext.getContextData("SenderIDTag");
    //finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
    Element element = doc.getDocumentElement();     
    NodeList list = doc.getElementsByTagName(SenderIDTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    String anIDTag = null;
    ReceiverIDTag = moduleContext.getContextData("ReceiverIDTag");     
    element = doc.getDocumentElement();     
    list = doc.getElementsByTagName(ReceiverIDTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    Date date= new Date(System.currentTimeMillis());
    //Add date to the Message
    SimpleDateFormat dateFormat= new SimpleDateFormat("yyyyMMdd");
    mailFileName += "_" + dateFormat.format(date);
    String BillNrTag = null;
    BillNrTag = moduleContext.getContextData("BillNrTag");     
    element = doc.getDocumentElement();     
    list = doc.getElementsByTagName(BillNrTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    //creating the attachment
    byte by[] =  xmlpayload.getText().getBytes();
    XMLPayload attachmentXML = msg.createXMLPayload();
    attachmentXML.setName(mailFileName);
    attachmentXML.setContentType("text/pdf");
    attachmentXML.setContent(by);
    //adding the message to the attachment
    msg.addAttachment(attachmentXML);
            inputModuleData.setPrincipalData(msg);
        } catch (Exception e) {
            throw new ModuleException(e);
        return inputModuleData;
    I hope this is right Adapter Module coe for my requirement.
    Thank you in Advance,
    Mukhtar

  • JMS ReplyTo Queue Name parameter in the receiver JMS communication channel

    Hi All,
    Can any please explain the use of JMS ReplyTo Queue Name parameter in the receiver JMS communication channel?
    Thanks
    Karthik.

    Hi karthik,
    JMS ReplyTo Queue Name parameter  is used for Specify the name of the queue to which the responses are to be sent.
    Thanks
    Govind.

  • Monitoring receiver idoc communication channel

    Hi All
    I have an idoc to idoc scenario.
    I am unable to see my receiving idoc communication channel in communication channel monitoring of RWB. It is not available in the dropdown list.
    I want to have a look at the audit log to see if the idoc is delivered to the receiving system.
    How can i monitor receiver idoc communication channel?
    How can i ensure that the idoc is delivered to the receiving system?
    In sxmb_moni, status is checkered flag.
    Many Thanks
    Chandra Sekhar

    Hi,
    IDOC is on ABAP stack hence u can not monitor IDOC.
    For testing purpose
    1) GO to SXMB_MONI check the status of message.
    2) Go to R3 and enter Tcode WE02 and check the IDOC which is send from XI. enter the idoc name and see the status of IDOC it should be in green status if it is posted successful or else see the status record for checking the error message.
    chirag

  • ORA-03111: break received on communication channel

    We have recently migrated the weblogic from 8.1 to 10.3.2 which using for backend of java application. I am getting the error message "ORA-03111: break received on communication channel" often but it was working well before the weblogic upgrade. As per recommendations, I increased the JTA timeout in web logic server even though the error is still persisting.
    Please let me know if any suggestions to sort out this issue.

    http://royontechnology.blogspot.com/2009/06/mysterious-ora-03111-error.html
    see here
    ORA-03111: break received on communication channel
    google helps
    looks like you have to review your JDBC configuration

  • Receiver SOAP Communication Channel  Error

    Hi,
    I am trying to post a file to a WebService but facing the below error in the communication channel :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object variable or With block variable not set.
    Has anyone encountered such an error?
    Please let me know.
    Regards,
    Anuradha.

    Hi,
    First of all check the URL in your receiver SOAP adapter. The error comes from the web service server. It says that the request message is wrong.
    1.fill field SOAPAction in the receiver soap adapter
    2.fPlease find the related information here
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    Please check this one also:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    There are multiple soap actions listed there.
    Regards,
    Divya

  • Variable file name through Receiver mail Communication channel

    I need to send a file through receiver communication channel   with the following name ( YYMMDD schema)  . The YYMMDD is current date .  I know how to create these file names throug FCC ( file communication channel) , I tried in the same manner to create this file through Receiver Mail CC , but it did not work  .  If you have any ideas , can you please share with me ?
    ABC_MMYYDD.TXT
    Thanks.
    Ritvik

    Hi Ritvik,
    Also, Please look at this link and see if it helps you. It is generating variable file name through a UDF
    Re: Problem in dynamically file name generation procedure
    Best Regards

  • Receiver FILE communation channel error.

    Hi Experts,
    I am getinng below error in receiver communication channel
    what is the problem plz let me know.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header

    Hi Ibrahim,
    I am not using  dynamic configuration code in the mapping
    Here my source and target structure are same.Here i am doing 1:1 mapping. In my mapping structure there is no attributes
    I am giving adapter parameters like
    target directory  =  my target directory (/file/out)
    File Name    =     ZMPSXTRXMSTPNDG *.xml ( this Xml file has to create in Target directory)
    File constructionmode =  add time stamp.
    Write mode =  Directly
    File type = Binary
    whenever i selected adapter specific message attributes i am getting above error.
    If i unchecked  adapter specific message attributes I am getting below error
    *Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The parameter "argument" has the value "E:\file\out\ZMPSXTRXMSTPNDG *20090526-172050-340.xml", so it contains the character "E:\file\out\ZMPSXTRXMSTPNDG *20090526-172050-340.xml" which is not allowed: com.sap.exception.standard.SAPIllegalArgumentException: The parameter "argument" has the value "E:\file\out\ZMPSXTRXMSTPNDG *20090526-172050-340.xml", so it contains the character "E:\file\out\ZMPSXTRXMSTPNDG 20090526-172050-340.xml" which is not allowed
    incase u want the output file to have same name as input , you wil use ASMA in the rcv file channel check the box for file name in the same
    Edited by: Ibrahim on May 26, 2009 10:44 AM
    Edited by: srinivasreddy p on May 26, 2009 11:28 AM

  • Steps for  http receiver adapter communication channel

    Hi
    can you please specify steps for http receiver communication channel?
    thanks
    Prasad

    Hi Prasad,
    Here's the documentation for configuring the http adapter in the communication channel(rcve):-
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm
    Regards,
    Sushumna

  • Error in Receiver JDBC communication channel

    Hi friends,
    I am getting an error in communication channel while inserting xml data into ORACLE database. Error is like
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SUB_ORDER_HEADER' (structure 'STATEMENT_SUB_ORDER_HEADER'): java.sql.SQLException: ORA-00936: missing expression ".
    In the above error 'SUB_ORDER_HEADER'  is table and 'STATEMENT_SUB_ORDER_HEADER' is a statement tag of XML SQL.
    Please help me to solve the issue.
    Regards,
    Santhosh

    Hi,
    Since oracle database has all fields in Caps, and also it is case sensitive. So check whether you have the database table name and the field name specified in the datatype are concurrent with the fields and the table name in oracle table.
    Regards,
    Nithiyanandam

  • JDBC  Receiver Adapter Communication channel

    HI,
    I have a scenarion where JDBC is receiver. i would appreciate if someone can provide me required information.
    Connection?
    Driver?
    where do we mentoin database name.
    and table name.
    how to we avoid duplicate entries.
    Jeff

    Hi,
    >>>>Statement, Table, Access
    <b>Statement</b> - jdbc call - meaning one SQL statement
    <b>Table</b> - table on which you execute your command (insert, select update)
    <b>Action</b> - SQL command - insert, update
    for more:
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • File receiver communication channel

    Hi All,
    I am working on a IDOC to FILE scenario. In my target structure I have 10 fields. I need to transfer only 9 fields to my file.
    I am using the 10th field to hold the file name, which is used in the variable substitution in the receiver file communication channel.
    Kindly advice how to not to send 10th field.
    I am using the following parameters in content conversion: (1) fieldSeparator, fieldFixedLengths
    This is a multi mapping scenario, where a IDOC will generate 10 files (So I cant use dynamic configuration for file names).
    Thanks & Regards,
    Navneeth K.

    Hi Navneeth,
    Please refer the below blog:
    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
    You have to use fixedLengthTooShortHandling parameter.
    -Supriya.

  • JDBC Receiver Communication channel Error

    Hi Friends,
    I am facing below error in JDBC Receiver Communication chnnel.
    Please shared your views.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'KRSAPJOB' (structure 'Statements'): java.sql.SQLException: [SQL0204] KRSAPJOB in KRONOSMF type *FILE not found.
    thanks
    Mohit

    Hi Mohit,
    I received a smiliar error with the receiving JDBC Communication channel. Please talk with your database Admin regarding the stored procedure.
    Either one of the fileds in the database is Mandatory and you are not sending that field valiue OR
    the data type for one of the fields definied is not matching the one in the database and the stored procedure is failing and throwing an exception.
    Teresa

Maybe you are looking for

  • Logic for stock aging report

    I am trying to create a stockaging report using 0IC_C03. I am see that the tables actually stores the qty recieved and issued of an article on a particular day/period. Can some one explain how it is being used in aging? How is it used to compute agai

  • Lightroom v. 3.6 and Sony A99 RAW does not match

    I recently bought the newest Sony A99 camera, but it seems L.v. 3.6 does not manage this (aparently new) type of RAW-pictures. Do I have to buy the L.v.4 or can I use v. 3.6 with changing some settings? Thank you

  • Is RAW files from EOS70D compatible to Lightroom 2?

    Can you please help?

  • Problem in refreshing popup

    ADF11g : I have problem in refreshing popup. On main page there is one table and in one column of that table i put commandImageLink .on click of that image i supposed to open one popup where i am displaying info result. on first click of that image i

  • Opening Camera Raw in Bridge

    I have Bridge CS5 and Camera Raw will not open. How do I make it open?