2013 Jan 19 2:49 PM
Hi all,
currently i am facing an issue in using a function module. in the import parameter in that there is a field called object_id but don't have an object id in ps can anyone help me out by finding what field to be given as input for object_id.the function module is CMS_API_STATUS_SET_USR_STAT . this function module is used in project systems to change the user status.any one who have already worked on the same issue also can suggest any other function module.
thanks in advance.
2013 Jan 19 3:59 PM
Hi,
Every user has an objid associated with it in table HRP1000 you get the user's objid. but for that you will require object type.
I hope it will help you find a way
Regards,
Vishal
HAPPY ABAPing
2013 Jan 21 8:33 AM
Hi Dinesh,
I dont think its User's Object ID in the HRP table. IN Project systems, User Status and System status are assigned to Project and these statuses are attached using Object IDs. JEST is one of the table where all the statuses are maintained. PLease check if you get any details in this table.
2013 Jan 21 9:33 AM
From the where used list , I understand that it is a GUID. When digged further, it is the OBJNR field available in JEST,JSTO etc.
You can check passing PROJ-OBJNR.
2013 Jan 22 12:04 PM
Hi Dinesh,
Object ID is PROJ-OBJNR. In SAP Project systems, for each project definition, wbs elements, network and activity a unique number is generated which is nothing but objnr.
you can see in tables proj, prps afko etc. you need to pass this objnr to your function module.
Please note that this object id links your project definition, wbs etc to finance and costing modules also. so when a project definition or wbs is used as account assigned object to create the invoices then accounting tables are updated with respect to object id (objnr).
Best Regards,
Ratnesh Sisodiya