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

Similar Messages

  • 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

  • How to create folder for apps?

    How do create anew folder to hold apps that are similar in nature?

    Just drag one app onto another to create the new folder.
    Please Get the iPad User Manual for iOS 5

  • How to create folder inside User Meetings using XML API

    Hello,
    I have appreciative if some one help me on below task
         I have created on application for user meeting.
         In that I want dynamic folder creation as per user need or how to list folder that related to login user or say user session.
    Waiting for reply,
    Thanks,
    Gaurang Jadav
    Project Leader
    iFlair Web Technologies Pvt. Ltd.
    www.iFlair.com 
    US: +1-312-235-2876 UK: +44-020-7193-4712

    Hello buddy,
    https://yourdomain.na4.acrobat.com/api/xml?action=sco-update&type=folder&name=gaurang&url-path=gaurangfolder &folder-id=827379162&depth=1
    you need to change yourdomain & 827379162(folder id).
    Hope this will help you in further process
    Good luck
    Regrd,
    Gaurang Jadav

  • 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

  • AIR iOS how to create folder in the documents directory

    Hi,
    I'm wanting to create a sub folder within the apps document directory that I can then save files into.
    I have the functionality in place to save the files, I just need to know how to create a sub folder first.
    Would anyone know if this is possible and if so, how?
    Thanks,
    Mark

    Thanks you!

  • How to create folder to store music in x fi 1

    i just got the x-fi 6gb, this's my second creative mp3 player, the first one's Muvo 4Gb, no problems with music transfer, just create a folder and store my music on that
    with this x-fi 6 gb, it doesnt work that way, anyone can help me with this?
    thanks

    i also have a zen x-fi. i think creative centrale can create folder for you when your music which transfers into player have their own folder in PC.
    however when you turn on the player, you can't see those folder. the songs can only be recognized by the informations in songs.
    it's my experience.

  • How to create folder names based on Excel values or Txt files?

    Hi there,
    I often need to create large numbers of folders based on names I have saved in an Excel spreadsheet. I know in windows there is a way to create a macro within excel that automatically generates folder names based on cell values.
    I was therefore wondering how to do the same on a Mac operating system. The main thing is to find a way to automate the process. I understand this may involve copying the values to a text file.
    Below is an example of the names I need to create folders for (copied from the excel spreadsheet):
    Wash Bowl Small 600
    Deck Mounted Wash Bowl 500
    Wash Basin - 866 - 2 Shelves
    Wash Bowl Large 800
    Built-In Wash Basin With 1-Taphole
    Deck Mounted Wash Bowl 625
    Would really appreciate a simple step by step approach to an explanation. As my understanding of using Automator, Apple Script, Terminal, etc, is extremely basic.
    Thanks and Best Wishes,
    Graham

    Hi Niel,
    Thanks again for another superb response. I have another question. Is it possible to automatically generate sub-folders along with the folder.
    For example:
    Folder                                                Subfolder
    Wash Bowl Small 600          >            2D CAD
                                                               3D CAD
                                                               BIM
                                                               Images
                                                               Brochures
                                                               Specifications
                                                               Technical
                                                               Case Studies
                                                               Operations
    Deck Mounted Wash Bowl 500    >   2D CAD
                                                              3D CAD
                                                              BIM
                                                              Images
                                                              Brochures
                                                              Specifications
                                                              Technical
                                                              Case Studies
                                                              Operations
    Above shows the 9 generic sub-folders I need to create within each folder that is generated.
    Best Wishes,
    Graham

  • How to create Folder and subFolder using web services

    Hi,
    Today I've been working with some Share Point develompment but the truth is that I can't just get it.
    Can any body help me with some easy links to start Share Point Development?
    Here is wath I'm trying: I need to create a new folder (lets say Folder1) inside a Document library. After Folder1 is created, I need to create a new Folder inside Folder1 (lets say Folder1.1) and so on.
    Until now, I'm able to create Folder1 but after that I don't know how to continue creating subfolders.
    It's important to say that I would like to solve this problem by using webservices and let de Microsoft.Sharepoint.dll as just in case.
    I hope somebody help me.
    Thanks.

    Hi Steve,
    I need to create a folder structure(e.g folder1/folder2) by the running the program once.I tried calling the UpdateListItemCreateFolder recursively and passed an extra rootFolder parameter.I changed the RootFolder attribute as shown below but the code isnt working.Please let me know the right procedure to create a folder structure in a list.
    public
    static void UpdateListItemCreateFolder(string folderName, string rootFolder)
    ListService.
    Lists listProxy = new ListService.Lists();
    string location = "http://localhost:414/Documents/one" + rootFolder.ToString();
    string xmlconst = "<Batch OnError='Continue' RootFolder='" + location.ToString() + "'><Method ID='1' Cmd='New'><Field Name='ID'>New</Field><Field Name='FSObjType'>1</Field><Field Name='BaseName'>!@foldername</Field></Method></Batch>";
    listProxy.Url =
    "http://localhost:414/_vti_bin/lists.asmx";
    listProxy.UseDefaultCredentials =
    true;
    XmlDocument doc = new XmlDocument();
    xmlconst.Replace(
    "!@root", location);
    string xmlFolder = xmlconst.Replace("!@foldername", folderName);
    doc.LoadXml(xmlFolder);
    XmlNode batchNode = doc.SelectSingleNode("//Batch");
    XmlNode resultNode = listProxy.UpdateListItems("Documents", batchNode);

  • How to create folder to put apps in

    How can I create a folder icon to put common apps together to organize apps

    With your finger hold it on any app until they all start to jiggle.  Then put your finger on the app you want to combine with another app and holding your finger on the app move it on top of another app.  You'll see the other app enlarge (briefly) and the app will now be inside a folder, which you can then name.  You can move as many apps as you want into that folder and you can create as many folders as you wish.

  • Sharepoint PPS how to create folder in dashboard designer

    Please bear with me as i am kind of new to PPS
    I am not able to understand how the folder are organized in dashboard designer as i could not find a way to create a new Folder. If i want to create a new page in the dashboard and organize KPI, Scorecards and Reports in seperate folders how do i do that?
    also not sure how the properties are created in scorecard when you select scorecard on left side in dashboard designer the right vertical window shows properties how to add or edit it?
    Basically my requirement is create a new page a create KPI's Scorecard including all the KPI's and then create a detail report below scorecard when someone clicks on scorecard it would take all the cell level parameters and show the details in the detail
    report? any help is greatly appreciated.

    Hi,
    As for your other requirement,you need to follow the below steps.
    You need to create a KPI details report .Then on the Dashboard ,drag your scorecard and KPI details report that you created next to the scorecard.Now,click on create connection
    option of your KPI details report (located somewhere to the right ), a window pops up.Now,in the
    Items tab ,under the Get Values from  Option choose the name of your scorecard from the dropdown options.On the
    Values Tab,Under the Source Value option select
    Cell:Context option.Click ok.

  • How to create folder if not exist in given path.

    Hi Friends,
    I am developing file upload utility,
    i want to keep the uploaded files in c:/company/upload/A
    when i launch application on another pc where there is no structure like this ..
    how it will create automatically and how to check through
    file.exists() ?
    please help.

    when i launch application on another pc where there is no structure like this ..
    how it will create automatically and how to check throughThe File method mkdirs() {color:#3333FF}"Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories."{color}
    http://java.sun.com/javase/6/docs/api/java/io/File.html#mkdirs()

  • How to create folder and items in content area without edit folder option

    Hello!!
    I would like to create something to users can create and insert folders and items in content area without using the edit folder option.They would have a form to include the name of the file and the name.i would like to do this for the end users can insert files more easily. Can i do this? Anyone can help me ??
    Thanks in advance!!!
    null

    The wwsbr_api and wwsbr_search_api packages are included in the current PDK, but won't be supported until 3.0.8 is release, later this month.
    Regards,
    Jerry
    null

  • How to create folder on dashboard like paint repository "standard reports"

    Hi all,
    I want to create a folder (hyperlink) on dashboard like paint repository "standard reports". Please Refer me any link.
    Any response would be hightly appriciated.
    Regards
    null

    I logged as Administrator.
    Go to Answers --> Click on Manage Catalog --> Click on Shared Folders link on top --> Create folders, sub-folders.... After you are done, click on the Properties of that folder and note the path.
    In Answers save your reports to those folders...
    In Dashboard
    Edit the Dashboard --> add Folder and in the Folder Properties provide the path.
    You are done.
    -- asit

  • How to create folder within folder during compile AddOnInstaller setup disk

    Hi All,
    I tried to create AddOnInstaller using B1DE. When come to Add files portion, I only able to create 1 layer folder to insert my extra file through the wizard. Unfortunately, there are few layer folders in my add on solution such as AddOn\Pic\Icon... etc. Any solution or work around for this issue? Thanks.
    *Platform
    - SAP B1 2005A SP01 PL07
    - VS.Net 2005
    rgds
    ERIC

    Hi Eric,
    The autogenerated project obtained from B1DE installer wizard contains all installation code copying your files into the AddOn folder.
    You can easily edit the AddOnInstallManager class generated inside your project and modify the method "ExtractFilesToAddOnPath" in order to create sulfolders for your files.
    All information you entered in the wizard steps is saved in AddOnInstallInfo class.
    If you make the treatment generic enough you will be able to reuse the same class for several installers.
    If you feel confortable with installers you could modify the wizard project to accept several folders layers. If not by simply modifyint the AddOnInstallManager class everything will work.
    Hope it helps
    Trinidad.

Maybe you are looking for