I'm creating my projects thru BAPI_PROJECT_MAINTAIN which is working fine.
After creation of project, I'm submitting one program to create the partners assingment to this newly created project.
But for this I have to use the statement Wait upto 5 seconds, otherwise it creates the project but doesnot creates partner assignments, hardcoding wait statement may create problems in future.
How I should code to recognise whether project data is updated in databases or not. so as per that wait logic i can trigger the another program.
Your Help will be appreciated.