Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Project systems Upload functionality

Former Member
0 Likes
474

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

2 REPLIES 2
Read only

Former Member
0 Likes
429

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

Read only

0 Likes
429

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