Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Initialization Statement

Former Member
0 Likes
568

Hey guys,

Is it possible to declare 2 initialization statement within a program?

Will there be any effect on its performance? Thanks a lto!

Rgds,

Mark

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
534

The statement INITIALIZATION can be declared more than once and any number of statements below.

The statements are executed linearly irrespective of how the event is grouped with other events.

Regards

Eswar

3 REPLIES 3
Read only

Former Member
0 Likes
534

You can put in as many ABAP code statements you want in one Initialization Event. I dont think so there is any need to put more than 1 INITIALIZATION Event, even though it will not have any performance problem.

Read only

Former Member
0 Likes
534

Hi

It can be used, but it will have the same effect .

Its recommended to use only once and write ur code within that as per good practice of code .

Hope it helps.

Praveen

Read only

Former Member
0 Likes
535

The statement INITIALIZATION can be declared more than once and any number of statements below.

The statements are executed linearly irrespective of how the event is grouped with other events.

Regards

Eswar