Executing Remote Static Checks in Context of HANA Migration

Similar documents
SAP Certified Technology Associate - System Administration (SAP HANA) with SAP NetWeaver 7.5

1. You want to update a productive SAP HANA system to the next support package stack (SPS).

Automated Java System Post-Copy Configuration Using SAP Landscape Management 3.0, Enterprise Edition

How-To Guide SAP NetWeaver Document Version: How To... Configure CM Services in SAP NetWeaver 7.3 and up

SAP Certified Technology Associate - System Administration (SAP HANA as a database) with SAP NetWeaver 7.4

Easy Lookup in Process Integration 7.1

Question 1: what is the Security Optimization Self Service and how can it benefit my organization?

COURSE LISTING. Courses Listed. with HANA Programming. 13 February 2018 (04:51 GMT) HA100 - SAP HANA

Trigger-Based Data Replication Using SAP Landscape Transformation Replication Server

Implementation Guide for Data Volume Management Workcenter (DVM WoC) on Solman 7.1

COURSE LISTING. Courses Listed. Training for Database & Technology with Development in ABAP Dialog Programming. Beginner. Intermediate.

SAP Landscape Transformation for SAP HANA (HA1)

E_HANAAW_12. SAP ABAP for HANA Certification Questions & Answers. E_HANAAW_12

What's New in SAP Landscape Transformation Replication Server 2.0 SP13

SAP NetWeaver How-To Guide How To... Configure SAP HANA for CTS

SAP HANA ADMINISTRATION

SAP Security anno Tim Lynen, Manager axl & trax 2017

Business Process Monitoring for non-abap/non-sap

SDN Community Contribution

SAP NETWEAVER - TRANSPORT MANAGEMENT

Emergency Monitoring for SAP Solution Manager SAP Solution Manager 7.1 SP14 or 7.20 SP01 and higher

SAP Landscape Transformation Replication Server

HA400 ABAP Programming for SAP HANA

Authorizations for Cross-Database Comparison (CDC)

SAP Landscape Transformation Replication Server

Configuring Job Monitoring in SAP Solution Manager 7.2

How to get the most out of BW 7.30 on HANA with Analysis Office 1.3? Tobias Kaufmann/Customer Solution Adoption

SCENARIOS. Docu Performer for SAP Version 15

Universal Worklist - Delta Pull Configuration

Vendor: SAP. Exam Code: C_HANATEC131. Exam Name: SAP Certified Technology Associate (Edition 2013) -SAP HANA. Version: Demo

SAP NETWEAVER - INSTALLATION OPTIONS

HA400 ABAP Programming for SAP HANA

COURSE LISTING. Courses Listed. Training for Database & Technology with Technologieberater in Associate with Database. Last updated on: 28 Sep 2018

Change and Transport Management

SAP EDUCATION SAMPLE QUESTIONS: Questions. 1. Which of the following are characteristics of an external view?

How to Add a Web Dynpro App to Fiori Launchpad Step-by-Step

SAP Security in a Hybrid World. Kiran Kola

How To Create FPM Application consuming CDS view using ACT

SAP Landscape Transformation Replication Server

Qlik Connector for SAP Installation guide

SAP EDUCATION SAMPLE QUESTIONS: C_TAW12_750. Questions. 1. You need to perform a downcast. What should you do?

The Test Workbench in the SAP System (BC-CAT-PLN)

COURSE LISTING. Courses Listed. with ABAP Dialog Programming. 25 December 2017 (08:57 GMT) NW001 - SAP NetWeaver - Overview

Planning Applications Kit - In Memory Planning in Action. Dr. Gerd Schöffl / CSA Technology

SAP S&OP 3.0 SP4 Installation and Upgrade Guide

SAP Landscape Transformation Replication Server

Importing Merit Calendar to Outlook 2010

SAP ABAP Training Course Content :

VMware vrealize Operations for Horizon Installation

SAP Test Data Migration Server

MDM Syndicator: Custom Items Tab

HABS1 Business Suite on HANA

SAP Note Business Planning & Consolidation 10.0 NW SP10 Central Note

Installing and Updating SAP HANA Products and Software Components

SAP- HANA ADMIN. SAP HANA Landscape SAP HANA components, editions scenarios and guides

SAP Landscape Transformation Replication Server

CCC ONE Workflow Appraiser Management Using IE10 or Higher

BW Workspaces Data Cleansing during Flat File Upload

MDM Syndication and Importing Configurations and Automation

SAP EDUCATION SAMPLE QUESTIONS: C_TADM50_75. Questions. 1. When is a savepoint triggered for SAP Max DB by default?

VMware vrealize Operations for Horizon Installation. VMware vrealize Operations for Horizon 6.5

VMware Adapter for SAP Landscape Management - Release Note VMware Adapter for SAP Landscape Management

Database Migration Option: Target Database SAP ASE

ABAP Platform 7.4/7.5 Overview. Technology Core Platform Product Management, SAP SE March 22 th, 2017

The New ABAP Debugger

VMware vrealize Operations for Horizon Installation. VMware vrealize Operations for Horizon 6.3

How to Create Business Graphics in Web Dynpro for ABAP

Mobile Application Workbench. SAP Mobile Platform 3.0 SP02

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

SDN Community Contribution

Installation Description. OrgPublisher for SAP solutions: OrgPublisher SAP Interface Version 7.0

SAP BusinessObjects Profitability and Cost Management Upgrade Guide

UI Changes for SAP Portfolio and Project Management Depending on NW Release

1. What is used by the extension application to get access to the extended SAP solution?

POWL: Infoset Generation with Web Dynpro ABAP

Code Inspector User Manual

Certification Suite BC-ILM 3.0

Upgrade an Application Using CloudCenter

Interface Documentation in SAP Solution Manager 7.2 Setup and End User Guide. Document Version 1.0 (January 2017)

IQSweb Installation Instructions Version 5.0

Installation Guide 1.0 SP06 SAP Workplaces for Insurance 1.0 SP06 THE BEST RUN. INSTALLATION GUIDE PUBLIC Document Version: 1.

BW350H. SAP BW Powered by SAP HANA - Data Acquisition COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Virto Office 365 Bulk File Upload for Microsoft SharePoint Online Release User and Installation Guide

Configure Principal Propagation using Logon tickets in Net weaver Process Integration 7.1

Preface 7. 1 Introduction to OpenUI5 9

Manual Post-Implementation Steps for SAP Note System Copy: Task Content (1. Improvements)

SAP HANA SPS 08 - What s New? SAP HANA Application Lifecycle Management (Delta from SPS 07 to SPS 08) SAP HANA Product Management June, 2014

Software and Delivery Requirements

Filr 3.3 Desktop Application Guide for Linux. December 2017

Interface Documentation in SAP Solution Manager 7.2 Setup and End User Guide (Support Package 05)

SAP EDUCATION SAMPLE QUESTIONS: C_TAW12_740. Questions. 1. You need to perform a downcast. What should you do?

SAP Single Sign-On 2.0 Overview Presentation

How to Setup Notifications in Fiori 2.0 Step-by-Step

StreamServe Persuasion SP5 StreamServe Connect for SAP - Business Processes

Installation Guide Worksoft Certify

S_P00_ Create 1099-G W/H Tax Report for Revenue Bureau

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

Security Guide. Trigger-Based Data Replication Using SAP Landscape Transformation Replication Server. For SAP HANA Platform 2.

Generate Export Data Source

A Step-by-Step Guide on Asynchronous RFC - to -JDBC Scenario Using SAP PI 7.0

Transcription:

Executing Remote Static Checks in Context of HANA Migration NOTE This topic does not address the common usage of remote static checks in the Code Inspector. It focuses rather on static checks that are relevant in the context of HANA migration. Usage Scenario Let s imagine that you, as an SAP customer, are faced with the following situation: Within your system landscape, you have access to an SAP system with SAP NetWeaver Release 7.40, SP8 (or higher). You also have older systems (7.00, 7.01, 7.02 or 7.31) with their own custom code base. An upgrade of these systems is not planned so far. However, you would like to execute the latest static checks for your custom code and thus benefit from recent check variants in the Code Inspector tool. For this type of scenario, the remote static check might be a best solution for you. SAP Customer Source System (SAP NW 7.00) Test System (>= SAP NW 7.40, SP8 ) RFC A Code Inspector (SCI) Remote Object Z* code Code Information Extract Download Upload B Local PC Zip File(s) Figure: Executing remote static checks

The figure above outlines the components involved and the activities required for the execution of static code inspections based on the current check variants within a test system (AS ABAP 740, SP8 or higher). The source system (AS ABAP 7.00, 7.01, 7.02, or 7.31) includes the custom code (ABAP programs or other development objects) to be checked. The corresponding program data is extracted by means of an extractor utility (ABAP program) from the system and made available, either directly through RFC (A), or by means of a download to your local machine as a set of zip files (B). For the second use case (B), the remote custom code is available as a code information extract in the test system with the help of an upload utility. In the Code Inspector of the test system, the new object set is finally created in the form of a remote object. Target Audience AS ABAP system administrators ABAP developers Prerequisites To perform the download or upload of a code information extract, the display authorization profile for object S_DEVELOP (activity: 03) in the corresponding SAP systems is required as a minimum. You have executed the correction instructions according to SAP NOTE 2011106 (SAP note for importing the extractor for execution of static checks in remote system). If you decide to use the RFC option for the data export, the communication using RFC is set up correctly (RFC destination for the test system and the users for RFC communications are created). Developer-Relevant Activities a. Preparing data export from the source system b. Downloading data from the source system Non-RFC option c. Uploading data into the test system Non-RFC option d. Executing checks in the test system e. Deleting data Preparing Data Export from the Source System Procedure 1. To initialize the code extractor in your source system (7.00-7.31), execute the ABAP program RS_ABAP_INIT_ANALYSIS.

Figure: Initializing the code extractor in the source system 2. In the initial screen that appears, leave the predefined entries unchanged and choose the Execute icon or press F8. The ABAP program creates several database tables that are required to store the code extract information. 3. In your source system (7.00-7.31), launch the Code Inspector using the transaction SCI. 4. Create a new object set (programs and other development objects) that comprises the custom code to be checked. See also: Creating and Processing a Set of Objects 5. Create a new check variant. See also: Creating and Processing a Check Variant a. From the list of available checks, select the Export of Program Information check. b. Enter a value for the call level. REMEMBER: Using the call level parameter, you specify the procedure call depth of a program. With the value = 0, for example, you specify that no calls (call method, call function,..) within the program will be considered by the check. With the value = 1, you specify that called programs, too, will be considered by the check. You can derive the appropriate call level value from the maximum level specified by the individual checks in the test system. In particular, the check variant PERFORMANCE_DB contains one SQL performance check with level = 3. Therefore, we recommend value = 3 for the call level when using the PERFORMANCE_DB check variant. Otherwise, you might be faced with a huge number of messages after the check run in the test system that inform you that required data is missing. When using the check variant FUNCTIONAL_DB, we recommend value = 2 for the call level. As an alternative to downloading to a local file, you can use the Export via RFC option. This enables you to analyze data that is exported, using RFC, into the system that is specified by use of an RFC destination.

Figure: Specifying a check variant when using the file download option for data export Figure: Specifying a check variant when using the RFC option for data export 6. Create a new inspection and assign the object set and the check variant created in the steps above. See also: Creating Code Inspections 7. Choose Execute or Execute...to execute the Code Inspector check for your object set and the check variant selected. Results The Code Inspector performs the inspection run, converts the source code of the selected ABAP programs into an appropriate format, and stores it in several database tables in the source system.

When the Export via RFC option is used, it also transfers the resulting code extract to the remote test system that you specified for the RFC destination. Downloading Data from the Source System This activity is not relevant for you if you use the RFC option for exporting the program information from the source into the test system. Prerequisites The program information has been successfully exported into the database tables for all programs or other development objects included in the object set. Procedure 8. In your source system (7.00-7.31), execute the ABAP program RS_ABAP_DOWNLOAD_ANALYSIS. 9. In the initial screen of the download program, enter the data for selection. Specify the same object set and the call level as before (see also: Preparing the Data Download from the Source System).

Figure: Running the download program 10. Choose Execute or press F8. 11. Select the download location for the zip file(s) to be generated. Results After you have accepted the statement for the disclaimer displayed on the final dialog window, the download program creates a new subfolder <Analyisis_SystemID_Date_Time> on your local drive. It contains one or multiple zip files that include the code information extract of all selected programs or other development objects. Uploading Data into the Test System This activity is not relevant for you if you use the RFC option for exporting the program information from the source into the test system. You will now upload the code information that is stored on your local drive as a set of zip files into the test system (7.40).

Prerequisites The program information for the relevant programs has been successfully downloaded to your local drive. Procedure 1. In your target system, execute the ABAP program RS_ABAP_UPLOAD_ANALYSIS. 2. Select all zip files from your download location and choose Open. Results The upload program imports the program information into the test system. Figure: The system informs you when the upload is completed You can now apply the latest Code Inspector checks to the program code that has originated from the remote system (7.00-7.31). Executing Checks in the Test System Prerequisites The code information extract from the remote source system has been successfully exported (RFC option) or uploaded into your test system. Procedure 1. In your test system, launch the Code Inspector (transaction SCI). 2. Create a new object set based on the code information extract from the remote source system. a. On the Object Set screen, click the Object Collectors tab. b. Use F4 value help for the Object Collector field.

Figure: Selecting the object collector Remote Objects c. In the next screen, click the Select Source Extract button. d. Select the relevant entry in the list that appears and choose Continue. Figure: Selecting the RFC extract when using the RFC option Note that for each individual source system, only a single entry for the RFC extract is created in the target system. For each subsequent export from the same source system using the RFC option, the additional program data is accumulated in the existing RFC extract. Figure: Selecting the remote object entry when using the upload option

e. In the next screen, leave the other filter settings unchanged and choose Execute or press F8 to create the object set. Figure: Remote Objects in the Code Inspector tool f. Use the object collector filter to specify the same object set you selected for export from the source system. See also: Preparing Data Export from the Source System Results Using this object set, you can now assign the check variant of your choice to the inspection and then execute the Code Inspector checks. See also: ABAP Test Cockpit and Code Inspector in the Context of HANA Migration

Figure: Executing static checks for remote custom ABAP code based on the check variant FUNCTIONAL_DB Deleting Data Assume that you have completed the analysis of your static checks. Both the extracted code information in your source system and the imported data in the test system are no longer needed and can now be deleted. In the source system (7.00), call the ABAP program RS_ABAP_DELETE_ANALYSIS to delete all data that you extracted for export or download as code information extract. In the test system (7.40), call the ABAP program RS_ABAP_DELETE_REMOTE_DATA to delete all data originating from the remote system.