CProjects - cFolder collaboration folder creation
HI Gurus,
I am completely new to cProjects.
My Query:
I need to create a cFolder for the project at the time it is Released.
So, i used the BADi <b>DPR_EVENTS</b> on method <b>ON_DPO_RELEASED</b>.
for cFolder creation i used the FM: <b>CFX_API_COLLABORATION_CREATE</b> it creates a folder in cFolder but not in respective cProjects for the project i created. Is there any other FM or is there any solution so when user release project it creates a cFolder in both cProjects and cFolder ( Design collaboration scenario) which is interconnected with a link.
If need more information then please let me know.
Regards
Giri
Hi,
Here is your code:
DATA:
o_project type ref to cl_dpr_project_o,
ES_PROJECT_INT type DPR_TS_PROJECT_INT,
collab_id type SYSUUID_C,
name type string.
o_project ?= ir_sender.
o_project->get_data_ext(
IMPORTING
ES_PROJECT_INT = ES_PROJECT_INT
name = es_project_int-project_id.
CALL FUNCTION 'CFX_API_COLLABORATION_CREATE'
EXPORTING
I_TEMPLATE_ID =
I_NAME = name
I_DESCRIPTION = 'Test'
I_IS_SYNDICATE = 'no'
I_DEADLINE =
I_SCENARIO = 'collaboration'
I_IS_TEMPLATE = 'no'
IMPORTING
E_COLLABORATION_ID = collab_id
<b>The Field type for project definition GUID that the bapi accepts and one that you are passing donot match.
One that you are apssing is of type RAW 16 and bapi accepts CHAR 32.
Simply do this:
data: lv_proj_guid type DPR_TV_BAPI_GUID_PROJECT.
lv_proj_guid = es_project_int-guid.</b>
CALL FUNCTION 'BAPI_BUS2172_COLLAB_ADD'
EXPORTING
PROJECT_DEFINITION_GUID = <b>lv_proj_guid</b>
IV_COLLABORATION_GUID = collab_id
IV_CFOLDERS_DESTINATION = 'UFD400_TRUST'
Hope this works
Regards,
Reema
Message was edited by: Reema
Reema Shahbazkar
Similar Messages
-
Password cotrol-cFolder-Collaborative Folder-Main Vendor & Sub-vendor
We are interacting with main vendor and sub-vendor for document submission and its approval through collaborative folder of cFolder tool.
In this respect, only main vendor's UID and its password is used for collaboration for the above process. The same UID and password is shared by sub-vendor also.Every 90 time elapse, system prompts user to change its password. If any user i.e. sub-vendor or main vendor changes the password, then other user are not able to login into system as all various user are logging into from country's different location.
Our objective is to control the password in such a way that only one user i.e. main vendor can change the password and other location's sub-vendor need not face the change of password for same collaborative folder
Exmple
At one location.
Main Vendors' UID=V_1000346
Password =password123
Diferent location
Under Same UID =V_1000346
Sub-vendor UID =V_1000456
Password =password456
Edited by: ypbahuguna on Dec 30, 2010 10:22 AMHi
I am again giving details of scenario as below:-
Our objective is to control the password in such a way that only one user i.e. main vendor can change the password and other location's sub-vendor need not face the change of password for same collaborative folder
Exmple
At one location.
Main Vendors' UID =V_1000346
(UID = User ID of Vendor who logs into cfolder for Interaction with organisation for Drawing?document handling like approval / rejectio.)
Password =password123
Diferent location
Sub-vendor is performing action on behalf of main vendor under same UID=V_1000346 and same password assigned earlier.
Under Same UID =V_1000346
Each user logs into cfolder under collaborative scenario of cFolder.
System prompts user to change password for each user logs into the system after elaps of 90 days. In this caes any user of main vendor or sub-vendor who so ever first gets chance to log into the sytem is prompted for change of password.
Can you suggest that each individual user(having UID and password) will be able to log into Cfolder in same collaborative scenarion under same collaborative folder.
YPB -
CFOLDER COLLABORATION/ FOLDER EXPIRY
Hi,
Is it possible to set an expiry to the collaborations or folders created in Cfolder so that after the given date/ period the folder/ collaboration becomes in active
Regards
AbhishekHi Abhishek,
In this case You need to write a report and execute the report in background daily...
The inputs could be cFolder collaboration GUID, closure date..
The program would check the dates and change the status..
Niranjan
Award points if useful -
CFolder automatic folder creation
hi,
I want to create automatic document in cfolder. Means User will add the file in adobe forms. Once he saves that I want the document should get create in cFolder / DMS side.
Pramodcancelled
-
CFolder enhancement for predefined collab folder creation
Hi,
We are using cFolder for the collaboration of Supply Chain Management-SNC objects as ASN, we have a requirement that an automatic collaboration folder should be created for every SCM -SNC object created in system where SCM-SNC and cFolder have integration. The collaboration folder in cFolder should be created with ASN object number.
What should be the possible ways to achieve this functionality?
Best Regards,
AvinashHello Friend,
I am facing a similar kind of a problen.
Were you able to get through this?
If yes, please share the solution.
Thanks in Advance,
Sumit -
Archive collaboration folder in cFolder
Hello Experts,
What s the process of archiving collaboration folder?
I tried to archive one of the collaboration folder but i am not able to find archived collaboration folder
I tried to search through archiving link with the cfx_arch_ui/arch_files.htm but not able to see
Please let me know the process
Thanks & regards
RavindraPlease update me
-
Cproject - assign collaboration--error in search
Hi
Im facing 1 unsual error
When we try to assign Collaboration thru Cproject, we only get one collaboration in search result.
for the same Id actually all collaboration admin rights have been extended in Cfolder.
still when we try to assign the document we get only 1 collaboration in search. is there any object type which needs to add to role.
help...
NiranjanHi Niranjan,
I am facing a similar error. When i am trying to assign a Collaboration Folder to the Collaboration Project, the search option gives results showing as Blank title. Hence when i select one of the results shown which has a blank title the system gives an error saying enter the name of the Collaboration Folder.
This is some unusual error.
Please guide me on this.
Regards,
Amit Sawant -
A User facing a issue of "Collaboration Folder is not created"
Dear All,
A user facing an issue of collaboration folder is not created even through they have created in the SRM Potal.
Can anybody put some light on the issue as soon as possible.
Thanks,
PranavHi
Please refer below URL.
cFolder settings in SRM
Thanks
Karitkeya -
Here's what I want to do. I'm trying to automate client folder creation. I have a directory called clients. Every time I create a new folder in the clients folder, I'd like for it to automatically ask me what I'd like to name the folder, then I would like it to create 6 directories inside the created folder titled "legal" "spec files" "correspondence" "modules""graphic design" and "archived materials".
How would I go about that with automator?A couple of options. The first uses automator and a shell script, but you would run the workflow which asks for a folder name instead of you creating it first, as you requested. The second uses Folder Actions so that when you create a new folder in your clients folder it will ask for a name and create the folders.
Automator Method:
1) From Files and Folders, drag over a "New Folder" action.
2) Enter a default name for the folder in the Name: field (or leave blank)
3) Select your Clients folder in the Where: field
4) Click the "Options" button and tell it to "show this action when the workflow runs"
5) From the Utilities, drag over a "Do shell script" action
6) Select the /bin/bash shell
7) in the Pass input field select "As arguments"
8) Enter this code mkdir -p $1/legal/ $1/spec files/ $1/correspondence/ $1/modules/ $1/graphic design/ $1/archived materials/
Save this workflow and run it when you want to create the new folder. If you have quick keys, launch bar, Quicksilver, or the like, you could set up a shortcut...or, you can use cmd-space to call up spotlight and search for you workflow name and launch it from spotlight.
For the Applescript option:
I had some glitches with it in that it seemed to re-run the script after I changed the name. I couldn't figure out if the name change drove the script to run again. Also, after creating the new folder, you have to wait a few seconds for it to trigger. Kind of annoying, I thought.
First, copy this script to a new Script Editor script (Applescript folder).
property dialog_timeout : 30 -- set the amount of time before dialogs auto-answer.
on adding folder items to this_folder after receiving added_items
try
tell application "Finder"
set theFolder to item 1 of added_items
set response to display dialog "Please enter a folder name:" default answer "New Client"
if button returned of response is not "Cancel" then
set the name of folder theFolder to (text returned of response)
make new folder at folder theFolder with properties {name:"legal"}
make new folder at folder theFolder with properties {name:"spec files"}
make new folder at folder theFolder with properties {name:"correspondence"}
make new folder at folder theFolder with properties {name:"modules"}
make new folder at folder theFolder with properties {name:"graphic design"}
make new folder at folder theFolder with properties {name:"archived materials"}
end if
end tell
on error theErr
display dialog theErr
end try
end adding folder items to
Save it as a script in your user/Library/Scripts/Folder Action Scripts/ folder. Run the Folder Actions Setup script in the Applescript folder and attach this script to your "Clients" folder:
1) Click on the Enable Actions checkbox
2) Click the "+" button in the left pane and find your clients folder
3) Click the "+" button in the right pane and find your script you just saved. -
Need information on SAP cProject/cFolder certification
Hi,
I want to do certification in SAP cProject/cFolder.
Please provide me the relevant information.
Thanks
ShivHi,
As of now there is no certification is offered for cProjects by SAP may be in the near future it will be avaliable, please contact SAP Training in Bangalore at
080-41365669. use the following link to find other PLM schedules
http--www.sap.com-asia-services-education-schedule-schedule_IN.htm
regards
Yasar
pl award points if the info is useful -
Hi All,
There is on security group eg:-New Profile,if any new profile check-in ucm automatically the folder structure will create on that perticular profile.
The folder structure should be ---root folder EMPID_EMPNAME(Emp001_ABC)
Inside root folder 5 sub-folders like -----Emp Resume,Education details, Experience Details,Salary,Administrator
Let me know is there any possibility to create automatic folder creation when the new profile check-in inside UCM.
Give me your valuable suggestions on this issue.
Thanks.hi,
Actually through mine custom page of mine component in which suppose there is two text box like
Parent folder
Child folder
when i submit the name a new folder should be created under contribution folder with child folder name.
Scenario is that suppose a project comes and on mine custom page when i enter the project name a folder with same name should be created under contribution folder by calling new folder creation service.
Plz if u can help me out.
Thanks once again... -
Robocopy not copying the folder creation date
We migrate the data between 2 Windowsfile servers using robocopy and it works finew ith issues. Only issue is it doesnt copy the folder creatiopn date from source to destination server, it does copy the file creation date without any issues. Command
we use is as below.
robocopy.exe %1 %2 /COPYALL /MIR /ZB /R:10 /W:2 /TEE /DCOPY /LOG+:robocopy_%3.log
This command is called using a batch file where we specify the source and destination using the below syntax.
call Robocopy_Module.bat "C:\Backup" "C:\Restore"
Kindly advise if this is normal behaviour , if not what is the correct command used to copy the Folder creation dates.I was using like this
Go to CMD prompt,
RUN as Administrator
Type
robocopy "source path" "destination Path" / MIR
It will copy including time stamps.
or create seprate folder in a destination place and copy everything into that folder.
It will work. -
Custom property not displaying at folder creation or Details screen
Hello everyone
I have created a custom boolean property that I need to have displayed both at folder creation and in the Details screen of a folder after it's created. The property is in the default namespace, and is in the Custom group. I have created a properties file for the label and created the necessary meta data extension. The folder validity pattern is " / " and the Resource Type listed is "normalct" so that it's active for folders only.
Then I went to Property Groups and listed my new property in the Group Items field of the Custom group. The Custom group is a part of "all_groups" so that group is displayed both when a new folder is created in KM and when the Details screen of a folder is displayed.
<i>However,</i> my custom property isn't displaying under the Custom tab when I go to create a new KM folder, nor when I view the Details screen of an existing folder. What configuration am I missing? Do I have to develop a custom property renderer for each new property I need to create? I was hoping I could achieve this result with configuration changes only, but I must be missing something.
Any help would be greatly appreciated and rewarded.
Thanks in advance,
FallonHi Fallon,
actualy, if you want this property to be displayed only for folders and not for documents, you don't need to specify the resource type for folders. Setting "/" or "/**" for "Folder Validity Patterns" and "" (empty) for "Document Validity Patterns" should be enough.
If you sill experience problems, you have to check all settings, for example with the settings suggested in this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2654">weblog</a>. If you use the "default" Property Group in the property settings, you don't have to enter the <b>Property ID</b> in a special Property Structure Group that in turn is integrated in the all_groups Property Structure Group.
Hope this helps,
Robert -
Home Folder Creation w/Active Directory
If this has been asked a million times, just point me to the url for the answer...
I have done the leg work and have the "magic triangle" working - I can login and auth to AD and get my preferences from OD. I want our user's home folders to reside on our Windows server. I have shared out \\server\students on the Windows server and in AD I am pointing their home folder to our Windows server, but I can't get the permissions right. When I point a new user's home folder in AD to our Windows server, it creates the folder \\server\students\jtest.
When the user logs in, none of the subfolders are created. Can someone give me some pointers on how permissions need to be set so the subfolders are created on first login?
This is all pretty new and I'm happy that I got the triangle to work - if I can get this all important piece, I'll be set.
Thx in advance!Hi
A lot of this depends on how many OUs you have; how deep they go; and how many directories you have nested in each OU or the particular OU the directory for home folder creation is within. The accepted 'recommendation' is not more than 3 deep - generally. Having said that I have made it work with OUs 7-10 deep. Gets trickier after that.
In my experience the non-creation of expected directories is generally down to permissions not being assigned properly - as you've guessed. Essentially users must be given read/write access all the way down the nested directories. I have seen permissions assigned correctly to a parent folder, with a set of different permissions applied to the next folder down and the next one along again with the correct permissions applied. Folder creation fails when permissions are set in this way.
What is interesting is the log-in does not fail though you are greeted with the usual "the home folder exists on an SMB or AFP Server etc" dialog box when getting to the desktop. You sometimes get this at the log-in window as well. Although you can also see the message for other reasons - usually down to poor DNS configuration.
You should be able to log in as the local admin and look at the system.log in Console. You should see an error starting with 'NSurl etc etc. . . ' listed. If you do that's an indication it's a permissions problem.
Beyond this and without being there it's difficult to tell?
Hope this helps, Tony -
EP6 SP4 Collaboration: Room Creation error message
Dear All,
When I use room creation iview(Collaboration> room creation)
in Step 1: General Properties and Template Selection,
I fill in all the fields and slect category.
But the error message:
No category specified !
occurred.
any action I miss ?
Thanks in advance.What version of the portal and cm are you on? Also, what is your OS and J2EE version?
This could be one of many issues, and more information is needed.
Regards,
Kyle
Maybe you are looking for
-
When i double click on Mac HD the view has changed and my user name is no longer listed on the left. How can I reset this?
-
Is the 13 inch powerful enough to run CAD and simulation software with 8gb ram and i5
Or would you need upgraded specs?
-
Problem converting WMV movie file to format Adobe After Effects can read...
Need HELP... Trying to convert a windows WMV movie clip so that Adobe After Effects can read, as the Mac OSX version of After Effects does not like WMV. Any help appreciated. Max
-
My cursor disappears, and now Photoshop crashes in Mountain Lion
Apple, apple, apple! PLEASE fix the obvious bugs in Mountain Lion. I am a professional using Photoshop on a Mac for the last 20 years, and now your operating system has me and MANY OTHERS in despair becasue we can't work. Lots of professionals in des
-
iPhoto upgrade wont install, and tells me to install from the purchases tab. That wont work either and I get this message What can be done?