Setup Guide Extract
Setup Guide Extract
Code Extraction
Tool
Setup Guide
Version: 4.10
Panaya Code Extraction Tool Setup Guide February 2011
Table of Contents
Introduction.......................................................................................................................3
Getting Support .................................................................................................................3
Prerequisites ......................................................................................................................3
Setup Procedure ................................................................................................................3
Step 1 – Download and Install Panaya Code Extraction Tool ..............................4
Step 2 – Defining RFC Connection to Production System ...................................7
Step 3 – Extracting the Custom Code and Usage Data ......................................10
Step 4 – Uploading Results to Panaya Web site .................................................12
What Happens Now? ......................................................................................................14
Appendix A – How to Install ABAP program ................................................................15
Frequently Asked Questions…………………………………………………………...16
Important Notice
2
Panaya Code Extraction Tool Setup Guide February 2011
Introduction
Panaya solution requires an installation of software component on your SAP systems.
This software component performs the following tasks:
Extraction of custom developed ABAP code.
Identification and extraction of used transactions - finding out which
transactions are used in your production system.
Getting Support
The installation process was designed with simplicity and ease in mind. However if you
require assistance during the installation, please contact Panaya support at
[email protected]
Prerequisites
Before starting the installation process, make sure you have the following privileges:
1. Access to your SAP Development QA and Production system
2. User with development permissions allowed to:
o Display SAP standard program source code
o Creating and executing programs using RFC to Production system
(required RFC permissions described in Step 2)
o Running jobs
3. A Panaya user name and password.
4. Internet Explorer browser versions 6, 7 & 8.
Setup Procedure
The setup procedure consists of following steps:
1. Download and install Panaya code extraction tool from Panaya web site.
2. Execute the program on your SAP system.
3. Uploading the result (XML file) to Panaya web site.
3
Panaya Code Extraction Tool Setup Guide February 2011
The code extraction tool reads the repository objects locally and extracts customer
developed objects from the system it runs on. The program also uses an RFC
connection to extract current usage statistics from the production system.
Panaya analysis is based on custom objects extracted from your system. Because we are
extracting the custom developed objects only from one instance. In most cases, there
are differences between objects in the development system and the production system.
Please choose the system that is best representing your needs for analysis.
Should you require assistance defining from which system in your landscape you
should extract the custom code, our support team will be happy to any questions you
may have. Please contact our support team at: [email protected]
4
Panaya Code Extraction Tool Setup Guide February 2011
4. From the Select System dropdown list, select the desired system.
5
Panaya Code Extraction Tool Setup Guide February 2011
6. Choose the appropriate source code by pressing on the radio button beside the
SAP version currently implemented. Notice it takes time for the ABAP code to
get populated before you copy it to your clipboard.
Use the busy mouse cursor as an indication to when the code had finished its
population.
7. Select the source code presented in the screen to your SAP system and press the
Copy to Clipboard button.
8. Save it under a new program name ZPANAYA_EXTRACT_PROG_LIB as
executable program.
9. Save the program in a change request, should you need to execute it on other
systems like QA or Production.
6
Panaya Code Extraction Tool Setup Guide February 2011
You should always use RFC connection when running Panay‟s code extraction tool,
even if you choose to execute the program directly on your Production system.
Field Value
RFC Destination PANAYA_PRD
Connection Type 3 (ABAP connection)
Description 1 PANAYA_PRD
Field Value
Target Host Type your PRD system host
name or number
System Number Your PRD system number
7
Panaya Code Extraction Tool Setup Guide February 2011
5. Under the Logon & Security setting tab, fill the following values:
Field Value
Language English (EN)
Client PRD client number
User & Password System user name and
password
Important Note: When running Panaya‟s code extraction tool, there may be cases
in which the user you choose for the RFC connection will not have all the required
permissions to extract the necessary data.
8
Panaya Code Extraction Tool Setup Guide February 2011
9
Panaya Code Extraction Tool Setup Guide February 2011
1. Login to the system you choose to run Panaya‟s code extraction tool.
2. Start transaction SE38.
3. Type the program name ZPANAYA_EXTRACT_PROG_LIB and press the
execute button (F8).
4. In the selection screen, choose the Foreground option (automatically marked).
5. Open the file path screen and select the destination on the client
machine in which the custom code file will be saved.
6. The suffix of the file needs to be „.xml‟.
7. Choose the RFC ‘PANAYA_PRD’ that was defined in step 2.
8. The period for extracting the usage transaction data is automatically defined
inside the program and will extract one year back (if the data exist in the
production system).
9. Leave the “Usage Only” check box unchecked.
10. Run the program by pressing the execute button (F8).
Please note:
1. The program normally runs between 45 minutes to two hours, depending
on the extent of custom objects developed in your system.
01
Panaya Code Extraction Tool Setup Guide February 2011
1. Define the directory, in which the file will be saved. Prepare 3GB
of free space.
2. Press the Background option in the selection screen.
3. Enter the directory path.
4. Choose from the menu: Program execute in background…and create
immediate job (you can review the job processed in SM37)
By using the “Usage only” mode, the program enables to extract ONLY usage statistics
data without extracting other custom developed objects. For extracting only usage date,
the program can be executed on any of the existing SAP systems in the landscape but
always require an RFC connection to the system were the require data exists (Normally
the Production system).
This process should be performed by special request and not as regular code extraction
process. For any questions you may have, please contact Panaya support at:
[email protected]
00
Panaya Code Extraction Tool Setup Guide February 2011
Important note: all information you upload to Panaya via its web site is encrypted
using SSL technology. More information about Panaya security can found at
http://www.panayainc.com/Products-Technology/Security-Privacy.html
1. Compress the file that you saved from step 3 into a Zip archive file (please use
standard ZIP format and not any other formats).
2. Enter your account at Panaya web site at https://my.panayainc.com
3. Click on the System Setup tab.
4. From the Select System dropdown list, select the desired system.
02
Panaya Code Extraction Tool Setup Guide February 2011
6. The Upload Custom Code File screen displays table with lists of projects.
03
Panaya Code Extraction Tool Setup Guide February 2011
The left column displays the currently active projects that will be affected by the
custom code to be uploaded. The right column displays the projects that will not
be affected.
Make sure to consult the project managers that their projects are potentially
affected before you upload the code extraction results.
7. In the upload page, press the „Browse’ button and select the Zipped file that you
created for the custom code.
8. Click the „Continue’ button.
The upload process takes time to complete and is transferred to Panaya through
FTP.
For any questions or problems please contact our support team at:
[email protected]
04
Panaya Code Extraction Tool Setup Guide February 2011
05
Panaya Code Extraction Tool Setup Guide February 2011
06
Panaya Code Extraction Tool Setup Guide February 2011
5. Question: When logging in to Panaya, I receive the error message “Your account is
locked.” How do I unlock it?
Answer: You can unlock your account and reset the password by clicking on the
link on the login page: “Account Locked/Reset Password.”
This should open a new screen. Insert your valid e-mail address (that you used
when registering at Panaya) and confirm. Within a few minutes you should receive
an e-mail with instructions. Follow them carefully.
8. Question: What should I check before uploading the code extraction results to
Panaya?
Answer: Open the generated XML file and verify that:
The file has a header, starting with:
<?xml version="1.0" encoding="UTF-8"?>
<ROOT_ELEMENT>
That the file has a suffix:
</ETL_MESSAGES>
</ROOT_ELEMENT>
Zip the file using a standard zip program (make sure this is not RAR or
7-zip). Do not protect the zipped file with a password and do not zip it
more than once.
Be sure to wait for the upload to finish and indicate an upload ID.
07