Posts

Showing posts from March, 2011

Remove Import All Icon

Image
We have an option to remove the Import All icon from STMS. Call transaction STMS Go to Overview --> System Choose SAP system and ‘Transport Tool’ tab Create parameter ‘no_import_all’ and set to 1  Save the changes

Set Dependency on Transport Requests

Image
You can set dependencies among transport requests to ensure a request is not imported unless its pre-requisite request is imported first. To set dependency Call transaction SE09 --> Display Requests Select a request Goto --> Dependency information Add new Select a transport request

RNIF 2.0 Outbound Message Doesn't Show Adapter Details

Image
If you try to open the Adapter Details tab for an RNIF 2.0 Outbound message in RWB, you'll see this error: Error when displaying the page. Contact your system administrator. Technical Help: Unable to display details for RNIF outbound message. This is not really an error. No need to contact the administrator. For some reason, Adapter Details information is not supported by SAP for RNIF 2.0 Outbound messages. You will not see this when opening RNIF 1.1 message.

Attaching a File to JPG File

Image
Here is a neat trick to embed a file to am image: Gather your image and the files you wish to put into it.  I have a sapnwnewbie.txt which which I will attach to secret.jpg Add the files you want to hide into a new RAR archive Open Command Prompt Go to the folder where your files are located. Type 'copy /b secret.jpg + sapnwnewbie.rar sapnwnewbie.jpg' where secret.jpg is the original picture, sapnwnewbie.rar is the file to be hidden, and sapnwnewbie.jpg is the file which contains both. Now try opening the file with Picture Viewer and then with WinRAR. Here is the image file with an embedded file.

HTTP 401 Unauthorized Error

If you are sure that the user name and password are correct and the behaviour is different from what is explained in our older post  Message Fails With 401 Error; Gets Processed On Second Attempt , see if the Communication Channel connects to a Windows OS based Web Service with a domain user.  If so, you should be using <Domain_Name>\ <User_Name > in the CC configuration.

Base64 Encoded Image

Image
I have learnt something new about Base64 encoded images. You can take an image and encode it here . Pretty cool way to have base64 encoded images embedded in html instead of using an image host to upload your images. Right-click and copy the image URL to get the code for this image.

Frequently used AIX commands by Basis admin

Frequently used AIX commands by Basis admin Command Info nslookup hostname from ip address :%s/XID/XIQ/g search and replace in vi editor uname -a OS Level ps -mp -o THREAD Thread level details of jlaunch process topas Reports selected local system statistics. df -Ig Display used, free and available space in absolutes lsps -a Checking Swap Space lscfg -v | grep proc Number of processors netstat -an To view the details of ports in use find / -name "filename.ext" -type f -print Find matching file names find . -name "file_name" -print -exec grep -l "pattern" {} \; Search for a pattern in all files with a given name and display the ones that match ps -fp Process details by PID find . -mtime -7 -type f -size +2000K Find file modified in a week and larger than 2 MB uptime bootinfo -K 64/32 bit os cp -p preserves the modification time prtconf | more print system info ln -s file link soft link

Copy by Selecting Text in SAP GUI

Image
Selecting text, copying and then pasting is not the smart way of copy-pasting. If you have used PuTTY any time, you may have noticed that the action of selecting text, copies the selected text into the clipboard. All you need to do is a right click to paste it back in PuTTY. Similar functionality exists in SAP GUI, which may not be activated by default. You can activate it by selecting the following option: Select "Quick Cut and Paste" option from GUI to enable the option.

ALRTPROC Transaction To Process XI Alerts

Image
When you have an unscheduled java node restart at peak load time, you'll be bombarded with alerts for failed messages. A heads up is all that is needed and few alerts would have done the job for you to let you know that some thing is wrong with the node. You'll have to spend a lot of time confirming the alerts from RWB and it is a pain to confirm a huge number of them with no multiple selection option available. You can run the transaction ALRTPROC to process these alerts.  

Avoid XI Message Failures and 503 Errors on Node Restart

XI messages fail when there are unplanned J2EE server node restarts. You can reduce the number of such failed messages by delaying the start up of JCo RFC provider to start after the applications are up. WaitForAppsStart property has to be set on JCo RFC Provider service to use this feature. You can change this proprty using Config Tool --> services --> rfcengine. You may have to create the property if it is not already existing and set it to true. Check SAP Note 1444430 to confirm if this property is supported at the SP level you are running the XI application on. The HTTP service is delayed automatically to start after the node is at Running status for releases 7.1 and above. If you are using a release lower than 7.1, you can configure the delay manually with the property DelayedServerNodeRegistration of the HTTP Provider Service on the Dispatcher. Be aware that delaying HTTP service may cause SLD registration problems, which need to be dealt with manually. ...