04-05-2006 4:13 PM
Hi all!
Please, does anybody know a BAPI for create Project in CJ20N transaction?
I've already done some tests with BAPI_PROJECTDEF_CREATE but it didn't work.
Thanks a lot,
Daniela Machado
04-05-2006 4:14 PM
04-05-2006 4:20 PM
Hi,
Whatz the error you encountered when you used FM BAPI_PROJECTDEF_CREATE?
Regards,
Raj
04-05-2006 4:29 PM
it can be because of the format, have you tried from se37, it is the easiest way for it,
regards
04-05-2006 4:34 PM
Hi,
try with BAPI <b>BAPI_BUS2001_CREATE</b>, check the FM documentation also.
Regards
vijay
04-06-2006 1:52 AM
Hi,
Use following BAPIs in given order.
<u><b>1.</b></u>BAPI_PS_INITIALIZATION
<u><b>2.</b></u>BAPI_BUS2001_CREATE
<u><b>3.</b></u>BAPI_BUS2054_CREATE_MULTI
<u>4.</u>BAPI_BUS2001_SET_STATUS (To set the status at project level)
OR
BAPI_BUS2054_SET_STATUS (To set the status at WBS element level)
<u><b>5.</b></u>BAPI_PS_PRECOMMIT
You don't have to code again for this. Whatever structures and internal tables you had used in BAPI_PROJECT_MAINTAIN can be used to populate the above BAPIs.
We are working in 4.6C and we have successfully implemented this solution.
If you only want to create project just use BAPI's in given order.
Also, if you have custom field at WBS element level, these BAPI will create a project but wan't update custom field. There is an OSS note which you need to apply for this.
Let me know if you need further information.
Thanks,
Pal
02-15-2007 1:13 PM
Hi,
I ' ve been trying to change the proyect status, so the only bapi i found is the one you mentioned BAPI_BUS2001_SET_STATUS... but when i run it from se37 trx and complete the parameters in the result it says "Imposible treatment because of incorrect initialization. The function wasn`t executed"
Do you have any solution?
Thanks!
09-28-2007 8:17 AM
Hi Pal,
I have to upload the Project definition, WBS Element and Network activities. In that we have customer fields in Project definition and WBS Element. Pls suggest me best way to implement by using BAPIs ?? If u have sample code pls let me know. We are working on ECC 6.0 version.
Can we upload in a single program ??? This is urgent.
Thanks in advance.
KUR
12-16-2008 8:31 AM
Hi i am also having same requirement....if ur problem solved plz give me solution...thanks
06-14-2010 4:16 PM
Hi Kur Kur,
Did your problem get solved..since I have the exact requirement were, I have to create projects from a flat file based on a template and also have to update custom fields of the project.
Cheers,
Vidya
06-15-2010 10:09 AM
Hi All,
I am also having the same Functionaity to upload Projects using an Excel File and also upload the WBS elements for it.
I know that I need to use BAPI_PROJECTDEF_CREATE to create the Proj Defination & BAPI_PROJECT_MAINTAIN to create
the WBS Elements.
Can someone send me the Sample Code for the above said BAPI's.
Thanks in advance.
Regards,
Asish Dash
06-02-2006 8:17 PM
Hi,
The BAPI BAPI_PROJECT_MAINTAIN can be used to create/update Projects/WBS Elements/Networks and activities as well.
Let me know,if you need more info.
Venkat
01-07-2010 6:58 AM
Hi Venkat,
In my case PRNu2019s will be created manually . WBS have to be uploaded attached with a SAP cost centre(default for all company codes) to top level PRN's. I am doing this with LSMW using BAPI. Can you please explain how do I proceed.
Also can you send the me the sample data if you have used for the same consisting of leve1 and level2 upload.
Thanks.
02-11-2010 11:28 AM
Hi Kusuma,
I m also trying to upload CJ20N t-code.
Can you send me Code and Falt file.
id: chandra.gbabuatgmail.com
Regards,
chandu
06-02-2006 10:03 PM
Hi,
You should use the following 4 BAPI's in the same sequence to create a project:
1. BAPI_PS_INITIALIZATION
2. BAPI_BUS2001_CREATE
3. BAPI_PS_PRECOMMIT
4. BAPI_TRANSACTION_COMMIT/BAPI_TRANSACTION_ROLLBACK
This is the seuqence SAP recommends in the documentation. And make sure the return value of PRECOMIT is good before doing the actual COMMIT/ROLLBACK. Otherwise it will end with a short-dump.
Regards,
Sumant.