File Attributes from App Server by RFC (GET_FILE_ATTRIBUTES does not work )

Hello,
We have an Objects application that is started through an RFC BAPI call from a Java app. The Java app. passes a file to the BAPI. We want to test, as efficiently as possible, if the file is 0 bytes long. We have tried /epsf/get_file_attributes but there is a problem with it being called remotely. We have Remote Enabled the function module. Local tests work fine (GUI User), but when it is called by the Bapi(Technical User) we receive sy-subrc = 2. I think it is referring to a 'Communication Error'.
I found a nice class, CL_GUI_FRONTEND_SERVICES for the workstation server, but nothing comparable for the application server.
Help is greatly appreciated as I am pulling my hair out.
Best Regards,
Mark Lengel

Hello Andreas,
The GET_FILE_ATTRIBUTES fm is also from the EPS Function Group and provides the file size, it just does not work when called from Rfc/Bapi. Won't the GET_DIRECTORY_LISTING fm just return directory info ?
I am afraid I will have to resort to the OPEN, READ, CLOSE DATASET steps in order to check for a zero length file.
Regards,
Mark

Similar Messages

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

  • My adobe reader does not read my pdf files, I think it was screwed up by the other "PDF-READER". I deleted the other "PDF-READER" from my pc, but it still does not work.

    my adobe reader does not read my pdf filI think it was screwed up by the other "PDF-READER". I deleted the other "PDF-READER" from my pc, but it still does not work.

    Hi wellsfar,
    Which version of Adobe Reader you are using?
    Is it showing any error message?
    A screenshot of the error would be more helpful.
    Regards,
    Florence

  • I just downloaded iPhoto 9.1.5 from App store. Now iPhoto does not open. Mac is an OS X, version 10.6.8. What now?  by Joan E

    I just downloaded iPhoto 9.1.5 from App. store. Now iPhoto does not open. What now?

    Same question.
    Before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. With information, s/he may be able to get your issue resolved sooner.

  • I just bought an Iphone4 from straight talk and my camera does not work. The shutter wont open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile and now that I have it, it does not work properly. Need help

    I just bought an Iphone 4 from straight talk. My camera does not work. The shutter does not open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile. I want the issue fixed.
                                                                                                                                                     Thanks

    Take the iPhone to an Apple store genius bar for testing, and if it is defective and under warranty they will replace.  Since you say iPhone 4, was this a used or refurbished iPhone? 

  • In the context of restoring a drive from a backup, i copied /etc/sudoers from my backup. Now it does not work due to the permissions not being correct (even though it was copied via sudo cp -rp)

    In the context of restoring a drive from a backup, i copied /etc/sudoers from my backup. Now it does not work due to the permissions not being correct (even though it was copied via sudo cp -rp)

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Importing element definition from an  EDD into a template - does not work

    FM 10.0.1 German on Windows XP SP3.
    When importing the element definitions from an existing EDD into an existing template, FrameMaker converts the template into a  new EDD.
    So the element definitions which are correctly defined do not appear in the template.
    The highest level element is than ElementCatalog in the template and not the higherst lvel element defined in the EDD.
    In FM9 this was no issue.
    Any help is appreciated, I have a deadline and must do some changes in the EDD.
    Best Regards
    Thomas

    Lynne,
    EDD is english (Version FM7.0), Interface language is German.
    Maybe it´s a localization issue.
    I have attached a captivate demo pdf so you can see what happens and the
    defective EDD.
    Mit freundlichen Grüßen
    Best Regards
    Thomas Zeisig
    From:   Lynne Price <[email protected]>
    To:     "Th. Zeisig" <[email protected]>
    Date:   13.10.2011 14:12
    Subject:        Importing element definition from
    an  EDD into a template - does not work
    Re: Importing element definition from an EDD into a template - does not
    work
    created by Lynne Price in FrameMaker Structured - View the full discussion
    Thomas,
      No question the behavior you describe is a bug. However, I am unable to
    duplicate it. I created an EDD with two element definitions:
    Element (Container): doc
      Valid as the highest-level element.
      General rule:  (
      When I imported element definitions from this EDD into a new portrait
    document, FM reports that element a is referenced but not defined and that
    b is defined but not referenced. However, with all elements listed, the
    element catalog shows a, b, and doc. The metatemplate elements are not
    available.
      I wonder if this is a language-dependent problem. Is your EDD German or
    English? What about your user interface?
      Can you send me a short EDD that fails as you've described?
      Thanks,
          --Lynne
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3969067#3969067]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3969067#3969067]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in FrameMaker Structured by email or at Adobe
    Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • After sending sound from find my iphone, now ipad does not work

    after sending sound from find my iphone, now ipad does not work
    it can't be unlock and scrren is blank, only siri works

    Try a reset: hold down the home button along with the sleep/wake button until you see the apple, then let go.

  • I bought this ipod 4 from a friend the lock button does not work and he doesnt know the password? how do i reset and i cant use my computer????   HELP!!!!!!

    i bought this ipod 4 from a friend the lock button does not work and he doesnt know the password? how do i reset and i cant use my computer????
    HELP!!!!!!

    Place the iOS device in recovery mode usning this program and then then restore via iTunes. The iPod will be erased.
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    For how to restore:
    iTunes: Restoring iOS software

  • How to refund a app on an iPad that does not work

    Today I purchase flash player and it does not work, how do I get a refund?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    iOS 7: Help with how to fix a crashing app on iPhone, iPad (Mini), and iPod Touch
    http://teachmeios.com/help-with-how-to-fix-a-crashing-app-on-iphone-ipad-mini-an d-ipod-touch/
    Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Delete the app and redownload.
    Downloading Past Purchases from the iTunes Store, App Store and iBooks Store
    http://support.apple.com/kb/ht2519
    Adobe has not made a version of Flash for the iPad.
    Kappy explains why. https://discussions.apple.com/message/19446567#19446567
    5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
    Top 4 browsers supports flash player on iPad and iPhone
    http://mashtips.com/flash-player-ios/
     Cheers, Tom

  • After a restore from Time Machine my login password does not work.

    My HD crashed and I replaced the HD.  I then restored from Time Machine.  After it was done restoring it prompted me for my apple ID and password and account info.  Now when I try to login, the password does not work.  After several failed passwords, it says I can reset my password using my apple ID.  How do you do this?  I click on the message and it just disappears.  I can't login!

    Is it your actual Apple ID login password that you're talking about (which is obviously working since you got into this forum) or the password for your user account. If the latter, simply boot to your ML Recovery partition (holding down the Command and R keys while booting) and set a new password via Terminal.
    Boot into your Recovery partition and, from the Utilities menu, open Terminal. In Terminal, type in:
    resetpassword
    ...a small app will run allowing you to select a user and change the password for that use. Enter the new password twice (the second time to verify) and give yourself a password 'hint'. Then reboot and use your new password on your account.
    Clinton

  • Downloaded an App that keeps crashing and does not work

    Hi,
    I purchase a Sudoko app for my ipod touch and it doesn't work. I try to open it and it keeps crashing. I deleted it and re-installed it and it still does not work. I e-mailed the developer Bradley J Danitz 10 days ago with no response from him nor any help. I  am not happy with this App or Mr Danitz for his lack of support.
    Sincerely,
    Gary Olson

    Official policy is all sales are final.
    You can always ask, though.
    http://apple.com/support/itunes/contact/

  • I want to have all my tabs return after closing. In Tools/Options/General/ I have' Show my Windows and Tabs from last time' checked, but it does not work. When I open FF again none of my formerly open Tabs show... FF v.4.

    When I open FF up again after I have closed it, I want all tabs to return. In Tools/Options/General/ I have' Show my Windows and Tabs from last time' checked-does not work. In addition, the feedback window fails to 'Submit...!'

    Some things to check:
    #'''Browsing history must be saved'''
    #*Firefox button: Firefox button > Options > Options > Privacy > [X] Remember my browsing history
    #*Menu Bar: Tools > Options > Privacy > [X] Remember my browsing history
    #'''Also make sure you do not clear "Browsing History" when using Clear Recent History or when closing Firefox'''
    #*Using Clear Recent History
    #**Firefox button: Firefox button > History >Clear Recent History
    #**Menu Bar: Tools > Clear Recent History
    #*When closing Firefox
    #**Firefox button: Firefox button > Options > Options > Privacy (checked) > Settings
    #**Menu Bar: Tools > Options > Privacy (checked) > Settings
    #**See: https://support.mozilla.com/en-US/kb/Clear%20Recent%20History
    #'''Make sure you are not in Private Browsing mode''' or '''in permanent Private Browsing mode''':
    #*See: https://support.mozilla.com/en-US/kb/Private%20Browsing
    #'''If you have the'''Tab Mix Plus'''extension''', then disable the built-in session restore.

  • BLOB download from report region in translated application does not work

    We created an application (APEX 3.1.2) with a base language dutch (300) and a translated application en-uk (3001). The problem is that in the translated application downloading BLOB's from a report region does not work and results in an error (page cannot be found).
    The query source for the region is:
    select naam
    , dbms_lob.getlength(bestand)
    , mimetype
    from bos_documentatie
    The column 'dbms_lob.getlength(filename)' is defined as a 'BLOB Download Format Mask' with the following setting:
    DOWNLOAD:BOS_DOCUMENTATIE:BESTAND:NAAM::MIMETYPE:FILENAME:::attachment:Open
    The URL's to the BLOB documents are different between the dutch and en-uk application:
    dutch:
    http://nldvnr01ux002:7792/pls/xvapexd/apex_util.get_blob?s=4260101889649158&a=300&c=12455124581749125&p=1001&k1=Application Multi Language.doc&k2=&ck=A24A5EA6903C5A9603B86D30F128F4DE&rt=CR
    en-uk:
    http://nldvnr01ux002:7792/pls/xvapexd/apex_util.get_blob?s=4260101889649158&a=300&c=12455124581749125.3001&p=1001&k1=Application Multi Language.doc&k2=&ck=7FF0C64FDD48A4D7A6892CFB2B6BCA57&rt=CR
    As you can see the c parameter for the en-uk version has a '.3001' at the end, the internal ID of the translated application. I don't know if this can be the cause of the problem?

    Hi Peter,
    Thanks for the suggestion. However we have a lot of APEX applications build in that same APEX version (one development database) and upgrading now to a higher APEX version would mean we would have to re-test all our applications and upgrade all our test and production environments, just for this bug. And, maybe the higher APEX version may not solve our problem.
    Thanks and regards,
    Patrick

  • Lightroom 5 - Update from 5.0 auf 5.7 does not work. When I try to do the online update I get a message the programm does not find an *.msi file.  Any ideas ?

    Lightroom has been installed on my Laptop with a DVD.
    In the Adobe Programm Folder on my harddrive I do not find a *.msi file.
    Any ideas ?

    Hello I was not sure where to find the right temp Folder. So I deinstalled the program and installed it again.
    But with the same negative effect.
    There are two ways for the update:
    1) Within Lightroom: search for newer Version.
    2) At the Adobe Website
    1) Did not work
    2) worked perfectly
    Thanks for your help

Maybe you are looking for

  • Insert filename in master slide

    Can somebody tell me how I can insert the filename into the master slide (like you can insert filename in Numberq and Pages) so that when I change my filename it automatically changes also in the master slide ? Many thanks for your help.

  • ICal Syncing problems with Exchange

    So I figured iCal was closely related enough to Mail and Address Book that I could post this question here. If there is a more appropriate section please just let me know. I have a user who is connecting to Exchange 2007 via Mail/iCal/Address Book in

  • When I try to open a PDF file in safari I get a grey page, I don't have this problem in Firefox

    When I try to open a PDF file in safari I get a grey page, I don't have this problem in Firefox?

  • Kerberos SSO delegated credentials not persistent

    We have a Kerberos SSO enabled http listener application that uses bindows (ajax) that runs on IBM i5 (aka OS/400 and AS/400) that runs fine with IE. I have found info on configuring Firefox (windows) for SSO (see notes further down) so I am testing

  • SAP reporting layout sharing

    Looking for a way to share reporting layouts between users without giving all the users access to modify the layout.  I thought this was standard SAP however my IT department is indicating it can't be done.