on 07-02-2010 8:20 AM
Hi SDN,
I'm looking for, but couldn't find any BAPI to set the Responsible Resource field on a Project.
I am working with BAPI_BUS2177_STAFFING_ADD in my program, but the user requires the Responsible Resource field, in the Project, to be changed as well, but I didn't find out how to get it done.
Is there any BAPI for this?
So far I found out the field is RESPONSIBLE, on DPR_ENTITY_LINK table. But how to change it by BAPI ?
I would appreciate any suggestion.
Regards.
Hi Fabio,
I don't know any BAPI to achieve this, but you can load the task and use standard method:
CL_DPR_TASK_O->mr_participant_links->add_responsible( participant ).
Where participant is the role you want to assign (concrete or abstract).
BR
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabio,
You can use BAPI_BUS217*_CHANGE FM to change teh Responsible resource. You need to change Responsible Role GUID in this FM and corresponding field in the Update structure.
Thanks,
Swamy Mantha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To clarify this for anyone else seeking to populate Responsible Resource.
Read the staffing from FM BAPI_BUS2177_GET_DETAIL, find the STAFFING entry matching the PARTNER_GUID that is to be the responsible resource, this entry will have a SHADOW_ROLE_GUID.
CALL FM BAPI_BUS2172_CHANGE populating RESPONSIBLE_ROLE_GUID (Structure IS_PROJECT_DEFINITION) with the above SHADOW_ROLE_GUID.
Problem has been fixed by using DPR_ENTITY_LINK_SAVE_DU FM, after selecting from DPR_ENTITY_LINK the record which has to be updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabio,
Check the manual instructions of SAP note: 1327374.
"Responsible Resource" can be controlled separately using the field control.
Regards,
Santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
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.