on 10-29-2008 5:44 AM
Hello Experts,
Is there any BAPI available for the CJ20 transaction to try close a project? I have been trying to locate one but haven't came across anyone. Please do let me know if in case any of you happen to know about 1 such BAPI.
Regards,
Uday
Hi,
A project definition can be changed using the BAPI "BAPI_BUS2001_CHANGE". To do this, the project definition (PROJECT_DEFINITION) and the new values must be entered in the structure "I_PROJECT_DEFINITION". In the structure "I_PROJECT_DEFINITION_UPD", the fields that are to be changed must be marked with 'x'. The other fields remain unchanged. Before the project definition is changed, the following is checked:
Is another project already being processed in the LUW ?
Can the project be locked?
Is the changed data still consistent (do the company code and controlling area match?)
If all checks are successful, the project definition is changed in the document tables.
for example:
CALL FUNCTION 'BAPI_BUS2001_CHANGE'
EXPORTING
I_PROJECT_DEFINITION =
I_PROJECT_DEFINITION_UPD =
" TABLES
" ET_RETURN =
" EXTENSIONIN =
" EXTENSIONOUT =
.
Thanks,
Dhruv Kumar Malhotra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.