How to to Debug the Samrtform ?

Hi All ,
I wanted to debug a smart form where coding is done to know varibale values to fix one my issue . Can any body advise how can we in smart forms as we do in  SAP Scripts .
Thanks ,
Dharma .

Hi,
Check this info.
For debugging -
1. Write BREAK POINT in the code window.
2. Put a break point on the call function in the driver program
3. Put a break point in the generated Function module.
OR
1) DEBUG Smartform:
1) One way to debug smartform is to debug the Function Module of that smartforms.
If you want to debug particular smartform node that the solution would be,
insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2) SFTRACE can be used for debugging SMARTFORMS.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
OR
Four ways you can debugging.....
1.place SFTRACE inplace where we enter T_CODE and press ENTER.
after that press F8.
2 ./H
3 /SH
4.after generating the function module there is a button DEBUGGING
Test smartform:
1.after creating FM direct press F8 or Excute(button) then select print preview.
Hope this resolves your query.
Reward all the helpful answers.
Regards,
Omkar.

Similar Messages

  • How do you debug the individual Flex components?

    How do you debug the individual Flex components?

    Personally, I think your alternative is the easier solution.  Basically have your main app output some kind of "heartbeat" signal like a constantly updating timestamp.  It could be outputed to a simple txt file, or you could just output it to a front panel indicator, and then have your "watchdog" app check the value using VI Server. 
    I don't know how to check CPU usage, but I am guessing you could use some .NET calls to this namespace:
    http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx

  • How can we Debug the workflow?

    Hi,
    How can we debug the workflow?
    Please help  me on debugging the workflow in step by step procedure?
    Early reply is highely appriciable.
    Regards,
    Chow.

    Hi,
    If you want to set breakpoints in method which is used in workflow task then it is possible
    till ECC5 am afraid about ECC6
    you can see the graphical view of workflow through transactions said by Kalpesh
    you can also use swwl (delete workflow) for viewing the container elements of the workflow.
    SWI2_ADM1:Workitem without agents
    SWI2_DIAG:Workflow with error
    these transactions are also helpful
    Thanks & Regards
    Hari Sankar M

  • How can we debug the screen pop up?

    How can we debug the screen pop up?

    Hi,
    if you know where the popup is raised it is easy of course as you just have to uses F6 to keep the debug mode running.
    But there is a way to get the popup into debug mode similar to typing /h into the ok code field of a sandard dynpro. Therefore you have to do the following steps:
    1) click the "Create a Shortcut" button in the gui to get a shortcut on your desktop (the button next to new session)
    2) in the oped screen for shortcut setting choose:
         type -> system command
         command -> /h
         depending on gui release you have to enter a system ID -> use the one of your system and parameters -> just type abc
    3) press finish to create the shortcut
    If you have done this you can drag and drop the shortcut from the desktop to a sap session or popup to switch on the debug mode. One shortcut works for all systems you have, the system id in it does not matter.
    Oh, while I often have the case that I forget to resize the window before the popup appears so i cannot access the shortcut directly on the desktop, just remeber that you can always open a small file explorer window go to the desktop folder and drag it from there ;o)
    Best Regards
    Roman

  • How can we debug the deleted object?

    If one of the object is deleted from the universe and which is in the existing universe, The report will not work. if we refresh the data in the report we will get an error like "Some objects are no longer available in the universe". Is there any way to debug the deleted object?
    please help me......

    HI,
    If you want to see which object is deleted then follow below steps.
    1) Open the Webi report
    2) click on -> Tools & Change source.
    3) Chose the existing data source and click -> next
    4)  in the next window you can find which object is missing or deleted from the universe and you can remap the objects.
    regards,
    Amit

  • How can I debug the Call Library Function at run-time

    I've written a VI using the CLF to call a DLL which was compiled off-site by another engineer using MSVC. Even though the VI runs without flagging any errors, the VI is not doing what I expect. Is there any way of finding out if the DLL is been called correctly? The first function that is called doesn't return any value, but I think that it should. Does this mean that the DLL is not being called correctly? Note also that the DLL works fine with a JAVA GUI.

    Make sure that you are specifying the proper function prototype in the call library function. If you are slightly off the call will not work properly. Ask the offsite engineer to provide you with this data. Another tip is to build the dll with the option to show front panel when called. You can actually popup the dll like you would a subvi. If you design it with test indicators showing on the front panel that is a great way to determine if it is working. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How Do You Debug Oracle Report Calls From Forms On The App Server?

    I am working on a system which uses oracle forms and reports 10g.
    In our system we call, we are calling oracle reports from oracle forms. How do we debug the form code when the form and report both are running on the application server in production.
    To my knowledge, this can not be done when the form is running locally since there is only OC4J forms services locally.
    I understand one views error messages through the jinitiator console but how does one turn on this facility? How do you determine what line the error occurred?
    I am looking for step by step instructions as answer to this issue.
    Please be specific. Please write in good English.

    Good afternoon,
    If you have the developer suite installed on your PC, run the report from your form and then follow this tree from the start button on your PC:
    Developer Suite Home =>
    Reports Developer =>
    Oracle Application Server Report Services =>
    Reports Queue Manager
    Select View => Past Jobs and then find your report in the list, double-click the report entry and you'll see the error message that was generated by the Report Server when you tried to run the report.
    Good luck,
    Don.

  • Debugging the XI Scenarios

    Hi,
       i want  to know how can we debug the all type of  scenarios.. i mean Proxys(both inbound and Outbound proxys) debugging and  File to RFC and RFC to File scenarios Debugging.. and IDOC scenarios Debugging  information..
    can any body having any idea about debugging.. please share with me..   any debugging documents also helpful to me..
    Thanks
    Babu

    Hi,
    For debugging inbound and outbound scenario follow the below PDF:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    Debugging Inbound Proxy:
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    For all the other scenario u have to follow the below steps:
    Supose take a example of file:
    1) First check the file is picked up or not.
    2) check the communication channel status through RWB.
    3) Check the pay load in SXMB_MONI
    4) check whether the payload message is proper or not
    5) Check whether file is generated at target directory or not.
    IDOC scenario:
    U need to check all the IDOC configuration which is done in R3 *** well as Xi.
    Configuration means RFC deatination, Partner profile,IDX1,IDX2, port etc
    Troubleshooting File-to-IDOC Scenario in XI
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Go to WE02 transaction and check the IDOC status.
    SOAP:
    1)troubleshooting SOAP:
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    2) Check the WSDL which geneatated properly or not using XML-SPY.
    3) test the generated WSDL using on webbreowser.
    4) https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    So like wise u can debug the sencario it again depends upon what error and where u r getting the error.
    Thnx
    Chirag

  • I have added a ADD-ONE like smart digg I want to debug this ADD-ONE. So plz help me how can i debug this.

    I wants to debug and ADD-ONE plz help me how can i debug the ADD-ONE.

    That's correct - you can't add it to another controller.
    From the View Controller Catalog for iOS:
    A split view controller must always be the root of any interface you create. In other words, you must always install the view from aUISplitViewController object as the root view of your application’s window. The panes of your split view interface may then contain navigation controllers, tab bar controllers, or any other type of view controller you need to implement your interface. Split view controllers cannot be presented modally.
    -=-
    Ken

  • Debugging the procedure

    Hi, How can we debug the procedure in a package without sufficient privilages, is it possible ?
    if possible / if not possible which is the best way/tool for debugging the stored procedures
    thanks a lot

    Perhaps the answer is to research Oracle security vulnerabilities and attempt a privilege escalation hack. Oh... Pete Finnigan can help to find some security holes...
    Nicolas.

  • Debugging the Popup windows

    Hi,
      When i am debugging the original program i got a popup window like address information. How can i debug the popup window...?
      Is there any way except finding and keeping break point in the respective popup code...
    Thanks in advance.
    Regards,
    Gopi.

    Hi
    yes you have to create a shortcut on your desktop
    So go to Create Shortcut:
    - Choose Application section:
    - Insert these data:
    Type    = System Command
    Coomand = /H
    Title   = Debug
    Press enter.
    Now the system create an shortcut for debug command on your desktop.
    So run your transaction until the popup is showed, now drag the shortcut on popup and debug'll be actived.
    Max

  • Debugging the master jobs and packages

    How to do Debugging the master jobs and packages ?

    Hi Mukejee,
    Except for executing a SSIS package in BIDS, we can also execute a package using the following methods:
    Execute SSIS Package using DTEXEC.EXE Command Line Utility
    Execute SSIS Package using DTEXECUI.EXE Utility
    Execute SSIS Package using SQL Server Agent Job
    In each method, we can specify the package configurations for the package at runtime. For the detailed information, please see:
    http://www.mssqltips.com/sqlservertip/1775/different-ways-to-execute-a-sql-server-ssis-package/
    http://technet.microsoft.com/en-us/library/ms162810(v=SQL.105).aspx
    http://technet.microsoft.com/en-us/library/ms141701.aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • Can I use "Adobe X Pro" to debug the java code in adobe forms?

    HI,
    Can I use "Adobe X Pro" to debug the java code in adobe forms?, if not how do i debug the java code written in the adobe form.

    I have the adobe acrobat x evaluation version installed, please find the print shot attached, I have pressed CTRL+J in the preview mode, but nothing came up.
    Am I doing something wrong..

  • Debug the problems in Middleware

    Hello experts,
    Can anybody please tell me how to learn debug the error in middleware..? is there any material available..?? if so how to get it..?? Please your help will be appreciated and thanks inn advanced..

    Hi Rohit,
    I am trying to debug a outbound queue in CRM, but when I am in SMQ1 transaction, and I click on Debug LuW button, the queue is processed without entering on debug mode.
    Do you know if there is any setting to update to make it possible to use this functionality?
    Thanks!

  • How can I install the Flash Debug Player in Internet Explorer 10?

    I just downloaded the Flash Debug Player 11.4.402.287 from http://download.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_ax_debug.exe - however, trying to install it merely shows a message box saying
    The installation encountered errors: Your Microsoft Internet Explorer browser includes the latest version of the Adobe Flash Player built-in. Windows Update will inform you when new versions of the Flash Player are available.
    I'm using Internet Explorer 10.0.9200.16384 on Windows 8. A bit of Google research suggested that IE10 has a Flash player built-in (similiar to what Google Chrome has) so I looked for a way to disable the player. It seems that this is indeed possible by clicking the Cogwheel icon in the IE10 toolbar and then selecting 'Manage Add-ons'. The dialog which shows up shows a 'Shockwave Flash Object' entry. However, even with the built-in Flash player disabled, the Flash Debug Player installer keeps giving the same message.
    Does anybody knwo how I can install the Flash Debug Player in IE10?

    I do not know, but check if there is anything useful in http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/flashplayer/pdfs/flas h_player_windows8_admin_guide.pdf

Maybe you are looking for

  • Getting All Entries from a cache

    Hi Folks,      Just a small interesting observation. In an attempt to get back all the data from my partitioned cache I tried the following approaches:      //EntrySet      NamedCache cache = NamedCache.getCache("MyCache");      Iterator<Entry<MyKeyO

  • How can I change my iCloud my e-mail-account

    How can I change my iCloud my e-mail-account?

  • Portfolio Document Restriction Trouble

    I am using Adobe 9 Pro to create a large PDF portfolio that contains other PDF portfolios. This will be used by many different people using only Adobe reader. I chose to use PDF portfolios because a video forum put on by Adobe specifically said Adobe

  • HTML Email not rendering correctly

    Hi,   Since upgrading to Mountain Lion I've noticed that a number of my HTML based incoming emails are not translating correctly - the text is just showing as graphic characters.  None HTML emails are fine - anyone got any ideas? Regards Neil

  • Need apple 23in cinema display 90w power adapter replaced

    need apple 23in cinema display 90w power adapter replaced