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

run a program in packeges

Former Member
0 Likes
800

Hello Experts,

I need help.

Is it possible to run a program in packages If a program fetching more data from database table and keeping in internal tables.

Because it is going to dump as it is having more data in the internal tables.

Thanks in Advance.

Regards,

Anand.

Hello Experts,

I need help.

Is it possible to run a program in packages If a program fetching more data from database table and keeping in internal tables.

Because it is going to dump as it is having more data in the internal tables.

Thanks in Advance.

Regards,

Anand.

5 REPLIES 5
Read only

ceedee666
SAP Champion
SAP Champion
0 Likes
775

Hi Anand,

the question is what you want to do. Run the program in packages (i.e. only with parts of the data that need to be selected) or select with a package size. The following two links should get you started for the second options:

Best,

Christian

Read only

Former Member
0 Likes
775

Hi,

i am not sure what you want to know...

Cut your selection at selection screen to get less data in internal table.

Or change your programm architecture, so you dont get too much data in internal table.

i dont know what packages would help on running a programm... do you just want to run 10% of the programm?

if you run programms in background, it will not dump because of its duration, and the programm is scheduled in background task. If you want to parallelize your programm mostly its a simple way to devide the data by specific selection on selection screen and run it in background task...

regards

Stefan Seeburger

Read only

0 Likes
775

Hi Stefan,

Thank you for your reply......what i want is, i have developed a program that fetches lot of records in the background mode. so i wanted to split the jobs using abap code.

Thanks & Regards,

Sankaar.

Read only

0 Likes
775

Hi kbs anand,

im not a specialist at performance issues.

1 Programm in Background uses 1 Batch-Job no matter what you do inside the programm.

What you could do is calling a sub-programm in your main-programm several times in background. So each programm-call will get its own batch-job that will work "parallel". (you can see the used batch jobs in sm50)

The point is, they are all asynchron as your main-programm dont wait for an answer. So you have to care how to combine your data afterwards. Also you have to make sure that the background programm is just working with a part of your data, so the background-jobs dont lock each other. (Like they should not try to edit same order or bill)

regards

Stefan Seeburger

Read only

0 Likes
775

Thank you stefen, I will try as you said.

Regards,

Anand.