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.

Similar Messages

  • Debugging of smartform in used for bid invitaion

    Dear Friend,
                   i am trying to debug the smartform
          used for bid invitaion .
              can any body help me in this.

    Hello you can go to transaction NACE and select application V1 and click on output types. There you should be able to see all the output types of sales.
    Select the required output type and click on processing routines and you should be able to see all the program and forms for different mediums (Print, Email, Fax etc).
    Thanks
    RACH
    REWARD POINTS IF U FIND IT USEFUL

  • 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

  • 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

  • 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

  • Debugging a smartform

    Hello abapers, could any one explain me how to debug a samrtform.Do we need to debug in print program or  do we have to do it in form directly..
          thanks in advance,
              santosh.

    hi,
    <b><i>DEBUG Smartform:</i></b>
           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
    rgds
    Anver

  • 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

  • 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

  • Debug the Smartform in QA

    Hi All,
    There is an issue in QA system.
    I need to debug the smartform-PROGRAM LINES in QA.
    can anyone pls let me know hw to debug the smartform-PROGRAM LINES.
    I kept the break point in print program SSF_Function_module_name.
    But control is not going to  program lines.
    Pls help with your suggestions.
    Thank u,
    Priya

    HI Priya,
      Get the generated Function Module name.  Copy name of the node ( name of Program Lines ). Find that node name in generated function module and put break point.
    you can get the Generated FM name by executing the FM 'SSF_FUNCTION_MODULE_NAME'  passing FORM name in SE37.
    Hope it helps.
    Edited by: Prasath Arivazhagan on May 25, 2010 2:10 PM

  • 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

  • Debug SRM & Smartform

    Hi
    I am using web based SRM.From here i am using an Contract that has to output a smartform.There is something wrong with my smartform and i would like to debug it.Could you please tell me how to do that?
    thanks a lot.

    Hi,
    To debug a smartform follow steps:-
    1. Goto transaction SMARTFORMS.
    2. Give your smartform name and press F8.
    3. You will be taken to a screen which shows a Function Module name.
    4. Press display for that FM.
    5. At the bottom of the code, there is a sub-routine PERFORM %GLOBAL_INIT.
    6. Goto this sub-routine and check for the code in smartform programs lines.
    7. Put a debug point.
    8. Now display the smartform output for the contract using the t-code from R/3 .
    You can now debug the code.
    Hope this helps you.
    Regards,
    Tarun
    Edited by: Tarun Gambhir on Sep 15, 2009 12:49 PM

  • 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>

  • 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

  • Debugging a smartform without modifying the code ?

    Hi all, please forgive my noobyness but it's the first time I'm working on smartforms...
    Basically; I have a smartform that prints out a pdf showing all the entries of a purchase order, but there's a thing that I have to correct... The price amount for position is not correct, because it doesn't contains an extra amount, let's call this quantity "limit", that is a specific property of each row in the order.
    Problem: I'm not that good to find in the code the exact point in which the price for a row is calculated, or better.... I thought I found it, did a little correction but without success.
    I'd like to debug exactly the pieces of code that are in the smartform, how to do it without modifying the code ? I've read something about hardcoding a break-point but I won't insert new code because I'm working on a pre-production machine and porting a CR is not as easy. Is there any way to debug without doing a mod on the code? Thanks in advance.

    Hi Matteo,
    it's quite simple.
    Found the Fm name of the SMARTFORM (Menu Utilities-> F.M. Name) (Something like
    /1BCDWB/SF00000015).
    Then go in SE37 transaction and put the FM founded and then display it.
    Go in the main info of the FM (tab. Propierties) and the double click on the main program.
    Then double click on the include that ends with *F01. There you will find all the code of your SF. Then you can put a breakpoint the piece of code that you want.
    This should be works.
    Let us know
    Bye
    Andrea

  • Debugging in smartform

    HOW TO DEBUG THE SMARTFORM

    Hai Srinivasa
    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.
    Thanks & regards
    Sreenivasulu P

Maybe you are looking for

  • Mass Update of Product hierarchy in all CRM Open Sales Orders

    Hi Folks, I have a requirement in my project wherein I have to update product hierarchy details with new values in all Items of CRM Open sales orders. If suppose I have a text file which has the details of Open Orders & new product hierarchy which i

  • Get songs out of Genius Mixes??

    ok I love the Genius Mix feature but I have my cousin who syncs her iPod with my computer and I have some of the songs and they show up in the Mix. Is there anyway to get them out by changing something? I have already unchecked it (not sure what that

  • What is latest version of JavaMail used in J2EE 1.4?

    Hi Friends, JavaMail 1.3 or higher.Please reply as ealier as possible. It is urgent. Thanks Bye

  • OIM AD Connector Installation

    Hello All, I am installing the AD connector. When I am in Admin console, I was able to see AD option in the drop down when I specified the alternate address as OIM_HOME/xellerate/ After loading the AD connector, I am getting this error message: Inval

  • Random in AS3...when is Math.floor necessary?

    Hi, I'm trying to convert: _root.character_splash_mc.loadMovie("swfs/splashes/character_splash_" + random(3) + ".swf");  To the following AS3 code: var character_splash_loader:Loader = new Loader (); character_splash_loader.load(new URLRequest("swfs/