cancel
Showing results for 
Search instead for 
Did you mean: 

NW2004 ABAP: Compiling of SAP programs

Former Member
0 Kudos

Hi,

does anybody know how to avoid the time consuming compilation of SAP standard programs when working with NW2004 ABAP?

Example:

I installed NW2004 ABAB Version on my PC.

I can logon to the system and work with it.

When I call a transaction e. g. SE37 the

system starts to compile. This compilation is quite

time consuming.

When I call the same transaction again it is started

without compiling.

That is the standard system behaviour which is fine to me.

Then I logoff and shutdown the sap system using SAP System Management Console.

Then I start the sap system again using SAP System Management Console.

Then I logon to the sap system.

Then I call transaction SE37 and it starts to compile!!!

It seems to me that the runtime version of the

sap programs are not saved in the database.

Everytime I stop and start the SAP System the

programs relvant for a transaction are compiled again.

I extended the space of the database already from 9GB to

18 GB (2 Volumes).

I also run transaction SGEN to compile all programs.

It took 20 hours (the database is filled by 60% now)

but SGEN did not help.

The problem remains the same:

When I start the system and logon the compilation

takes place.

Is there a way to avoid the compilation of programs which

have not been changed since the last compilation?

Thanks for your help

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Matthias:

Did you try updating the Kernel to a newer version; I face a similar problem and the solution I found was to upgrade the kernel. The old kernel had a bug and always marked the compiled programs as invalid. You can see if this is your case in Tx SM21, look for messages like "Invalid Load Format for <program name>"

Hope this helps!

Best Regards,

Federico G. Babelis

NetWeaver Certified Consultant

GAZUM Technologies S.A.

Consulting Services and Software Solutions

http://www.gazum.com

...download FREE Marketplace Manager at: http://www.gazum.com/products

Answers (2)

Answers (2)

Former Member
0 Kudos

The kernel replacement is mostly similar in any Intel platform, depending on the OS/DB combination, you will need to download the correct binaries.

Then you should go to directory /usr/sap/<SID>/SYS/EXE/run and replace the existing files the new ones.

Always make a backup copy of your old kernel files.

What combination are you currently running on ?

Regards,

Federico

Former Member
0 Kudos

Hi Frederico,

thank you for the hint regarding the kernel upgrade.

Could you tell me how to upgrade a kernel?

Is a description of the required steps available (e. g. pdf file)?

Thank you for your help

Matthias

Former Member
0 Kudos

Go to service.sap.com/swdc --> Download --> Support Packages and Patches --> SAP NetWeaver --> SAP NETWEAVER --> SAP NETWEAVER 04 --> Entry by Component --> Application Server ABAP and download the latest kerner according to your OS. You need to download Database dependet file and #database independet file (eg. sapexedb and sapexe kernel part 1 and 2). uncar these files using sapcar -xvf <filenale> . make a copy of your ../exe/run directory. then overwrite run directory with the new files.

You need to stop sap before applying patches. you can also check this link

http://www.sap-img.com/bc019.htm

Thanks

Prince Jose