F4 help for application server path

hi gurus ,
i have  used f4 help for application server using this fm
DATA: c_fnh_mask TYPE dxfields-filemask VALUE '.',
      search_dir TYPE dxfields-longpath VALUE '/sapglobal/users',
      file_path LIKE dxfields-longpath.
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
i_location_flag = 'A'
i_server = ' '
i_path = search_dir
filemask = c_fnh_mask
fileoperation = 'R'
IMPORTING
o_path = file_path
EXCEPTIONS
rfc_error = 1
OTHERS = 2.
IF sy-subrc EQ 0.
p_file = file_path.
ENDIF.
but i am getting a short dump for that can anybody please help
Edited by: Ambarish annapureddy on Jun 19, 2008 1:31 PM

this for presentation server
CALL METHOD cl_gui_frontend_services=>file_open_dialog
      EXPORTING
        window_title            = w_title
      CHANGING
        file_table              = i_filetable
        rc                      = w_return
      EXCEPTIONS
        file_open_dialog_failed = 1
        cntl_error              = 2
        error_no_gui            = 3
        OTHERS                  = 5.
this is for application server.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
         IMPORTING
              serverfile       = p0100_path
         EXCEPTIONS
              canceled_by_user = 1
              OTHERS           = 2.
Edited by: S.r.v.r.Kumar on Jun 19, 2008 5:05 PM
Edited by: S.r.v.r.Kumar on Jun 19, 2008 5:08 PM

Similar Messages

  • FM for F4 help for presentation server path

    hi Experts,
    FM  for F4 help for presentation server path .
    and also for download to the presentation server.
    Regards,
    Amit

    Amit,
    PARAMETER: pfile LIKE rlgrap-filename OBLIGATORY.
    CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         program_name        = syst-cprog
         dynpro_number       = syst-dynnr
    *   FIELD_NAME          = ' '
       IMPORTING
         file_name           = pfile.
    and use gui_download for download to presentation server:
    CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              filename              = _filename
              filetype              = 'ASC'
              append                = l_append
              trunc_trailing_blanks = space
              write_lf              = l_write_lf
    ** here we know that we are working with GUI (not batch process) so we can ask user,
    ** if he is really sure to overwrite file in case of overwriting
    *          confirm_overwrite     = l_confirm_overwrite
              confirm_overwrite     = space
            TABLES
              data_tab              = lt_header
            EXCEPTIONS
              error_message         = 98
              OTHERS                = 99.
    Amit.

  • F4 help for Application Server

    Hi all,
    i have a requirement like selection screen for F4 help where i need to pick the file from Application Server.
    When i click on the field on selection screen it should display like same as the AL11
    How can this posssible by calling any Function Module or Method ,Will anybody help me in displaying all the Directories with Paths.
    Regards,
    Madhavi

    Hi Madhavi,
    check this code and for the field p_file no need to pass any thing. before that i have given some wrong code.
    DATA: lv_hostname TYPE msxxlist-name.
    DATA: lv_server TYPE bank_dte_jc_servername.
    PARAMETERS: p_file TYPE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'BANK_API_SYS_GET_CURR_SERVER'
        IMPORTING
          e_server = lv_server.
      lv_hostname = lv_server.
      CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
        EXPORTING
          dynpfield_filename = 'P_FILE'
          dyname             = sy-cprog
          dynumb             = '1000'
          filetype           = 'P'
          location           = 'A'
          server             = lv_hostname.
    just run this code separately in a SE38 prog. when ever u press F4 key on the field p_file, u can able to see like AL11 transaction.

  • About F4 help for Application server field

    hi,
    give the sample code for the FM ' /SAPDMC/LLSMW_AUX_020F02'.
    plz reply......
    advance thanks to who reply to me........
    regards,
    ARUN.

    hi,
    use sxda_tools transaction.
    if you debug file name in input file option you will get it.

  • Windows 2003 and windows 2008 for applications server

    hi all.
    i want to know about windows that which one is better for application server 10 R2.
    which one is better windows server 2003 or windows 2008?
    please if anyone knows about the difference and about the performance please help me out thanks.
    Any suggestion?
    sarah

    Well, Sarah, I have used both and I would recommend that Win2K3 is better, not because any fault of the iAS from Oracle but due to some quirks of the Win2K8. There are many updates available for the Win 2003 and it is well patched. To be honest, I have been using Oracle iAS for the last 5 or so years and seriously think that it is not that great product from Oracle and when combined with Windows OS, it really sucks. I have, that is why shifted my iAS to Linux and one to Solaris.
    best regards

  • Regarding finding of word in a string of Application Server Path

    Hi All,
    I have issue related to finding a certain <b>file name(S)</b> from given <b>Application Server Path</b>.
    Here is the actual issue:
    In my Selection-Screen i have one field by the name of <b>Application Server Path</b> - /pw/data/erp/D5S/pp/down/eppi0720.txt
    Like wise he might enter diffrent file name(s) (or) diffrent pat(s) as per requirement.
    Here my requirement is i need to find file discarding path in to one variable - Remember path might also differ also file name might also differ.
    Is there any <b>Keyword/Command</b> by which we can findout only <b>filename</b> from the <b>path</b>!
    I think with <b>'/'</b> operator we can solve this issue.
    If any body knows solution please post.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    use fm EPS_GET_DIRECTORY_LISTING'
    example:
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
           DESTINATION                   q
           EXPORTING
                dir_name               = folder
                file_mask              = mask
           IMPORTING
                file_counter           = cnt_file
                error_counter          = err_file
           TABLES
                dir_list               = dir_list
    Andreas

  • Need utilities class for application server file system (i.e. unix etc)

    I need to do things to directories and files on the application server.
    Is there an SAP class with methods for the application server file system (i.e. unix or whatever) with functionality similiar to what is provided by the methods of CL_GUI_FRONTEND_SERVICES for the presentation server?
    Is there a group of SAP functions for this task?

    You may have a look at Thomas Jung article: [sdn contribution : ABAP Server Side File Access, by Thomas Jung|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7a13f367-0401-0010-47ba-eab0b15cf31c]
    Moreover, in release 7.10, it could be possible that SAP introduced input and output stream classes (to mimic java classes), so I guess there could be the ones for application server file system.

  • Oc4jadmin not working for application server control in SOA suite 10.1.3.1.

    Hi,
    We have installed the SOA suite, and I can login to the various components using oc4jadmin/password (bpel, esb, rules author), but for some reason that oc4jadmin password is not working for Application Server Control, which is the only piece of this I really need to log in to.
    Any thoughts on what is going wrong?
    Cheers,
    Pat Rock

    Maybe you change this password internally for another application (such BPEL, WSM,etc) and didn't make change for your main OC4J container.
    You can try to change this password by...
    1. Open the file [OASHome]\j2ee\home\config\system-jazn-data.xml
    2. Find the section that looks like this
    [user]
    [name]oc4jadmin[name]
    [display-name]OC4J Administrator[display-name]
    [guid]88836370D11611DC9F30F9C1CD6F1A73[guid]
    [description]OC4J Administrator[description]
    [credentials]{903}F+iG1A46edXG9RdfY0pD2O4Ge/qyEjsg[credentials]
    [user]
    3. Replace the value separated by the "Credentials" starting and ending tags with your new desired password, prefixed with an exclamation point
    Example:
    [user]
    [name]oc4jadmin[name]
    [display-name]OC4J Administrator[display-name]
    [guid]88836370D11611DC9F30F9C1CD6F1A73[guid]
    [description]OC4J Administrator[description]
    [credentials]!newpassword[credentials]
    [user]
    4. Save the file and restart OAS
    This should not affect other applications.
    Greetings.

  • I have Problem when installing ADF Runime for Application Server

    Hi All,
    I have Application Server 10.1.2.0.2 and Jdeveloper 10.1.3.2
    I followed the next steps
    1 - in Application Server I created OC4J instance named app1
    2- I Stoped all infrastucure and middle-tier of Application Server
    3- in Jdeveloper I installed ADF Runime for Application Server
    by the next steps :-
    Application server home directory : OraHome_2
    oc4j instane name : app1
    and I selected: install a new version of ADF Runtime 10.1.3.40.66
    after that I got a jdeveloper sussceeful install ADF Runtime message
    5- when entering this command below to start Application server
    it gives me an error message
    C:\OraHome_2\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ======================================
    opmn id=royal:6201
    0 of 1 processes started.
    ias-instance id=midd_admin.royal
    +++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/apptest1/default_island
    Error
    --> Process (pid=3808)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\OraHome_2\opmn\logs\OC4J~apptest1~default_island~1
    any soluation to solve this error when starting Appliction server ?
    thanks

    This is the error message in log file
    07/06/14 05:51:55 Start process
    07/06/14 05:51:59 Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind
    07/06/14 05:52:01 Auto-deploying file:/C:/OraHome_2/j2ee/home/default-web-app/ (New server version detected)...
    07/06/14 05:52:01 Auto-deploying file:/C:/OraHome_2/j2ee/home/applications/dms/ (New server version detected)...
    07/06/14 05:52:03 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    07/06/14 05:52:03 java.lang.NullPointerException
    07/06/14 05:52:03      at com.evermind.server.rmi.RMIServer.run(RMIServer.java:464)
    07/06/14 05:52:03      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    07/06/14 05:52:03      at java.lang.Thread.run(Thread.java:534)
    07/06/14 05:53:13 Notification ==> Application Deployer for Test8 STARTS [ 2007-06-14T05:53:13.593PDT ]
    thanks for your care

  • File path for application server file

    Hi All,
                 I have a file 'abc.doc' stored on the application sever.
                I want to crate a document using the BAPI_DOCUMENT_CREATE and store this file
                What is the file path that I need to pass into the bapi.
    Please help
    Warm Regards
    Sunil Kumar.

    Hello Sunil
    You are right. That's the file path you should specify. It looks like your application server is running on UNIX platform. You can use transaction AL11 to locate your file and specify the file path in normal unix format. If this doesnt work, you can try prefixing your file path with "file:// ".
    Cheers
    Anand

  • Equalent of F4_filename function module for application server file path

    hi experts,
            i am using  cl_gui_frontend_services=>file_open_dialog
           for bring file path dynamically for user, in front end.
          same feature i want to give when i am trying upload file from application server.
      kindly provide me function module or class method, which will do it.
    thanks in advance
    regards,
    pavan

    Hi,
    Use FM F4_DXFILENAME_TOPRECURSION
    Sample code here
    report ztest.
    data : filename like DXFIELDS-LONGPATH.
    data : begin of itab occurs 0,
    a(200) type c,
    end of itab.
    CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
    EXPORTING
    I_LOCATION_FLAG = 'A'
    *I_SERVER = '?'
    *I_PATH =
    FILEMASK = '.*'
    *FILEOPERATION = 'R'
    IMPORTING
    *O_LOCATION_FLAG =
    *O_SERVER =
    O_PATH = filename
    *ABEND_FLAG =
    EXCEPTIONS
    RFC_ERROR = 1
    ERROR_WITH_GUI = 2
    OTHERS = 3
    break-point.
    open dataset filename for input in binary mode.
    while sy-subrc = 0.
    clear itab .
    read dataset filename into itab.
    append itab.
    endwhile.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    FILENAME = 'd:\abc.txt'
    FILETYPE = 'BIN'
    TABLES
    DATA_TAB = itab
    Regards,
    Satish

  • Want to know the file path for application server in upload program

    Iam doing upload program(i,e)uploading from application server,iam getting run time error while executing the following piece of code
    "OPEN DATASET '/usr/sap/SPE/DVEBMGS00/work/ZPSPAR35_PERS_UP.txt' FOR OUTPUT
                 IN TEXT MODE
                 ENCODING DEFAULT."
    if the above code is wrong can u mention the correct one.

    hi,
    <b>Note: 699267</b>
    <b>Symptom</b>
    a) When downloading to the application server a short dump occurs with the error 'UC_OBJECTS_NOT_CHARLIKE'.
    b) When downloading to a presentation server from an SAP system running on Unicode, only half the data is actually transferred to the downloaded file.
    or
    *)When downloading from an SAP system running on an application server with an EBCDIC-type code page, an incorrect code '0A' is written for the LINE FEED character
    <b>
    Pre-requisite</b>
    a) The output file is opened 'in text mode' which does not allow to write non-character-like structures to the file via the TRANSFER command.
    b) The file is downloaded in the internal representation which uses two bytes per character in a Unicode system. The number of bytes to download is determined from the number of characters in the SAP system, however.
    or
    *)The code of the LINE FEED character is incorrectly programmed.
    <b>
    Solution:</b>
    You need to put some support packs attached with this note. For that you definitely need to ask YOUR FRIENDS WHO HAVE AN S-USER id at your WORK PLACE.
    <b>Note: 879598</b>
    <b>Reason and Prerequisites</b>
    The file is downloaded in the internal representation which uses two bytes per character in a Unicode system. The number of bytes to download is determined from the number of characters in the SAP system. Hence when the download happens the data has to be          converted to the required format.
    <b>Solution</b>
    Apply the corresponding support package or manually implement the changes described in the correction instructions.
    Hope this helps.
    Regards
    ak.
    PS: Reward useful answers with points.

  • How to access application server path in sap

    Hi All,
      Could you please help me how we can navigate application serverpath; for example in my job the file is placing at this directory /usr/sap/interfaces/WAP/100/MM/OUT/SOFTCONQAG/ARCHIVE in application server, How can I go to that path to check weather file is avilable or not.
    Regards,
    Muralikrishna.

    Hi,
    U can access through AL11 transaction. But please note that not all will be having the access to perform this.
    Thanks & regards,
    Prakash Ghantasala

  • Which adf runtime library version for application server version

    After sifting thru this forum and some documentation, I was left a little confused about installing ADF Runtime libraries to the application server we're deploying our ADF applications to. I wanted to get a definitive answer to a couple questions:
    1) We're using Oracle Application Server 10.1.3.2.0. We've been deploying our 10.1.3.3 ADF applications to this application server. If we migrate our 10.1.3.3 ADF application to 10.1.3.4, do we need to install the ADF Runtime libraries (from jdev 10.1.3.4) to the application server before deploying/running our 10.1.3.4 version of the application on that server? If yes, do we need to uninstall the 'old' ADF Runtime libraries first?
    2) How can we tell what jars make up the ADF Runtime libraries?
    Thanks for any help you can give. James.

    You always need to have a version match between the ADF libraries on your server and the ADF libraries you develop with.
    So if you are developing with JDev 10.1.3.4 you need to install the ADF 10.1.3.4 libraries on your server.
    You can do this with the ADF Runtime installer or directly from within JDeveloper's tools menu.
    You don't need to uninstall the ADF libraries - they'll be overwritten.
    The list of jar files is in the ADF Developer Guide:
    http://download.oracle.com/docs/html/B25947_01/deployment_topics012.htm#CIHJFAIA

  • Setting up class root directory for application server

    Hi all,
    When i try to deploy my Ejnterprise java bean in sun one application server i get ar error dialog box " plz consult online assistance for setting class root directory" while loading the class files.I tried online but in vain.Can any one tell me how to set up the class root directory in sun one app server platform edition 8.
    But i had many other beans b4.suddenly m encoutering this problem from past 2 3 days.Kindly help me.
    Waiting for ur replies!
    Thanks,
    Akshatha

    Hi Eric and Jennifer
    A couple of answers to your questions:
    1. LC Forms is just an API - you have to build your own web application (or some other type of application) if you want your users to be able to interact with PDF forms.
    2. You can use Eclipse to build web applications. It's just one of many tools for doing so, but it's a fantastic development environment, and it's free.
    3. Lomboz no longer exists. It has been integrated directly into Eclipse as one of the sub-projects, "WebTools". The easiest way to install web tools is via the Callisto "packaging". This makes sure that you get all the right versions of everything you need. See:
    http://www.eclipse.org/callisto/
    4. The tutorial mentioned still provides some useful information, although names have been changed.
    5. There are lots of books about developing Web Apps in Java, using servlets or JSP.
    6. FormsIVS is just a small sample application that allows you to test rendering or prepopulating a form. It's not intended as an end-user product.
    7. If you're interesting in some assistance, we do provide training, mentoring, and turnky application development. Send an email to info "at" avoka.com if you want more info.
    Good luck...
    Howard
    http://www.avoka.com

Maybe you are looking for

  • Migrate Nokia Suite between windows accounts

    I have recently changed my home pc so that each user has their own account, I now want to move my Nokia Suite settings to my personal windows account rather than the shared windows account. My issue is that I have a lot of photographs stored on my N8

  • Export Database Running Soooo Slow

    Hi, I am exporting our oracle 11gR2 database C:\Documents and Settings\Administrator>exp system/manager@prod1 FULL=Y STATISTICS=NONE Export: Release 11.1.0.6.0 - Production on Tue Apr 26 09:11:53 2011 Copyright (c) 1982, 2007, Oracle.  All rights res

  • Web Banner Ad Design

    Hello! I'm in the process of designing some web banner ads and although Photoshop and Flash are the first obvious choices for designing them, I'm not sure what is the best choice. I've created simple animated GIFs with Photoshop but the client might

  • DBXML query help

    Hi, I am learning Berkeley DBXML using the command line interface. I figured out how to create a container and print out the full document. But, how do I print out only a section of the document? This is how I create the container: createContainer md

  • OdiInvokeWebService JDBC Connection Exception

    When I test the Data Services the I deployed on Axis2 at Tomcat5.5, the following exception occured. com.sunopsis.wsinvocation.SnpsWSInvocationException: Error While Creating JDBC Connection From Data Source      at com.sunopsis.wsinvocation.client.a