on 05-12-2009 4:46 PM
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,
Patrik
Hi Patrik
To get the paraent project (actually the parent task) you can use
BAPI_BUS2172_GET_MASTER_TASKS
As far as I see the document of BAPI_BUS2172_GET_SUBOBJECTS, it is not possible to get the sub-project. Maybe you can do a test.
Kind regards,
Zhenbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,guys
Here is a table DPR_OBJLINK_MPM.
May help you.
Happy day!
Audi Yan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.