How to debug a smartform in WEBUI

Hi,
I need to make a change in the smartform being displayed in WEBUI. I found the smartform and the code where I need to make the chnage. However in order to see the values during run time, I need to debug it. Can I place a session breakpoint in a smartform? Is so, how do I create this breakpoint which will get triggered when I check the priint preview in the WEBUI. I typed BREAK-POINT and tried, but the break point was not triggered. Is there any other way?

Go to the FM of smartform..search for your code and put session break point, it will stop.
Regards,
Naresh

Similar Messages

  • How to debug a smartform?

    I am facing deffficulty.. while debugging the my smartform.
    this is called in e-recruitement portal.. i tried with smartform_trace and break-point and all.
    how to do this?
    Please help me.
    Thanks

    Hi
    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
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    LOGO on Smartform
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) Use TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server

  • Hi gurus how to debug the smartforms

    hi gurus how to debug the smartforms

    Hi
    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
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    LOGO on Smartform
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) Use TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server

  • How to debug the smartform

    Hi,
    I want to debug the smartform, the form is not configured in nace.  still i want to test the form.
    How can we test it. please help me.
    thanks,
    Ravi

    hi,
    give me the function module name of the smartform in se37 & execute.
    but remember, you have to pass all the values manually here in the tables.
    to know the function module name of the smartform,
    Inside the smartform go thru this menu
    ENVIRONMENT->FUNCTION MODULE NAME.
    regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • Can we debug the smartform if yes how can we debug

    can u give me briet explanation abt debugging of smartform

    HI
    In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap
    Break Point.
    SMARTFORMS DEBUGGING
    For smartforms debugging you can do this.
    1. Execute the smartform (execute button in SMARTFORMS transaction)
    2. Take the generated function module and display it in SE80.
    3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
    Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
    Tcode - SFTRACE
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    Debugging of a subroutine pool.
    Reward all helpful answers
    Regards
    Pavan

  • Debugging in smartforms

    Hi
    Can any one send me the snap shots of Smartform debugging.
    Thanks in advance.
    Useful posts will be rewarded.
    Regards,
    Archana

    Hi,
    Set the break point in initialization(Global Definitions--> Initialization) of smartform as :
    BREAK <USERNAME>. --Works for particular user.
    Please don't use BREAK-POINT this will apply all the users who are testing the smartform.
    Program stops at break point. After that use Serach and set more break points.
    >Search the program logic/Textelement/Address via search and set the break point at that code.
    See the Below thread for how to debug the Smartforms
    How to Debug Smartform?
    Re: debug of smartfrom
    Regards,
    Priyanka.

  • Debugging in Smartforms in 4.6 version

    Dear Experts,
    I wish to debug a smartform and the system is 4.6 version. I cannot edit the code, So cannot use BREAK-POINT statement.
    I tried to use the SFTrace transaction but it is not allowed in 4,6 version. Is there any other way of doing the debugging for a smartform so that i can reach the code written in the smartform. Please help.
    Thanks in Advance....
    Best Regards,
    Sahil

    Hi..
    search in forums.. " how to debug smartform"
    select  date range All and  category "all categories" and press search
    see the links below
    how to debug a smartform
    how to debug smartform,
    regards,
    NZR

  • Debug im smartform step by step

    how i can debug step by step like in sapscript.
    i tried to make break-point in the smartf,and use smartform_trace and not for this i maean (sftrace dont work i dont know).
    i need step by step how????

    Hi Rani,
    Checkout This Thread..,
    How to Debug a Smartform
    For more info on smart forms:
    Re: smartform step by step material required
    hope it helps..,
    Regards,
    Vinoth

  • Debug a smartform

    Hi,  Can anyone tell me the way to debug a smartform and to upload a logo into
    SAP.

    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.
    1)goto tcode SFTRACE --> click "trace on"
    2) Get the function module name and set break points in function module name.
    Read More here.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    or
    Try with this:
    In the form Utilities->debugger / RSTXDBUG FM for debugging
    or
    You can set break "sy-uname" within your smart form code sections and this will take you to the code sections in the function module of the smart form when the break point is reached. This way by timing the break points you can look at the code of the various nodes of your smart form.
    BREAK-POINT can be used only in own program lines in smartform - not very helpful because it always stops until removed and generated again.
    Or you can use transaction SMARTFORM_TRACE.
    1. use transaction SMARTFORM_TRACE
    2. in the SMARTFORMS, use utilities to show the function name. You can analyze this function in SE37 and set dynamic breakpoints as required. Lok at the SMARTFORM_TRACE to decide where to set break points.
    or
    SMARTFORMS DEBUGGING
    For smartforms debugging you can do this.
    1. Execute the smartform (execute button in SMARTFORMS transaction)
    2. Take the generated function module and display it in SE80.
    3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
    Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
    Tcode - SFTRACE
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    Debugging of a subroutine pool.
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP 2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and make it Zoom as 100% and save as .TIFF 3. Open SE38 and execute program RSTXLDMC 4. Give your TIFF file path name 5. Select Bcol (for Color) 6. TEXT ID will be ZHEX-MACRO-. 7. Inplace of * write your own logo name (ZCOMPANYLOGO) 8. Execute the program 9. Now Goto SE71 create your ZFORM 10. Create logo window 11. Goto text element of logo window
    The steps for including graphical elements in the layout set are as follows
    • The graphical element (like company logo) should be in valid graphic file format like .bmp or .jpg
    • Use appropriate software to convert the above file into a .TIFF file
    • Use report RSTXLDMC to upload this file as a text module in SAP
    • Execute the above program from the ABAP /4 editor
    • Enter the location of the .TIFF file on the PC
    • Specify BMON or BCOL as the raster image type
    • The SAP system suggests a name for the file ( like ZHEX-MARCO-* ). The * indicates the type of file. For e.g. if the file contains a logo then the name can be ZHEX-MACRO-LOGO
    • The ID should be ‘ST’ and give the logon language
    • Running the program will convert this .TIFF file into a text element
    • Incorporate this converted logo in the appropriate window under the appropriate text element by giving
    INCLUDE ZHEX-MACRO-LOGO OBJECT TEXT ID ST in the first line
    regards,
    srinivas
    <b>*reward points for useful answers* </b>

  • Hai how to debug smartforms using SFTRACE .

    how to debug smartforms using SFTRACE .

    Hi,
    Go to the FM of the Smartform and in the main Program of the FM keep a break point. Whenever the Form is triggered which will stops at that break point, from there you can debug.
    Regards,
    Satish

  • How to debug smartform in display mode?

    Hi,
    How to debug smartforms program lines in display mode? Need help on this issue?
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 12, 2010 11:32 AM
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Jan 12, 2010 11:57 AM

    Please search before posting
    << Cut and paste without attribution from http://it.toolbox.com/wiki/index.php/SAP_Smart_Forms removed >>
    << Please don't ask other to follow the forum rules and violate them yourself! >>
    *In simple way---follow these steps:-
    If you are in a non-modifiable client:
    Display your SmartForm.
    Go to Environment and copy the function module name.
    Go to SE37 and display the function.
    Go to Smartforms and copy the node name where you want to debugg.
    Go to the function and search for the name in main program. Put a soft break point.*
    Manas M
    Edited by: Kumar Manas Mishra on Jan 12, 2010 12:05 PM
    Edited by: Kumar Manas Mishra on Jan 12, 2010 12:06 PM
    Edited by: Rob Burbank on Jan 12, 2010 11:52 AM

  • How to debug smartforms

    hi
    could anybody suggest me how to debug smatforms
    thank you
    kalyan.

    Please set a break point in side the smartform:
    BREAK <USERNAME>.
    Then at the time of print/ preview the program stops there.
    Example : If you set the break point in initializationas
    BREAK <USERNAME>.
    Program stops at break point. After that use Serach and set more break points.
    >Search the program logic/Textelement/Address via search and set the break point at that code.
    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.
    1)goto tcode SFTRACE --> click "trace on"
    2) Get the function module name and set break points in function module name.
    There is a transaction 'SMARTFORMS_TRACE' (or was it 'SMARTFORMS_TRACE') which will give you quite helpful information.
    In SAPSCRIPTS, you can 'Activate the debugger' in SE71 to start the debugging of script.
    In SMARTFORMS, you can use BREAK-POINT (coded in any code window node) to initiate debugging of SF.
    SFTRACE can be used for debugging SMARTFORMS.
    Go in smartforms, put a breakpoint where you want in the generated FM.
    Then go in you're PO, go to messages, generated you're output and make sure in further data option 1 is selected.
    Then run program rsnast00 with you're form settings, that's it!
    You could debug sapscript like that also,
    regards,
    srinivas

  • Debug Smartform from WebUI

    Is there a way anyone knows to debug a smartform from the WebUI? We are unable to do this currently which prevents us from debugging a problem we have with one of the forms. Thanks in advance.

    Hi,
       This is the two step process.
    First you need to put the BREAK-POINT. in you form.
    Second, when you execute your smartform and came to second screen where it says FM /..... click on display button. go to the bottom of the form (CALL FUNCTION 'SSFCOMP_PROCESS_DOCUMENT') and put the break point there.
    Edited by: Fayyaz Khan on Jan 4, 2010 2:30 PM

  • How to debug the smart forms

    Hi All,
    Can any body guide me how to debug the smart forms.
    Thanks & Regards,
    Satish.

    Hi,
    The the best way to debug the form is to put a breakpoint in the function module generated by the smartform.
    Procedure:
    Open the smartform we want to debug.
    Goto Environment -> Function module name.
    Open the function module in SE37. From the menu GOTO -> main program. Open the last include.
    This incude contains the entire code ie the code we have written in initalization + form routines + program lines + sap generated code.
    Even we can search for the text nodes, folders, templates, tables, graphics, address nodes etc with their names.
    Put a breakpoint at any point you want.
    If we issue any doc which triggers this form, when the control reaches the break point it will stop.
    Please note that hard-coding the break points in the code ( Program lines ) is not recommended and it can´t be done unless if it is development server.
    So, always put a session break point in the related function module.
    We can use SFTRACE transaction to know the sequence of the control flow.
    If you want to break at each and every text that is printed on the output form put the break points in the forms.
    1. %write_text  to break at text element.
    2. %WRITE_TEXT_MODULE  to break at text module.
    3. %WRITE_INCLUDE_TEXT  to break at include text.
    Please put a break point at the first sy-subrc check.
    If the control reaches this point, you can find the name of the element in the varible NAME and the content in the text node in %TEXT.
    Its easy to understand the sequence of the printing if we put a breakpoint as stated above.
    Regards,
    Satish.

  • Hi,  how to debug forms of script

    hi
    could anybody tell me how to debug script forms.
    i am using /h in se71, but it is not going inside form.
    pl guide me fast.
    thanx
    robo

    Hi Rocky,
    Go through the following two ways
    SAP Script:
    YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.
    1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.
    2.You can debug the function module which generates the smartform.
    Regards
    Sreeni

Maybe you are looking for

  • ILife 06 compared to iLife 08

    I have been reading that iMovie 08 will not be compatible on my iBook G4. If I purchase iLife 08 and load it will I still have the use of the old iMovie? Or should I just keep what I've got and continue to use 06. Thanks for advise.

  • How to automate dates in a Quest Powershell script?

    Hi I have this script: Add-PSSnapin Quest.ActiveRoles.ADManagement Get-QADUser -SizeLimit 0 -CreatedAfter (Get-Date 12/12/2013) -CreatedBefore (Get-Date 13/12/2013) -IncludedProperties Name,WhenCreated,DisplayName,EMail,EmployeeID,StreetAddress,WebPa

  • Solaris 10 Thread/LWP Schduling and I/O

    Hi, I am using Solaris 10 on N440, 4CPU machine and java 1.5. In my code there is a server socket listener thread. On new connection a worker thread is assigned to it. This worker thread simply reads data from the connection socket and put on a queue

  • How/where to get more photo slideshows template/designs?

    I am trying to use iPhoto and iMovieHD to do some photo slide shows. Like to know where I can purchase/download more slideshow templates? Thanks

  • Include authority check in PM User exit

    Dear all, Is there any user exit for adding an authority check object in IW31 transaction program? Kindly advise. Thanks.