cancel
Showing results for 
Search instead for 
Did you mean: 

Can a package wait that another package ends?

Former Member
0 Kudos

Hello!

We are using create master data on the fly, and we are having some problems due to user concurrence.

There is any way to see if another package is running, and make the new package wait until the first one ends?

Thanks.

Best regards,

Simone Farinha

Accepted Solutions (1)

Accepted Solutions (1)

former_member200327
Active Contributor
0 Kudos

Hi Simone,

Usual method to run one Package after another ends is Package Link, but it looks like in your case you need any Package after some certain Package. If that is not true just use Package Link.

In case you need a number of Packages dependent on a single Package it depends what is in those Packages. If you have some custom code in them then you can check Dimension table - it has status of Dimension and you can see if it's being Processed or not.

Another option is if those Packages are scheduled. Then you can use SAP standard tools for events.

So, basically for each particular case you can find some option:).

Regards,

Gersh

Former Member
0 Kudos

Hello!

Thanks for your reply.

In this is not is not enough validate the dimension's status, since we need to obtain the last ID used.

But the solution is something similar to what you indicate.

Have a status table, when a package starts and using it to validate if the next package can run.

Thanks.

Best regards,

Simone Farinha

former_member200327
Active Contributor
0 Kudos

You can try using one of the UJD_... status tables for that.

Gersh

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

Hi Simone,

Unfortunately - no... This is the common issue with the parallel use of master data on the fly.

Vadim

Former Member
0 Kudos

Thanks.