on 05-29-2012 11:25 AM
Hi All,
I am facing a problem,
first I am using BAPI_BUS2175_SET_STATUS BAPI for changing the status of task, then BAPI_CPROJECTS_COMMIT_WORK to commit the work, then in same program I am using
BAPI_BUS2175_CHANGE BAPI to change some details in the same task. and after that BAPI_CPROJECTS_COMMIT_WORK BAPI.
But, when the first BAPI is processed, the task object is then locked and not allowing the second BAPI to update the details.
However when first is not processing, then second is working.
I checked in BAPI documentation, that for using more than one BAPI for same object, we need to free the LUW.
The current LUW enables you to unlock and unload a single main object using the Free method or the BAPI_xxx_FREE BAPI function module.
But I am not able to find BAPI_BUS2175_FREE, (xxx = BUS2175 for task) and also not getting that how to use Free method to free unlock the task object.
Your suggestions will be very helpful.
Regards,
Monis
I used BAPI BAPI_BUS2172_FREE, and it works with the same GUID of the Task.
I think the GUID is common for Project also, as this BAPI is for unlocking and unloading the Project definition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
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.