Create folder

Hi all,
I need to create folder on windows XP with function throw R/3.
Is there any function that can do it?

Yes below function module can be used,
Just make One small Change .
USE C:/TEST (Forward slash).
Donot USe 'C:\TEST' (Back ward slash )
the Below function Module uses the  same class which i mentioned Early .
Call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = 'C:/TEST'
EXCEPTIONS
FAILED = 1
OTHERS = 2.
Thanks
Badari

Similar Messages

  • 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

  • Error 7 occurred at Create Folder in Create Directory Recursive.vi-

    Recieved following message when attemoting to create source distribution
    Error 7 occurred at Create Folder in Create Directory Recursive.vi->ABAPI Dist Create Directory Recursive.vi->ABAPI Dist Chk for Destinations.vi->ABAPI Copy Files and Apply Settings.vi->SDBEP_Invoke_Build_Engine.vi->SDBUIP_Build_Invoke.vi->SDBUIP_Build_Rule_Editor.vi->SDBUIP_Item_OnDoProperties.vi->SDBUIP_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.

    Hello,
    Could you please list which options you are selecting when building a
    source distribution (I am assuming you are using LabVIEW 8.0?).
    Do you get this error when clicking on "Generate Preview" button when configuring source distribution properties?
    Under "Distribution Settings" category, could you try checking the
    "Disconnect type definitions and remove unuses polymorphic VI
    instances" option and see if that helps with the build process?
    Also I suggest Mass Compiling your VIs (Tools -> Advanced -> Mass Compile) before creating a source distribution.
    If these do not help, could you attach your project with all the VIs it contains here?
    Thank you and best regards,
    Shakhina P.
    Applications Engineer
    National Instruments

  • Error while creating folder: Path is invalid because folder does not exist

    Hi,
    I am having an issue while creating Folders in ID, when I create folder Structure like EDI -> VENDOR -> DELL I am getting the error as below:
    Path /EDI/VENDOR/DELL/ is invalid because folder VENDOR does not exist
    So first 2 levels of folder structure is fine and when I create third level (DELL) I get the above error. Any idea how to resolve this or is this the limitation?
    We have
    Service Pack:06
    Release:NW711_06_REL
    Thanks,
    Laxman

    Hi Laxman,
    Kindly try to refresh the SLD cache by going to Environment -> Clear SLD Data Cache. Make sure that the Cache Status are all in green.
    Hope this would help.
    Regards,
    Jenny

  • Error while creating folder inside the Public & Private Folders

    Dear Gurus,
    I am trying to create a new folder under Public & Private folder. But system is giving the error as " Please enter complete document key. Rollback was unsuccessful; the document is not assigtned to the folder."
    But system is creating the folder outside the Public & Private folder.Created folder is visible only in the serach result. I am not able to delete the folder also from the serach result.
    Request your inputs on how can I solve this issue
    Regards
    Damodar Pai

    Dear Gurus,
    Problem got solved. There is one more table DOST which is linked to DRAW & DRAT. We deleted the vales of DOST & tried. It is wokring now.
    Thanks for your precious inputs.
    Regards
    Damodar Pai
    Edited by: damspai on Aug 25, 2009 9:37 AM

  • How to find out which user create folder

    how to find out which user create folder in shared drive?

    Hello,
    you have to enable Auditing in on the DCs OU and also on the top folder level where this should be monitored.
    http://technet.microsoft.com/en-us/library/cc784387(v=ws.10).aspx
    http://support.microsoft.com/kb/310399
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • Time machine backup fails; error creating folder. Western Digital drive requires password which is perhaps/likely the issue. I can't eliminate the password/encryption.

    Time Machine backup fails on new WD external drive (My Passport Studio); error creating folder (after several hours of Time Machine apparently working).
    Background: I purchased a Western Digital drive from an Apple Store to use for Time Machine backup.  I followed the Western Digital instructions that came with the drive for Mac. I didn't get the Time Machine prompt which the instructions indicated I would receive--namely to select whether I want to encrypt my Time Macine backups. (I already have a Time Machine backup I use at another location, which is perhaps why I didn't receive a prompt.)
    I decided to install the Western Digital utilities and security software that comes on the disk--with a view to potentially encrypting the disk (since I still wanted to have an encrypted backup since I was mobile). I forgot that (from experience 2-years previous) that I shouldn't install Western Digital software because it just makes life really complicated.
    I tried several times to do a Time Machine backup with failures each time (error creating the backup folder). I tried to get help from WD but I don't think the technicians were following what my issue was. Potentially I was not helpful in explaining it. I deleted the WD applications from my system after the first contact with WD. However the problem persisted--I still had an encrypted hard drive. After three phone sessions with three different WD techs I still could not get a solution. (By the second call I was not at all interested in having an encrypted drive--I just wanted to format and restore the drive to an unencrypted state so that I could have SOME kind of Time Machine backup.)
    I still don't have a solution--either to get Time Machine working with the WD encryption/password on the drive, or to remove the encryption so I can backup. Right now my options are to return the drive to the Apple Store -- or get a return authorization from WD. Seems crazy since the drive is fine and I have the working password.

    Never install "helpful software" provided by WD and Seagate (or any HD mfg.)
    All such stuff is fluff and nonsense that interferes with normal HD operation.
    Always when you buy a new HD, format it for Mac and then use it to TM backup or clone a HD, or archive data.
    Less is more on HD new out of box.  A "blank brick", no fluff and cotton candy software

  • How to move pics from "picture library" to created folder

    Just started using 9310 (from 8330) with new SD card. Have a few pics on it and can't figure out how to transfer a photo in "picture library" into a newly created folder. Was so easy on 8330 with simple "move into folder" option... HELP! Thanks!

    Hello equipagekm, 
    Welcome to the forums.
    The option to move to folder will not be present but what you can do is choose the "cut" option and then once in the new folder hit the menu key and choose "paste".
    Hope this helps. Let us know if you need anything else.
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Creating pdf file from excel worksheet and save file in a macro created folder.

    Hi I have 3 worksheets and I want to conditionally convert them into a pdf file and than save said file into a folder that the macro will create if not already existing and name it with content of cell A1. So my question is if it is possible to do that with
    the following program?
    Thanks.
    Sub PrintStuff()
    Dim vShts As Variant
    Dim strFileName As String
    vShts = Sheets(1).Range("A1")
    If Not IsNumeric(vShts) Then
    Exit Sub
    Else
    ' Change path and filename as desired
    strFileName = "C:\MyFolder\MySubfolder\MyFile.pdf"
    If strFileName <> "False" Then
    Select Case vShts
    Case 1
    Sheets("Sheet1").Select
    Case 2
    Sheets("Sheet2").Select
    Case 3
    Sheets(Array("Sheet1", "Sheet2")).Select
    End Select
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
    Filename:=strFileName, _
    OpenAfterPublish:=False
    End If
    End If
    End Sub

    Option Explicit
    Sub PrintStuff()
    Dim Path As String, FileName As String
    Dim ThisSheet As Variant
    Dim MySheets As Variant
    Path = "C:\MyFolder\MySubfolder\"
    FileName = "MyFile.pdf"
    If Not FolderCreate("C:\MyFolder\MySubfolder") Then
    MsgBox "Can not create folder"
    Exit Sub
    End If
    Select Case Range("A1")
    Case 1
    Set MySheets = Sheets("Sheet1")
    Case 2
    Set MySheets = Sheets("Sheet2")
    Case 3
    Set MySheets = Sheets(Array("Sheet1", "Sheet2"))
    Case Else
    MsgBox "Uuups."
    Exit Sub
    End Select
    Set ThisSheet = ActiveSheet
    MySheets.Select
    ActiveSheet.ExportAsFixedFormat xlTypePDF, Path & FileName, OpenAfterPublish:=False
    ThisSheet.Select
    End Sub
    Private Function FolderCreate(ByVal Path As String) As Boolean
    'Creates a complete sub directory structure
    Dim Temp, i As Integer
    On Error GoTo ExitPoint
    If Dir(Path, vbDirectory) = "" Then
    If Right$(Path, 1) = "\" Then Path = Left$(Path, Len(Path) - 1)
    If Left$(Path, 2) = "\\" Then
    i = InStr(3, Path, "\")
    Temp = Split(Mid$(Path, i + 1), "\")
    Temp(0) = Left$(Path, i) & Temp(0)
    Else
    Temp = Split(Path, "\")
    End If
    Path = ""
    For i = 0 To UBound(Temp)
    Path = Path & Temp(i) & "\"
    If Dir(Path, vbDirectory) = "" Then MkDir Path
    Next
    End If
    FolderCreate = True
    ExitPoint:
    End Function

  • How to create folder on server.

    Hello,
    I want to make folder on remote server using sun.net.ftp. So how i can do that? I have api to create folder using issueCommand(newdir). But when i do this it gives null pointer error. In issueCommand() only pass directory name or path of remote server in which i want to create this folder.
    For example
    remotes server path : apps/bhavesh
    new folder name like : test
    so in issueCommand() pass only folder name or path also. and how i can do that?
    Reply me As soon as possible.
    Regards,
    Bhavesh Kharwa

    Hi Grafl,
    Chk this link
    Folder creation in AL11 using ABAP program
    try this code.This works on UNIX servers
    data: unixcom like   rlgrap-filename.
    data: begin of tabl occurs 500,       
            line(400),    
          end of tabl.
    dir = unixcom = 'mkdir mydir'. "command to create dir
    "to execute the unix command 
    call 'SYSTEM' id 'COMMAND' field unixcom
                      id 'TAB' field tabl[].
    <b>Reward Points if Useful</b>
    Regards
    Gokul

  • How to create folder

    HI,
    How to create folder  in Menu
    Like In Production Menu we have productionReport.How is it possible?Using Vb.Net

    Hi,
    As complement of Vitor said, you can create your menu like this :
    SAPbouiCOM.Menus oMenus;
                SAPbouiCOM.MenuItem oMenuItem;
                SAPbouiCOM.MenuCreationParams oMenuCreationParams;
                string sPath = "";
                try
                    sPath = System.Windows.Forms.Application.StartupPath;
                    oMenuCreationParams = (SAPbouiCOM.MenuCreationParams)SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams);
                    oMenuCreationParams.Type = SAPbouiCOM.BoMenuType.mt_POPUP;
                    oMenuCreationParams.Image = sPath + "
    IMG127.BMP";
                    oMenuCreationParams.Position = 6;
                    oMenuCreationParams.UniqueID = "IFC_MENU_COM";
                    oMenuCreationParams.String = ChangeLanguage.GetName_For_Menu(SBO_Application.Language); ;
                    oMenuItem = SBO_Application.Menus.Item("43520");
                    oMenus = oMenuItem.SubMenus;
                    if(SBO_Application.Menus.Exists("IFC_MENU_COM") == true)
                        return;
                    oMenuItem = oMenus.AddEx(oMenuCreationParams);
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(oMenuCreationParams);
                    oMenuCreationParams = null;
                    oMenuCreationParams = (SAPbouiCOM.MenuCreationParams)SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams);
                    oMenuCreationParams.Type = SAPbouiCOM.BoMenuType.mt_STRING;
                    oMenuCreationParams.Image = "";
                    oMenuCreationParams.Position = 1;
                    oMenuCreationParams.UniqueID = "IFC_COM";
                    oMenuCreationParams.String = ChangeLanguage.GetName_For_SubMenu(SBO_Application.Language, "1");
                    oMenus = oMenuItem.SubMenus;
                    oMenus.AddEx(oMenuCreationParams);
                    oMenuCreationParams = (SAPbouiCOM.MenuCreationParams)SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams);
                    oMenuCreationParams.Type = SAPbouiCOM.BoMenuType.mt_STRING;
                    oMenuCreationParams.Image = "";
                    oMenuCreationParams.Position = 2;
                    oMenuCreationParams.UniqueID = "IFC_CALC";
                    oMenuCreationParams.String = ChangeLanguage.GetName_For_SubMenu(SBO_Application.Language, "2");
                    oMenus.AddEx(oMenuCreationParams);
                    oMenuCreationParams = (SAPbouiCOM.MenuCreationParams)SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams);
                    oMenuCreationParams.Type = SAPbouiCOM.BoMenuType.mt_STRING;
                    oMenuCreationParams.Image = "";
                    oMenuCreationParams.Position = 3;
                    oMenuCreationParams.UniqueID = "IFC_BULL";
                    oMenuCreationParams.String = ChangeLanguage.GetName_For_SubMenu(SBO_Application.Language, "3");
                    oMenus.AddEx(oMenuCreationParams);
    Hope it's help you.
    Regards
    Michael

  • Linking a programmatically created folder in SharePoint Document Library.

    I have created folders within a document library using InfoPath & C#. To that folder I uploaded several documents using several file attachment controls within the same InfoPath Form using the code behind the form.  Now I want to create an Hyperlink
    to each folder in another document folder's column that has the relationship with the previously created folder.
    When I googled I saw there are lot of articles to create Folders ,uploading documents to folders in a SharePoint Library but I cannot understand how to create a hyperlink in a SharePoint Document Library field column.
    Could someone help me to solve this matter?
    Thanks,
    Regards,
    Chiranthaka

    Why don’t you create a hyperlink column to store the hyperlink value, or you can use a lookup column to lookup the related folder item?
    Qiao Wei
    TechNet Community Support

  • Create folder / file icon with automator

    Guys,
    I know very little about using Automator.
    I was wondering if there is a way to create folder / file icons using automator to take an image of the contents of the file (maybe an image file / autodesk or sketchup drawing etc). The process would be similar to the way image files such as jpeg etc display the image as the file icon automatically.
    Hope this makes sense.
    Cheers....Scotty

    Have you considered using rsync?  This has the benefit of only copying only changed files on subsequent backups.
    Here's rsync wrapped in Applescript:
    set SrcDir to (choose folder with prompt "Please select Source directory")
    set DestDir to (choose folder with prompt "Please select Destination directory")
    set SrcDir to text items 1 thru -2 of POSIX path of SrcDir
    do shell script "/usr/bin/rsync -aHE --delete --exclude=\"*.mpg\" " & space & SrcDir & space & POSIX path of DestDir
    For a list of rsync options, in Terminal, enter: man rsync.

  • How to create folder with sub folder ?

    How to create folder with sub folder ?

    Hi,
    Questions. 17 / 17 unresolved -> very bad reputation
    but ok - let's help anyway ...
    1. create everything in Screen Painter
    2. set FromPane and ToPane property correct.
    example:
    Items in MainFolder: FromPane & ToPane: 1 to 3
    Items in SubFolderA (From 2 To 2) - SubFolderB (From 3 To 3)
    shouldn't be that difficult
    in your Code set oForm.PaneLevel when the user clicks on the Folder
    lg David

  • Create Folder with the name of expense report number in SHAREPOINT ?

    Hi All,
    iExpence - In expense report confirmation page. There is custom link.
    Requirement
    When user click on link, system should create folder with the name of expense report number in SHAREPOINT and copy copies of expense receipts in the created folder in SHAREPOINT.
    Please suggest.
    Thanks,

    OAF no api as such for this kind of customization. Rather try developing some web service or something similar which can be invoked from the custom link to do the job.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                   

  • Create folder and move files to specific directory in AL11

    My requirement is to create a new folder in one of the existing directories in AL11 and move some files into it.
    I searched the forum and found this solution but it creates folder only in DIR_HOME directory.
    data: unixcom like rlgrap-filename.
    data: begin of tabl occurs 500,
    line(400),
    end of tabl.
    unixcom = 'mkdir mydir'. "command to create dir
    "to execute the unix command
    call 'SYSTEM' id 'COMMAND' field unixcom
    id 'TAB' field tabl[].
    I want the folder to be created in some other directory DIR_INTERFACES .
    Any suggestions are welcome ..

    Get complete path (physical path) using FM FILE_GET_NAME_USING_PATH.
    Default directory is DIR_HOME, hence it creates file in that directory...If you specify complete folder name, it will be created under that path..
    Concatenate mkdir
    space
    <physical path>
    mydir
    into unixcom.

Maybe you are looking for