quarta-feira, 26 de dezembro de 2018

New Output Management in S4Hana until version 1809

l could hear since the creation of the first version of S4Hana 1503/1511 a kind of a repercution of one nice expectation of the solution proposed by SAP for out output management, for commom documents like Purchase Orders, Scheduling Agreements, Contracts and so on.
The new way. The innovation and wow.
l will try to show bellow a little bit how it works, or what is this new way of output messages in the revolucionary S4Hana proposes.
Let’s start from the beginning.
We start enabeling the usage of that on Customizing, choosing new output management instead the old way.. Easy like that!

For the start point it is good to check the notes below as a guidance of some details:
  • SAP Note 2228611 –Output Management in S/4HANA
  • SAP Note 2292571 –SAP S/4HANA output control -technical setup
  • SAP Note 2292539 –SAP S/4HANA output control -configuration
  • SAP Note 2292646 –SAP S/4HANA output control -form templates with fragments
  • SAP Note 2292681 –SAP S/4HANA output control –master form templates
  • SAP Note 2294198 –SAP S/4HANA output control -customized forms
  • SAP Note 2367080 –SAP S/4HANA output control -customized master forms

In resume, l will describe the hands on bellow:

  1. Manage Application Object Type Activation:
We should configure subsequentily customizing related to S4Hana New output Management (For Purchase Orders) for example, PDFs related, links and associations with the specific objects, so, no secret at all  about this steps. Everything can be guided by SAP notes already disposed.
As you may know, S4Hana got Adoble as a partner, therefore all documents in this new output way, will play with Adoble PDF as a target solution.

So:

  • Define Output Types:
Call OPD and do like this:

Here there are the rules for Purchase order such as the above. We think to associate them to the correct template and printer device are determined. Other rules are for output type, receiver, channel and form templates. And soo on…

  • Define Business Rules for Output Determination:

And them:
  • Assign Output Channels:

Also:
  • Define Rules for Determination of Master Form Template:
Consequently here, tasks related to form will be a challenge for Abapers, because they will handle the forms needed to be catched by the configurations previously done via Customizing (like l spoke above).
That is quite intuitive! But.. that is one point of attention on this!
Not all Abapers are familiar to build those PDFs forms easyly or rapdily, there is no Scriptlets, so sometimes because of lack of knowleadge dissiminated the solution is not mature, so not much people are playing with that.
When Abap done!

  • Assign Form Templates:

So after all that you may just create your PO ME21N and check the output messages, to see if that was triggered correctly or not.

But, that is the HAPPY way of the Solution because you can control the informations, get more logs, easy maintaince, nice interface in FIORI, that really seduces honestly.

  1. But, we have some gaps, important scenarios from business are not covered.
  2. ALE, not covered, you need check if that will be used by the company.
  3. IDOC, very very limited. You need check. Otherwise you will be in a big problem.
  4. Other modules, not support scenarios as above with more little gaps.
  5. SAP support, is limited, because of the fact this solution is new and not much used. You may have problems here also.

Conclusion:
  1. Does it really make sense to you use this solution now?
  2. Check with Business and Architects if that really covers critical scenarios of your company. Otherwise NAST must be considered without any question.
Let me know your comments.
Att Leonardo de Freitas


Source: https://blogs.sap.com/2018/12/23/new-output-management-in-s4hana-until-version-1809/

sexta-feira, 21 de dezembro de 2018

Conversion to S/4HANA 1809FPS0 – t5 – Custom Code Migration

This blog is for the detailed steps for Custom Code Migration (CCM) for step t5 of conversion to S/4HANA 1809FPS0 is an optional step. The steps are shown for Custom Code Analysis to estimate efforts required for the Custom Code Adaptation. As part of custom code migration there is also a step to be done after the system conversion in SPDD/SPAU.
Download the Custom Code Migration User Guide for reference
Please refer other blogs as follows:

S/4HANA  SQUARE  ONE

NEW INSTALLATIONPART 1 – MP         PART 2 – Installation
PART 3 –  BP Activation
S/4HANA 1809 FPS0   linklinklink
S/4HANA 1709 FPS2           linklinklink -US   link -DE
S/4HANA 1709 FPS1 linklinklink -US   link -DE
S/4HANA 1709 FPS0   linklinklink -US   link -DE
S/4HANA 1610 FPS2 linklinklink -US   link -DE
S/4HANA 1610 FPS1link -US   link -DE
S/4HANA 1610 FPS0linklinklink -US   link -DE
S/4HANA 1511 FPS2/1  link FPS2/link FPS1
S/4HANA UPGRADE  t2 – MPt3 – SIC
t4 – CCMt5 – SUM
S/4HANA 1809 FPS0             linklinklinklink
SYSTEM CONVERSIONt2 –  RC    t3 – MP     t4 – SIC      
t5 – CCM     t6 – SUM       
S/4HANA 1809 FPS0 linklinklinklinkEHP7/hdb
EHP6/db6
EHP5/ora
EHP6/mss
S/4HANA 1610 FPS0        linklinklink
S/4HANA ON-PREM APPLIANCE        INSTALL USING MEDIA   ACTIVATE FROM CAL          
S/4HANA 1709 FPS1linklink
S/4HANA CLOUD        CPM     MASTER CONTENT  EMAIL
OUTPUT MANAGEMENT    link link linklink
STEP 1: Apply Notes in the Checked System. The checked system can have either of Software components – SAP_BASIS 7.00, 7.01, 7.02, 7.31, 7.40, 7.50, 7.51 or 7.52.
TIP: First 2 notes are huge and if you get “Note Incomplete” or “Error occurred while downloading SAP Note xxxxx” please try downloading again individually and if it still doesn’t work, download from launchpad /upload in snote manually. To give you an idea of size – 2485231 is 4MB , 2270689 is 11MB, 2190065 1.6MBis and 2196792 is 1MB

Apply Note 2485231 – Remote ATC Checks of Modifications and Enhancements

Create Function Group SCA_ABAP_CHECK_MODINFO
Get Access Key
Checkmark Confirmed and continue – 2 times
Check and set as below:
Create Function Group SCA_REMOTE_DATA_ACCESS
Checkmark on Copy Changes for first 2 items
Click on Activate Anyway

Apply Note 2270689 – RFC Extractor for performing static checks

This note is HUGE and you may face errors while downloading. Try downloading the note from browser and then upload in SNOTE.
Create Function Group SABP_COMP_PROCS_E
Activate the function group SABP_COMP_PROCS_E.
Checkmark on Copy Changes for first 2 items
Click on Activate Anyway –  6 times
Start Report RS_ABAP_INIT_ANALYSIS and Confirm step.

Apply Note 2190065 – ATC/CI: Remote Code Analysis – Object Provider Stub

This note was already implemented by other notes.

Apply Note 2196792 – RFC-Stub for CVA/SLIN-Remote

Under package SLIN, create subpackage S_CVA_BSP
Under package SLIN, create Function Group SLIN_REMOTE_RESOURCES
Activate Function Group SLIN_REMOTE_RESOURCES
Create Function Group CVA_BSP_REMOTE_RESOURCES
Activate Function Group CVA_BSP_REMOTE_RESOURCES
The object tree should look like this:
Checkmark on Copy Changes for first 3 items
Create a user in Checked system with below authorizations. like CCM_CHECKED.
This completes the steps for the Checked system.
STEP 2:  The Central Check system should have Software component SAP_BASIS 7.52 or higher. In case you already have a S/4HANA sandbox, you could use it. Also you can use a S/4HANA Fully activated Appliance on-prem or in CAL, it just requires Netweaver 7.52.
We will use CAL solution which is SAP NetWeaver AS ABAP 7.52 SP01 on SAP ASE 16.0from below:
Below config is fine to reduce cost.
Activate Instance and login as user DDIC, copy user DDIC to create user S4HCONV so notes can be applied. Ensure RFC SAPOSS is configured and working.
The 2 notes are not to be applied in Checking system using SNOTE but contain information related to notes which are to be applied.

Apply Note 2436688 – Recommended SAP Notes for using SAP S/4HANA custom code checks in ATC

Since this is a Netweaver 7.52 SP1 system we have to apply the notes:
2578127 – Pseudo comments for S/4HANA custom code checks
2577440 – Improvements in S/4HANA custom code check “S/4HANA: Search for S/4 related syntax errors”
2569135 – S/4HANA custom code check “S/4HANA: Search for S/4 related syntax errors” reports syntax warnings
2573527 – S/4HANA custom code check for buffered DB table access
All above notes do not have manual steps.

Apply Note 2364916 – Recommended SAP Notes for using ATC to perform remote analysis

This second note states must apply below note for Netweaver 7.52 SP1
2375392 – Downport of Code Inspector remote checks
Above note does not have manual steps.
Now note 2364916 states that we must apply the 4 notes as already done in step 1. In addition the note states you can also apply following notes in checked system depending on your SP. Thy all turned out to be in status “cannot be implemented”.
2381403 – Infrastructure for remote checks
2375864 – ATC: Remote Checks – Developer Scenario
2587593 – ATC: Checkability of Modifications and Enhancements in Remote Checks – Developer Scenario
2614006 – ATC remote check fails in developer scenario
STEP 3:  Download the CCMSIDB from Service Marketplace.
Import the Simplification Database into Central Checking System
enter tCode SYCM
After clicking Open, there is a message Loading ZIPC:\CCMSDB00P_7-8000101. The  there is a message – Downloading simplification notes ….
You should get message below:
You can now display the content of the simplification database. Click the Overview button.
If you click on Show Items for Selection, you can view the Simplification Databasecontent with displayed list by SAP Object Type, Simplification Category and relevant SAP Note Number.
STEP 4:  Set the role of the Cental Check Systsem
Enter tCode ATC => System Role => Change System Role
Create System Groups tCode ATC => ATC Administration => Setup => Object
Enter tCode SM59, create RFC destination, Connection Type 3  in the Checking system to point to the checked system.
Create RFC Object Providers tCode ATC => ATC Administration => Setup => Object Providers
Run the ATC Checks from Central Checking System
Configure remote ATC runs series tCode ATC => Runs => Schedule Runs , Create CONV1
Select Check Variant S4HANA_READINESS_1809 and Save the configuration.
Schedule a Remote ATC Run series
Select the run series and click Schedule button on toolbar.
Analyze ATC Run Results
tCode ATC => ATC Administration => Runs => Manage Results
  1. In the navigation pane in transaction ATC, expand the nodes ATC Administration Runs and double-click Manage Results.
  2. Leave the run series field empty and choose Execute (F8).
  3. In the ATC Manage Results view is displayed. The view shows a list of ATC run results from your requested period of time. A list of all ATC findings is displayed in transaction SE80.
  4. Choose Statistics View
  5. In the ATC Manage Results view, select a run series and choose Display to inspect the results.
    Choose Statistic to group the ATC findings (for example, by SAP Note Number).
    The ATC findings are grouped by the selected statistics
  6. Double-click a statistics group to display the list of ATC findings assigned to the selected statistics.
  7. Double-click an ATC finding to open detailed information. Here you can find the SAP Note number referring to a dedicated SAP Note and the referenced object.
  8. Click the object name to navigate to the source code to see where the incompatible code occurs
ADDITIONAL REFERENCE:
Thank you. Hope you enjoyed the blog !
Mahesh Sardesai
Product Expert – S/4HANA