cancel
Showing results for 
Search instead for 
Did you mean: 

cproject: custom program that can create new project from existing template

Former Member
0 Kudos

hi guys.......

i'm trying to create a project using "bus" funcrion (i want a SRM-transaction able to create a project from cprojects templates).

With the functrion "BAPI_BUS2170_COPY" i can (almost) create a project from a template guid.

The problem is that when i execute this function, it returns me back these 2 log messages (two entries of the result table) :



I   DPR_BAPI   158 BOR object Project Template: BAPI method COPY                                      

S   DPR_BAPI   114  Object is created with GUID 0CC3B20C3205CE45A5962DE7B547B171 
                              after it has been successfully saved

how can i complete the creation process ??

how can i replace the action of the button "save" of cprojects with some a function or method ?

thanks a lot !

fabri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Fabrizio,

After calling BAPI_BUS2170_COPY, have you called BAPI_CPROJECTS_COMMIT_WORK to save the changes?

Regards,

Vivek Pandey

Answers (1)

Answers (1)

Former Member
0 Kudos

thanks a lot !