SPDD & SPAU Adjustments Handbook



Similar documents
Working with SAP BI 7.0 Data Transfer Process (DTP)

Creating Content Using SO10 Objects and Text Symbols

Reverse Transport Mechanism in SAP BI

SAP FI - Automatic Payment Program (Configuration and Run)

How to Modify, Create and Delete Table Entries from SE16

Step by Step Procedure to Block and Debug a CIF Queue Flowing from R/3 to APO System

Understanding DSO (DataStore Object) Part 1: Standard DSO

Web Dynpro ABAP: ALV and Table in Popup Window

Step by Step Guide for Language Translation Tool

Display Options in Transaction SE16

Exposing RFC as Web Service and Consuming Web Service in Interactive Forms in ABAP

ABAP How To on SQL Trace Analysis

Deleting the Requests from the PSA and Change Log Tables in Business Intelligence

How to Load Data from Flat Files into BW PSA

Restricting Search Operators in any Search View

LSMW: Upload Master Data using Batch Input Recording

Web Dynpro: Multiple ALV Grids and Layouts in ALV

Multi Provider Creation Based on Sales and Planning Info Cubes

Business Scenario Using GP/Web Dynpro with Back and Forth 3 Level Process and Dynamic Approvers in a Loop

Different Types of Alerts for Process Chains. Table of Content

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

SAP BW Configuration Basic System Settings

ALE Settings, for Communication between a BW System and an SAP System

Extractor in R/3 and Delta Queue

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

Guidelines for Effective Data Migration

First step to Understand a Payroll Schema

Organizational Management- Organizational Structure Creation

Currency Conversion using Variables in SAP BI -Reporting

How to Assign Transport Request for Language Translation?

SDN Community Contribution

Deleting the User Personalization done on Enterprise Portal

Deploying Crystal Reports on Top of a SAP BI Query

How to Create an ecatt?

A Step-by-Step guide on SMTP Configuration and File to Mail Scenario Using Process Integration Scenario in PI 7.1

Creating Transaction and Screen Variants

Step by Step Guide to Archiving and Deleting of XML Messages in SAP NetWeaver PI

Step by Step Guide How to Copy Flat File from Other Application Server to BI and Load through Info Package

Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW

OpenIMS 4.2. Document Management Server. User manual

SAP CRM 7.0 for Newbies: (Part 1) Simple BOL Object Creation for CRM Webclient UI

How to Develop Programs for SAP Mobile RF

Quick Viewer: SAP Report Generating Tool

BW Performance Monitoring

Table of Content. SAP Query creation and transport Procedure in ECC6

SAP CRM-BW Adapter an Overview

SAP CRM Middleware Configurations

Configuration of Enterprise Services using SICF and SOA Manager

Query OLAP Cache Optimization in SAP BW

Job Streaming User Guide

Standard SAP Configuration of SMS through HTTP with Third Party SMS Gateway

Embedding Crystal Reports inside ECC ALV Reports

Using Blackboard ConnectTxt Outlook Add-in

Using Flow Control with the HEAD Recorder

SAP CRM Campaign Automation

Tutorial - Creating Pop Up Window Using New Features in WebDynpro Java CE 7.1 Ehp1

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

Order Split Usage in Production Orders

Integrating SAP CRM with the SAP R/3 HR module

Connecting to SAP BW with Microsoft Excel PivotTables and ODBO

PowerScheduler Load Process User Guide. PowerSchool Student Information System

A. BACK UP YOUR CURRENT DATA. QuickBooks Business Accounting Software for Windows Account Conversion Instructions

Windows XP Pro: Basics 1

Creating New Unit of Measure in SAP BW

Table of Contents. Manual for Core Staff - Equipment/Scheduling Core Facilities

BulkSMS Text Messenger Product Manual

Understanding BEx Query Designer: Part-2 Structures, Selections and Formulas

Solution Manager Service Desk an End-to-End Helpdesk Solution

ABAP Debugging Tips and Tricks

Table of Contents. Passing Data across Components through Component Controller between Two Value Nodes

Auditing UML Models. This booklet explains the Auditing feature of Enterprise Architect. Copyright Sparx Systems Pty Ltd

Data Extraction and Retraction in BPC-BI

JBCC Electronic Service Payment Certificate Application. User Documentation Guide

Starwood Careers Platform User Guide (2011)

Introduction to COPA and COPA Realignment

Online Scheduling Instructions

USER MANUAL (PRO-CURO LITE, PRO & ENT) [SUPPLIED FOR VERSION 3]

Overcoming Testing Challenges in SAP Upgrade Projects

Case Study of a Segregation of Duties Project

Content Author's Reference and Cookbook

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

PUBLIC Password Manager for SAP Single Sign-On Implementation Guide

Step by Step guide of Report-to- Report Interface in BW Reporting

Quantifying the Amount of Cash Discount Lost

Planning and Managing Projects with Microsoft Project Professional 2013

Vodafone PC SMS (Software version 4.7.1) User Manual

SAP CRM 7.0 E2C Setup: CRM via Toolset

PaymentNet Federal Card Solutions Cardholder FAQs

COMMONWEALTH OF PA OFFICE OF ADMINISTRATION. Human Resource Development Division. SAP LSO-AE Desk Guide 15 T H J A N U A R Y,

Data Flow from LBWQ/SMQ1 to RSA7 in ECC and Delta Extraction in BI

SAP Certified Development Professional - ABAP with SAP NetWeaver 7.0

Step By Step Process For Archiving

Step by Step Procedure to Create Broadcasters, to Schedule and to Enhance of SAP- BI Queries from Query Designer

PharmaSUG Paper QT26

Time Evaluation RPTIME00 Report Prerequisites, Process Flow and Storing results on Cluster B2

SAP BW - Excel Pivot Chart and Pivot Table report (Excel)

SAP CRM System 6.0/7.0. For more information, visit the Customer Relationship Management homepage

Invoice Collaboration: Self Billing Invoice

Message handling in SAP CRM Web UI

Web Application Designer for Beginners

Transcription:

SPDD & SPAU Adjustments Handbook Applies to: SAP Upgrades. For more information, visit the ABAP homepage. Summary Through this document the reader will be able to get a detailed idea about the working of the SPDD & SPAU Adjustments whenever the adjustment action required. Author: Ravi Kumar Munagala Company: Wipro Technologies Created on: 09 June 2009 Author Bio Munagala Ravi Kumar is presently working in Wipro Technologies as a Project Manager. He has experiences in ABAP, ALE/EDI/IDOC and XI. He has worked in different fields of and has handled various scenarios on SAP Upgrades and XI. 2009 SAP AG 1

Table of Contents An Introduction... 3 SPDD Adjustments for Data Dictionary... 4 SPAU Adjustments for Repository Objects... 8 Note Corrections... 9 Adjustment Category: With Modification Assistant.... 11 Adjustment Category: Without Modification Assistant... 15 Disclaimer and Liability Notice... 16 2009 SAP AG 2

An Introduction This document was created with a basic premise of providing a user manual for the ABAP developers involved with the SAP Upgrade projects, and help them out in executing the SPDD and SPAU transactions more smoothly and efficiently. During an upgrade or the import of a Support Package, existing objects of the SAP standard are overwritten with the objects redelivered. To help the customer retain the objects modified in a previous release, SAP provides all modified objects which are redelivered (in an upgrade or Support Package) in the upgrade adjustment of transactions SPDD and SPAU. These transactions allow customers to enter their modifications into the corresponding new objects being delivered at the time of upgrade. The Modification Assistant supports this process of adopting customer modifications. This document gives the directional steps to ABAP Developers for carrying out the SPDD and SPAU transactions, to help the customers in retaining the modifications they have performed to the SAP standard objects. Icon Meaning Automatic Adjustment possible. There were no overlaps between the new release SAP objects and customer modified SAP object. If you click on the green traffic light, the customer s modifications are adopted. If you do not wish to adopt the customer s modifications, choose the function Reset to Original under left click. Semi-Automatic Adjustment possible. There were overlaps between the new release SAP Objects and customer modified SAP objects. If the object is in the category With Modification Assistant, click on the yellow button and then appropriate dialog boxes will appear which will help us in adjusting the object. If this comes under the heading Without Modification Assistant and if the system offers no support in adjusting the object, we have to decide whether we need to keep the modification or reset to original If you have a red traffic light in front of an object, you can edit the object manually only, in the appropriate maintenance transaction of the ABAP Dictionary or using the Version Management function. We could ignore the deleted objects category mostly, unless it creates some issue in any other objects during the activation. For ex: if there is a data element which comes under the deleted object category and we are using that data element in any of our custom objects, activation errors will occur. In such cases, we need to create this data element again and have to activate our custom objects again This icon only appears in the Note Corrections category. If the dark/gray traffic light is displayed for note corrections, the associated correction instructions are obsolete. The correction is contained in the upgrade or in the imported Support Package. Unknown adjustment mode. The adjustment mode for this object could not be determined for modification adjustment with Modification Assistant Modification adjustment has not yet been completed by the first developer who edited the object. If required, a second developer must post edit the object 2009 SAP AG 3

Adjustment problem. You must solve these problems manually. Object adjusted successfully. After the adjustment taken place, the traffic light symbols are replaced with either green tick mark or stop sign SPDD Adjustments for Data Dictionary SPDD activities will be carried out during the upgrade phase when it prompts for, otherwise whatever customizations that we have done will be lost. Using SPDD, we can adjust Domains, Data elements, Tables, Structures, Transparent tables, indexes of transparent tables, pooled and customer tables including their technical settings. After the SPDD adjustment, system may display the Dictionary objects in transaction SPAU in the sub tree Without Modification Assistant. The objects themselves are not modified during this process. The system only deletes the log entry. Go to transaction SPDD and execute it after checking the relevant checkboxes. You will get the screen more or less similar to the below one depending upon the objects that are available in your system for adjustment. As you could see from the below screen shot, you will get objects with traffic light icon on its side. The highlighted color of the traffic light indicates the status of the object. If it is in green color, it means an automatic adjustment is possible. This means that, there are no overlaps between the delivered SAP objects and the customer modifications. In this case; clicking on the icon causes the system to automatically adjust the object and the customer modifications are adopted. A green tick in front of the object confirms this. A yellow traffic light next to the object means a semi automatic adjustment is possible which means there are overlaps between the version delivered by SAP and the customer modifications. If this is in the category With Modification Assistant, click on the yellow button and then appropriate dialog boxes will appear which will help us in adjusting the object. If this comes under the heading Without Modification Assistant and if the system offers no support in adjusting the object, we have to decide whether we need to keep the modification or reset to original. If we want to keep the modification, use the version management to retrieve the needed version. If it is in red color, the system cannot adjust it automatically and we need to do edit the object manually in the appropriate maintenance transaction of the ABAP dictionary or using the Version Management function. We could ignore the deleted objects category mostly, unless it creates some issue in any other objects during the activation. For ex: if there is a data element which comes under the deleted object category and we are using that data element in any of our custom objects, activation errors will occur. In such cases, we need to create this data element again and have to activate our custom objects again. 2009 SAP AG 4

Figure 1 For all the objects that have been presented for the adjustment we need to perform some action on it. i.e either we have to retain the modification or reset it to original. By retaining the modification, we mean that, we want to keep the changes that we have made to the standard object and do not want to set it back to SAP standard. The other option is to set it to SAP standard. If we do not carry out any of these actions, the new SAP standard becomes active in our SAP System and our modifications are therefore overwritten. In a later upgrade, we will be prompted once again to adjust these modifications. It is therefore important that we perform one of the two actions to minimize the work involved in future upgrades. We could safely reset the objects to system standard, if the system comparison shows, there is no change. Please refer to the following screen shots for such a scenario. We could check the checkbox shown in Figure-3 once we have completed all the action and later confirm it in the subsequent step. Figure- 2 2009 SAP AG 5

Figure-3 Figure-4 For detailed information on adjusting these objects, please refer to the following SAP link. http://help.sap.com/saphelp_nw04/helpdata/en/c6/068d380be34e6ce10000009b38f842/content.htm http://help.sap.com/saphelp_46c/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm Note: It is advisable to store all the adjustments you are doing in one transport request. By this way, you could eliminate the problems arising out of dependencies of the various adjusted objects. After adjusting the SPDD objects, there are chances that you would get activation errors. In these cases, you need to solve those activation errors before proceeding further with the upgrade. Some of the common reasons for such activation errors are: Deleted objects being used in custom objects. Ex: You are using a domain X in your custom table and this X no longer exists in the system data dictionary. In this case, you need to create the domain again and activate it. Double fields because of append structure. During the adjustment phase, there would be occasions in which, the system would recommend an append structure to the already existing structure/table. When we accept such a proposal, there would be cases in which, the customer has already added a field to the table/structure which SAP is adding as a standard because of upgrade. Due to this, the table/structure contains the same field twice and hence activation errors occur. In these cases, we need to delete the duplicate field and activate the object again. 2009 SAP AG 6

Search Helps could not be activated. In these cases, check the table that you are using in the search helps. There are high chances that those tables are inactive/partially active. Sort those issues and then try to activate the search help. Apart from these errors, you will encounter several warnings as well. Among this, the most common one is about the Enhancement Category missing. Please refer the below screen shot (Figure- 5) Figure- 5 Though you could proceed with the warning, it is a good practice to correct these as well since these can create problems for both Unicode check enabled programs as well as for programs where there is no active Unicode check. In programs where there is no active Unicode check, enhancements to tables and structures can cause syntax and runtime errors during type checks and particularly in combination with deep structures. In programs where there is an active Unicode check, statements, operand checks, and accesses with an offset and length are problematic - for example, if numeric or deep components are inserted into a purely character-type structure and the structure thus loses its character- type nature. For any table/structure, you could assign an enhancement category using SE11. Go to Extras and then define the enhancement category. Depending on the structure definition, the radio buttons allowed in the dialog box are ready for input and choose the appropriate one. Figure- 6 The rules for defining the enhancement category result implicitly from the structure setup and the classification of the types used. These rules are as follows: If the object contains at least one numeric type or a substructure or component (field has a structure/table/view as its type) that can be enhanced numerically, the object can no longer be enhanced character-type, but is itself, at most, enhanceable character-type or numeric. If the object contains a deep component (string, reference, or table type), or it contains a substructure or component that is marked as enhanceable in any way, then the object itself is enhanceable. 2009 SAP AG 7

If the object does not contain any substructure or component that is marked as enhanceable, you can select cannot be enhanced. If the structure has not yet been enhanced, we can choose the category cannot be enhanced in any case. If we are creating new tables and structures in the ABAP Dictionary, the system proposes the category can be enhanced in any way as standard value for the classification of the enhancement options. If the developer chooses a more restrictive classification than can be enhanced in any way for a particular structure, then only the classification levels that adhere to the rules above are allowed. It is not possible to choose an enhancement option of a structure that is more restrictive than the classification resulting implicitly from the structure setup and from the classification of the types used. Therefore, only the allowed categories are proposed for selection in the maintenance user interface. If a structure depends on one or several other structures, the smallest category is chosen as implicit classification (in the order cannot be enhanced < can be enhanced and character-type < can be enhanced and character-type or numeric < can be enhanced in any way). This classification is greater than or less than the category in the other structures and also greater than or the same as the category that results from the actual setup in the original structure itself. SPAU Adjustments for Repository Objects SPAU transaction will identify any objects (repository objects), where the hot package is overwriting changes that we have made through OSS notes. We must check all objects identified in SPAU and decide whether we need to reapply the OSS note or reset the code to the original SAP Code. If, for instance, we are applying hot package XX SPAU identifies an object where you have applied an OSS note. We must check the OSS notes and see if SAP has fixed that note in this hot package. If the OSS note has been fixed in hot package XX, then we should reset the object to its original source code. This means that there is no repair flag set against this object again and it is now SAP standard code. SPAU transaction can be executed with in 14 days on completion of the upgrade. This means that if you are carrying out the SPAU activities during this period, system will not prompt you for the access key for the modification and hence we can edit the Repository objects without going for an SSCR Registration. Note: If somehow, we missed this 14 days period, the workaround is to raise a call with SAP and provide them access to our system and they will change the settings and will raise the time frame to do the SPAU activities. 2009 SAP AG 8

Go to transaction SPAU and execute it after checking the relevant checkboxes. You will get the screen more or less similar to the below screenshot (Figure-7) depending upon the objects that are available in your system for adjustment. Figure- 7 Note the Data Elements section colored in green color. This indicates that the adjustment activities for the Data Elements are completed. Note Corrections As explained before, SPAU transaction will list out a series of SAP notes under the heading Note corrections. From the list display, we could identify the OSS notes that the customer has implemented previously but has become obsolete now since it has been part of the upgrade pack. Please refer to the below screenshot (Figure- 8). All those that have been shown in grey traffic icon are the obsolete notes and you could click on it and reset it. After resetting it, the note would go away from the display. All those notes that have been displayed with the yellow traffic light are the ones for which, you need to do some action on it. Most of these notes needs to be implemented again or has to do some manual actions with respect to it. The system will guide you when you click on the yellow icon for the completion of this activity. Once the note has been successfully implemented, you could see a green check mark next to it. 2009 SAP AG 9

Figure- 8 In some cases, you could see a question mark beside the OSS note instead of a traffic light icon. This means that the system is not able to determine the adjustment mode for that object. In this case, clicking on the? would allow you to run a background process to calculate the status. Then proceed as per the outcome of it. Please refer Figure-9. Figure- 9 2009 SAP AG 10

Adjustment Category: With Modification Assistant. All the objects shown under this section have to be adjusted. This can be adjusted either automatically or in the individual ABAP workbench tools using either the relevant dialog boxes or the split editor. Just as mentioned in the SPDD section, a green traffic light near the object stands for automatic adjustment. Clicking on the icon causes the system to automatically adjust the object. Refer the below screen shot (Figure-10) Figure- 10 In the case of semiautomatic adjustment; that is in cases where you could see the yellow traffic light icon near the repository object, clicking on the object will lead to the pop up of dialog boxes asking you to correct any collisions that have occurred or it will lead to a split screen editor. Refer the below screen shot (Figure - 11) Figure -11 2009 SAP AG 11

In the split screen editor, the window on the left displays the new SAP original and the window on the right displays the source code modified by the customer. Now, you need to decide whether you want to transfer your modifications to the new one or if the original should remain unchanged. To make changes to the original, copy the code from the right side (modified source) and paste this on the left side on the appropriate passage. To copy the code, place your cursor on the code and select it and then choose Copy or just (Ctrl + C) and to paste it on the new original code, place your cursor on the appropriate place or select the block of code that you want to replace and choose either Insert or Replace. This inserts the copied code to the new SAP original. If there are further differences to be copied to the original, follow the same procedure as above. Once you made all the changes, save your changes. Now, a dialog box appears asking you to confirm that you have completed all your modifications. The following statistics are also displayed. Units to be modified. Units automatically adjusted. Units manually adjusted. Please refer the following screenshots (Figure 12 & 13) for a better understanding of the above description. Figure- 12 2009 SAP AG 12

Figure- 13 Another example; this time, it contains both automatic and semiautomatic adjustment. Please refer the below screen shot. Figure- 14 2009 SAP AG 13

Figure -15 In exceptional cases, the red traffic light may also appear in the With Modification Assistant category. In these cases, you should check the adjustment log and sort out the issues accordingly. If there are any issues in adjusting all the objects, you could see a stop sign which indicates adjustment problems. This means that there are unresolved problems and in most of these cases, we need to resolve the issue manually. In such occasions, display the log by clicking on the stop sign. This function informs you what problems occurred at the upgrade and what actions are necessary to correct them. Pay special attention to the Open (unresolved) problems category. Please refer the below screenshot for a particular error description. The above mentioned error was due to syntax error in the program and has gone away when we removed the syntax error, activated the program and completed. 2009 SAP AG 14

Adjustment Category: Without Modification Assistant Objects in the Without Modification Assistant sub tree can only be post-processed manually after the adjustment process. Manual adjustment means that you must make modifications without any special efforts from the system. In these cases, you could use the version management and retrieve the old versions, if you want to keep the customer modification. When modifying objects where version management cannot be used, it would be really helpful if you could document all the changes that you are doing. If the objects marked with a red traffic light are added to a transportable change request, the red traffic light would be replaced with a green check mark. For detailed information on adjusting these objects, please refer to the following SAP link. http://help.sap.com/saphelp_nw70/helpdata/en/c8/1978b543b111d1896f0000e8322d00/frameset.htm 2009 SAP AG 15

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2009 SAP AG 16