Creating RFC dest'n for Registered Server Program

Hi,
I want to create a create a RFC destination for RFC Sender adapter. I am consulting this weblog:
          /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
However, i dont know what will be the Program ID and GatewayHost.... Please let me know how they are configured?
Regards,
Arpil

Program id can be any name thats unique and given while u select registered server program in sm 59 (while u create rfc destination of type TCP/IP)also its case sensitive, and should be same in both the RFC destination and your RFC adapter.
and gateway host has to be ur own application system not of XI ,(as specified in Michals blog) .
TCODE : SMGW -> Goto-> Parameters -> Display
Regards,
Pratibha

Similar Messages

  • CPIC-CALL Transaction program not registered Error while creating RFC Desti

    Hi All,
    I am trying to create a new RFC Destination.
    Details I have provided are..
    1.RFC Destination Name
    2.Connection Type - TCP/IP
    3.Description
    4. Activation Type - Registered Server Program.
    5.Program Id.
    6. Gateway Host and Gateway Service.
    But When I Test the connection, I am getting the following error.
    <b>" program xyz not registered / CPIC-CALL: 'ThSAPECMINIT'# Transaction program not registered"</b>
    However I was able to create and connect RFC Destinations successfully previously.
    I am not SAP guy. Could someone help resolve this issue.
    Thanks,
    Phani

    hi Sekhar,
    I request you to please help me out in this issue. I am getting similar kind of problem. I am trying to replicate the customer from CRM to R/3 and i get a bdoc message in SMW01 that "RFC connection failed please press the save button again". When the basis team further investigated they came up with the below error..
    User: CRREMOTE (Client: 071)
    Destination: OCR (handle: 1, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1462
    CPIC-CALL: 'ThSAPECMINIT'
    Transaction program not registered
    DEST =OCR
    HOST =%%RFCSERVER%%
    PROG =dpssrfc
    Trace file opened at 20061121 140451 EST SAP-REL 640,0,109 RFC-VER
    3 804778
    resize I/O buffer to 28000 bytes
    >>>> [2] MQ_LINK      : TCP  <ac: 3> K %%RFCSERVER%% >>> OPEN
      {45632F14-288E-0046-0000-0000A888A7AA}-
    ======> CPIC-CALL: 'ThSAPECMINIT'
    can you please tell me where can be probelm. Regarding your message, where can i get the communication channel to assign the program id.
    Awaiting your reply,
    Thanks & Regards,
    Yogesh

  • How to create desktop application for simple server program using netbeans?

    Hi,can anyone help me on this one??
    I'm am very new to java,and I already trying different example program to create desktop applications
    for simple server program but it's not working.
    This is the main program for the simple server.
    import java.io.*;
    import java.net.*;
    public class Server {
    * @param args the command line arguments
    public static void main(String[] args) {
    try{
    ServerSocket serverSocket = new ServerSocket(4488);
    System.out.println("Server is waiting for an incoming connection on port 4488");
    Socket socket = serverSocket.accept();
    System.out.println(socket.getInetAddress() + "connected");
    PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
    BufferedReader in = new BufferedReader( new InputStreamReader(socket.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null){
    out.println(inputLine);
    System.out.println("Connection will be cut");
    out.close();
    in.close();
    socket.close();
    serverSocket.close();
    }catch(IOException e){
    e.printStackTrace();
    // TODO code application logic here
    }

    and this is the Main Processing :
    import java.awt.*;
    import java.awt.event.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import java.text.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    public class MainProcessing {
    private static final long serialVersionUID = 1L;
    static private boolean isApplet_ = true;
    static private InetAddress argIp_ = null;
    static private int argPort_ = 0;
    public TCPIP TCPIP_ = null;
    private InetAddress ip_ = null;
    private int port_ = 10001;
    static private boolean conectFlag = false;
    private BufferedWriter bw;
    FileOutputStream fos;
    OutputStreamWriter osw;
    public int[] current = new int[400];
    public int[] volt = new int[400];
    public int[] revolution = new int[400];
    public void init() {
    public void start() {
    if (isApplet_) {
    try {
    ip_ = InetAddress.getByName(getCodeBase().getHost());
    } catch (UnknownHostException e) {
    } else {
    ip_ = argIp_;
    if (argPort_ != 0) {
    port_ = argPort_;
    // IP&#12450;&#12489;&#12524;&#12473;&#12364;&#19981;&#26126;&#12394;&#12425;&#20309;&#12418;&#12375;&#12394;&#12356;
    if (ip_ != null) {
    // &#12467;&#12493;&#12463;&#12471;&#12519;&#12531;&#12364;&#25104;&#31435;&#12375;&#12390;&#12356;&#12394;&#12356;&#12394;&#12425;&#12289;&#25509;&#32154;
    if (TCPIP_ == null) {
    TCPIP_ = new TCPIP(ip_, port_);
    if (TCPIP_.getSocket_() == null) {
    System.out.println("&#12511;&#12473;&#65297;");
    // &#12456;&#12521;&#12540;&#12513;&#12483;&#12475;&#12540;&#12472;&#12434;&#34920;&#31034;
    return;
    if (TCPIP_ == null) {
    System.out.println("&#12511;&#12473;&#65298;");
    return;
    System.out.println("&#25104;&#21151;");
    conectFlag = true;
    try {
    TCPIP_.sendF();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
    System.out.println("" + conectFlag);
    return;
    public void receive() {
    try {
    // Calendar cal1 = Calendar.getInstance(); //(1)&#12458;&#12502;&#12472;&#12455;&#12463;&#12488;&#12398;&#29983;&#25104;
    // int year = cal1.get(Calendar.YEAR); //(2)&#29694;&#22312;&#12398;&#24180;&#12434;&#21462;&#24471;
    // int month = cal1.get(Calendar.MONTH) + 1; //(3)&#29694;&#22312;&#12398;&#26376;&#12434;&#21462;&#24471;
    // int day = cal1.get(Calendar.DATE); //(4)&#29694;&#22312;&#12398;&#26085;&#12434;&#21462;&#24471;
    // int hour = cal1.get(Calendar.HOUR_OF_DAY); //(5)&#29694;&#22312;&#12398;&#26178;&#12434;&#21462;&#24471;
    // int min = cal1.get(Calendar.MINUTE); //(6)&#29694;&#22312;&#12398;&#20998;&#12434;&#21462;&#24471;
    // int sec = cal1.get(Calendar.SECOND); //(7)&#29694;&#22312;&#12398;&#31186;&#12434;&#21462;&#24471;
    byte[] rev = TCPIP_.receive();
    // System.out.println("&#21463;&#20449;");
    if (rev != null) {
    byte[] Change = new byte[1];
    int j = 0;
    for (int i = 0; i < 1200; i++) {
    Change[0] = rev;
    current[j] = decimalChange(Change);
    i++;
    Change[0] = rev[i];
    volt[j] = decimalChange(Change);
    i++;
    Change[0] = rev[i];
    revolution[j] = decimalChange(Change);
    } catch (NullPointerException e) {
    public int decimalChange(byte[] byteData) {
    int bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7;
    int bit = 0;
    for (int i = 0; i < 8; i++) {
    int a = (byteData[0] >> i) & 1;
    System.out.print(a);
    System.out.println();
    return 1;
    public void destroy() {
    // &#20999;&#26029;
    if (TCPIP_ != null) {
    TCPIP_.disconnect();
    if (TCPIP_.getSocket_() != null) {
    try {
    System.out.println("\ndisconnect:" + TCPIP_.getSocket_().getInetAddress().getHostAddress() + " " + TCPIP_.getSocket_().getPort());
    } catch (Exception e) {
    TCPIP_ = null;
    public boolean conect(int IP) {
    conectFlag = false;
    String address = "192.168.1." + IP;
    System.out.println(address);
    try {
    argIp_ = InetAddress.getByName(address);
    } catch (UnknownHostException e) {
    // xp.init();
    isApplet_ = false;
    start();
    return (conectFlag);
    public void send(String command, int value, int sendData[][], int i) {
    int j = 0;
    Integer value_ = new Integer(value);
    byte values = value_.byteValue();
    Integer progNum = new Integer(i);
    byte progNums = progNum.byteValue();
    try {
    TCPIP_.send(command, values, progNums);
    for (j = 1; j <= i; j++) {
    Integer time = new Integer(sendData[j][0]);
    byte times = time.byteValue();
    Integer power = new Integer(sendData[j][1]);
    byte powers = power.byteValue();
    TCPIP_.send(times, powers);
    TCPIP_.flush();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
    public void file(String name) {
    ublic void fileclose(String name, String command, int value, int sendData[][], int i) {
    try {
    fos = new FileOutputStream("" + name + ".csv");
    osw = new OutputStreamWriter(fos, "MS932");
    bw = new BufferedWriter(osw);
    String msg = "" + command + "," + value + "";
    bw.write(msg);
    bw.newLine();
    for (int j = 1; j <= i; j++) {
    msg = "" + j + "," + sendData[i][0] + "," + sendData[i][1];
    bw.write(msg);
    bw.newLine();
    bw.close();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);

  • Issue in Registered Server Program RFC in ERP

    Hello Experts,
    I need suggestion on one problem we are facing.
    From ERP we have 3 application which uses Synchronous message call to PI system from where the call is sent to a mainframe system and returned.
    All these 3 applications uses a registered server program XXX_TCP_YY RFC call to connect to PI system.
    In this RFC XXX_TCP_YY the gateway host is mentioned as ERP system and there is a communication channel in PI where this RFC details are maintained.
    After upgrading our ERP 6.0 to EHP 5 we are continuously getting issues with message flow to PI or call to PI is failing and this RFC is taking long time or sometime timing out.
    In such cases since it production i go a restart the channel in PI and this RFC start working fine.
    But i am not sure how to resolve this issue.
    Can you please provide some pointer in which direction i should investigate this problem.
    Regards
    Ajay Sandal

    Hi Ajay,
    Can you check the PI Communication polling interval and whether this restart needed on all the apps or just CI?
    In addition to polling interval please check the SeeBurger services from /nwa and see if the needed on are active.
    Before restarting the channel, clear the cache using full mode too.
    Check this forum link: all Communication Channels stopped or startet when restart of the SAP-PI
    Regards,
    Ashutosh
    Edited by: Ashutosh.Pandey on Jan 11, 2012 9:21 PM

  • How to create user defined metrics for SQL Server target?

    The customer is not able to create a user defined metrics for SQL Server target.
    This is very important for him to use this product.
    He is asking how to create user defined metrics?
    I sent him Note 304952.1 How to Create a User-Defined SQL Metric in EM 10g Grid Control
    But it would work for an Oracle DB, but his target is SQL Server DB
    Not able to find the "User-Defined Metrics" link from Database home page.
    How to create user defined metrics for SQL Server target?

    http://download-uk.oracle.com/docs/cd/B14099_19/manage.1012/b16241/Monitoring.htm

  • Documentation for register level programming of PCI-62XX cards

    I'm looking for documentation for register level programming of PCI-62xx series cards. Does such a document exist?
    Thanks

    Scott,
    At this time we do not have a comprehensive M Series RLP manual available.  I was not aware of any plans to deliver this document last month, so you may have been given some incorrect information, in which case I apologize.  Currently, we provide the register map along with several examples showing how to program the boards for different types of operations.  If you have any specific questions, you can post them to this forum where our developers and other customers can help out.  I hope this helps. 
    Jeremy

  • Where You can create a support case for weblogic server?

    Hi all,
    I would like to know where I can create a support case for weblogic server?
    I logged me in metalink3 but I did not found a way to create a service request for WLS.
    Thanks in Advance.

    I believe you still need to use BEA's support resources at this point: http://www.oracle.com/bea/support.html

  • Registered Server Program not being registered?

    Hi,
    first of all, I'm an ABAPer, not a Basis guy, so i apologize if i'm not giving all the info required to solve this issue.
    We have a program that's scheduled to run every morning at 4am. This program calls an RFC to XI and sends data to an external SQL database.
    it seems that EVERY Sunday, after full backups, the initial run of this program fails. If it fails, the job is run up to 3 more times. Almost 100% of the time, one of the successive runs works.
    And when I say a successive run works, I mean a duplicate job that's been kicked off, literally less than 1 minute later, will run fine.
    Also, the job will sporadically fail during the week on its first run, yet successive runs will work.
    it seems to me that there is a problem registering the program that my ABAP program calls.
    any ideas on what I ask my basis/XI team to check for?
    points will be awarded.
    thanks,
    rp.

    here's what we could find
    M Thu Sep  6 04:04:38 2007
    M
    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Gateway on host hrxxx.valero.com / sapgw45
    M  *  ERROR       program RFC2XMBSERVICE_HR2XIP not registered    <--------  error here!
    M  *
    M  *  TIME        Thu Sep  6 04:04:38 2007
    M  *  RELEASE     700
    M  *  COMPONENT   SAP-Gateway
    M  *  VERSION     2
    M  *  RC          679
    M  *  MODULE      gwr3cpic.c
    M  *  LINE        1694
    M  *  DETAIL      TP RFC2XMBSERVICE_HR2XIP not registered
    M  *  COUNTER     239
    M  *
    M  *****************************************************************************
    M
    A  RFC 1485  CONVID 80501535
    A   * CMRC=2 DATA=0 STATUS=0 SAPRC=679 ThSAPOCMINIT
    A  RFC> ABAP Programm: ZHRO_FLEX_ONLINE (Transaction: )
    A  RFC> User: SAPHR (Client: 120)
    A  RFC> Destination: RFC2XMBSERVICE_HR2XIP (handle: 1, , )
    A  *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT'
    Transaction program not registered
    [abrfcio.c    8065]
    We don't understand why this program fails to register itself a few times per week.

  • While creating the Data source for Sql server am getting this error?

    Hi i new to Power BI sites and office 365,
    For my first step 
    1. i have successful creaeted Gateway in Office 365
    2.Now i have creating  the Data source for that gateway using Sql server R2
    3.While Creating the Data source using the Corresponding gateway i have given and next phase set Credentials  phase i have noticed one pop up window and it will shows me like
    Data source Settings and  below in that window it will show's u the things like 
    Datasource Name.
    Loading......
    Credentials type:
    Privacy Level:
    Failed to verify parameter
    I will get this results finally  ,so hw should i achive this probelm ,Please let me know if any one knows
    So kindly give me the proper answer for this.
    Regards

    Any suggestions for Chinnarianu?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Problem creating a connection pool for mssql server

    Hi
    i downloaded the microsoft type 4 driver for JDBC and i have installed it. now i am trying to create a connection pool for MS Sql server but each time i ping i keep getting an error telling me
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
    please can someone help out on this
    Ifeanyichukwu

    I assume that you installed the driver correctly. You did go into the app sever admin and set the JVM path? You do this by going to Application Server | JVM Settings | Path Settings and putting in an entry for Classpath Prefix.
    If that is done and it's not something basic like your database isn't turned on, then it must be your settings. To to Sun's site and search for dbping. http://developers.sun.com/prodtech/appserver/utilities/dbping/dbping_overview.html
    Deploy this program and run it. It is a very simple tool that lets you test different property settings. Play around with different settings until you get a ping.
    If that doesn't work post your connect pool settings.
    Good luck
    Mike

  • Best practice for creating RFC destination entries for 3rd parties(Biztalk)

    Hi,
    We are on SAP ECC 6 and we have been creating multiple RFC destination entries for the external 3rd party applications such as Biz-talk and others using TCP/IP connection type and sharing the programid.
    The RFC connections with IDOC as data flow have been made using Synchronous mode for time critical ones(few) and majority through asynchronous mode for others. The RFC destination entries have been created for many interfaces which have unique RFC destinations with its corresponding ports defined in SAP. 
    We have both inbound and outbound connectivity.with the large number of RFC destinations being added we wanted to review the same. We wanted to check with others who had encountered similar situation and were keen to learn their experiences.
    We also wanted to know if there are any best practices to optimise on number of RFC destinations.
    Here were a few suggestions we had in mind to tackle the same.
    1. Create unique RFC destinations for every port defined in SAP for external applications as Biztalk for as many connections. ( This would mean one for inbound, one for outbound)
    2. Create one single RFC destination entry for the external host/application and the external application receiving the idoc control record to interpret what action to perform at its end.
    3. Create RFC destinations based on the modules it links with such as materials management, sales and distribution, warehouse management. This would ensure we can limit the number of RFC to be created and make it simple to understand the flow of data.
    I have done checks on SAP best practices website, sap oss notes and help pages but could not get specific information I was after.
    I do understand we can have as unlimited number of RFC destinations and maximum connections using appropriate profile parameters for gateway, RFC, client connections, additional app servers.
    I would appreciate if you can suggest the best architecture or practice to achieve  RFC destinations in an optimized manner.
    Thanks in advance
    Sam

    Not easy to give a perfect answer
    1. Create unique RFC destinations for every port defined in SAP for external applications as Biztalk for as many connections. ( This would mean one for inbound, one for outbound)
    -> be careful if you have multi cllients ( for example in acceptance) RFC's are client independ but ports are not! you could run in to trouble
    2. Create one single RFC destination entry for the external host/application and the external application receiving the idoc control record to interpret what action to perform at its end.
    -> could be the best solution... its easier to create partner profiles and the control record will contain the correct partner.
    3. Create RFC destinations based on the modules it links with such as materials management, sales and distribution, warehouse management. This would ensure we can limit the number of RFC to be created and make it simple to understand the flow of data.
    -> consider this option 2.
    We send to you messagebroker with 1 RFC destination , sending multiple idoctypes, different partners , different ports.

  • How to create a winsow service for managed server 11g

    Hi
    We have just installed Fusion Middleare 11g weblogic 10.3.6 , our Admin server and managed server are on this very same server.
    we are trying to create a window service for start and stop both admin and managed server, we have created a window service for the admin server followed the instruction, but how can we create a window service for the managed server?
    any idea?
    thanks a lot

    Hi Andrew
    Thanks for the post. I have already followed that document link. My problem is the DTC does not failover to Second node when I try to move the SQL Server Engine to the other Node or I do a simulate failure option.
    But when I shutdown Node 1 all the services move to Node 2 without any issue.
    Thanks & Regards
    Ravinder

  • Can I create a bootable usb for Lion SERVER?

    I've installed Lion OS. Then downloaded Lion SERVER.
    Creating a bootable USB for the ordinary OS was simple enough (stop install, show contents,restore partition etc). However, with Lion Server, install package does not appear in applications and there does not seem to be any obvious was way to stop the installation before the install package self destructs. Download from app store shows in Launchpad. Icon then changes to 'installing'. Install process is very quick and it won't stop
    Has anyone else had this "problem"? Thanks!

    If you have a Mac mini Server with Lion server pre-installed you can do this fairly easily using the method outlined here http://www.hotblack.co.nz/article.lsd?i=lionserver
    But I have a stock iMac with Lion pre-installed and got the Lion Server on top. I too have been looking at this "problem". Even after you've installed Lion Server and try the method they suggest you do not get a Lion Server InstallESD.dmg file.
    My solution is this:
    Using your existing Lion Server, copy "Install Mac OS X Lion" to your applications folder. Then when you use the installer with a BLANK volume as your target you will see an Options button on the bottom left side of the Installer pane. Clicking this allows you to install Server components. Your target can be a 16GB USB stick. Interestingly when this stick reboots you actually get the Server Assistant up which can configure your server.
    So essentially you have a Lion Server USB stick - again don't forget to add "Install Mac OS X Lion" to the Applications folder.
    You can also snag the Server components for copying onto target volumes by shutting down before the install reboot.

  • How to create the anonymous user for FTP server in Linksys E3000?

    I made a FTP server in my Linksys E3000 and everything work great. But when I send URL to my friends to download file, everyone must login
    So, can I create Anonymous User (like FTP server in PC) to simplified everything ?
    Thank you so much!

    Thank Great_White!
    But i mean not that. I can create user to access my FTP server but that users must have user name and password.
    I want to create Anonymous User like FTP server in Computer (no user name and password). So when i send link to my friends, they can download without login user name and password

  • How to create new text symbols for the standard program.

    Based on the customer's requirement, I need to create a new implicit enhancement for the selection screen.
    I want to create new text symbols for the parameters and blocks, but I cannot change the standard ones.
    Does anybody know something about that? Thank you.

    hi ming yu,
    example : %_MATNR_%_APP_%-TEXT -> this is the material  description name in mb5b
    change the description in ur enhancement implementation
    %_MATNR_%_APP_%-TEXT = 'Material'
    it is works only input/output field
    Thanks&Regards,
    naveen

Maybe you are looking for

  • I was charged 4 times for the same order at $31.06 each. No one will help!

    I can't believe it. I was charged $31.06 4 times for one order (multiple items) at the iTunes store. This took my account negative. I found out buying groceries (which I was only able to get a little of with what cash I had to my name). I have been e

  • IPhoto (9.5.1) will not open in OSX Mavericks

    Grateful for some help. A few months back we had to take our Mac into Apple store because TimeMachine wasn't backing up. They ran loads of diagnostics and said problem was a corrupted OS. We backed up everything and they loaded OS X Mavericks on for

  • Dynamic Configuration for determining filename

    Hi , I am using dynamic configuration for determining the filename sent by the sender I am using the following code:: int i = 0; DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConsta

  • Park Incoming Invoice Problem

    Hi friends, One of my user was created a park incoming Invoice and after that created real invoice base on this park incoming invoice. But when I look the invoice, It was deleted. I want to create it again. But it was created before period. Now quest

  • Conversion automatic unit measure

    Dear all. I have a question/trouble with the unit measure. I am using a material with Base Unit of Measure = pza and Order Unit = crt. When a SC is created; it is with a Base Unit of Measure = pza; but when PO is created, It does not make the automat