BAPI to read all projects in which a user (bp) is staffed?
Is there a BAPI in cPro 4.5. that returns all projets in which a certain user (business partner) is staffed? Something like "get 'my' projects"?
Danial,
There is no BADI but I have another solution for you
use Class: CL_DPR_UI_LOG_BUPA_DETAIL
this returns the list of Projects passing by BP
Niranjan
Let me know if it helps
Similar Messages
-
Profile/Role to READ all projects
I am looking for a role or profile to read ALL projects in cPro. Can somebody help me out?
I confirm Florian's answer.
You can create a PFCG role with authorization object ACO_SUPER with::
- activity: ADMIN
- object category: *
You may also have to add wild card authorization for project type.
BR
Matthias -
Read all projects within Project Online using web part Sharepoint
Hello all. Can we get data of all projects from Project Online in Sharepoint Site? So far as I understand we can get data of list like this:
SPWeb web = SPContext.Current.Web;
SPList issueList = web.GetList("https://tenant.sharepoint.com/sites/demo/Sample Project 1/Lists/Issues/AllItems.aspx");
Do you have any some good tutorial? I am new on web part Sharepoint.
Thanks in advance.Hello,
Yes you can, I would use the ProjectData API if you are not bothered about security (accessing all projects etc.) or if you want the data returned to be accessed controlled use the ProjectServer API. Examples below:
ODATA API (ProjectData):
<PWA site URL>/_api/ProjectData/Projects
JSOM REST API (ProjectServer):
<PWA site url>/_api/ProjectServer/Projects
Regarding guides, just search for SharePoint apps / App part / client web part. Some simple examples of using the APIs mentioned in JavaScript on the Project sites can be seen below:
https://gallery.technet.microsoft.com/scriptcenter/Server-Information-ab10fd63
https://gallery.technet.microsoft.com/scriptcenter/Server-Milestones-f8be71b8
https://gallery.technet.microsoft.com/scriptcenter/Online-Server-on-a-page-1b1f14f5
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Hi Experts,
on the 'Assigned Projects' tab, sub-projects can be assigned to a parent-project.
Via BAPI BAPI_BUS2172_GET_SUBOBJECTS it is possible to read the sub-projects of a project.
Is there a way to read the parent-project of a sub-project via BAPI too?
Best regards,
PatrikHi Zhenbo,
when I call BAPI_BUS2172_GET_SUBOBJECTS with PROJECT_DEFINITION_GUID =
<parent project guid> and 'DPP' in IT_SUBOJECT_TYPE, I get the GUIDs of the two sub-projects which I have assigned within the "Assigned Projects" tab of the parent project.
However, when I call BAPI_BUS2172_GET_MASTER_TASKS with PROJECT_DEFINITION_GUID = <sub-project guid>, I do not get a result.
Any ideas?
Thank you and best regards,
Patrik -
Getting list of projects to which a user belongs
I've just started a .NET application that needs to see to which projects a user has access. I've grabbed some code found here online, but I can't seem to get it to work. The error I get is:
java.rmi.RemoteException: Interface not Implemented: com.plumtree.openfoundation.util.XPException Error in PortalObjectsFactory.CreateSession: Init has not been called. You must successfully call Init before calling CreateSession
Here's the code:
Imports System
Imports System.Collections
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Web
Imports System.Web.SessionState
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Imports Plumtree.Remote.PRC
Imports Plumtree.Remote.PRC.Collaboration
Imports Plumtree.Remote.PRC.Collaboration.Project
Imports Plumtree.Remote.Portlet
Partial Class StatusSurvey
Inherits System.Web.UI.Page
'get the project manager
Public Function GetProjectManager(ByVal req As HttpRequest, ByVal res As HttpResponse) As IProjectManager
Dim projectManager As IProjectManager = Nothing
Dim portletContext As IPortletContext = PortletContextFactory.CreatePortletContext(req, res)
Dim portletRequest As IPortletRequest = portletContext.GetRequest()
Dim loginToken As String = portletRequest.GetLoginToken()
If loginToken Is Nothing Then
res.Write("Unable to retrieve the login token. Confirm that the login token has been checked in the Advanced Settings page of the Web Service.")
Else
'get the remote session
Dim portalSession As Plumtree.Remote.PRC.IRemoteSession = portletContext.GetRemotePortalSession()
'get a collab factory and a project manager
Dim collabFactory As ICollaborationFactory = portalSession.GetCollaborationFactory()
projectManager = collabFactory.GetProjectManager()
End If
Return projectManager
End Function
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
Dim projList() As IProject
Dim projMgr As IProjectManager = GetProjectManager(Request, Response)
Dim projFilter As IProjectFilter
projFilter = projMgr.CreateProjectFilter
Dim count As Int16
projList = projMgr.QueryProjects(projMgr.CreateProjectFilter())
For count = 0 To projList.Length
ddlProjects.Items.Add(projList(count).Name)
Next
End Sub
End ClassRight, but can you find EXACTLY the place in you code that couse exception? Just comment all, got response, than uncomment step by step while you got the some exception. It's not clear for me what couse this issue, I guess you miss some library or something. I would recommend create test example like this (this code from documentation):
Imports System
Imports Plumtree.Remote.PRC
Module HelloWorldSession
Sub Main()
Try
Dim session As IRemoteSession
session = RemoteSessionFactory.GetExplicitLoginContext( _
New Uri("http://portalserver/ptapi/services/QueryInterfaceAPI"), _
"administrator", _"")
Console.Out.WriteLine(session.GetAPIVersion())
Catch e As Exception
Console.Error.WriteLine(e.Message)
Console.Error.WriteLine(e.StackTrace)
End Try
End Sub
End Module
Bottom line: make sure your server SOAP API is OK to procced requests. -
Project Site Contributor Rights for all Projects in PS 2010
Hi
We have a requirement where some users, need a group which gives them the rights to upload documents and create folders in the project sites.
Team Members, unless assigned to a task, can only read projects they belong too. But we need another group, which allows the people to see all projects, and put content into the project sites - nothing else as such.
Any ideas what permission to set? See Manage SharePoint Foundation, but that seems overkill like they can manage anything SP?Tibsy,
Unfortunately, there is no easy way to do this as long as you are using the permission sync.
The closest you can get to this is by creating a new group, which gives users the "Save to Project Server" category permission on the "My Organization" category. This adds the users to the "project Managers for PWA" group on
all Project Sites, which gives the "contribute" rights to the site.
The downside to this is that this permission level gets the users closer to the "Design" permission, than the "Contribuite"
permission, which means they can create new libraries, lists etc., in addition to uploading content.
As far as being able to "Save" all projects in My organization, that could be mitigated by not giving any other permissions like "open Project" or View Project Schedule" for that category.
So essentially, they cannot even see the project in the Project Center, if they are not supposed to see that.
This is the closest I have gotten to a workaround in this scenario.
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
-
How to read all open documents containing a specific service team (partner)
Hi,
for my custom report i´m looking for a function module to read all service requests which are not closed and created for a specific service team. the service team is a partner function in the service request.
Could one of you experts please recommend a function module or example report?
Thank you.
Kind regards
ManfredHi Manfred,
You can use FM CRM_SERVICE_PORTAL_SEARCH to search for Service Requests based upon various input parameters including Partner Number and Partner Function.
Hope this helps.
Thanks
Vishal -
How to read all material documents created for a service order /maint.order
Hello,
in my Z-Program i need to read all material documents which are created for a service order or maintenance order.
Is there a function module which could be used or do you have some other hinds for this requirement?
Thanks a lot.
Kind regards
ManfredHI,
Have you tried BAPI_ALM_ORDER_GET_DETAIL for fetching components details. Actually we have used it to get some other details.
Regards
Shakti -
Bapi for reading project information
hello gurus can any one tell me the bapi which is used to read the project from sap , i,e ps module it should read the wbs elements and activities and newtorks relation of a project
thanx in advance
afzalhi ,
there 3 bapi's
<b>BAPI_PROJECT_MAINTAIN
BAPI_PROJECT_GETINFO
BAPI_PROJECT_SAVEREPLICA</b>
<b>Reward points if useful</b>
Regards
Ashu -
How to add document library which is common for All Project Site Under All Project in pwa.
Hi,
I want to add Document Library under project site which should be common for all project site in all project.
is there any out of box solution for this ?Hello. Yes this possible. See a post I created below that covers creating custom project site templates. The first part of the post is for project plan templates but then the bulk of this post is for project site templates. http://pwmather.wordpress.com/2014/02/02/getting-started-with-projectonline-part-6-ps2013-office365-project-ppm-sharepointonline-pm-sp2013/.
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
All Project Across Organizations List View- Why some projects read only?
Hello all !
I sign on as administrator in SSE and on All Project Across Organizations List View :
Screen: Projects Screen (ePS)
View: All Project Across Organizations List View
Business Object: Project
Applets: Applet[0]: Project List Applet; Applet[1]: Project Entry Applet;
Business Components: BusComp[0]: Project; BusComp[1]: Project;
Why some projects are read-only?
Best regards,
LevHi Rebecca,
This is just a sample project. I am not the original author of this project. I just recreated the project, but I have a few problems.
1) when I create the project I am not able to retrieve all the rows for that 2nd event unlike the original project. I cannot figure out why the project crashes when I try to retrieve more than 50-60 rows for the 2nd event.
problem 2) this project was architected using legacy EF (EF4). I have to remove all the .tt files in the designer and select "Generate legacy Code" in the edmx file and save. This is so I can use ObjectContext.
Eventually, I want to recreate this sample project using DBContext for the edmx.
If you could figure out what the problem is when I replace the service reference in the FullClient, that would be very nice.
Rich P -
What is the definition of "All Projects" in P6 EPPM for the Team Usage Charts?
In P6 Professional 8.3, there is a User Preference setting which can be used to define "All Projects" for the Resource Usage Profile. The choices are: All Open, All Closed except What-if, All Closed with Leveling Priority over x. In P6 EPPM 8.3, there are My Preferences settings. In these settings, I see several choices which are also in the P6 Professional User Preferences, but I do not see a way to set the definition of "All Projects". Does this mean that EPPM uses the SAME settings as selected in P6 Professional or does it mean that "All Projects" is not configurable in P6 EPPM? If it is not configurable in P6 EPPM, what is the definition of "All Projects" in P6 EPPM?
http://www.apple.com/batteries/iphone.html look here Apple-batteries-iphone.
-
2.1 sort order on 'all projects'
I really like the 'all projects' view, it looks like iPhoto 'events' view, which was sorted, as it should be, in alphabetical order. I love Aperture, however I've been waiting for an alphabetical sort to the 'all projects' view so that I can get rid of (or rather stop using) iPhoto. They seem to have added sort with what seems to only have two options, by date, which is horrible if, like me you have downloaded pictures or old digital photos that contain wonky incorrect information from the wild west days of digital photography.
Any ideas on how to get things to display in 'all projects' like they do in iPhoto 'events'??
BTW, my projects are all titled in the way they should display. events that I want by date are titled as such, other pictures are grouped in projects such as 'Shorty' (my dog).Sorry Grom, no, there is no UI for the kind of sort you are seeking.
-
Premiere Pro is not reading all of the video content in my AVCHD clip. I know this because my computer plays all of the content through Preview, so the information is on the card. How do I get Premiere to read all of the content?
First, AVCHD isn't just "one" clip, it splits the video & audio into several files each per clip, typically with randomly generated names. The only way they "play" correctly is if the software doing so is able to read from the data file ...in a different folder ... the information that X clip is actually A, B, D, #@, and 456 video clips and TR, #r54, and ert$%4 audio clips. The next "clip" is ... and on and on. So both rapid access to the video files AND that database file are necessary to play the files back, or do anything else with them.
VLC is a fairly decent but simple playback tool. It's nowhere near as complicated nor demanding in its "relationship" with those clips as an NLE like PrPro, which will be trying to do more reading & writing.
Further, many of the preferences in PrPro are natively set so that it writes project, cache, preview, & database files next to the footage. So ... if it doesn't have both a fast enough connection with the data AND space for putting all of it's own stuff there, it tells you it can't work the file.
Therefore ... the need to have the complete data from the card in the exact same folder structure it was in ON the card copied to a "local" hard drive.
Neil -
Project Search in cProjects 4.0 - Displays all projects
Hi Experts,
Project Search in cProjects fetches all projects - across all users and across all project types. This includes projects of project types the user is not authorized to. Well, the user cannot open any of these projects (unless he has authorization) but he can see all projects.
Is there a way to restrict this? We require users to get to see projects in his search list only if the user has authorization to the corresopdning Project Type. Is there a way?
Regards...Thanks Ramakrishna for responding.
But I understand that this search is also influenced by the settings that the user does at the front end. What I mean is, if he does not put any such filter, he can still view all projects.
Is there anyway we can restrict the users from viewing? What I mean is, can we put such filters (which the user puts at front end to search) at the back end by which the front end user just cannot see/view all projects?
Thanks again...
Regards,
Bittu.
Maybe you are looking for
-
Device Page Service Error after updating from 2.8.0 to 2.8.2
Hi all, today, I updated my demo server ZENworks MDM from the version 2.8.0 to the version 2.8.2. After this update i cannot display users and devices in dashboard. When i click on the Users tab, i`m getting the error: "Device Page Service Error. Una
-
ITunes radio now requires a username and password to listen to radio!
I recently noticed that when I try to listen to radio via iTunes it asks me for a "Members Only on pri.kts.-af.net" username and password. I have never had this issue before. Anyone know what happened or know where I can get a username and password?
-
Apache starts but will not display tn browser
I can start Apache using Terminal but I can not serve up a html page. Not sure why. OS X 10.9 greg
-
Table names for GR number , GR date
Hi, I need table names which store GR number and GR date.
-
Thinkstation E31 won't boot up, no display, two beep sounds in the beginning
Hello, I just got my thinkstation E31 SFF today and pretty excited about it. However, when i pressed the power button, it sounded like everything is turned on (fan sound, etc) then there are two beeps and no display on the monitor. What is wrong? C