Deprecated API and RFC connection issues in PI 7.1

Hi all,
I am new to this Forum..
I am working in File to Proxy scenario where i am using UDF to implemnt few functions.
But i am getting the following Error :
Source text of object Message Mapping: MM_FILE_10_943 | urn://fiat.com/mm/if_10_943 has syntax errors:
Function sendMonitor, Line 14:
cannot find symbol symbol  : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_    CallRFCManager rfc=new CallRFCManager();    ^
Function sendMonitor, Line 14:
cannot find symbol symbol  : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_    CallRFCManager rfc=new CallRFCManager();                           ^
Function sendMonitor, Line 17:
cannot find symbol symbol  : variable Constants location: class com.sap.xi.tf._MM_FILE_10_943_         if(rfc.connect(Constants.XISYSTEM)){                             ^ Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors
The code i am using is:
   //write your code here
   // INPUT: activate ; id; descrizione
   AbstractTrace trace;
   String messID;
   java.util.Map map;
   trace = container.getTrace();
   map = container.getTransformationParameters();
   messID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
   CallRFCManager rfc=new CallRFCManager();
   if (a.equals("true")){
        if(rfc.connect(Constants.XISYSTEM)){     
              try{
                    rfc.traceMonitor(messID,b,c);
                    trace.addInfo("Ok trace monitor");
                    rfc.disconnect();
              } catch (Exception ex) {
                    trace.addInfo("Errore in sendMonitor CAUSA:" + ex.getMessage());
                    rfc.disconnect();
        }else{
                  trace.addInfo("Errore in sendMonitor CAUSA: errore sulla connessione ad XI"); 
   return a;
Pleasae help me ....what is the reason for this ???

Hi ,
the package com.fiat.sapiens.udf.* is saved in the IA_JAVA.zip file.
I imported it in the imported archive and added this jar in the import tab of function library
i also added ti in the archive used tab in function.
But still it is showing this Error.
under IA_JAVA.zip  i have  testJCO.java which has the folowing code:
package com.fiat.sapiens.xi.udf;
// Referenced classes of package com.fiat.sapiens.xi.udf:
//            CallRFCManager
public class TestJCO
    public TestJCO()
    public static void main(String args[])
        System.setProperty("SAPSYSTEMNAME", "DX0");
        CallRFCManager rfc = new CallRFCManager();
        rfc.connect("XI");
        try
            rfc.schedNR("10", "20", "30", "40", "50", "60");
        catch(Exception e1)
            e1.printStackTrace();
        if(rfc.connect())
            rfc.connect();
            try
                String a = rfc.checkRARCRE("ZZ");
                System.out.println(a);
            catch(Exception e)
                e.printStackTrace();
        System.out.println("");

Similar Messages

  • Screen Painter and RFC connection issue

    Hello,
    I get the following error when I try to start screen painter:
    EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    I have installed all sapgui components and when I test the rfc connection it
    starts the program but then sends the same error.
    I think it's got something to do with the fact that I'm trying to start this
    program through a saprouter because when I start it locally (within my LAN)
    the program starts without problems.
    I have already applied latest kernel patch.
    Could you suggest what could I do to complete my RFC connection? Should I
    put something under gateway host or gateway service?
    Thanks in advance

    The issue here is that I don't know how to establish de gateway option
    considering I'm using saprouter to connect to sap system.
    Well... If you are asking how to "enable" gateway option then...
    You go to SM59 > Open EU_SCRP_WN32 > Go to "Technical Setting" tab
    Click on change option.
    Put the Gateway host IP address or Host name (SAP Server)  > Save
    Check the connection by "Connection Test" option.
    If any error... pls post here.

  • Fact sheet and RFC connections

    Hi All,
    I have an issue regarding the working of fact sheet. And I suspect authorization issues.
    Here is my scenario: I am accesing the BSP application (CRMM_ACCOUNT) in portal. For the fact sheet data will be coming from BW server if I am not wrong.  When I click on the fact sheet in accounts application screen just refreshes, it wont show any error.
    Here are my questions,
    1) From CRM server do we have to maintain any RFC connections for the user to access BW or they will be there automatically.
    2) from portal side, do we need to maintain any other thing together with user mapping for Portal, CRM and BW systems
    however, i can see the fact sheet in sap gui and in web client.
    I read SAP notes regarding this, nothig worked out fine,
    Any suggestions or help is greatly appreciated.
    Thanks
    Murthy

    Hello, Murthy,
    Do you want to access the standard account factsheet delivered by SAP? Normally when you select an account inside the Account BSP in the portal and click on Factsheet button, you are brought to a new portal page that contains SAP-delivered iViews with factsheet data. It is possible for you to add your own factsheet iViews to that page (I can point you to the corresponding doc if you need such addition).
    You mention that when you click on Fact Sheet button in the BSP application, no new portal page is brought up. What exact version of CRM portal package you use? At this stage, I don't see problem with BW connection, because the backend BW system is called once the iViews are loaded, but in your case those iViews are not called...
    Sincerely,
    Arman

  • Trusted and Trusting Connections Issue

    Hi
    I need to Create a trusted RFC between Gateway and Backend system. Because I have a combined frontend and backend system setup.
    I only created in transaction SM59 an RFC connection to itself.
    It should have the nameconvention: <SID>CLNT<CLIENT>.
    And in the Logon & Security tab it should use the current user.
    But when I create an RFC destination to the other system and make it trusting via transaction SMT1.
    It show this kind of issue. I can't create successfully.
    Eric

    Hi,
    Please check below link
    RFC Authorization - Components of SAP Communication Technology - SAP Library
    Authorization Object S_RFC - RFC/ICF Security Guide - SAP Library
    Some times even after SAP_ALL you explicitly need this role.
    Also you need to add the trusting system to SMT1
    RFC Trusted/Trusting Systems - Components of SAP Communication Technology - SAP Library

  • Creation of System Landscape though SMSY and RFC connection

    Hi all,
    I've finished install the solution manager 4.0 with Oracle 10g running on Windows Server 2003.
    i would like to know after i create the RFC connection using SM59 to my TST system which will be the system that i'd plan to monitor. The authorization test seem to be failed but others connection like connection test and remote logon seem to working fine.Please kindly advise which sort of user i need to give. I receive the message "Error Details-You are not authorized to logon to the target system (error code 1)."
    And at the SMSY, i cant even see the TST system.And i don know where we should create the TST system. And i wuold like to know where i can make changes to the Technical data tab for my solution manager ipaddress,beacase it has tied up to the Microsoft loopback connection.
    Please kindly assist.Thank you.
    Kah Fei

    Go to transaction SMSY
    Here, towards the left hand side you will see menu with tabs of 1. Landscape Components
            2. System and Logical Components
            3. Product Definitions
            4. Overview
    Select the second tab.
    It will show list of all SAP Products available, if you are linking an SAP R/3 system to Solution Manager, then select the SAP R/3 from the list. And if you have already created the server and its details, they wil appear in the list here.
    Try this out.
    Thanks,
    Anil Santhapuri

  • Database link and remote connection issues..

    We have a sql script... Large script that we would rather not post here. The script connects through a dblink to a remote site at the beginning and gets thousands of records. We then process these records locally which takes around 40 minutes. The link is unused for that time. Then the same script attempts to connect again through the dblink and set a confiirmation flag. But this final confirmation step routinely fails. The script used to work fine when the confirmation was at the beginning of the script.
    My understanding is that when you go out through a dblink it creates a session on the remote computer. The session stays active until the local proc ends or the session times out. Successive calls through the dblink from the same proc will reuse the same remote session? Is this true?
    So, Is the inactivity period possibly causing this dblink connectivity issue? We put some test sql select statements in the script here and there selecting from dual at the remote site to test the link inbetween major proc calls. Sometimes even these fail. What do I have to do to keep this link active? Is this even my issue?
    Like I said this script worked fine when the confirmation piece was at the beginning right before we start downloading files and basically no inactivity period... Now we download files and confirm at the end with a 40min to 2 hour inactivity between.
    The remote site as well as the network claim that they are not dropping us... The only piece of information I can provide is that on our side SQLNET.EXPIRE_TIME = 10 and on there side SQLNET.EXPIRE_TIME = 0. I've read that others solved this issue by manipulating this value.
    Here are some of the errror message we get in our script...
    ORA-03114: not connected to ORACLE
    ERROR at line 1:
    ORA-02068: following severe error from DMVAIS
    ORA-03135: connection lost contact
    Edited by: Mark Reichman on Nov 25, 2008 12:47 PM
    Edited by: Mark Reichman on Nov 25, 2008 12:57 PM

    What version of Oracle?
    What are the values of the following database parameters?
    open_links                       max # open links per session
    open_links_per_instance    # open links per instanceAny chance you are exhausting one or both these parameter values?
    Have you ran a check on the network connection between the two machines?
    HTH -- Mark D Powell --

  • Download and iTunes connection issues

    As of recently, I have purchased numerous audio and video files from the iTunes store with no difficulty or connection issues of any kind. Though today, I attempted to download the Iron Maiden: Flight 666 movie, and had issues with my download. Though the file is downloading, it is taking an excruciatingly long amount of time. A 3.09 Gigabyte file, a file which might have previously taken me about an hour to download on my connection, now displays an estimated download time of 17+ hours. It has been downloading now for at least an hour, and only 9.5 Megabytes have been successfully downloaded. Now, I am experiencing difficulty accessing the iTunes store at all. An error message continually pops up saying that my connection has been lost and the download pauses, though I have checked my connection time and time again. I have even contacted my internet provider, Comcast, in hopes of solving my problem. My connection is good, though iTunes itself is the only thing giving me difficulty. I have gone through all of the steps that Apple has recommended, and have not had any success in attempting to download the file. Any help would be greatly appreciated.

    Contact iTunes support.

  • BT Infinity and https connection issues

    I have sporadic issues with https connections on my BT Infinity service.
    I used to be on Virgin ADSL and had no issues.
    I can also use a Orange mobile dongle with no issues if I switch to that when experiencing problems with BT.
    Some example sites:
    Dixons checkout pages
    NatWest banking pages
    Anyone else experience this?
    Should I periodically reboot the HomeHub and VDSL?
    Cheers,
    Jason.

    Can someone on Infinity kindly do me a test and visit https://upgrades.o2.co.uk/index.htm and tell me if it's darn slow for you too?  It's not the site as I'm loading up VNC and connecting to a VPS in America and it's instantly loading. It'll definitely rule out traffic shaping if someone on Infinity can tell me either way.
    Thanks you generous souls!!!

  • Flickr API and cflickr - performance issue with my code.

    I using cflickr to access the Flickr api and display photos in a lightbox. My code is working, but incredibly slow. I'm assuming that I'm going about it in an incorrect way and hoping someone can point out a better way to do what I'm trying to accomplish. My speed issues develop when I'm trying to extract the image descriptions within a loop that is outputing the images to the page.
    Here is an example of the code that I'm using:
    using the following to grab the photos:
    <cfset photos = cflickr.photosets_getPhotos(photoset_id=72157624340881708 , auth_token=token) />
    I am then using the following to loop through the array of photos and and also retrieve the description for each image.
    <div style="width:423px; margin: auto;" id="gallery">
            <cfloop from="1" to="#arraylen(photos.photoset.photo)#" index="i">
                <cfset p = photos.photoset.photo[i] />
                <cfset img_desc = cflickr.photos_getInfo(photo_id=p.id).photo.description />
                <cfset img_desc = replace(img_desc, 'TRIP', '<br />TRIP') />
                <cfset title = photos.photoset.photo[i].title />
                <cfset title = title & "<br />" & img_desc />
                <cfoutput>
                <a href="#cflickr.getPhotoUrl(p, '')#" title="#title#"><img src="#cflickr.getPhotoUrl(p, 's')#"  /></a>
                </cfoutput>
            </cfloop>
        </div>
    The problem with the code is when it is making the request for img_desc inside of the loop to the Flickr api. Each instance of that call is taking on average 300 to 400ms and the array has over 300 items so it times out. Should I be retrieveing all of the image descritpions at once before the loop and if so how would I best link these with image data that they belong with? It seems like I'm going about this in a rather inefficient manner.
    I was hoping that I could call a function that retrieved all of the data that I need in one call, but so far I've been unable to find that.

    ( Grrr... this forum trashes emails better than any application I have ever seen.  Here is what my previous response actually said ...)
    <cfset photos = cflickr.photosets_getPhotos(photoset_id=72157624340881708 , auth_token=token)>
    I cannot say I have used it. But the cfc usage seems to follow the API pretty closely. So I took a quick look at the flickr forums, and one person suggests you can grab the descriptions too by adding the "extras" parameter.
    http://www.flickr.com/groups/api/discuss/72157594456853637/#comment72157623785775034
    So try using:
        <cflickr.photosets_getPhotos(photoset_id=72157624340881708 ,
             auth_token=token, extras="description")>

  • SCU0 and RFC Connection

    Hi All,
    I have been asked to set up different RFC in order for certain users to use the SCU0 transaction.
    What type of RFC destination should I create?
    Type 3 for ABAP connections is my guess.
    How can  I set up restrictions to that specific RFC? How do I link this RFC to certain users?
    Any directions on these questions would be apreciated.
    Thank you
    Corinne

    Also, should I create a trusted RFC connection?
    Objectives: compare clients within DEV and from DEV to QAS
    Thnak you!
    Corinne

  • WAP2000 and iPhone connectivity issues?

    I have several WAP2000 (Firmware 2.0.0.5), and while they work fine for PC's, iPhones, iPod touches cannot connect to them.
    Well, they connect briefly, get an IP address from the router, and immediately drop the connection to re-connect again.
    I have tried changing channels, eliminating all but one of the AP's, and so forth.
    Has anyone else had issues with this firmware?  I see posts where people are saying their iPhones connect up fine.  This happens on versions 3.x and 4.x of the iphone O.S.  It's not limited to one iphone or ipod touch; we've tried several.
    If anyone else is running 2.0.0.5 of the firmware and they are having success with an iphone, can you please tell me your settings?
    Thanks in advance!
    --Greg

    Greg,
    I think I have the same problem but with a Blackberry Storm 2.  (I posted in the last two days--Look for WAP2000 and Storm 2)  I see the Storm 2 connect successfully to the WAP2000 but then never establish a connection to the Blackberry Enterprise Server (BES)...Necessary to do anything useful with a Blackberry device.  A few months aga (Before I had my Storm 2) I had borrowed an iPhone for a week.  During that time I tried to use my WiFi but it never seemed to work (ie Established a WiFi link but then couldn't do anything else with it.).  Since I didn't have it long and WiFi wasn't the object of my testing I ignored the problem.  Now troubleshooting my Storm 2 problem and realizing that other WiFi devices on my network have been experiencing issues (the Storm 2 appears to have been most impacted) it is very likely that the iPhone I borrowed was experiencing the same problem.
    You can read my previous post but a quick summary--> When I used a packet analyzer (Wireshark) I saw that my router was issuing ARP address discovery broadcasts to the Storm 2's IP address but the Storm 2 was not responding.  I had tested the same setup with a different wireless access point (Linksys WAP54G) and saw the Storm 2 properly respond (and the Storm 2 worked perfectly when connected to the WAP54G).  I concluded that the WAP2000 was either not forwarding the ARP broadcast to the Storm 2 or it was not forwarding the Storm 2's response back to the LAN.
    I created a work around the now allows my Storm 2 (and multiple other devices) to function successfully on the network.  I have a Cisco ASA5505 firewall that has a ststic ARP table and is capable or proxy-arp (ie.  It can respond to ARP requests on behalf of devices on the network).  I simply created an entry for my Storm 2 and now it functions properly.  I also had a laptop and an IP security camera that had intermittent connectivity issues.  When I added static ARP entries for these items their problems disappeared as well.
    I don't think this is a settings issues so I am hoping Cisco confirms this as a bug and issues a firmware update.
    I hope this helps.
    --Gerhard Wittreich

  • FMS3 and FCS Connectivity Issue

    When FCS and FMS3 connection takes place, i get following
    error in FCS's Machine regarding the FCS crash.
    "Macromedia Flash Comminication Server MX 1.7.1 r98 has
    encountered a problem and needs to close. We are sorry for the
    inconvenience.
    Error signature
    szAppName : FlashCom.exe szAppVer : 1.7.1.98 szModName :
    js32.dll szModVer : 0.0.0.0 offset : 000033c1"

    This is just a guess as I'm not a Transall user. My first guess is that your DSN will need to be made using the 32-bit ODBC driver. As a default, using Windows 7 or later, you created a 64-bit source.
    To create or modify a 32-bit DSN on 64-bit Windows, you must run C:\WINDOWS\SysWOW64\odbcad32.exe. You may find it useful to create a shortcut to this on your desktop or Start menu if you access it frequently. I believe the interface is exactly the same after that.

  • Ipod Touch 5 random restart and wifi connectivity issues

    Good day to you sir...
    My Ipod Touch 5G 32gb model white has issues towards random restart and wifi unstable even though I have full bars and a working wifi internet connectivity
    Here are details that might help on my case..
    I bought the Itouch 5 on singapore exactly around January 2013 registered on January 1 on Apple web for warranty.
    Around early Feb, i experienced some random restart and I tought it was just some bug after update, it was gone and came back around late march with some wifi issues, but not regularly, only around certain cases on using it for a long period of time. I am still experiencing it now.
    The device never experienced drops,dents, nor water damage.. it is protected by an Ozaki case and screen protector bought in a Mac store. Never been Jailbraked. I used it for music, videos and gaming purpose. I have 3 idevice other than the Itouch (iPad 2, Ipad w/ retina display and Ipad Mini with no occuring problems both updated to ios 6.1.3 (so is the itouch). I would like to know what course of action should I take about this problem. I have restored the Ipod Touch 5G via iTunes but the problem still occuring both wifi and random restart. I bought the device on a legit mac authorized dealer. (Power Mac i think) in Singapore, but I live in General Santos City, Philippines. I would gretly appreciate if you give me exact details what course of action should i take.
    P.S. my Ipod Touch 5 is running on iOS 6.1.3..

    If you restored to factory settings/new iPod and still have the problem that indicates a hardware problem.
    Make an appointment at the Genius Bar of an Apple store..
    Apple Retail Store - Genius Bar

  • Windows 7 and internet connection issue

    I am having a problem connecting to internet on Windows 7 OS. I have a Macbook that installed Windows 7 on Bootcamp. When I connect the DSL wire to my computer in dormitory it connects automatically. But when I go to somewhere else it doesn't connect. I also tried to connect using IP address which consists of 4-5 rows of numbers. Unfortunately, I cannot find the tab where I can enter these IP address numbers. So I was wondering if there is something wrong with my Network Driver (or may be it is missing some networking drivers).
    The main reason I want to connect to the Internet in Windows system is because I need to activate Keyshot (which requires internet connection and it works only on windows platform). My teacher said if the IP system is different on the Windows installed Macintosh, then it may not activate the product. So I was wondering if my Windows networking system works differently from Windows system on normal PC. If so how to fix this connection problem. Sorry if my question is too complicated.
    But again, I am able to connect on my windows at home. But this connection is still not allowing me to activate the software. As I understood, this program requires normal internet connection of Windows. I don't know what is wrong with my computer.

    Thanks for the direction. Did you mention the Bootcamp forum within this Apple.com or are you talking about a forum that exists outside of apple.com (maybe some website solely devoted to Bootcamp or windows issues)?

  • Windows 8 And Random Connectivity Issues

    Hello,
    I just relatively recently got a laptop with Windows 8 on it. I hadn't used Windows 8 before, but while some features are good, others are not. 
    Notably, when I put my computer to sleep and return from sleep, often times I need to unplug my ethernet cable or my pages won't 'load' because the network is unavailable. But my old laptop, with Windows 7, will be able to access the internet just fine and
    so it doesn't seem to be an ISP issue. 
    I thought it may be a Google Chrome issue, but IE and Firefox have similar issues, pages hang for a long time and eventually display 'page cannot be displayed' or some variant.
    As I said, sometimes if I unplug and re-plug my ethernet cable in, it resolves it, at least when I return from hibernation.
    Unfortunately, two or three times before, and now another time today, I'll be working on my computer and I'll go to a website and it will just hang, then if I try to reload or reload any other pages, I get a similar issue, the network isn't available. 
    I tried unplugging/replugging, I made sure the connection was fine by using my old laptop, and I even tried putting the computer to sleep and back, and closing Chrome and reloading, none of that worked. What did work was completely restarting, but this is
    inconvenient.
    I'm just wondering if anyone else has encountered these issues and if there are easier/more permanent fixes to them? They aren't /terrible/ but they are inconvenient and annoying.

    Hi,
    Have we tried the network troubleshooter?
    Open the Network troubleshooter by swiping in from the right edge of the screen, tapping
    Search (or if you're using a mouse, pointing to the upper-right corner of the screen, moving the mouse pointer down, and then clicking
    Search), entering network troubleshooter in the search box, tapping or clicking
    Settings, and then tapping or clicking Identify and repair network problems.
    For more information regarding wire and wireless problems in Windows 8/8.1, we may first take a look at the following tutorial:
    Wired and wireless network problems
    Best regards
    Michael Shao
    TechNet Community Support

Maybe you are looking for