Vous êtes sur la page 1sur 16

10Steps2S4

{Custom Code Checks}

Installed Base Conversion

January 2017
Version 1.0
10Steps2S4 Custom Code checks

1 Introduction........................................................................................................................................3

2 HANA Specific Checks ......................................................................................................................4

3 S/4HANA checks using Migration Worklist .........................................................................................6

4 S/4HANA checks using Code Inspector ........................................................................................... 12

2
10Steps2S4 Custom Code checks

1 Introduction
The activities described in this document have to be executed in your system in order to successfully
complete the Workpackage.

In the following chapter you will find references to 2 different systems where the activities have been
executed:

1. The source system (SID: K<XX>)


This is the system which has to be converted to S/4HANA and it is currently running on ECC 6. In
the context of this program the system can have different SID depending on your partner group.
The SID starts always with K followed by your partner ID.
2. The analysis or evaluation system (SID: F<XX>)
Some of the activities cannot be performed in the original system because they require an higher
version. For this purpose we have included an additional system which is running NetWeaver
7.51 that you can use as evaluation system for the activities. The same system will be later used
as Front-end Server for the FIORI configuration. In the context of this program the system can
have different SID depending on your partner group. The SID starts always with F followed by
your partner ID.

3
10Steps2S4 Custom Code checks

2 HANA Specific Checks


2.1 Perform the checks
In order to identify the items that are specific for the HANA migration you can perform also the check
using the following 2 variants.

- FUNCTIONAL_DB

- FUNCTIONAL_DB_ADDITION

1. [PRE] The following notes have been already implemented in the source system in order to
downport the Code Inspector variants required for the HANA checks.
a. Note 2164628 - cl_ci_test_search_db_ops(_in_pc) and cl_ci_test_db_ops_in_loops do
not recognize short forms of database operations
b. Note 1935918 - Downport Code Inspector Check Variants for HANA Migration
2. In transaction SCI create an object set containing all objects in packages Z*, Y* and $TMP

3. Create 2 new inspections using the object set previously created and the variants
FUNCTIONAL_DB and FUNCTIONAL_DB_ADDiTION and execute the checks

4
10Steps2S4 Custom Code checks

4. Analyse the results.

5
10Steps2S4 Custom Code checks

3 S/4HANA checks using Migration Worklist


3.1 Prepare the source system
Apply SAP Note 2185390 - Custom Code Analyzer

[PRE] Note have been already implemented in the source system (K<XX>).

Refer to PRE guide for more details.

Update the where-used list in the source system

[PRE] Where-used list have been already updated in the source system (K<XX>).

Refer to PRE guide for more details.

3.2 Download the repository information from source system

1. Execute the following steps in the source system (running SAP ECC 6) with SID K<XX> (where
XX is your partner number)
2. Run program SYCM_DOWNLOAD_REPOSITORY_INFO
3. Leave the default selection and execute the program in background

4. Select the target location for the ZIP file


5. Check the result in the log

6
10Steps2S4 Custom Code checks

3.3 Download simplification database


Download the content of the Simplification Database as a ZIP file. This file then has to be uploaded to
your evaluation system. To find the most recent content of the Simplification Database provided for SAP
S/4HANA, see also SAP Note 2241080 .

1. Check note 2241080 - Custom code check content for SAP S/4HANA
2. Go to the following URL:
https://launchpad.support.sap.com/#/softwarecenter/template/products/%20_APP=00200682500
000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIG
ATE&ENR=73554900100100001468&V=MAINT&TA=ACTUAL&PAGE=SEARCH/CCMSIDB
3. Download the package CCMSIDB00P_4-80001018.zip

7
10Steps2S4 Custom Code checks

4. Upload the package to the server using copy and paste option.

3.4 Upload the simplification database to the evaluation system


Importing the Simplification Database as a ZIP File into the evaluation system by running the
program SYCM_UPLOAD_SIMPLIFIC_INFO
The Simplification Database content is imported into the evaluation system. This information is required for the
generation of the Code Inspector variant.

1. Execute the following steps in the Front-end Server (running on NetWeaver 7.51) with SID
F<XX> (where XX is your partner number)
2. Launch SE38
3. Execute program SYCM_UPLOAD_SIMPLIFIC_INFO
4. Select the zip file CCMSIDB00P_4-80001018.zip you previously copied to the remote desktop
system
5. Confirm and accept the access to the file
6. Wait the program to complete
7. Check the status.

8
10Steps2S4 Custom Code checks

3.5 Upload the repository information to the evaluation system


1. Execute the following steps in the Front-end Server (running on NetWeaver 7.51) with SID
F<XX> (where XX is your partner number)
2. Execute program SYCM_UPLOAD_REPOSITORY_INFO

3. Select the file you have previously downloaded and proceed with the upload

4. Specify a name for the analysis

5. Verify the result

9
10Steps2S4 Custom Code checks

3.6 Process the worklist and analyse the result


1. Call transaction SYCM
2. Maintain the System ID and the Analysis Result Name

3. Press to see an overview of the impacted custom objects summarized by the


relevant simplification list items

10
10Steps2S4 Custom Code checks

4. Going back to the transaction SYCM use button to check the detailed list of impacted
custom objects

11
10Steps2S4 Custom Code checks

4 S/4HANA checks using Code Inspector


4.1 Documentation

Guide http://help.sap.com/saphelp_nw751abap/helpdata/en/4c/a09584efaa4719b
601d04eaedef1c6/content.htm?frameset=/en/4c/a09584efaa4719b601d04e
aedef1c6/frameset.htm&current_toc=/en/43/5550a1f8a75f6be10000000a15
53f6/plain.htm&node_id=199&show_children=true#jump199

Note https://launchpad.support.sap.com/#/notes/2270689

4.2 Implement note 2270689 in the source system


To check the custom code in your SAP Business Suite system, you have to install the Code Inspector
Extractor, which then will be called from the evaluation system. In your SAP Business Suite system,
implement SAP note 2270689 to install the Code Inspector Extractor.

[PRE] Note have been already implemented in the source system (K<XX>).

Refer to PRE guide for more details.

4.3 Download simplification database


Download the content of the Simplification Database as a ZIP file. This file then has to be uploaded to
your evaluation system. To find the most recent content of the Simplification Database provided for SAP
S/4HANA, see also SAP Note 2241080 .

5. Check note 2241080 - Custom code check content for SAP S/4HANA
6. Go to the following URL:
https://launchpad.support.sap.com/#/softwarecenter/template/products/%20_APP=00200682500
000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIG
ATE&ENR=73554900100100001468&V=MAINT&TA=ACTUAL&PAGE=SEARCH/CCMSIDB
7. Download the package CCMSIDB00P_4-80001018.zip

12
10Steps2S4 Custom Code checks

8. Upload the package to the server using copy and paste option.

4.4 Upload simplification database in the evaluation system


The Simplification Database content is imported into the evaluation system. This information is required
for the SAP S/4HANA readiness checks in the Code Inspector.

1. Execute the following steps in the Front-end Server (running on NetWeaver 7.51) with SID FXX
(where XX is your partner number)
2. Execute transaction SYCM
3. In menu Custom Code Worklist select the option Import Simplification
Database
4. Select the zip file CCMSIDB00P_4-80001018.zip you previously copied to the remote
desktop system
5. Confirm and accept the access to the file
6. Wait the program to complete

7. If there are some notes listed as incomplete proceed as follow


a. Go to SNOTE and download the missing or incomplete notes using the Download note
functionality
b. Execute again this procedure starting from step 1
8. To check the import go back to main screen of transaction SYCM and in menu Custom Code
Worklist and select option Show Simplification Database Content
9. In the selection screen of Display Simplification Database Content leave all the fields empty and
press Execute.
10. You should see a table containing all the entries (107.406 in total).

13
10Steps2S4 Custom Code checks

4.5 Create an RFC connection to the source system

1. Execute the following steps in the Front-end Server (running on NetWeaver 7.51) with SID FXX
(where XX is your partner number)
2. Create an RFC connection to the source system (transaction SM59 >> new connection)

14
10Steps2S4 Custom Code checks

4.6 Perform the Code Inspector


1. Execute the following steps in the Front-end Server (running on NetWeaver 7.51) with SID
F<XX> (where XX is your partner number)
2. Launch SCI transaction
3. Create a new Object Set specifying a name (S4HANACHECK1) and click on new

4. Switch to Obj. Collectors tab


5. Position the cursor on Object Collectors field and click F4
6. Select option Remote Objects (RFC)
7. Select the RFC you previously created (K<XX> System, where XX is your partner number)

8. In the Package input field, enter the relevant packages, for example Z* and Y*
9. Save the object set
10. Navigate back to main screen of code inspector
11. Create a new Inspection
12. Define a name and click on new

15
10Steps2S4 Custom Code checks

13. Select the object set previously created and select S4HANA_READINESS

14. Press the second execute button Execute


15. Confirm with ok and check the result

4.7 Analyse the result


1. Click on the menu Inspection and then select Results
2. Analyse the result browsing through the displayed items

16

Vous aimerez peut-être aussi