SAP NetWeaver Newbie

A new design

I have spent this weekend getting to know how to build my own template from the scratch and try to provide a better user experience on this blog. I think I have met my goal to an extent. The credit goes to blackout on reddit and hammering of its alternatives' servers.

I am also working on a sitemap to help my readers find other relevant stuff on this blog. I have to sift through all my posts yet to complete this sitemap. This is the first step. There will be a second sitemap to help navigate through non-SAP stuff on my blog.

If I can figure out a better way to provide relevant posts on the blog post itself, I will add that feature. I used to use nRelate, which is now discontinued. If you know of a service other than linkwithin, please leave a comment!

If you think your colleagues/followers/friends (usually the same) would like this blog, please mention us on Facebook, Twitter, LinkedIn or Google Plus! You don't want to do that? :-( Take this quiz to test your Basis knowledge and compare with your colleagues/followers/friends (usually the same :-) )

Waterfox - 64 bit version of Firefox

Firefox Nightly builds are also 64 bit, but Waterfox is generally more stable.

Waterfox browser - 64 bit variant of Firefox


Waterfox is a high performance browser based on the Mozilla platform. Made specifically for 64-Bit systems. It is compiled in Intel's C++ Compiler. ICC is known to generally produce faster code than other compilers, at least on Intel's own CPUs. It makes use of newer CPU features that allow fewer instructions to manipulate more data at once. It uses Jemalloc - a more scalable memory allocation library than most. The compiler uses profile-guided optimizations, which means that it generates an instrumented build that measures where CPU time is being expended during real world use, and uses this to tune the optimizer in a second compilation pass.

Because it's 64-bit, you are able to use more of your computer's memory for web browsing. You'll notice the difference when you have a lot of tabs open.

Not all the plugins work with Waterfox though.


Writing SAP GUI data into the developer trace of the AS ABAP

The 7.4x kernels allow you to trace the data that is being exchanged with SAP GUI for troubleshooting purposes.

Writing SAP GUI data into the developer trace of the AS ABAP

The tracing of SAP GUI data can be enabled via the dynamic profile parameter rdisp/sapgui_data_trace.

The following values are supported:
0: do not trace any SAP GUI data.
1: trace SAP GUI data in case of errors only.
2: trace received SAP GUI data in processes with trace level set to 2 or 3.
3: trace sent and received SAP GUI data in processes with trace level set to 2 or 3. Also trace the received data before SNC decryption and decompression in the work process.

No Exchange Profile in a JAVA-Only PI System

In a JAVA-only PI system (AEX or PO), the exchange profile URL http://<server>:<port>/exchangeProfile will be a blank screen as it is obsolete.

No Exchange Profile in a JAVA-Only PI System


If you want to add/modify an exchange profile parameter, you have to do it from NWA using the following steps:
  1. Go to http://<server>:<port>/nwa/sys-config (http://<server>:<port>/nwa > Configuration > Infrastructure > Java System Properties)
  2. Choose Services tab
  3. Search for "XPI Service: AII Config Service" and select it
  4. In Properties tab, search for the property to be changed or added. If the property exists, select the property, click on Modify, perform the changes and click on Save. If the property does not exist, click on Add, inform the value and click on Save.

Automatic Upgrade of SAP Host Agent

Upgrading the SAP Host Agent by extracting the SAR file in each server and executing ./saphostexec -upgrade command is tedious in case of a large landscape.

This bike won't update automatically like sap hostagent


You can use the DIR_TRANS folder which is network shared across all the systems in the landscape and the auto upgrade feature of SAP Host Agent to your advantage.

Add the following lines to the host_profile file:
hostexec/autoupgrade_delay=300
DIR_NEW = /usr/sap/trans/HOSTAGENT_UPDATE_FOLDER

In the above example case, the host agent checks the folder /usr/sap/trans/HOSTAGENT_UPDATE_FOLDER every 300 minutes (5 hours) to check if a newer version of host agent is available. You have to choose the upgrade delay and DIR_NEW values suitable to your environment.

When you want to upgrade the host agent

  1. Download the latest host agent SAR file. Do not extract it yet.
  2. Go to the folder specified in DIR_NEW and create a file .upgrading. The .upgrading file ensures that the host agent does not copy the files while the extraction is still going on.
  3. Extract the host agent SAR file to DIR_NEW
  4. Remove .upgrading file.


Accessing network shared DIR_NEW simultaneously on a very large system can be problematic. You can avoid a bottleneck by all host agents trying to access DIR_NEW simultaneously by creating a .delay file as suggested here.

Email Subscription

Get every new post into your inbox by subscribing us.

Want a reason to subscribe?
1. This sitemap might convince you to subscribe.
2. We do not misuse email IDs. We respect privacy.

© 2015 sapnwnewbie. All rights reserved.