How to browse through System drives in ABAP

Hello Experts,
I want to search the system drives for pdf files...Could you please help me with tyhe approach or with the code??
Actually i want to save a file as .PDF  so i want that user will have the facility to browse through his/her hard drives & save it in desired position.
Please Help..
Anupam..

use fm
CALL FUNCTION 'F4_FILENAME'
   EXPORTING
     PROGRAM_NAME        = SYST-CPROG
*   DYNPRO_NUMBER       = SYST-DYNNR
     FIELD_NAME          = ' '
   IMPORTING
     FILE_NAME           = P_FILE1.
or
CALL METHOD cl_gui_frontend_services=>file_save_dialog
    CHANGING
      filename             = fname
      path                 = fpath
      fullpath             = flpath
    EXCEPTIONS
      cntl_error           = 1
      error_no_gui         = 2
      not_supported_by_gui = 3
      OTHERS               = 4.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
Regards,
Sumit Nene.
Edited by: Sumit Nene on Jul 20, 2009 2:22 PM

Similar Messages

  • How determine the target system rfc in abap (ok in sm59)

    Hello sap men and women,
    I want to determine my logical system Crm in R/3 in abap. What is the function?
    It is to use the FM RFC_READ_TABLE with the parameter RFC target sys. It is ok when I write in the FM RFC_READ_TABLE in the target syst : CR1CLNT120. But, CR1CLNT120 is my logical system in test systems. (TR : Sm59). My problem is how to determine generally CR1CLNT120 because in production system is PR1CLNT120.
    There must be a function which with parameter "CRM" returns CR1CLNT120 if it is the machine of tests or PR1CLNT120 if it is the production machine.
    Many Thanks,
    Servane

    No here, it's not the same logical name between dev, tests and prod systems.
    I have resolved this problem in CRM with the FM SMOF0_READ_SMOFPARSFA But I don't find it in r/3.
      call function 'SMOF0_READ_SMOFPARSFA'
        exporting
          paraname          = 'CRMCFSOLTP'
        importing
          e_parval1         = lv_destination
        exceptions
          error             = 1
          invalid_parameter = 2
          others            = 3.
    lv_destination returns the logical name wich is in dev DR1CLNT120, in prod PR1CLNT120...
    I search the same function in R/3. Do you have an idea?
    Thanks

  • How to browse for a folder with ABAP WEB DYNPRO

    Hi,
    I want to browse for a folder in my local file system with ABAP
    WEB DYNPRO. I am looking for a functionality which the function module
    TMP_GUI_BROWSE_FOR_FOLDER gives.
    Regards,
    Vinay

    HI Karl
    Good evening, I am Maruti from London. I would like to paractise ABAP WebDynpro.I am not sure which Vesrion of SAP R/3 supports for ABAP WebDynpro applications. Can you please suggest me .
    Thank you
    Maruti
    [email protected]

  • Retail Industry : How to Browse through Hierarchies

    Dear Friends,
                         I am at client using SAP Retail module. I want to know the popular Tcodes to navigate through the hierarchies and get feel of the data ( master and transaction ). Is there any certain approach that I can use to get started to make myself familiar with retail data setup.
    thks,
    Suba.

    Hi
    Use the standard Menu W10T (you can enter it like a Transaction code) this will then bring up the SAP menu path for retaling.  Follow the menu  Logistics - Retailing, this is then broken into the areas Master Data, Purchasing, Merchandise Logistics, Sales etc.  here you can see how the master data and transactions are group for Retails.
    Regards
    Lisa

  • Find system drives with JDK 1.1.8

    hello,
    i cannot use the listRoots() function in order to get the system drives because i am working with JDK 1.1.8 and in this this jdk i didn't find any simple function to do so..
    does someone know how to get the system drives with this jdk (1.1.8)???
    please... :-(

    This would be a lot better in 1.2, but this should work in 1.0+
    public class FileRoot {
         public static void main(String[] args) {
              File f = new File(args[0]);
              File root = getRootOfDrive(new File(f.getAbsolutePath()));
              System.out.println("The Root is:"+root);
         private static File getRootOfDrive(File f) {
              String parent = f.getParent();
              System.out.println(parent);
              return (parent == null)? f : getRootOfDrive(new File(parent));
    }

  • How can I browse through oracle ebs db

    Hi All,
    I have a EBS 12.1.1 windows installation (with vision demo database) and I would like to have a graphical tool (instead of sqlplus) to browse through the ebs database. What tool do you suggest?
    I tried oracle sqldeveloper (version 2.1.1.64.39) but I do know what parameters I have to use to get a valid connection.
    I can enter the following data:
    User (I tried system)
    Password (I tried manager)
    Role (Basic, SYSDBA) (I tried both)
    Connectiontype (Basic, TNS, LDAP, Advanced) (I tried Basic and TNS)
    Hostname (I tried EBS1 -> our hostname)
    Port (I tried 1521)
    SID or ServiceName (I tried VIS)
    But the result is:
    Oracle-01034: ORACLE not availableORA-27101: shared memory realm does not exist
    Since I can login via the web, the db should be up and running...
    What else can be the problem?
    Thanks,
    Konrad

    Hi!
    Oracle Enterprise Manager (OEM) is a set of systems management tools provided by Oracle Corporation for managing the Oracle environment wiht using webbrowser
    For more details please check:
    http://www.orafaq.com/wiki/Enterprise_Manager
    Oracle Application Manager which is avaliable on EBS for monitoring your system. Please check:
    OAM Usage And Navigation [ID 352235.1] Thanks for those links. I will check if them...
    In the meantime I got a connection with sql developer to SID "VIS" but I'm surprised that I only can find about 100 tables. I assumed more like a few 1000. I executed the sql statement "select role_name from applsys.wf_user_role_assignments where user_name='ASADMIN'" and got a valid result but I cannot find the table "wf_user_role_assignments" in the table browser. Am I connected to the wrong database?
    first check your IP is still same and compare it wiht your /etc/hosts enteryIP is still the same in in sync with the hosts file
    >
    Did you try to run db+lsnr than apps service? Any error?All Oracle service I could find are running (except OracleJobSchedulerVIS). Still no EBS web login possible Are there any scripts I need to run? How does a "normal EBS start" look like? Isn't there a main script "start" which triggers all necessary services and processes?
    Thanks a lot,
    Konrad
    >
    Regard
    Helios

  • How to install Creative Cloud on any drive other than my System drive...

    You are now chatting with 'Bhagawan'
    Bhagawan: Hello. Welcome to Adobe Technical Support.
    Bhagawan: Hi Steve
    Steve: It appears CC installs on my system drive without asking me. The way I manage my system - this is not acceptable. So, how do I install on the drive I install all my other apps?
    Bhagawan: I understand that you want to install Creative Cloud desktop app. Am I correct?
    Steve: On a particular drive - not my system drive.
    Steve: CC, Photoshop, etc.
    Bhagawan: I will be glad to check and help you with this issue.
    Bhagawan: Steve, creative cloud desktop app can be install only on C drive, but other apps you select for other drive.
    Steve: My C: drive is dedicated to my OS only.
    Steve: It is a special drive that will not work for very long if software companies put their programs on it till it fills up and then everything stops.
    Steve: Didn't Adobe think of this?
    Steve: I have one computer that only has a few MBs left of C:. What do I do on that computer?
    Steve: "left on C:"
    Bhagawan: Give me a minute.
    Bhagawan: Thank you.
    Bhagawan: Steve, I'm really sorry, creative cloud desktop app will be installed on C Drive, since the operating system is installed, but other Creative Cloud apps can be installed other Drive and depends on file size.

    I had the same problem and finally solved it.
    It is "funny" that CC doesn't ask you where to install apps. Or better to say, it asks you but doesn't care. In Creative Cloud desktop app/Preferences there is option to choose where you want apps to be installed, but they are still installed in C:/Program Files/....
    How to install apps on secondary drive in just 3 steps:
    1. Go to page Adobe CC 2014 Direct Download Links – Creative Cloud 2014 Release | ProDesignTools and download all apps that you will need.
    2. Once downloaded, install it. During installation you will be asked where you want app to be installed (just like in any other "normal" installation)
    3. Be happy
    Hope I helped
    Marko

  • How to maintain itunes on a drive other than the system drive

    I would like to have itunes on a drive other than the Windows 7 operating system drive, and have it stay there.
    Never mind...I found a post which applies.

    Hi Maciejhttp://forums.adobe.com/people/Maciej%20Przepi%C3%B3ra
    Thanks for your inputs.
    I have memory leaks in my code. I have tried iDialog->Release() code which reduces some of the memory leaks
    Though I want to use more clean method of InterfacePtr.
    "To prevent reference counts  from incrementing, as in Type 1a and 1b, use this constructor, which does not  call IPMUnknown::AddRef:"
    Which Constructor you are pointing out, I didn't get it.
    I tried InterfacePtr<IDialog> iDialog((IDialog *)iWidgetParent->QueryParentFor(IID_IDIALOG));
    It started giving me assert again.
    Please give an example how to do it or which InterfacePtr constructor doesn't call AddRef().
    Many thanks for helping me with this.
    D

  • How to Changing Productive Client in an ABAP+Java System?

    How to Changing Productive Client in an ABAP+Java System?

    1. Log on to the ABAP system.
    2. Call transaction SPRO.
    3. Go to SAP Solution Manager Implementation Guide -->
    SAP Solution Manager --> Basic Settings --> SAP Solution Manager
    System --> General Settings --> Client Copy
    4. Perform the following steps:
    a) Maintain Profile Parameters
    b) Create Client
    c) Copy Client 000
    d) Convert UME

  • How to access my hard drive when the system does not work

    how to access my hard drive when the system does not work

    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • How to get list of drives present in local file system?

    Hi all,
    I want to show all drives and their contents using JTree.
    Does anybody know how to get list of drives present in local file system?

    Thank you!
    I have new question.
    I want to disply size and file type. Can you give ur suggestion in order to do that?
    I want to provide following using JTree
    + root <Dir> 50KB
    - file1 <txt> 10KB
    - file2 <bmp> 20KB
    + root2 <Dir> 200KB
    -file1 <jpeg> 50KB
    Is this possible?
    Plz reply..........
    bye

  • How do I locate and delete items on system drive?

    I have a 150 gig system drive.
    My system drive is down to 6gigs.
    I want to determine what is taking up so much space.
    I am installed and I'm running; FCS2, Photoshop, Illustrator, Word- and very little else.
    My FCP Media is kept on external drives.
    I'm not sure why I am down to 6gigs?
    How can I determine what is sucking up space?

    Hi! WhatSize is a free app to show the folder that are taking up the most space but there's not a Leopard version yet. Have you let the computer run 24/7 to clear the temp files. Usually it's the pict and music files that take up all the space. Tom

  • How enabled Single Sign-On with a System SAP WAS ABAP (Run application BSP)

    Hi.
    I need to run any application BSP from a System SAP WAS ABAP, without entering SAP user and password. Using the windows authentication and without SAP Enterprise Portal.
    What authentication methods I have to apply for enabled Single Sign-On with a System SAP WAS ABAP?.
    And How can I enabled this method?.
    Best regards.
    Luis Gomez.

    Hi Ticiano,
    SAP WebAS ABAP supports a number of authenticaiton mechanisms. See
    [http://help.sap.com/saphelp_nw04s/helpdata/en/02/d4d53aa8a9324de10000000a114084/frameset.htm]
    A number of these authentication mechanisms can be combined with Windows authentication (e.g. SNC, client certificates, ...).
    The decision what mechanism fits best depends on critieria like
    - SAP server platform
    - security requirements
    - extensibility (should same authentication mechanism be used for future SAP environments, which will be E-SOA based)
    - authentication from outside company domain
    - Use of SAP security library (SAPcryptolib)
    You may want to look at the SAP Software Solution Partner Catalog, if you look for certified SSO solution vendors for SAP.
    Best regards,
    Peter

  • How do you install a driver onto a current system from a live cd?

    I just installed Arch on my laptop, but it seems that it doesn't install the Ethernet drivers and they don't appear to be on the live CD.  How might I install the drivers?
    Thanks!

    Yes wrote:How do you install a driver onto a current system from a live cd?
    Yes wrote:
    I just installed Arch on my laptop, but it seems that it doesn't install the Ethernet drivers and they don't appear to be on the live CD.  How might I install the drivers?
    Thanks!
    your post title and the message within seem to contradict themselves.
    More information from you might be helpful as in  what packages did you install during the installation process? Did you have network connection during the install? Are there any errors that you get when booting.
    Last edited by Inxsible (2010-06-16 23:50:34)

  • How can I see whatever I print through System.out.println in my servlets when I use iplanet 4.1

    how can I see whatever I print through System.out.println in my servlets when I use iplanet 4.1

    Hi Nitin,
    Look out the below link, Hope this helps you.
    http://knowledgebase.iplanet.com/ikb/kb/articles/4235.html
    http://knowledgebase.iplanet.com/ikb/kb/articles/4790.html
    http://knowledgebase.iplanet.com/ikb/kb/articles/4699.html
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

Maybe you are looking for

  • Re-size an image in using the Image class?

    Is there a way to resize an image using the com.day.cq.wcm.foundation.Image class?  I wanted to extend the foundation image componet and have it resize to a specific height and width.  Is there a way to change the size of the image before you call im

  • What are the dimensions of the Apple wired keyboard?

    What are the dimensions of the Apple wired keyboard?

  • When will i get BTInfinity?????

    For many months i have been checking when BT infinity will reach me. All the while my exchange (wimbledon) is shown as already set up for the service. when i check my landline number i'm given a due date. As the due date approaches i check again and

  • CST to load on material  through G/L account : Miro

    Hi Expert I am trying to load CST on material through  G/L account, but system not allowing to do that with Miro regard Nabil

  • Why can't I change the page range?

    If I try to print a single page (say page 3) from an AppleWorks 6 document, the Print- dialogue box will not accept anything except the default "Page 1 to Page 1". The solution is to Quit and Relaunch AppleWorks 6. Now the Print- dialogue box accepts