2010 Jul 15 9:16 PM
Hi,
I have used the following function module (ENQUEUE_EC_PROJ) to lock the project definition. The project was locked sucessfully.
CALL FUNCTION 'ENQUEUE_EC_PROJ'
EXPORTING
mode_proj_enq = 'E' " Write mode
mandt = sy-mandt
typ = 'D' " Project Definition
pspid = gv_project_definition
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3 .
But while unlock, I have used the function module: DEQUEUE_EC_PROJ . but this function module was not UN LOCKED the project definition. Do you have any suggestions how to use this FM?
CALL FUNCTION 'DEQUEUE_EC_PROJ'
EXPORTING
MODE_PROJ_ENQ = 'E'
mandt = sy-mandt
typ = 'D'
pspid = gv_project_definition.
Thank you.
Regards
Pallavi
Hi,
I have used the following function module (ENQUEUE_EC_PROJ) to lock the project definition. The project was locked sucessfully.
CALL FUNCTION 'ENQUEUE_EC_PROJ'
EXPORTING
mode_proj_enq = 'E' " Write mode
mandt = sy-mandt
typ = 'D' " Project Definition
pspid = gv_project_definition
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3 .
But while unlock, I have used the function module: DEQUEUE_EC_PROJ . but this function module was not UN LOCKED the project definition. Do you have any suggestions how to use this FM?
CALL FUNCTION 'DEQUEUE_EC_PROJ'
EXPORTING
MODE_PROJ_ENQ = 'E'
mandt = sy-mandt
typ = 'D'
pspid = gv_project_definition.
Thank you.
Regards
Pallavi
2010 Jul 15 9:59 PM
I did not see anything incorrect. But, I think value of parameter typ should be 'P'. (P for ProjDef and H for WBS; the parameter is optional)
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |