cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduling of a Network

Former Member
0 Kudos

Dear Frens,

I have a network with some activities deleted randomly by the user. After deleting of activities happens I want to reschedule the BAPI with the remaining activities. For deletion of activities i am using 'BAPI_NETWORK_MAITAIN" in my program. Can I use the same BAPI to schedule my network after the deletion of activities happens?

also I want to renumber the activities after the deletion. I understand that the increment of this numbering is based on the configuration. Can any one suggest me how to get this value of incrementation for my program.

Thanks in advance for the help.

Regards

Priya

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the solution

Former Member
0 Kudos

Hi

1. You can use BAPI_NETWORK_MAITAIN to delete the activities. There is another BAPI for the same purpose BAPI_BUS2002_ACT_DELETE_MULTI.

2. You can schedule the activities thr' BAPI_NETWORK_MAITAIN. Use following command-

Example - Reschedule network TRAINING0001

IMethodProject

OBJECTTYPE = Network

METHOD = Schedule

OBJECTKEY = TRAINING0001

REFNUMBER = 000001

OBJECTTYPE =

METHOD = Save

OBJECTKEY =

REFNUMBER =

INetwork

Index = 1

NETWORK = TRAINING0001

3.The increment of activity number depends on config. done in Network profile (T code OPUU)

Regards