cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Linking cProjects to PS Projects

Former Member
0 Kudos
341

Hi,

We have created Projects from legacy system into PPM 5.0. We have PS Projects into ERP 7.0 system.

We want to link cProjects to PS Project using mass upload.

We could not find any BAPI / Upload program for this.

After debugging, we found that standard webdynpro application is using method "REPLICATE2" from class CL_DPR_FIN_GECCO_IAOM_SERVICES. It is inturn using RFC "IAOM_ACCOUNT_MANAGER" form ERP system.

We are not able to use method "REPLICATE2" or RFC "IAOM_ACCOUNT_MANAGER" in our custom program.

Any input on this are really appreciated.

Regards,

Anil Salekar

Accepted Solutions (0)

Answers (1)

Answers (1)

mariano_sabiche
Active Participant
0 Kudos

Hi Anil;

We are using the Project OBJECT class to make a program to link Project Management to PS Project.

There no exists mass upload, you have to develop.

You need to link using the Accounting tab? or using Object Link?

Best regards,

Mariano

Former Member
0 Kudos

Hi Mariano,

Thanks for taking your time and replying to query.

Could you please give more deatails like how we can develop our own code for this?

Which function module or BAPI we can use to develop our own code?

Thanks & Regards,

Anil Salekar

mariano_sabiche
Active Participant
0 Kudos

Hi Anil;

We use the BAPI_BUS2172_OBLINK_ADD, to Link cProject to PS Project (via Object Links).

Parameters:

- PROJECT_DEFINITION_GUID -> GUID Project Definition

- IS_OBJECT_LINK

  • OBJECT_TYPE_KEY -> 0FIN_INT_ERP_PS (Corresponding data Table: DPR_OBL_OBTYP)

  • IDENTIFICATION -> PRPS-OBJNR

  • DESCRIPTION -> PRPS-POST1

More details in -> http://www.consolut.com/en/s/sap-ides-access/d/s/doc/F-BAPI_BUS2172_OBLINK_ADD

Hope this help you.

Best regards,

Mariano

Former Member
0 Kudos

Hi Mariano,

Thanks for your reply.

We tried to test bapi "BAPI_BUS2172_OBLINK_ADD" with the values you mentioned in your reply.

But we are getting following error.

"Error occurred when creating object link: Object type does not exist, is not active or not p"

To bypass the error in debug mode, if we make "Category" field in DPR_OBL_OBTYP blank, then it is giving following error.

"Error occurred when creating object link: Z_Single-Obj. Controlling on WBS Element PR0000021"

Could you please tell us what may be missing.

Thanks & Regards,

Anil Salekar

mariano_sabiche
Active Participant
0 Kudos

Hi Anil;

Try to change the PRPS-OBJNR to the PRPS-POSID (maybe its using this value).

About the "Category" it's blank, OK.

The Object Type is --> 0WBSELEMENT

Best regards,

Mariano

Former Member
0 Kudos

Hi Mariano,

Thanks for your help.

We tried to execute BAPI BAPI_BUS2172_OBLINK_ADD using Z_0WBSELEMENT (copy of standard object type 0WBSELEMENT) as object type and Identification as WBS Element (PRPS-POSID)

But it is giving following error.

E DPR_BAPI 120 Error occurred when creating object link: Z_WBS Element (PS) C.9900005 does not exist

Whereas WBS element exists in ERP system.

When we are doing same thing manually frrom UI Accounting Tab, it is working fine.

Could you please tell me whether there is any other suggestion.

Thanks & Regards,

Anil Salekar