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

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

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

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

    Hi,
    We are using SRM 3.0 (EBP 4.0). Can you please let me know step by step procedure for Debugging SRM.
    Also if anyone can throw some light on SICF. I could not understand the settings in SICF as to what it is, what are the services, what is the SICF settings doing? How to find a transaction (T code) is included in which service?
    Thanks,
    MRao

    In menu Bar we have menu item Utilities >  Settings > Select tab ABAP Editor > Debugging
    Click check box active and select New Debugger.because of these external debugging activated.
    Now go to your program and put break point where you want , then one popup will display select HTTP Break Point.
    Now goto SRM EBP and do your actions ,it will stop at that break point

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

  • SRM Smartform - How to write custom logic to get data

    Hi Experts,
    I am new to SRM 7.0 now. I want to know where the code logic can be written to print the custom smart form?
    I have already create custom smarts form ZBBP_PO, and implement the BADI  BBP_OUTPUT_CHANGE_SF to pass the custom form name.
    But i don't know where to write the code for fetching the source data. In ECC, we can write the code in a separate report program. How it does in SRM now? It is said some class and method will print the form. How to find it? and how to add custom logic.?
    Or the logic of fetching source data should be embeded in the smart form? I don't like to write much more codes directly in smart form.
    Thanks!

    Yeah, I know it. but I don't want to write code logic into the Smartforms. in ECC, i always write the code in a separated program which will pass the data to smartform and call function module to print it.
    i just want to know whether i can write the code in somewhere else in SRM, not in smartform.

  • 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

Maybe you are looking for

  • Open a Crystal Report, run and export

    I am looking for help with respect to running a .rpt report developed in crystal report 2008 from a jsp or java. I need to set the parameters and export the report to PDF. I am looked at many different examples and still I am getting various kinds of

  • Brand new iPod Nano 4gb. Not responding after being charged for a while.

    Hi guys. I got a replacement for my Nano today. It is brand new. The guy at the Apple Centre said to fully charge it before use, then fully discharge it. I've had the iPod plugged in for a fair while now, and it doesn't seem to be getting charged. Th

  • DirectX 11.2 and Windows 8.1

    I have installed Windows 8.1. All the docs say DirectX 11.2 is installed with Windows 8.1 but the DirectX Diagnostics Tool is reporting version 11. The docs also say that DirectX 11.2 can be downloaded only with Windows Update but Windows Update repo

  • SET CURSOR in to commando field

    Hi! I wont set cursor in to commando field (the truncation field eg: /nSE80). Is it possible? I have tried it with SET CURSER FIELD u2018DUMMYu2019 but I donu2019t now the technical name of this field. Thanks Hermann

  • Long running job message

    Hi All,         Can any one tell me the process to be followed when you get the message DBIF_RSQL_SQL_ERROR in dump. Thanks, Venkat.P