cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Services programmatically using BAPI_BUS2002_ACTELEM_CREATE_M

Former Member
0 Kudos

Hi :

I need to create a project programmatically using the standard PS BAPI. My problem is that I don't know how to add external activities ( Services ) into my project. I have all steps, except this one. I think that the BAPI BAPI_BUS2002_ACTELEM_CREATE_M should do it but I cannot find where to put the Service Number, Text and Quantity.

Thanks a lot in advance.

Jose J. Quezada.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member679189
Discoverer
0 Kudos

Hi Mustafa,

Could you solve your problem? I have the same problem, I don't know how to add external activities ( Services ) into my project.

Thanks.

Nancy.

fabio_passoni
Explorer
0 Kudos

Hello.

Someone managed to add external service?

Former Member
0 Kudos

Hi,

You should be using BAPI_PROJECT_MAINTAIN as per my opinion. In case of service activity you need not refer any other BAPI, just ensure that while creating that activity you are entering correct control key. You can find out control key for service in OPSU. By default in IDES it is PS05, the service tick box is checked in this key.

Regards

Former Member
0 Kudos

The problem remains the same. The BAPI_NETWORK_MAINTAIN does not have the fields to add the Services. It can adds an External Activity. The services are External Activities but where are the fields. I need an example or a more specific response. I know how to add a Material for example, but the Services are quite different.

Kind Regards,

Jose.

Former Member
0 Kudos

You need to create the Network first and then create the Activites under them.

Refer BAPI BAPI_NETWORK_MAINTAIN for creating Networks and activity elements.

The FM documentation is extensive and you can refer to create the you objects

Regards,

Ramesh-