Problem in SAP XI

Hi,
I am trying to check wether file exist in the target folder in my scenario.
I got following java code which is working fine in java environment.
boolean blnFile= false;
AbstractTrace  trace = container.getTrace();
try
     try
     URL url = new URL("ftp://abdur:abdur@/fin.flg;type=i");
     con = url.openConnection();
     blnFile = true;
     catch(Exception e)
     blnFile = false;
                                                                                if(blnFile == true)
               trace.addWarning("fin.flg Found !!!");
          else
          trace.addWarning("fin.flg NOT Found !!!");
catch(Exception e)
trace.addWarning("FTP Main Function Error.");
But when i wrote same code in SAP XI (message mapping under function tab in init function) it is not working . It is always giving file found.

Hi,
i think this behaviour is because the code is excecuted from the PI server, the ftp url is accessable from your computer but not from the server.
btw: The file adapter provides some nice settings to control the process depending from existing files. Please have a look to "Processing Tab Page" in [SAP help: Configuring the Receiver File/FTP Adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm]
Regards,
Udo

Similar Messages

  • Some problem about SAP R/3 ~ I need some detail solutions and suggests

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    •     Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    •     Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    •     Problem 1.3: Oracle 9i database automatically shutdown by itself.
    •     Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.
    Problem 2: Problems in User Maintenance and Security of the SAP R/3 System
    •     Problem 2.1: Super user account password was lost (e.g. SAP* password was lost)
    •     Problem 2.2: Super users DDIC and SAP* were dropped in table usr02 in Oracle.
    •     Problem 2.3: Some users have been locked or deleted by an ABAP programmer who has been granted with almost superuser profiles.  For example, an ABAP programmer has been granted a profile of SAP_ALL and SAP_NEW but the system administrator would like to restrict all programmers form using SU01, SU02, SM01, so that no programmers can maintain other user's accounts.
    Problem 3: Problems in the configuration of client copy
    •     Problem 3.1: A copied client from the Client 000 cannot be customized.
    •     Problem 3.2: No sample data in IDES after a successful client copy.
    •     Problem 3.3: Logging on without being authorized.  A new client is created and client copied and transported successfully.  However, anyone can log into the system using user SAP* with the default password PASS.
    Problem 4:  Problems in the installation of SAP R/3 Server
    •     Problem 4.1: Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
    •     Problem 4.2: A network card of a server was faulty and it was replaced by a new network card but the SAP R/3 license was expired.
    •     Problem 4.3: You would like to reinstall SAP R/3 on a server which has previously installed with SAP R/3 but the same error message appears during the re-installation.
    Problem 5: Problems in the backup and recovery of Oracle 9i Database
    •     Problem 5.1: A redo log file was lost and the database could not be started.
    •     Problem 5.2: A group of data files were accidentally deleted and the database could not be started.
    •     Problem 5.3: Both the online redo log files and archived redo log files have been damaged.
    Problem 6: General problems regarding the general operations and the connection to the SAP R/3 System
    •     Problem 6.1: After a reboot of the Windows 2003 Server, SAP service is not automatically started.
    •     Problem 6.2: Some users complained that the performance of SAP R/3 is really very slow.
    •     Problem 6.3: A user complained that his/her password was correct but he/she could not lock on the client because it was locked.

    Problem 2
    2.1  If user account of the sap* is lost u can retrive by loging into os level as sidadm type this command
    DELETE  SAP<sid>.USR02 where BNAME='SAP*' AND MANDT=100
    This 100 is the client in which u want to delete the sap*
    after that restart the server and login as sap* with the default password as pass
    there is also another way of doing this if needed u can catch me at [email protected]

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Problem in SAP R/3 Console

    Hai to all,
    I have a problem in SAP R/3 Console , when i start the sap R/3 management console, it is starting from gray color to yello but it is not going to green color again it is going to gray.I did not understand the problem.... Can any one help me .
    Thanks,
    Nagaraju.

    post ti BAIS related ?'s  BASIS forum.

  • Can SAP GRC AC 5.3 connect without any problem with SAP R/3 4.7 Enterprise?

    hello,
    I went to the PAM in the SAP Marketplace to see if SAP GRC AC 5.3 could connect to SAP R/3 4.7 Enterprise but I can't see all the "Add-On Product Version for...", it's cut off.
    Can SAP GRC AC 5.3 connect without any problem with SAP R/3 4.7 Enterprise?
    If I can't is there any proof about it? I have to show it to a client.
    Best Regards,
    Pablo Mortera,

    Pablo,
    GRC AC 5.3 works perfectly fine with SAP's R/3 4.6c, mySAP ERP 4.7 and ECC systems. In fact we have two 4.7 Enterprise systems connected to GRC AC 5.3 system.
    You can get the details of supported SAP ERP systems under prerequisite section of Info page of GRC AC 5.3 , it can be accessed on marketplace at -
    Downloads-->Installations and Upgrades - Entry by Application Group > SAP Solutions for Governance, Risk, and Compliance>SAP GRC Access Control>SAP GRC ACCESS CONTROL>SAP GRC ACCESS CONTROL 5.3
    Just ensure to have proper BASIS and ABAP support pack level as mentioned in prerequisites.
    Regards,
    Amol

  • Problem with SAP logon 720 for printng with Citrix.

    Hi,
    I have a problem with sap logon 720 when printing for Citrix, one time print and other time don't print....
    I try to start SAPLPD for prompt comand... it's start but don't print....
    i'm write here for look if other people have this problem... I dont know what I can do.....
    Thank you very much....

    Hi Itmar,
    I was having the similar issue on my Windows Server 2003 Terminal Server. At times SAP prints stop working. Then i changed Printer Type to "G" and it had solved the problem. It skips the use of SAPLPD service and calling windows printing service directly.
    Just try with that.
    Regards,
    Gaurav

  • One more Problem with SAP query

    Hi All,
    I am having a problem with SAP query
    Execution of SAP query transaction is leading to Dump
    the dump says Field 'R01' contains no fields, syntax check on the program shows same error.
    When I tried regenerating the Query in SQ01
    " Query Specification cannot be use to generate list
    Ranked list contains only numeric fields
    Please help me

    Gianpiero Bucchieri wrote:
    > So its important to listening the following tables too: Faktura (invoice), Partner Role, Partnernumber and the requierements number. The table are EKKO EKPO AND VRKPA OR vbkd, but if I join this table the query doesn't listining any results. If I cancel this 3 or 4 table and I start the query, the listening are ok. 
    >
    I am not sure what business process you are describing here - is it some kind of third-party sales order? If so, your join is wrong.
    From VB E P, firled BANFN and BNFPO you can go to table EBAN, where in field EBELN you will find the number of the purchase order (if somebody already had an MRP+Me58 run over the PR) which will lead you to table EKKO, and EKPO.
    So what we have here (essentially is):
    VBAK -> VBAP -> VBEP -> EBAN -> EKKO -> EKPO
    But that only solves one of your problems - you still have a long way to go to get invoices, partner and partner roles into there and I am beginning to ask myself what exactly it is you want to evaluate.
    Care to explain?
    Edited by: Mylène Dorias on Apr 1, 2010 2:10 PM

  • Who to reverse the OSV if it is reverse what is the future problem in SAP?

    Who to reverse the OSV (Asset) if it is reverse what is the future problem in SAP?

    CEE6 wrote:
    What video format (including embedded audio) is able to be viewed and heard by both OSX Lion users and Windows users?
    You have to make a distinction between the container format (eg, AVI, MKV) and the video/audio format (eg, DIVX). For instance, without additional software, QuickTime can play .avi files with the IndeoVideo codec, but not .avi file with the DivX codec). Further, you have to make the distinction between what can be played using an independent player, eg, QuickTime Player, and what can be played within the presentation software (Keynote or PowerPoint).
    You can refer to
    <http://mac2.microsoft.com/help/office/14/da-dk/powerpoint/item/7acce321-36fb-48d 6-8c76-12cb3a0063ee>
    for suggestions. In practice, for presentation clips, I think you're limited to MPEG-2 and MPEG-4. I don't know if an additional MPEG-2 QuickTime component is required under Lion, you'll have to check that yourself. So, in the end, it's MPEG-4. Both Keynote and PowerPoint Win/Mac should be able to handle it.
    can anyone suggest a safe application that I can purchase from the apple app store that will allow me to convert video files
    What's a 'safe application'? And why do you have to buy it from the App Store (yuck!)?
    Handbrake, as mentioned by X423424X, is free and works very well. There are probably others, too.
    this forum is the best place to learn
    Perhaps, but it may not be the place to get answers to this question. Try a PowerPoint Mac user forum, they would have more experience in these x-platform issues. This forum is oriented more towards the hardware side of the MBP platform.

  • Quantity field conversion problem in SAP script

    Hi experts,
    I have problem with sap script quantity field conversion.
    In purchase order the actual value of field( MDPM-ERFMG) is 3,500.
    But in Print preview it is showing only 3.5
    Any one Please help me in this problem
    thanks in advance
    murali

    Hello,
    check this:
    Number of Decimal Places
    A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
    Syntax
    &symbol(.N)&
    The EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.
    &EKPO-MENGE& -> 1,234.560
    &EKPO-MENGE(.1) -> 1,234.6
    &EKPO-MENGE&(.4) -> 1,234.5600
    &EKPO-MENGE&(.0) -> 1,235
    REgards,
    Vasanth

  • Printing problem for SAP Script

    Dear Friends,
    I am facing strange problem for SAP Script. In the billing document output the sold to party and ship to party address are displaying. When user print the billing document on laser printer it print the Country for Sold to and Ship to. But when it print the same billing document on normal printer (other than laser) the Sold to country not printing.
    The print preview of billing document in SAP  correctly display country for Sold-to and Ship-to.
    I have recently make changes in the SAP Script form (Address window) to display country for Ship-to which was never displayed before. I have added FROMCOUNTRY option after COUNTRY in address window. COUNTRY will be Ship-to and FROMCOUNTRY will be VBDKR-SLAND.
    Can any one help me to solve this problem.
    Regards
    Nilesh Shete

    Used custom address print option instead of using ADDRESS

  • Problem with SAP PI7.0 J2ee Engine starting

    Hi,
    Problem with SAP PI7.0 Server
    I am using AIX6.1 and p570
    J2ee engine is not starting but I am able to login to ABAP engine.
    When I am trying to long in through internet explorer it is not working.
    How to check J2ee engine started or not.
    If it is not started then how to start J2ee engine.
    If J2ee engine problem is there then how to solve the issue and where to check to solve the issue.

    Hi,
    How to check J2ee engine started or not.
    Check the url http://ipaddress:5xx00/index.html
    If this url shows you the system info page then you j2ee engine is up.
    If it is not started then how to start J2ee engine.
    Check your server0.log file.
    If J2ee engine problem is there then how to solve the issue and where to check to solve the issue.
    Check for the problems in log file and do search in sdn or in the market place you will get plenty of info read them and try to resolve the errors.
    Regards,
    Vamshi.

  • Hi All,I have one serious problem regarding sap b1.

    Hi All,
    I have one serious problem regarding sap b1.
    In Sales order whenever I select the item from list or tax from list one. I got this
    Msg Box (Application has a problem. Diagnostic file c|:\Program file\SAP\sap Business one \Log\Sap Business one_20080602105441.dmp was created.
    Please contact support and attach diagnostic file). When select ok sap b1 application close. If anyone required screen short of all this error  plz give me Ur email id I will send u.
    Can any one help me?
    Awaiting Early Response
    Regards
    Rajkumar Gupta

    Hi Rajkumar,
    create a message at the marketplace and send them the diagnostic file with an error description.
    lg David

  • Problem with SAP Script FAX output

    Hi Friends,
    I have problem with SAP Script Fax output.
    After I issued output using the messge type, the print preview format shows me correct alignments and the right data. But when I go to List display using the menu bar functions from the print preview screen, the list is showing me the right data, but all the alignments at the main window went wrong.
    How do I rectify this problem? I need correct alignments in both form display and list display.

    Hi Sasidhar,
    Have you tried with different fax machine.
    Regards,
    Atish

  • Connection problem between sap bw and EAI

    Hi
    Please
    I'd like to know why people who work on the part of my EAI project say there is a connection problem between eai and SAP BW. He explained that the connection is good at 12h AM and 16h PM the system was disconnected, he receive this error message:
    System.ServiceModel.Security.MessageSecurityException: The HTTP request is Unauthorized with customer authentication scheme 'Basic'. The authentication header received from the server was' Basic realm = "SAP NetWeaver Application Server [DB1/100].
    I like to know if this is a problem with sap bw (misconfiguration of authorisations) or at the eai.
    Cordialy

    Hello,
    we have 2 possiblities in BW to get data into BW.
    1) pull
    2) push
    I understodd that you want to push data to BW. Please have a look into the Howto paper: https://www.sdn.sap.com/sdn/developerareas/bi.sdn?contenttype=url&content=/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to send xml data to bw
    and
    https://www.sdn.sap.com/sdn/developerareas/bi.sdn?contenttype=url&content=/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to integrate bw to xi.pdf
    If you want to connect an external system to BW and extract data to BW and the BW system is the leading system.
    You need a RFC server, or UD connect (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/943de6c3-0401-0010-b7a4-8b1af193f642) or you can use db connect or you can extract flat files.
    All of these possibilies are decribed in the online help and in howto papers.
    hope this helps
    Michael

  • A problem on Sap Solution Manager

    Hi all,
    I got a problem with Sap Solution manager and i hope that you will be able to help me…
    I’ll try to do my best to be understood in English =)
    So, here is my goal :
    I want to use SolMan as a workbench for test with eCATT. I made a very simple test with the transaction SECATT : A script for a customer creation by the transaction XD01.
    This script works well, so I’ve done the “test configuration”, the “Test data” and the “system data”.
    At this point, I don’t have any problem. If I launch the test, it works. (Important point maybe : I work in remote from an environnement dedicated to SolMan toward a production one).
    When I try to put this test in SolMan, there appear my problems.
    I don’t really know SolMan for the moment, but it seems that I have to begin  by the transaction “SOLAR01” which lead me to the “Business blueprint change”. But I can’t modify anything in it, as the system always tells me the following error : “You cannot change (or There are no) Structure nodes”.
    Maybe I’m not going in the good way, but I try every transaction in SolMan, like Configuration, Test plan management or project overview & Administration. I filled all field I could, but it’s not working for the moment.
    I just want to know how to get my test in a workbench, in a test plan on SolMan…
    Can you help me ?
    Thx a lot
    R.P.
    (P.S : Of course, if you got a step by step document, I would be pleased to receive it ! =))

    Hello Papillon,
    What I understand from your contribution: You do not seem to have a problem working with the Test Workbench in general but would like to know how to work with the Test Workbench as integral part of SAP Solution Manager.
    The basic idea of SAP Solution Manager is that you have the possibility of doing a process-oriented testing (instead of straight module or functioned-oriented testing with regular Test Workbench functionality).
    This is why in SAP Solution Manager you would start of with setting up a project (in transaction SOLAR_PROJECT_ADMIN), in which you define a <i>process-oriented</i> blueprint structure in the next step (transaction SOLAR01) and attach test cases to your process-oriented structure (in transaction SOLAR02) afterwards.
    You will find a guide dedicated to testing topics in SAP Solution Manager here:
    <a href="http://service.sap.com/form/sapnet?_SHORTKEY=01100035870000538663&_SCENARIO=01100035870000000202&_OBJECT=011000358700000213552006E">http://service.sap.com/form/sapnet?_SHORTKEY=01100035870000538663&_SCENARIO=01100035870000000202&_OBJECT=011000358700000213552006E</a>
    This guide should provide sufficient guidance and walks you through the whole process, explaining why and how you operate the above mentioned transactions and much more.
    Best regards,
    Doreen Baseler

  • Problem in SAP Logon

    Hi,
    I am Sikander (J2EE Developer). Currently i am working on SAP ABAP. For this purpose i have downloaded SAP Netweaver 2004 Sneak Preview and SAP GUI. These products are installed sucessfully but i am having problem with SAP logon.
    My Computer Name is shahbaz. My System Configurations are :
    Description: NSPSIK
    Application Server: shahbaz
    System ID: NSP
    System Number: 00
    I am having "partner not reached- connection error" message dialog. Please help me in this regard, i am stuck in this.
    Thanks in advance,
    Malik Sikander Khan

    Hi Sikandher,
    step 1:- Check network a) Try to ping your SAP server
    sep 2 :- Check ini files and hosts file
    copy hosts.txt,saplogon.ini,sapmsg from the working gui system to gui  prob system.
      Location of file
      hosts.txt : c:\windows\system32\drivers\etc
      saplogon.ini:c:\windows
      sapmsg: c:\windows
    note:-  before copying the above file , please close all the application on users machine.
    check the database path vaue from the registry
    Hkey_local_machine/system/services/current/controlset/tcpip/parameter
    make sure database path value is      c:\windows\system32\etc

Maybe you are looking for

  • Editing 5.1 audio on a 2.1 system

    This might be a strange question but I really need to ask it to avoid wasting loads of time. I have got a copy of premiere cs4 to try out and I have a Panasonic SD20 camcorder which records audio in 5.1. I have a TV and surround sound set up at home

  • Itunes upload error code "4002"

    When I want to upload my music to the Itunes store, I get an error code "4002" What can I do about that?

  • 2.1 Version  Problems(fact)

    I know now for a fact that 2.1 version has problems, I know you might says, yes we all know that, but let me tell you what happen to me. I was having problems with my first phone that I got on 07/11/08, after upgrading to 2.1 the phone in my house us

  • Is there a property for record count?

    I want to navigate to another block if the current record is the LAST record. I can get the value of the current record but can't figure out how to get the value of # of records returned. Surely there's a block property for this, but I can't find it!

  • Adding Dashboard widgets to Desktop & Keeping it "Sticky"

    Hi, I know there are many posts out there on part of this topic. I am aware on how to add widgets from Dashboard to the Desktop. However, I haven't figured out how to ensure that the newly added widget does not overlay itself on the application I am