SlideShare a Scribd company logo
1 of 28
Download to read offline
Public
Renan Correa
De-Escalation Architect @ SAP
O que fazer (ou não) quando códigos
com erro estão parando a produção !
2© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Mission Control Center
Production Support
3© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Mission Control Center
Production Support
São Leopoldo
4© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Mission Control Center Approach
Innovation Control Center (ICC)
Build SAP like a factory
 Mission Control Center (MCC)
SAP Solution Manager
Operations Control Center (OCC)
Run SAP like a factory
Customer
5© 2015 SAP SE or an SAP affiliate company. All rights reserved.
6© 2015 SAP SE or an SAP affiliate company. All rights reserved.
7© 2015 SAP SE or an SAP affiliate company. All rights reserved.
“Só preciso deletar umas
entradinhas”
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 9Public
“Só preciso deletar umas entradinhas”
ERRO
Milhões de registros criados incorretamente em tabela de histórico
AÇÃO
Rodar programa Z direto na produção para apagar tabela
MORAL
da história
Job não era finalizado e entradas não eram deletadas
“Só corrigir um campinho
numa tabela”
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 11Public
“Só corrigir um campinho numa tabela”
ERRO
Campo de status de workflow inconsistente
AÇÃO
Execução de programa Z direto na produção para alterar status dos workflows
MORAL
da história
Programa alterou status de workflows já encerrados para cancelado
“Só ativar uma business
function reversível”
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 13Public
“Só ativar uma business function reversível”
ERRO
Ativação de Business Function reversível direto no ambiente de produção
AÇÃO
Acessar a SFW5 e tentar desativar a BF em produção
MORAL
da história
A gambiarra necessária para corrigir uma gambiarra é inversamente proporcional
ao quadrado do tamanho da gambiarra original
Editando entradas de tabelas
Ajuste emergencial de dados transacionais na produção
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 15Public
Editando entradas de tabelas
SE16
Comando /h
code -> EDIT
SE16N
Comando &SAP_EDIT
SE37
SE16N_INTERFACE
Usando o editor auxiliar de
código
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 17Public
Editor auxiliar de código
RS_REPAIR_SOURCE
Alterações
Sem Chave
Sem Request
Limitações
S_DEVELOP
ACTV 02
Mudanças de repositório
permitidas
Testando SAP Notes sem
implementá-las
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 19Public
SAP EasyNotes
Allows an ad-hoc (one-off) test implementation of an SAP note without making any changesto
the code or development objects in an ABAPstack.
 It uses the ABAP Debug Scripter to perform the note’s changes
It’s use involves three steps
1. Run an ABAP program which generates an XML debug script (text file)
2. Start the ABAP Debugger and load the XML debug script into the debugger
3. Perform a reproducible example of the problem. The ABAP debug script will implement the code changes only
in the current session
Once generated, an EasyNotes script can be executed in any SAP system
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 20Public
Passo 1: Run the Script Generation Program (done only once)
1. Input Note to be
Implemented
2. Put in the file name and
directory where the script is to
be generated
3. Execute Script
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 21Public
Passo 2: Activate the ABAP debugger
Activate
Debugger
2
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 22Public
Passo 3: Perform a Reproducible Example*
* - Use of the tool is currently restricted to non-production systems (modifiable systems) for optimal data consistency
Example:
Start va01
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 23Public
Passo 4: Load and Start the Script
2. Load the Script
1. Click on the Script Tab
3. Start the Script
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 24Public
The Easy Note Debug Script – Como funciona
Debuggee (Program)
3.Program Executes
8.Program Continues and
repeats steps 4-8
4.Scripter Breakpoint at
correction instruction context
block
5.Pass Control to
Debugger
1.Start Script at
beginning of LUW
6.Correction instruction
insert block executed
10.Exit Script
2.Pass Control to Debugee Debugger (Script)
9.Manual Return
to Debugger
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 25Public
Limitações
© 2014 SAP SE or an SAP Confi 2
Only works in SAP ABAP-based systems (not JAVA)
Only works with notes that do not have manual instructions
Only works if new dictionary objects are not created
Needs to be a debuggable process
© 2016 SAP SE or an SAP affiliate company. All rights reserved. 26Public
Developer Delta Testing Tool
A tool for development and partners
Allows a developer to test code changes
without changing a development object
© 2014 SAP SE or an SAP Confi 14
27© 2015 SAP SE or an SAP affiliate company. All rights reserved.
28© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Valeu!
Renan Correa @nan_correa
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 28Public

More Related Content

Viewers also liked

Servicios y Soluciones Ecommerce
Servicios y Soluciones Ecommerce Servicios y Soluciones Ecommerce
Servicios y Soluciones Ecommerce Viewnext
 
Judaism Slides
Judaism SlidesJudaism Slides
Judaism SlidesSam Georgi
 
How Brevard Public Schools enhanced learning with Lenovo systems
How Brevard Public Schools enhanced learning with Lenovo systemsHow Brevard Public Schools enhanced learning with Lenovo systems
How Brevard Public Schools enhanced learning with Lenovo systemsLenovo Data Center
 
What's New in SAP HANA SPS 11 Application Lifecycle Management
What's New in SAP HANA SPS 11 Application Lifecycle ManagementWhat's New in SAP HANA SPS 11 Application Lifecycle Management
What's New in SAP HANA SPS 11 Application Lifecycle ManagementSAP Technology
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)SAP Technology
 
What's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic TieringWhat's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic TieringSAP Technology
 

Viewers also liked (6)

Servicios y Soluciones Ecommerce
Servicios y Soluciones Ecommerce Servicios y Soluciones Ecommerce
Servicios y Soluciones Ecommerce
 
Judaism Slides
Judaism SlidesJudaism Slides
Judaism Slides
 
How Brevard Public Schools enhanced learning with Lenovo systems
How Brevard Public Schools enhanced learning with Lenovo systemsHow Brevard Public Schools enhanced learning with Lenovo systems
How Brevard Public Schools enhanced learning with Lenovo systems
 
What's New in SAP HANA SPS 11 Application Lifecycle Management
What's New in SAP HANA SPS 11 Application Lifecycle ManagementWhat's New in SAP HANA SPS 11 Application Lifecycle Management
What's New in SAP HANA SPS 11 Application Lifecycle Management
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
 
What's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic TieringWhat's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic Tiering
 

Similar to O que fazer (ou não) quando códigos com erro estão parando a produção

SAP TechEd 2018 OPP103 – An Introduction to DevOps
SAP TechEd 2018 OPP103 – An Introduction to DevOpsSAP TechEd 2018 OPP103 – An Introduction to DevOps
SAP TechEd 2018 OPP103 – An Introduction to DevOpsSAP Cloud Platform
 
Ab1011 module pool programming
Ab1011   module pool programmingAb1011   module pool programming
Ab1011 module pool programmingSatheesh Kanna
 
SAPUI5/OpenUI5 - Continuous Integration
SAPUI5/OpenUI5 - Continuous IntegrationSAPUI5/OpenUI5 - Continuous Integration
SAPUI5/OpenUI5 - Continuous IntegrationPeter Muessig
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Srinivas Dukka
 
Sap enhancement packages
Sap enhancement packagesSap enhancement packages
Sap enhancement packagesJoyce Maina
 
Adeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request ManagementAdeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request ManagementAdeyinka Olurin
 
UiPath Integration with SAP Solution Manager 7.2
UiPath Integration with SAP Solution Manager 7.2UiPath Integration with SAP Solution Manager 7.2
UiPath Integration with SAP Solution Manager 7.2Diana Gray, MBA
 
Beginner’s guide to_sap_abap
Beginner’s guide to_sap_abapBeginner’s guide to_sap_abap
Beginner’s guide to_sap_abapAngel Inga
 
Itm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hanaItm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hanaOlivier Bilger
 
294151805 end-to-end-o data-service-sapui5-application
294151805 end-to-end-o data-service-sapui5-application294151805 end-to-end-o data-service-sapui5-application
294151805 end-to-end-o data-service-sapui5-applicationFaina Fridman
 
Sap monitoring tutorial & best practices system guard
Sap monitoring tutorial & best practices   system guardSap monitoring tutorial & best practices   system guard
Sap monitoring tutorial & best practices system guardm t
 
troubleshooting Fiori.pdf
troubleshooting Fiori.pdftroubleshooting Fiori.pdf
troubleshooting Fiori.pdfpraveenRapeti3
 
ASUG webcast - going mobile with Slipstream Engine March 2018
ASUG webcast - going mobile with Slipstream Engine March 2018ASUG webcast - going mobile with Slipstream Engine March 2018
ASUG webcast - going mobile with Slipstream Engine March 2018Peter Spielvogel
 

Similar to O que fazer (ou não) quando códigos com erro estão parando a produção (20)

SAP TechEd 2018 OPP103 – An Introduction to DevOps
SAP TechEd 2018 OPP103 – An Introduction to DevOpsSAP TechEd 2018 OPP103 – An Introduction to DevOps
SAP TechEd 2018 OPP103 – An Introduction to DevOps
 
Ab1011 module pool programming
Ab1011   module pool programmingAb1011   module pool programming
Ab1011 module pool programming
 
SAPUI5/OpenUI5 - Continuous Integration
SAPUI5/OpenUI5 - Continuous IntegrationSAPUI5/OpenUI5 - Continuous Integration
SAPUI5/OpenUI5 - Continuous Integration
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
 
System recommendations-in-sap-solution-manager-7.2
System recommendations-in-sap-solution-manager-7.2System recommendations-in-sap-solution-manager-7.2
System recommendations-in-sap-solution-manager-7.2
 
Abap for sd consultatnt
Abap for sd consultatntAbap for sd consultatnt
Abap for sd consultatnt
 
Sap enhancement packages
Sap enhancement packagesSap enhancement packages
Sap enhancement packages
 
Adeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request ManagementAdeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request Management
 
UiPath Integration with SAP Solution Manager 7.2
UiPath Integration with SAP Solution Manager 7.2UiPath Integration with SAP Solution Manager 7.2
UiPath Integration with SAP Solution Manager 7.2
 
Beginner’s guide to_sap_abap
Beginner’s guide to_sap_abapBeginner’s guide to_sap_abap
Beginner’s guide to_sap_abap
 
SAP ABAP
SAP ABAP SAP ABAP
SAP ABAP
 
Itm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hanaItm110 how does sap solution manager support sap hana
Itm110 how does sap solution manager support sap hana
 
294151805 end-to-end-o data-service-sapui5-application
294151805 end-to-end-o data-service-sapui5-application294151805 end-to-end-o data-service-sapui5-application
294151805 end-to-end-o data-service-sapui5-application
 
SAP Hybris Commerce Technical Upgrade
SAP Hybris Commerce Technical UpgradeSAP Hybris Commerce Technical Upgrade
SAP Hybris Commerce Technical Upgrade
 
B1 ICO Install
B1 ICO InstallB1 ICO Install
B1 ICO Install
 
Sap monitoring tutorial & best practices system guard
Sap monitoring tutorial & best practices   system guardSap monitoring tutorial & best practices   system guard
Sap monitoring tutorial & best practices system guard
 
troubleshooting Fiori.pdf
troubleshooting Fiori.pdftroubleshooting Fiori.pdf
troubleshooting Fiori.pdf
 
openSAP_fiops1_Week_1_All_Slides.pdf
openSAP_fiops1_Week_1_All_Slides.pdfopenSAP_fiops1_Week_1_All_Slides.pdf
openSAP_fiops1_Week_1_All_Slides.pdf
 
ASUG webcast - going mobile with Slipstream Engine March 2018
ASUG webcast - going mobile with Slipstream Engine March 2018ASUG webcast - going mobile with Slipstream Engine March 2018
ASUG webcast - going mobile with Slipstream Engine March 2018
 
Reliable SAP
Reliable SAPReliable SAP
Reliable SAP
 

More from Jose Nunes

SAP Data Analysis + Tableau
SAP Data Analysis + TableauSAP Data Analysis + Tableau
SAP Data Analysis + TableauJose Nunes
 
Insights sobre E-Commerce e Hybris Commerce
Insights sobre E-Commerce e Hybris CommerceInsights sobre E-Commerce e Hybris Commerce
Insights sobre E-Commerce e Hybris CommerceJose Nunes
 
Automação de Testes Funcionais com SAP CBTA
Automação de Testes Funcionais com SAP CBTAAutomação de Testes Funcionais com SAP CBTA
Automação de Testes Funcionais com SAP CBTAJose Nunes
 
TDF by S/4 HANA
TDF by S/4 HANATDF by S/4 HANA
TDF by S/4 HANAJose Nunes
 
Sobrevivendo às mudanças legais da NF-e
Sobrevivendo às mudanças legais da NF-eSobrevivendo às mudanças legais da NF-e
Sobrevivendo às mudanças legais da NF-eJose Nunes
 
Implementação SAP S/4 HANA Finance
Implementação SAP S/4 HANA FinanceImplementação SAP S/4 HANA Finance
Implementação SAP S/4 HANA FinanceJose Nunes
 
SAP Strategy - A Perspective for Products and Solutions
SAP Strategy - A Perspective for Products and SolutionsSAP Strategy - A Perspective for Products and Solutions
SAP Strategy - A Perspective for Products and SolutionsJose Nunes
 
SPED ECF on HANA/TDF
SPED ECF on HANA/TDFSPED ECF on HANA/TDF
SPED ECF on HANA/TDFJose Nunes
 
Desenvolvimento SAP UI5 usando Neptune
Desenvolvimento SAP UI5 usando NeptuneDesenvolvimento SAP UI5 usando Neptune
Desenvolvimento SAP UI5 usando NeptuneJose Nunes
 
Como migrar para S/4 HANA
Como migrar para S/4 HANAComo migrar para S/4 HANA
Como migrar para S/4 HANAJose Nunes
 
Design de Negócios com IoT
Design de Negócios com IoTDesign de Negócios com IoT
Design de Negócios com IoTJose Nunes
 
Mudanças da NF-e/CT-e em 2017
Mudanças da NF-e/CT-e em 2017Mudanças da NF-e/CT-e em 2017
Mudanças da NF-e/CT-e em 2017Jose Nunes
 
Soluções Fiscais SAP
Soluções Fiscais SAPSoluções Fiscais SAP
Soluções Fiscais SAPJose Nunes
 
Conheça o Cloud Foundry no HCP
Conheça o Cloud Foundry no HCPConheça o Cloud Foundry no HCP
Conheça o Cloud Foundry no HCPJose Nunes
 
SAP HANA Express Edition
SAP HANA Express EditionSAP HANA Express Edition
SAP HANA Express EditionJose Nunes
 
SAP HANA Cloud Platform - Portal Service
SAP HANA Cloud Platform - Portal ServiceSAP HANA Cloud Platform - Portal Service
SAP HANA Cloud Platform - Portal ServiceJose Nunes
 
Keynote - SITSP 2016 - Marssel Vilaça
Keynote - SITSP 2016 - Marssel VilaçaKeynote - SITSP 2016 - Marssel Vilaça
Keynote - SITSP 2016 - Marssel VilaçaJose Nunes
 
Keynote - SITSP 2016 - Raquel Cunha
Keynote - SITSP 2016 - Raquel CunhaKeynote - SITSP 2016 - Raquel Cunha
Keynote - SITSP 2016 - Raquel CunhaJose Nunes
 
SOS Predictive Analytics
SOS Predictive AnalyticsSOS Predictive Analytics
SOS Predictive AnalyticsJose Nunes
 

More from Jose Nunes (20)

SAP Data Analysis + Tableau
SAP Data Analysis + TableauSAP Data Analysis + Tableau
SAP Data Analysis + Tableau
 
Insights sobre E-Commerce e Hybris Commerce
Insights sobre E-Commerce e Hybris CommerceInsights sobre E-Commerce e Hybris Commerce
Insights sobre E-Commerce e Hybris Commerce
 
Automação de Testes Funcionais com SAP CBTA
Automação de Testes Funcionais com SAP CBTAAutomação de Testes Funcionais com SAP CBTA
Automação de Testes Funcionais com SAP CBTA
 
TDF by S/4 HANA
TDF by S/4 HANATDF by S/4 HANA
TDF by S/4 HANA
 
Sobrevivendo às mudanças legais da NF-e
Sobrevivendo às mudanças legais da NF-eSobrevivendo às mudanças legais da NF-e
Sobrevivendo às mudanças legais da NF-e
 
Implementação SAP S/4 HANA Finance
Implementação SAP S/4 HANA FinanceImplementação SAP S/4 HANA Finance
Implementação SAP S/4 HANA Finance
 
SAP Strategy - A Perspective for Products and Solutions
SAP Strategy - A Perspective for Products and SolutionsSAP Strategy - A Perspective for Products and Solutions
SAP Strategy - A Perspective for Products and Solutions
 
Bloco K
Bloco KBloco K
Bloco K
 
SPED ECF on HANA/TDF
SPED ECF on HANA/TDFSPED ECF on HANA/TDF
SPED ECF on HANA/TDF
 
Desenvolvimento SAP UI5 usando Neptune
Desenvolvimento SAP UI5 usando NeptuneDesenvolvimento SAP UI5 usando Neptune
Desenvolvimento SAP UI5 usando Neptune
 
Como migrar para S/4 HANA
Como migrar para S/4 HANAComo migrar para S/4 HANA
Como migrar para S/4 HANA
 
Design de Negócios com IoT
Design de Negócios com IoTDesign de Negócios com IoT
Design de Negócios com IoT
 
Mudanças da NF-e/CT-e em 2017
Mudanças da NF-e/CT-e em 2017Mudanças da NF-e/CT-e em 2017
Mudanças da NF-e/CT-e em 2017
 
Soluções Fiscais SAP
Soluções Fiscais SAPSoluções Fiscais SAP
Soluções Fiscais SAP
 
Conheça o Cloud Foundry no HCP
Conheça o Cloud Foundry no HCPConheça o Cloud Foundry no HCP
Conheça o Cloud Foundry no HCP
 
SAP HANA Express Edition
SAP HANA Express EditionSAP HANA Express Edition
SAP HANA Express Edition
 
SAP HANA Cloud Platform - Portal Service
SAP HANA Cloud Platform - Portal ServiceSAP HANA Cloud Platform - Portal Service
SAP HANA Cloud Platform - Portal Service
 
Keynote - SITSP 2016 - Marssel Vilaça
Keynote - SITSP 2016 - Marssel VilaçaKeynote - SITSP 2016 - Marssel Vilaça
Keynote - SITSP 2016 - Marssel Vilaça
 
Keynote - SITSP 2016 - Raquel Cunha
Keynote - SITSP 2016 - Raquel CunhaKeynote - SITSP 2016 - Raquel Cunha
Keynote - SITSP 2016 - Raquel Cunha
 
SOS Predictive Analytics
SOS Predictive AnalyticsSOS Predictive Analytics
SOS Predictive Analytics
 

Recently uploaded

ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 

Recently uploaded (20)

ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 

O que fazer (ou não) quando códigos com erro estão parando a produção

  • 1. Public Renan Correa De-Escalation Architect @ SAP O que fazer (ou não) quando códigos com erro estão parando a produção !
  • 2. 2© 2016 SAP SE or an SAP affiliate company. All rights reserved. Mission Control Center Production Support
  • 3. 3© 2016 SAP SE or an SAP affiliate company. All rights reserved. Mission Control Center Production Support São Leopoldo
  • 4. 4© 2016 SAP SE or an SAP affiliate company. All rights reserved. Mission Control Center Approach Innovation Control Center (ICC) Build SAP like a factory  Mission Control Center (MCC) SAP Solution Manager Operations Control Center (OCC) Run SAP like a factory Customer
  • 5. 5© 2015 SAP SE or an SAP affiliate company. All rights reserved.
  • 6. 6© 2015 SAP SE or an SAP affiliate company. All rights reserved.
  • 7. 7© 2015 SAP SE or an SAP affiliate company. All rights reserved.
  • 8. “Só preciso deletar umas entradinhas”
  • 9. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 9Public “Só preciso deletar umas entradinhas” ERRO Milhões de registros criados incorretamente em tabela de histórico AÇÃO Rodar programa Z direto na produção para apagar tabela MORAL da história Job não era finalizado e entradas não eram deletadas
  • 10. “Só corrigir um campinho numa tabela”
  • 11. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 11Public “Só corrigir um campinho numa tabela” ERRO Campo de status de workflow inconsistente AÇÃO Execução de programa Z direto na produção para alterar status dos workflows MORAL da história Programa alterou status de workflows já encerrados para cancelado
  • 12. “Só ativar uma business function reversível”
  • 13. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 13Public “Só ativar uma business function reversível” ERRO Ativação de Business Function reversível direto no ambiente de produção AÇÃO Acessar a SFW5 e tentar desativar a BF em produção MORAL da história A gambiarra necessária para corrigir uma gambiarra é inversamente proporcional ao quadrado do tamanho da gambiarra original
  • 14. Editando entradas de tabelas Ajuste emergencial de dados transacionais na produção
  • 15. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 15Public Editando entradas de tabelas SE16 Comando /h code -> EDIT SE16N Comando &SAP_EDIT SE37 SE16N_INTERFACE
  • 16. Usando o editor auxiliar de código
  • 17. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 17Public Editor auxiliar de código RS_REPAIR_SOURCE Alterações Sem Chave Sem Request Limitações S_DEVELOP ACTV 02 Mudanças de repositório permitidas
  • 18. Testando SAP Notes sem implementá-las
  • 19. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 19Public SAP EasyNotes Allows an ad-hoc (one-off) test implementation of an SAP note without making any changesto the code or development objects in an ABAPstack.  It uses the ABAP Debug Scripter to perform the note’s changes It’s use involves three steps 1. Run an ABAP program which generates an XML debug script (text file) 2. Start the ABAP Debugger and load the XML debug script into the debugger 3. Perform a reproducible example of the problem. The ABAP debug script will implement the code changes only in the current session Once generated, an EasyNotes script can be executed in any SAP system
  • 20. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 20Public Passo 1: Run the Script Generation Program (done only once) 1. Input Note to be Implemented 2. Put in the file name and directory where the script is to be generated 3. Execute Script
  • 21. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 21Public Passo 2: Activate the ABAP debugger Activate Debugger 2
  • 22. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 22Public Passo 3: Perform a Reproducible Example* * - Use of the tool is currently restricted to non-production systems (modifiable systems) for optimal data consistency Example: Start va01
  • 23. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 23Public Passo 4: Load and Start the Script 2. Load the Script 1. Click on the Script Tab 3. Start the Script
  • 24. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 24Public The Easy Note Debug Script – Como funciona Debuggee (Program) 3.Program Executes 8.Program Continues and repeats steps 4-8 4.Scripter Breakpoint at correction instruction context block 5.Pass Control to Debugger 1.Start Script at beginning of LUW 6.Correction instruction insert block executed 10.Exit Script 2.Pass Control to Debugee Debugger (Script) 9.Manual Return to Debugger
  • 25. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 25Public Limitações © 2014 SAP SE or an SAP Confi 2 Only works in SAP ABAP-based systems (not JAVA) Only works with notes that do not have manual instructions Only works if new dictionary objects are not created Needs to be a debuggable process
  • 26. © 2016 SAP SE or an SAP affiliate company. All rights reserved. 26Public Developer Delta Testing Tool A tool for development and partners Allows a developer to test code changes without changing a development object © 2014 SAP SE or an SAP Confi 14
  • 27. 27© 2015 SAP SE or an SAP affiliate company. All rights reserved.
  • 28. 28© 2016 SAP SE or an SAP affiliate company. All rights reserved. Valeu! Renan Correa @nan_correa © 2015 SAP SE or an SAP affiliate company. All rights reserved. 28Public