Creating Directory in Application Server

Hi Friends,
Can anyone help me on,
How to create directory in application server.
Also, I need to create one file in this directory with fixed name, how do we do that?
Also, tell me how to use transaction FILE in detail...
I am working on CRM and there is no transaction CB3Z ...
Kindly help.
Good answers will be rewarded...
Cheers!
Pradeep

Hi Pradeep
Refer the Links:
<b>Creating a directory & subdirectory on Application Server
API for creating a directory in the application server
Regards,
Sree

Similar Messages

  • How to create a directory in application server

    Hi all,
    How to create a directory in application server through Progaram??
    eg:\tmp - is already existing
    I want to create \tmp\fi 
    Within \tmp\fi - i should able to store my file,,,
    Kindly help me urgent...

    Hello San,
    Either contact Basis guys at ur end for the same or u can do it dynamically via a piece of ABAP code, i hope it wll help u.
    call function 'GUI_CREATE_DIRECTORY'
         exporting
    dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
         exceptions
              failed  = 1
              others  = 2.
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.

  • To create folder in Application server

    hi,
    How to create folder in application server from presentation server??
    how is the program it??
    reply me soon...
    thx,
    s.suresh.

    hi Suresh
    Hope u r having nice day
    here i am sending a sample report which can upload the file to Application Server which inturn automatically create folder .
    REPORT  ZSHR_UPLOAD_TO_APPLICATION              .
    DATA : BEGIN OF IT_MAT OCCURS 0,
              MBRSH LIKE MARA-MBRSH,
              MTART LIKE MARA-MTART,
              MAKTX LIKE MAKT-MAKTX,
              MEINS LIKE MARA-MEINS,
           END OF IT_MAT.
    DATA : W_DIR(40).
    MOVE 'D:\usr\sap\DEV\DVEBMGS00\work\SHR' TO W_DIR.
    "SHR" IS A FOLDER NAME TO BE CREATED
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                     = 'C:\MAT.TXT'
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = IT_MAT
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17.
    OPEN DATASET W_DIR FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
      IF SY-SUBRC EQ 0.
        LOOP AT IT_MAT.
           TRANSFER IT_MAT TO W_DIR.
        ENDLOOP.
      ENDIF.
    CLOSE DATASET W_DIR.
    IF USEFUL AWARD POINTS.
    REGARDS
    HEMASEKHARA REDDY S

  • How to create file on application server?

    how to create file on application server?

    Hi,
    The following program illustrates the creation of ifle in app server and reading the file from appli server:
    DATA: ITAB LIKE vbakOCCURS 0 WITH HEADER LINE.
    PARAMETERS: P_VBELN LIKE VBAP-VBELN.
    START-OF-SELECTION.
      SELECT *
        FROM VBAP
        INTO TABLE ITAB
    WHERE VBELN = P_VBELN
        PERFORM WRITE_DATA.
        PERFORM READ_DATA.
    *&      Form  WRITE_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM WRITE_DATA.
    OPEN DATASET 'VBAP_DATA' FOR OUTPUT IN TEXT MODE.
    LOOP AT ITAB.
    TRANSFER ITAB TO 'VBAP_DATA'.
    ENDLOOP.
    CLOSE DATASET 'VBAP_DATA'.
    CLEAR: ITAB, ITAB[].
    ENDFORM.                    " WRITE_DATA
    *&      Form  READ_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM READ_DATA.
    OPEN DATASET 'VBAP_DATA' FOR INPUT IN TEXT MODE.
    DO.
    READ DATASET 'VBAP_DATA' INTO ITAB.
    IF SY-SUBRC <> 0.
    EXIT.
    ENDIF.
    APPEND ITAB.
    ENDDO.
    CLOSE DATASET 'VBAP_DATA'.
    LOOP AT ITAB.
    WRITE:/ ITAB-VBELN,
            ITAB-POSNR.
    ENDLOOP.
    ENDFORM.                    " READ_DATA
    If it is helpful rewards points
    Regards
    Pratap.M

  • Unable to create connection to Application Server Control from JDev

    Hi All,
    I am unable to create connection to Application Server Control of SOA Suite from JDeveloper and getting following error:
    Error getting OC4J Process for: opmn-home+oc4j-<hostname>-<OPMN Port>-default:
    Error connecting to OPMN (is it running?): Connection refused: connect
    I restarted all OPMN processes...still getting the same error.
    Thanks
    Krrish

    Hi.
    I got a similar error sometime ago.
    It was related to OPMN not getting bound to the correct server IP. It happened because my SOA Suite was installed in one machine that does not have a fixed IP (or uses loopback adapter) and then I tried to connect to this SOA Suite from another machine, using JDev.
    I checked this by running "opmnctl debug". then you can see on what IP the opmn is listening on.
    Didn't know how to solve this.

  • Webservice not created in oracle application server after deployment

    Hi,
    I just tried to deploy fulfillmentESB project(SOADemo Projects) from Jdev to Oracle App server control. But there was no webservice created in Oracle application server control under webservices link....plz help me...
    Actually the steps which i had followed to deploy that fulfillment project are:
    * right-click fulfillmentESB
    * select Register with ESB, Integration connection
    after which the fulfillment webservice can be seen in ESB control as well as application server control. But i could not able to see webservice created in application server control.
    Also i tried deploying the fulfillmentESB using EAR file - no use
    So kindly give me some steps to solve this issue...
    -Indhu

    I can see you also posted in the (proper) SOA Suite forum.
    Please do not cross-post unless you really have to (for example when in the other forum no one seems to have the answer).
    Jan Kettenis

  • Directory content application server

    Hi,
    Is there any function module present of getting the contents of directory at application server ?
    Thanks,
    Amit R.

    Hi Amit,
    Use the below function module
    F4_DXFILENAME_TOPRECURSION

  • Directory in application server has multiple flat files

    Hi
    How should we know that the Directory in application server has multiple flat files.
    my requirement is, daily my program runs in batch at night. So, i  have to know are there more than 1 flat file existing in the directory.
    regards
    mac

    Try this FM,
      CALL FUNCTION 'SUBST_GET_FILE_LIST'
        EXPORTING
          dirname      = ws_filepath
          filenm       = ws_fname
        TABLES
          file_list    = i_rsfillst
        EXCEPTIONS
          access_error = 1
          OTHERS       = 2.
    Pass the path and
    say ur file name starts with ALPXXXXX
    then pass
    ws_fname =  'ALP*' .
    In the table i_rsfillst you will get all the file in directory.
    Try this through a sample prorgam ,dont try through SE37, it will show ACCESS_ERROR.
    Regards,
    Message was edited by: sreejesh purapadiath
    Message was edited by: sreejesh purapadiath

  • How to set up a virtual directory on Application Server

    The environment of my application is Application server 9i version 2, on windows 2000, form 9.0.2.
    I am trying to get the ORACLE 9i forms show_document to work.
    I have successfully created an out file in the server directory.
    I need the document to be displayed by the form.
    Let me tell you more about my server.
    I installed Oracle application server on drive E.
    I copied my application to drive E and named PY which has 4 folders including :
    E:\PY\fmb (for fmb)
    E:\PY\forms (for fmx)
    E:\PY\sql (for sql programs)
    E:\PY\locrep (for lst files which are generated from sql programs)
    Someone told me I should create a virtual directory, e.g. docs, in your httpd.conf file to point to e:\py\locrep
    I've seen 4 httpd.conf files so I don't know which one I should modify and what should I type in exactly on what part ????
    E:\ora9ias\apache\apache\conf\httpd.conf
    E:\ora9ias\apache\apache\conf\httpd.conf.default
    E:\ora9ias\apache\apache\conf\httpd.conf.smibak
    E:\ora9ias\dcm\config\plugins\apache\httpd.conf
    After I modify the httpd.conf file, so what will my URL be ? Also, I have a lot of reports, I would like to run different reports at the same time ??????
    Thank you very much.
    Trang

    The best way to edit httpd.conf is using Enterprise Manager Website. Open this site (http://machine:1810) and drill down on your application server, and then on HTTP Server. Open link Advanced server Properties. Now you see a list of all configuration files. Click on a file to open it.
    To add the virtual path:
    - You could best add your virtual path in file forms90.conf (it is included in httpd.conf with the <include> tag).
    - Within this file you already find some virtual path definitions: Look for the AliasMatch tag, e.g. for the 'forms90/html' virtual directory.
    - Copy this line and change 'html' into the directory name you like to use, e.g. 'myfiles'. Map it to the physical directory (on your E: drive) where your files are. (E: must not be a network drive, however).
    - browse to your files using: http://machine:7777/forms90/myfiles/filename.
    Peter

  • Download data to specified  directory in application server

    HI experts,
              i need to download data from internal table to specified application server directory which is already  created. how i can check the directory is already availble in server and i need to specify the name of the file dynamically. after download how i can check the downloaded file in application server.
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:27 PM

    Hi,
      If u wanna give file name dynamically, you can add it to the selection screen as parameter and let user enter the filename while executing.
    To get file path, check FILE transaction.
    To check the downloaded file in the server (guess u know the server name and path), Use AL11 transaction.
    <REMOVED BY MODERATOR>
    regards,
    Ramya
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:27 PM

  • Modifying destination Directory of Application server for Open Hub

    Hi All,
    i want to load a csv file on application server using Open Hub.
    when i have created the open hub i have specified the server name, the file name and the directory.
    but the Basis guys told me that i should use another directory, they have created me a Unix Directory but the problem that i can't modify the directory path in my open hub.
    can you tell me please what is the problem?
    another question why i can't modify directly in Production System this parameter of server name, directory for open hub,
    in production i can create the open hub but when i have transported some one from dev to prod i can't modify in prod, i have controlled from transport tool the possibility of modication object and i see that for opne hub is "original modificable"
    Thanks for your help
    Bilal

    i have read in some forum that to " to change the server name or logical file name we can do so in the following table:
    RSBFILE"
    i tried to see the data of this table and i found 2 records for my open hub, 1 for Active version and 1 for Modified version
    i tried here to change the path name of the directory and after saving the system give me the message that the active version and the modified version of my open hub are not equal, when i try to activate again my open hub the system take the old
    directory path.
    is this is the right table to change the directory path on application server of my open hub? or there is another table?
    i don't work with logical filename, i work with file name and directory path name.
    thanks for your help
    Bilal

  • New Directory in Application server Required for data upload

    Hi,
    I need to load data in SAP application server. i will use CG3X to load the data.
    I need to create a new directory in the application server to load all my flat files. Does any one know how to create a directoty?
    Please provide list of steps and transactions used for creating this.
    Thnks

    Go to t-code FILE.
    Click on Logical file path definition and hit the New Entries button
    Enter your logical path name, say ZXXX
    Go back to FILE
    In the right window, click on the block on the left to highlight the line you just created.
    Now double-click on Assignment of physical paths to logical path
    Now click New Entries.
    Select your syntax group (this is just your O/S)
    Here you can enter your physical path.

  • New Directory in Application server

    Hi,
    I need to load data in SAP application server. i will use CG3X to load the data.
    I need to create a new directory in the application server to load all my flat files. Does any one know how to create a directoty?
    Please provide list of steps and transactions used for creating this.
    Thnks

    Hi Sakthi Kumar,
    Also you can try below FMs
    GUI_CREATE_DIRECTORY
    WBMR_CREATE_APPL_FOLDER
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Creating directory in App.server

    Hi Experts,
    How can we create a directory in App.server?
    is it possible programatically with open data set statement?

    Hi Ravi,
    If your application server is based on UNIX,
    try the following command in an ABAP program
    CALL 'SYSTEM' ID 'COMMAND' FIELD fp_command_line
                  ID 'TAB'     FIELD lt_output.
    The command line fp_command_line should have the UNIX command to create directories(MKDIR...). The lt_output table will have return values from the command(Its a table with a single column of 1000 chars).
    I have tried the CALL 'SYSTEM' command for various other purposes, but did not create a directory till now. Try it out.
    Thanks,
    Vinay

  • Error while creating connection for Application server in Jdeveloper

    Hi,
    I am trying to create a new connection for my weblogic server from JDeveloper
    I am using weblogic 6.1
    The error is :javax.naming.AuthenticationException [Root exception is java.lang.SecurityException : attemting to add an object which is not an instance 0f java.security.Principal to a subject's Principal set
    I am currectly passing my userID and password. but still it is giving the above exception.
    Please advise me.
    With thanks
    Murthy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    HI
    In JDeveloper 10.1.3.1.0,
    1. Click on the tab for the Connections navigator.
    2. Right click on Application Server and select New Application Server Connection.
    3. Enter a descriptive name for the new connection, and select the appropriate connection type from the drop down list. Click Next.
    4. Specify oc4jadmin for User Name, then enter the oc4jadmin password. Click Next.
    5. Select Single Instance for Connect To, then provide the host name where BPEL is installed, the OPMN port number, and the OC4J instance name (the default for 10.1.3.1 is oc4j_soa). Click Next.
    6. Click Test Connection. If you have been successful, you should see "Success!"
    7. Now, right click on Integration Server and select New Integration Server Connection.
    8. Specify a connection name and click Next.
    9. In the drop down list by Application Server, select the Application Server Connection you just created. Again, specify the host name where BPEL is installed and the port number. This port number will be the same that you specified for the Integration Server Connection to the home OC4J container. Click Next.
    10. Test the connection. You should see something like:
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: OK
    11. Now, return to the Applications navigator, and try to redeploy your process using the Integration Server Connection just created. (It is possible that you will have to close JDeveloper and then reopen it for this to work.)
    Cheers
    Anirudh Pucha

Maybe you are looking for

  • Is anybody experiencing odd UI font display in Illustrator 2014.1?

    Hi everyone. Updated to CC 2104.1 yesterday and everything works fine for me although I am seeing a little untidiness in the UI font. Only in Illustrator though, not in PS or ID - they are fine. It's as if the UI font has changed somehow and doesn't

  • Table for Delivery number & Quality inspection lot number.

    Hi Gurus, In which table, Delivery Number & Quality inspection lot number  are related? Reg. Amol

  • Location of image files, dat files etc.. in a project

    hi, I dont whether this is the proper location to ask this question but i couldnt find answer anywhere else. I am using netbeans 5.0 to write some jsp pages. I want to display some image file in the jsp. I tried all posiblle locations for locating th

  • FB 4.5: Flash Professinal Project - Access to undefined property

    I have a "Flash Professinal Project" in my Flash Builder. So, I have a FLA file with the scene and some symbols on it. And a pack of AS files with code. The trouble is with symbols in FLA file. For example, I have a movieclip with instance name "dlg"

  • Set heap size websphere

    Hello i was playing around with websphere and increased the heap size from 3072 to 5072. Now when i tried to restart the server...it wont come back up. I cant getinto the Websphere administrative console either. does any one know a way to set the hea