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

Creating a network activity using a BAPI

former_member182535
Active Contributor
5,656

Dear Expert, I am trying to create a network activity using BAPI: ‘BAPI_BUS2002_ACT_CREATE_MULTI’; However, I keep getting an error: ‘CNIF_PI |078 |Processing not possible because there is no initialization’; How can I appropriately use this BAPI? Regards, Akhilesh Singh

View Entire Topic
Former Member
0 Likes

Hi Akhilesh,

This BAPI has the functionality to create one or more activities of one network only. You have to specify the network for which the activities are to be created in the parameter I_NUMBER (The network can already exist in the database).

To avoid this error you must create a PI (Processing Unit). Each processing unit must be initialized by calling the BAPI “BAPI_PS_INITIALIZATION” once.


In your case the BAPI is BAPI_BUS2002_ACT_CREATE_MULTI and the Method is

‘NetworkPI.ActCreateMultiple’.

An alternative approach is to try ‘bapi_network_maintain’.

You can create multiple activities for multiple networks at a

given time.

Regards

Amit

Former Member
0 Likes

Hi Amit

I need to create service activity I testing BAPI_NETWORK_MAINTAIN by giving the required detail to create service activity .

But getting this error "ERRORS OCCURRED DURING PROCESSING"

can you please help me or provide me some sample on this .

Thanks & Regards