Create folder in system matrix
i like to create folder in runtime in system matirx. please post the code for regarding this.
advance thanks
its as
Dim oFolderItem As SAPbouiCOM.Folder
Dim oNewItem As SAPbouiCOM.Item
Dim oItem As SAPbouiCOM.Item
oNewItem = oOrderForm.Items.Add("UserFolder", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
oItem = oOrderForm.Items.Item("9")
oNewItem.Top = oItem.Top
oNewItem.Left = oItem.Left
oNewItem.AffectsFormMode = False
oFolderItem = oNewItem.Specific
oFolderItem.Caption = "xxx"
oFolderItem.GroupWith("9")
Similar Messages
-
Create folder in system matrix (incoming payment )
Hi, my friends
i like to create folder in runtime in system matirx. please post the code for regarding this. For example:incoming payment matrix create folder
advance thanksHi
You can check the samples provided by SAP in C:programm files>SAP>SDK>Samples>COM UI and systemformmanipulation example..
Thanks -
Hi,
Anybody know how can i create a folder in a system form that not contain any folder???
For example: Good Receipt, Good Issue, Inventory Transfer from the Inventory Module
Thanks!!Try this:
oForm = SBO_Application.Forms.GetFormByTypeAndCount("134", intFormCount) '134 is for Business Partner.
oForm.DataSources.UserDataSources.Add("FolderDS", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
objRefItem = oForm.Items.Item("9") 'Refer to the position or the last Folder
objItem = oForm.Items.Add("Folder", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
objItem.Left = objRefItem.Left + objRefItem.Width
objItem.Width = 200
objItem.Top = objRefItem.Top
objItem.Height = objRefItem.Height
objItem.AffectsFormMode = False
oFolder = objItem.Specific
'// set the caption
oFolder.Caption = sFolderCap
oFolder.DataBind.SetBound(True, "", "FolderDS")
oFolder.GroupWith("9")
Kevin. -
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 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 PaiDear 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 -
AffectsFormMode property of User defined field in system matrix
Hallo
I added one UDF in System matrix of service call id at panel Solution.
I set formated search for that UDF field to populate Symptons data from system knowldge base form (table).
I set the fromatted search property for that UDF Column is Automatic.
So when i nevigate record on Service call form, this UDF column fetch the value and so form goes in Update Mode.
Please i want to AffectsFormMode property for that column, so i have to get the form mode is "OK"
How it is possible.
Pleaase help me
Narendra
Edited by: NarenKD on Dec 28, 2010 12:24 PMHi H2
It is true,
But When i open 'Service Knowledge Base' child form by clicking ID Link Button in Solution Tab of Service Call Form
and update that form (here symptoms field important for me),
it does not change the state of Parrent Service call form to update.
Also there is not any link between this two table SCL1 service call and OSLT Solution knowldege table In PLD.
so i create Symptoms UDF in matrix at solution tab of Service call form.
also i create formatted search to fill this column.
I set that formatted search as "auto refresh when field change"
so when i navigate through service call records. it featches and put value in that UDF column and make form state "Update"
I want to avoid it.
means when i navigate the service call, when the value of that UDF Is different then OSLT table then that Service Call goes to update state otherwise it have OK state.
I used query in formatted search to fetch the value for UDF
What will be the solution for this problem.
Also tell me Can i call formatted search through program means can i give formatted search command (shift F2. or press formatted seach button) in program.
Regards
Narendra
Edited by: NarenKD on Dec 29, 2010 9:41 AM
Edited by: NarenKD on Dec 29, 2010 9:50 AM -
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 -
Create folder in Integration Directory - Can not be uniquely addressed
Hi experts,
I have the following issue. When creating a folder in Integration Directory I get a warning info, like the following:
E.g. folder name should be "test"
"The folder test could not be uniquely addressed by the path /test/ because two or more folders share the same name"
I checked the repository for another folder with the same name but without success.
The point is, that I want to use the API to add objects to the folder. But without a unique address the creation will fail.
What makes this very strange is, that sometimes it works.
Is there any place in the repository where folder ids can be checked for uniqueness ?
Thanks a lot.
TimoHi Jon
On the first topic, try this.
import java.io.File;
public class MakeDir {
public static void main(String[] args) {
if (args.length != 1 || args[0] == null || args[0].trim().length() == 0) {
System.out.println("Usage: java MakeDir <folder name>");
System.exit(-1);
File f = new File(System.getProperty("user.dir") + "\\" + args[0]);
f.mkdir();
}/John -
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 KharwaHi 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 -
HI,
How to create folder in Menu
Like In Production Menu we have productionReport.How is it possible?Using Vb.NetHi,
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 -
hi kings
how to create check box in system matrix.
Thanks & Best Regards
B.Lakshmi NarayananHi,
I am in need of creating a UFD of type Check Box in Sales Order Screen. I would like to know how to go about defining the UDF. Please reply..
Thanks in advance.
Regards
Rohan S. Kamble. -
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. -
Cannot Create Folder at Top Level of Documents Library
Operating System: Windows 7 Enterprise, 32-Bit
Environment: Windows 2003 domain
Security: Local Machine admin, and domain admin
Documents Library is redirected via Group Policy to
\\servername\home\username
Navigating to Libraries\Documents, there is no "New Folder" button available at that top level of the library. When using File menu => New => Folder, I get "Unable to create the folder 'New Folder' File system error (512)."
Looked that one up using Google, er, I mean Bing, and found articles about it being an old DOS\Win95 issue with the 512 max limit on the root drive. Am familiar with that problem, and this ain't it. Less than 30 folders at the root level, and none more
than 20 characters long.
From inside an Application, if I try to save to my Library\Documents folder, I cannot save a file to the root level. I get "To save here, you must first include a folder in the Library."
At this point where I am looking to save a file, I also cannot type a folder name for navigation, as I am used to doing with previous OS's. So in my address area, I have Libraries\Documents, then I have a subfolder called "important." If I type
the word "Important," expect the system fo navigate down into that folder. Instead I get "To save here, you must first include a folder in the Library." If I type "Important\" I still get the same error.
Navigating to \\servername\home\username, I am able to create a New Folder at the top level from a Windows Explorer window, or from inside an application such as Word.
Mapping a drive letter to \\servername\home\username also will allow me to create a New Folder at the top level, from a Windows Explorer Window, or from inside an application.
From a command prompt, I am able to get to the drive letter and create a new folder.
With the drive letter mapped, going back to Libraries\Documents, I am still unable to create a new folder that way.
I read these two threads, both of which sort of die off with no real answers. So I've started my own.
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/4ea2f28f-8487-40cf-abb0-745916e72b7a
http://social.technet.microsoft.com/Forums/en/w7itprosecurity/thread/ae2505ce-8a6b-493b-9473-a0dca215fd34
Any Help?Hi,
Regarding your problem, it seems that the user didn’t have appropriate permissions to create folders. To get it work, NTFS and Share permissions must be configured
appropriately.
Here are the Share and NTFS Permissions needed on the File Server Shares and the steps to do so:
NOTE: The $ symbol should be used to hide the existence of the share.
User Home Share Configuration:
Here are the Share and NTFS Permissions needed for Home Directories:
a. The Share permissions (Sharing Tab): Share Named: <HOME>$
Administrators: Full Control
System: Full Control
Authenticated Users: Full Control
b. NTFS Folder Permissions (Security Tab): Turn off inheritance on the Folder named <HOME>, and copy the permissions. (Uncheck "Allow inheritable permissions
to
propagate to this object")
Administrators: Full Control
System: Full Control
Creator Owner: Full Control
Authenticated Users: Read & Execute, List Folder Contents, Read
c. On the NTFS Folder Permissions Click the Advanced Button. Then highlight Authenticated Users, Select View/Edit
d. On the Permissions Entry for <HOME>, "the Apply onto" change to: "This folder
only"
e. Click OK
f. Click OK again.
More reference, please read the following document:
Windows Server 2008 Share/NTFS permissions on home
directories/folders
Redirect the Documents folder to a network share
Please note: we provide the third party link for technical use
only. There may be some changes without notice, Microsoft doesn’t guarantee any accuracy on contacting information.
BTW, as this issue is relevant to Windows Server 2003, please post in
Windows Server forums for solution as well.
Hope it helps.
Best Regards
Dale
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
Create a file system repository
Hi all,
when I create a file system repository in the following solution:
System Administration → System Configuration→Knowledge Management→Content Management→Repository Managers → File System Repository
There I input the name and the URL which is available on the server.
Then I go to Content Administration → KM Content to check the content of the repository I have created , I can find the folder in the first level directory, but why I can't find the text file I create under the second level .
such as: URL C:/kmtest
on the server C:/kmtest/1
C:/kmtest/1/1.text
(I can see the folder 1, but when I click this fodler on the portal , I can see nothing.)
When I use System Administration → Monitoring → Knowledge
Management → Component Monitor to check the status of the repository , I find it was not in green light .
Then what is the reason ? Thank you if you can help me !Check permissions of that folder give full permissions.
Create a File System Repository
You map a network drive from the Portal server and create the file repository in the Portal.
Procedure
To map a network drive from the portal server
1. Log on to the Windows Server of the Portal.
2. From the Microsoft Windows Start menu, open Windows Explorer.
3. Choose Tools  Map Network Drive.
4. Specify the drive letter for the connection (say V :).
5. In Folder, enter the path of the shared folder, (
kmtest)and choose Finish.
Create the File Repository in the Portal
1. Choose System Administration  System Configuration  Knowledge Management  Content Management  Repository Managers  File System Repository.
2. Choose New.
3. Enter a prefix that describes your folder.
4. Enter the value of the drive letter you mapped previously with a forward slash.(/kmtest)
5. (optional) Select the checkboxes for layout and properties from Repository Services.
6. Choose OK.
Maybe you are looking for
-
Hello, I have a mid 2010 macbook pro. Yesterday while i was using skype, my computer shut down, on his own. Now everytime i try to boot up, i press the power button, fans are really high, no light in the front, and after 5 seconds, shuts down. So eve
-
Any image I open in CS4 has a gray colourcast - why?
I do most of my photo image work in Lightroom having firstly upgraded from v 2.6 to 3 and latterly 3.3. I then do more work and print using CS4 (extended). A couple of weeks ago a nikon raw image opened in CS4 from Lightroom using the image plus all
-
Exception in thread "main" java.lang.UnsatisfiedLinkError: - fresh Install
Pls can someone help me out. I have a similar problem to the one raised in this thread. I want to install 10g Release 2 on a RHEL AS4 Production IBM server. I've followed the installation guide to the letter! I keep getting this error: [oracle@pencom
-
From which table field could we find the 'material type' of delivery items.
Hi, Please kindly advise from which table field could we find the 'material type' for one delivery items?? Thank you.
-
Any Bapi or function Module to update standard table
Can u Plz let me know , is there any bapi or function module to update few fields of a standard table using an internable.