2014 Feb 26 3:40 PM
Hi Guru's
I m developed the workflow for personal data maintain in ESS with single approval. Employee can able to update his personal data and saved.
Now the workflow will trigger to HR for approval .Before the workitem send to approval i need to update the PA0002-SPRPS = X and after getting approval i have to remove the flag.
Is the any function module / BAPI to upadte PA0002-SPRPS = X.
Thanks,
Pasumpon Karuppaiah
2014 Feb 26 6:06 PM
Hello,
Use BAPI_PERSDATA_CHANGE with LOCKINDICATOR = 'X'.
Below are call sequence,
Regards,
Sameer
Hi Guru's
I m developed the workflow for personal data maintain in ESS with single approval. Employee can able to update his personal data and saved.
Now the workflow will trigger to HR for approval .Before the workitem send to approval i need to update the PA0002-SPRPS = X and after getting approval i have to remove the flag.
Is the any function module / BAPI to upadte PA0002-SPRPS = X.
Thanks,
Pasumpon Karuppaiah
2014 Feb 26 6:06 PM
Hello,
Use BAPI_PERSDATA_CHANGE with LOCKINDICATOR = 'X'.
Below are call sequence,
Regards,
Sameer
2014 Feb 26 7:44 PM
Hello Pasumpon,
Use the function module "HR_MAINTAIN_MASTERDATA", SPRPS is a importing parameter in this function module.and in tables PROPOSED_VALUES you can specify the infotype name, field and value in that infotype table. Check it it would work.
Thanks,
Thanga
2014 Feb 27 4:06 AM
use these 3 in sequence