‎2005 Aug 22 9:43 AM
Hi Friends,
I need a very urgent help from you. CUrrently we are using a program for uploading the project systems projects along with the WBS. We are using the bapi
'BAPI_PROJECT_MAINTAIN' for acreating up to level 4.
this is hard coded to level 4.
Now current requiremnt is to convert the program into generic with multiple WBS levels. It can be any numbers.
This program should have ability to upload a new project with all the levels, and "new levels" on an existing project.
Does using Cj01 transaction and recording is suggesteble for the above requirement.
I am not getting any ideas.Please suggest how to go ahead.
Please please help me out its quite urgent..........
Thanks,
Pra
‎2005 Aug 22 10:48 AM
Hi,
Use the function modules in this order.
Where are you providing the hard coded value??
TO CREATE PROJECT DEFINITON
CALL FUNCTION 'BAPI_PROJECTDEF_CREATE'
EXPORTING
project_definition_stru = l_wa_bapi_project_definition
IMPORTING
return = l_i_bapireturnTABLES
e_message_table = l_i_bapi_meth_message.
COMMIT WORK.
Then use the BAPI:
TO CREATE WBS-ELEMENT.
CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
EXPORTING
i_project_definition = fp_l_bapi_project_definition1
i_project_definition_upd = l_i_bapi_project_definition_up
IMPORTING
return = l_i_bapireturn1
TABLES
i_method_project = fp_l_i_bapi_method_project
i_wbs_element_table = fp_l_i_bapi_wbs_element
e_message_table = l_i_bapi_meth_message
.
COMMIT WORK.
regards
Aveek
‎2005 Dec 07 6:56 PM
hi,
Aveek.
I need help changing module pool
PROJECTINFO' header data and add more column
to it...can u help..nasim1293@gmail.com
214-417-8044
thank you.
Nasim