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

Class Constructor internal table

dennis279
Discoverer
0 Likes
398

I have the following question:


When i have an array of object which are initialized asynchron, does the second and third object initialization wait till the first object initialization is ready with its class constructor call?

A practical example:

In a BW transformation in the start-routine is an object initialization with a class constructor call of a very time consuming select call. It could be that the DTP has generated the second package which runs into the start-routine. Does the object initialization of thi second package wait till the first packages object initalization (of the class constructor) is ready?

Accepted Solutions (0)

Answers (2)

Answers (2)

dennis279
Discoverer
0 Likes

My question combines both. The packages are generated by DTP batch processes, but because of the class constructor which is called once for all objects of the same type, are the other packages wait till the class constructor is ready?

former_member302041
Contributor
0 Likes

Hi,

If I understood you correctly then:

1. if you are talking about packages then yes, second package will wait for the first.

2. if you are talking about DTP batch processes then no, each process (generated) won't wait for other, but run in parallel.

BR,