cancel
Showing results for 
Search instead for 
Did you mean: 

parameter mainimp_proc

Former Member
0 Kudos

Hello all,

There are several TPP files which contains parameter mainimp_proc. The TPP files are (I think) created when that phase starts, e.g. TABIMUPG.TPP is created when phase TABIM_UPG starts, and mainimp_proc has value of 2.

But where is this value of mainimp_proc get picked up so I can increase this value? The template TABIMUPG.TP0 does not have this parameter.

Noticed that other TPP file has different value, e.g. SHDUPGIMP1.TPP has 8.

Thanks,

Terry

Accepted Solutions (0)

Answers (2)

Answers (2)

tomas_black
Active Contributor
0 Kudos

Hello Terry and Michael,

the parameter mainimp_proc handles the number of R3trans processes in phases where a tp import takes place. To be more precise, "mainimp_proc defines the number of R3trans processes during the phase MAIN Import of a TP import command" - this is SAP's standard definition for this parameter. For example, to change the number of R3trans process during phase TABIM_UPG, you need to change the TP parameter profile ...\abap\bin\TABIMUPG.TPP.

The parameter mainimp_proc is set to 2 by SAP's default. You can freely increase the number up to 8 (maximum allowed). So, when the main import starts for the buffer during the phase TABIM_UPG (in our example), more R3trans work process will be generated. Just please take into account that the more R3trans processes there, more resources will be used on your system.

Best regards,

Tomas Black

Former Member
0 Kudos

Hi Thomas,

On your statement below

'You can freely increase the number up to 8 (maximum allowed). '

Do you mean we cannot specify more than 8?

We have done some testing with mainimp_proc = 8, and reduced som hours in the downtime.

The TABIMUPG.TPP is created after the phase start, so we have to start it, cancel it, then edit TPP and then resume the phase - not a very clean process.

Latest sapup is being tested and hoping it will add the mainimp_proc.

Thanks,

Terry

tomas_black
Active Contributor
0 Kudos

Hello Terry,

you cannot specify more than 8 parallel processes during any kind of packages import (Support Packages or Upgrade), this is the limit of SAP systems.

You said: "The TABIMUPG.TPP is created after the phase start, so we have to start it, cancel it, then edit TPP and then resume the phase - not a very clean process."

Yes, you should not modify this manually. Actually the number of parallel processes is specified during phase PREP_EXTENSION/INITSUBST. Example:

(...)

You need to supply information about the batch server and the number of

processes used.

(....)

Enter the maximum number of parallel processes during uptime:

MAXIMUM UPTIME PROCESSES: 4 <----


Enter the number of parallel import processes during downtime:

R3TRANS PROCESSES: 4 <----


(...)

I hope this information helps.

Best regards,

Tomas Black

Former Member
0 Kudos

Hello terry,

I have the exact same question.

Mike