How To Debug Smartform in Production System - ABAP Thinkers
How To Debug Smartform in Production System - ABAP Thinkers
How To Debug Smartform in Production System - ABAP Thinkers
H OW TO
Search
FORMS > SMA RTFORMS > HOW TO DEBUG SMA RTFORM IN PRODUCTION SY STEM?
Sap ABAP
Sap Query
Debug
Sap R 3
ABAP Code
12 1
ABAP Query ABAP Tips ALV ALV Grid ALV OOP Beginners Class Data Dictionary Debugging Dialog Programing Enhancement Forms Function Modules How To Implicit Enhancement Intermediate Lock Object Maintenance Generator Performance Sapscripts Selection Screen
Recolocao Profissional
qualitytrainingrh.com.br Consultoria de Carreira Completa p/ Voc Evoluir. Quality Training RH
Catho - Vagas de Emprego Competitive Intelligence Emprstimo Consignado Consultoria SAPremoto Concurso INSS 2014 Calcule Seguro de Carros AdWords para vdeo
Have you encountered now a logical bug in your smartform which only appears when transported in the production system? Then we cannot replicate the same issue in our development box. So in this case, we have no option but to debug the form directly in production system, right? But we all know that setting a debugging point in the smartform is prohibited in this system. So do you have any idea how to debug it to detect the issue? In this tutorial, I will discuss a simple technique on how to debug the form even on the production system without any interference on the actual code. I have detailed some simple steps to follow below.
Steps:
1.Run tcode Smartform and open your form. If you are not authorized in your production system to open your form, go back into your development system and open it there.
Smartforms Table
S UB S CRIB E TO B LOG V IA E M A IL
Enter your email address to subscribe to this blog and receive notifications of new posts by email. Join 10 other subscribers
E m a i lA d d r e s s 2. Once your form is open, go to main menu, click on Environment>Function Module Name .
S UB S CR IB E
TA GS
&SE16N
ABAP
REUSE_ALV_GRID_DISPLAY ALV
Beginners Tutorial
Debugger Debugging Debugging Tips Delete Implicit Enhancement Dequeue 4. So in the previous step, we get the name of the function module generated for this form. Our next goal is to determine which part of the form will it going to stop. So in my sample as you see below, I need to debug the program lines under %CODE1. Please take note the name of the program lines since we will use this later.
Enhancement
Function Group Function Module Function Modules Hilite.me Hotspot How To Implicit Enhancement
Status
popup screen Query SAP Query SAP_EDIT SNRO Syntax Highlighter Transport Variants UserGroup Variants
5. After getting the function module name of the form and determining the part where we will going to debug, we are ready to set the breakpoint now. Go to tcode SE37 and input the FM name generated above. Then click display the button. Perform this procedure in your production system. If you dont have any access in SE37, then ask your Basis people to provide you.
levi aliangan
google.com/+levialiangan Seguir 158 seguidores
6. Then on the toolbar, select the find button with plus sign.
RE CE NT P OS TS
How to execute SQL Statement without changing ABAP Code? How to escape ABAP line in Debug Mode? Dumps in Range The Solution How to create an Infosets in ABAP Query? How to create a User Group in ABAP Query?
7. Then on this screen, input the name of the program lines you want to debug. Then select the option In main program. Then click ok.
RE CE NT COM M E NTS
levali2001 on Dumps in Range The Solution burberry pas cher france on Dumps in Range The Solution levi aliangan on How to access a TCODE without authorization? levi aliangan on How to create a function group in SAP? hasilaa on How to create a function group in SAP?
8. In this screen, it will show what lines contains your search word. Just double click it so you will be directed in the actual code.
9. Finally, you will see now your code and you can put a breakpoint just like below. Run your program again and debugging mode will then be activated. You can now do the actual debugging and find the issue on your form.
CONNE CT@F A CE B OOK
ABAP Thinkers
Curtir
Have you find this article useful and interesting? Please consider sharing it to your friends using the Social Buttons below. Always remember that SHARING is CARING. Thank you and I invite everyone to connect with me on my facebook page ABAP Thinkers or follow me on twitter @ABAPTHINKERS. You can subscribe also to keep updated with latest posts. Enjoy reading this blog
M E TA
S EA R CH
Tagged with: Debugger Debugging Production System Debugging Smartforms Debugging Techniques Debugging Tips Forms Smartforms
Perfect
LOG IN TO REPLY
superbbbb.
LOG IN TO REPLY
ABAP Thinkers
PAGES
TH E L ATEST
MOR E
Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the RSS feed.