cancel
Showing results for 
Search instead for 
Did you mean: 

CJ29 - Daily Batch Job

Former Member
0 Kudos

Hello,

We have a requirement to create a batch job of CJ29 to be run on a weekly basis - is there a BAPI / function module that we can use to simulate running tcode CJ29?

Regards

Gary

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use BAPI 'BAPI_NETWORK_MAINTAIN'. In this BAPI you need to enter network number and use method=Schedule.

This will enable you to do scheduling/rescheduling of network.

Regards,

Mahendra

Former Member
0 Kudos

We have a requirement to schedule the Project Definition not just the Network number - is there an alternative BAPI we can use?

Former Member
0 Kudos

There is no BAPI which will start the reschedule from networks and then update WBS and Project Def so on.

However, what you can do which I think is simpler way to do it. You create program where

1) either user will enter the Project Definition codes or system will search project definition code on some parameters like status, company code etc.

2) Then you run BDC or Call Transaction for these Project Def.

3) Also make the provision for running this transaction in background.

  From my personal experience, it works very well!

Regards,

Mahendra

Former Member
0 Kudos

Hi Mahendra,

We have done exactly as you suggested by creating a Z program and used a BDC to call CJ29 - this appears to work in the DEV and QA clients but not in PRD!!

Thought there mught be a function module of BAPI we could use instead of a BDC to call CJ29!!

Thanks for the answers by the way!!

Answers (0)