Posts

Showing posts from May, 2015

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

Image
The 7.4x kernels allow you to trace the data that is being exchanged with SAP GUI for troubleshooting purposes. 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

Image
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. If you want to add/modify an exchange profile parameter, you have to do it from NWA using the following steps: Go to http://<server>:<port>/nwa/sys-config (http://<server>:<port>/nwa > Configuration > Infrastructure > Java System Properties) Choose Services tab Search for "XPI Service: AII Config Service" and select it 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

Image
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. 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 Download the latest host agent SAR file. Do not extract it yet. 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 e...

MDM Configuration Assistant Tool

Image
MDM Configuration Assistant is a standalone tool to help check typos, sub-optimal parameter values, duplicate parameters, missing mandatory parameters, relevance of the parameters within the sections, dependencies within the parameters, inconsistent and incorrect settings. MDM Configuration Assistant tool provides the following configuration options: Assistance with configuring MDM correctly so that you can connect your Master Data Server (MDS) to a DB server Assistance with validating and managing the configuration settings of the INI files (mds.ini, mdis.ini and mdss.ini) of your MDM server Prerequisites To run  Configuration Validation to Enable MDS Connection to DBMS option, MDM should be at MDM 7.1 SP03 or higher. Start MDM at least once so that the INI files are initialized. To run  Configuration Validation and Management of MDM Configuration Files option, MDM should be at MDM 7.1 SP06 or higher. JVM 6.1 or higher Downloading and Running the...

How to make the speaker icon on Google Chrome function as mute button

Image
Enter "chrome://flags/#enable-tab-audio-muting" into a tab, hit enter and click on enable.\ For the flag change to reflect, restart Chrome. Now the speaker icon functions as mute/unmute button

Getting your Grooveshark playlist from Chrome and Firefox

Image
Grooveshark has been shut down. If you have opened Grooveshark with chrome and your local cache intact, you can retrieve your playlist from chrome's local storage. Go to grooveshark.com in chrome (haven't tried in other browsers) Open "Developer Tools" (CTRL+SHIFT+I) Click on "Resources" Tab Expand "Local Storage" tree Click on " http://grooveshark.com " Find the key that looks something like "Library32467954" (some 7+ digit number) Look at its "value" (it's a JSON string). You should see something like this "{"lastModified":.....blah blah some artist name... Right-Click on that cell, click "Edit Value", then hit CTRL+C (Copy) Paste the contents of your clipboard into the window @  https://json-csv.com/ Download the resulting .CSV file in Open Office or Excel Firefox users can run the following in the console (Ctrl+shift+k) to try and retrieve the information: for (...

Resetting SAP Upgrade

Image
While SAP upgrade is in the preparation phases, SUM tool offers an option to reset the work done by SUM tool from the menu option: Update > Reset update This is the recommended method of resetting the upgrade. If the upgrade was not properly reset from a previous attempt. The subsequent run can fail at the step PREP_INIT/VALCHK_INI with error similar to the following: SAPup broke during phase VALCHK_INI in module PREP_INIT / Initialization Error Message: SAP_ABA is in an undefined state, that is not safe to be upgraded, reason Upgrade wasn't completed - Call the SAP Support This example shows SAP_ABA component, it could be any component(s) that may be in undefined state. If you encounter this problem, you have the following two choices: 1. Reset from command prompt by executing SAPup with reset prepare option cd <upgrade directory>/abap/bin ./SAPup reset prepare 2. Run the report  RSUPGRES as DDIC user from 000 client The repor...