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

Similar Messages

  • 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

  • Can i Debug Smartform in Production System??

    Plz help me out in this

    Hi,
    Yes, You can debug smartforms in PRD. You have to execute the smartform, and go to the function module. Then if You know where You wish to debug, for eg. Select * from T005T. Find the code (as normally You do in the code editor) with the statement 'SELECT' and place a breakpoint over there. Similarly You can do for all other codes in the Smartform.
    Regards,
    Birendra

  • 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

  • Debuging smartforms

    how to debug the program lines / code lines of the smart forms?

    Hi,
    goto your smartforms. click on test(F8)
    function module will be generated. go inside the function module.
    create a break point.
    come out
    then give the command for print from the application which is calling the smartforms.
    Refer to these related threads
    smartforms debug
    Smartforms debug
    How to debug Smartforms?
    How to Debug the Smartforms
    Re: Smartforms Debug
    Smartforms
    Regards,
    Harish

  • How to Upload Smartforms from Application Server

    Hi Guys,
            I have to upload the SMARTFORMS in to the System.That can be done as follows:
    1- Tcode  - Smartforms
    2- Utilities -> Upload form
    3- Give form Name
    4- Give path of Form on presentation server and upload.
    But I have to give the path of Form from the Application Server. As i have all the forms to be uploaed in New system on the Application Server.
    I will be writing the program to program to read XML file(smartform) from application server to internal table and then upload it in the System.
    Please let me know if it is possible to upload Smartforms from Application Server?
    Regards
    Sandeep

    Vinod,
         Thanks for the reply.
    But Actually I want to Automate this process of Uploading the Smartforms.
    So I want to directly upload it from Application server.
    As it is not possible to upload the Smartforms from Presentation Server Automatically.
    In this human Intervention will be required.

  • How to output debug text from script?

    How do you output some debugging text from a script? I'm looking for the equivalent of <c:out> from JSTL. I would like to be able to output the value of a "#{variable}". Thanks.

    Isn't h:outputText sufficient? Furthermore, if you're using JSF 1.2 / JSTL 1.2 with unified EL, then c:out will also work for "JSF EL".

  • Call smartform from webdynpro

    Hi everybody
    Can you plesae tell me whether its possible to call a smartform from a webdynpro application?
    I know its possible to call adobe forms

    HI,
    You have to use the FM to convert to PDF then use this data and bind this to the node type XSTRING.
    Check components WDR_TEST_ADOBE_PDF_ONLY or WDR_TEST_ADOBE for reference.
    Regards,
    Lekha.

  • How to Import customized internal table to smartform from Print Program

    Hi Gurus,
    I want to Import customized internal table to smartform from print program, Can anybody tell me how it is possible.
    With regards,
    S.Saravanan

    There is no problem passing an internal table to a smarforms, smartforms have the same interface as a function module ([Defining the Form Interface|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm] in [Smart Forms|http://help.sap.com/saphelp_nw70/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm]) so could you elaborate a little more on your requirement (is it a standard a custom forms, etc.)
    Regards,
    Raymond

  • Working with a developer of a mobile site and want to export the debug log from android!

    Hi have an HTC incredible and I am working with the developer of and would like to send him the error logs generated. Is there a way to export them to a text file.
    Thanks,
    Matt

    Sorry, there's not an easy way to copy or share the entire error log from Firefox for Android. To copy an individual log entry, you can press-and hold on the text to bring up a menu.
    This add-on has support for exporting various other debugging data from Firefox mobile. We've talked about adding support for the error logs in a future version. If you would like to help add that support, the source code is on GitHub:
    https://addons.mozilla.org/mobile/addon/nightly-tester-tools-for-mobil/

  • Calling Smartforms from Module pool: Most Urgent

    Hi, Exeperts
    how can I call smartforms from module pool.
    I have done like below.
    First Created a push button on screen and used
    these code in user command through PAI
    FORM CALL_SMARTFORMS .
    DATA: V_FORM_NAME TYPE RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME           = 'ZSMART'
      IMPORTING
        FM_NAME            = V_FORM_NAME
      EXCEPTIONS
        NO_FORM            = 1
        NO_FUNCTION_MODULE = 2
        OTHERS             = 3.
    ENDFORM.                    " CALL_SMARTFORMS
    now I am getting form name in v_form_name, but it is not executing.
    Please help me out.
    Regards
    Rajiv singh.

    Well, as it's most urgent....
    One you have a value in V_FORM_NAME you need to call this function module, passing the fields and strucures that make up the interface to your form.
    Eg.
    DATA: DEVICE TYPE SSFCTRLOP .
    DEVICE-DEVICE = 'PRINTER'.
    DEVICE-NO_DIALOG = 'X'.
    CALL FUNCTION V_FORM_NAME
    EXPORTING
       CONTROL_PARAMETERS         = device
       USER_SETTINGS              = 'X'
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5.
    Regards,
    Nick

  • HOW TO Trigger customized smartform from standard trasaction

    Hi,
    I have created new customized driver pgm and smartform for order ready notice,i want to triger the smartform from standard transaction vt02n.What's the procedure,pls let me know.

    hi,
    after configuring nace as specified by others, u'll have to select dat output type in ur invoice.
    goto->header>output type->
    den select dat output type.

  • Can we call multiple Smartforms from single Driver Prog?

    Hi all,
    Can we call multiple smartforms from single Driver Program. Here Driver program is custom Program.
    I want to give Print Parameter only once and output should get printed one after the another smartform in same order of smarforms were called.
    If yes, then how?
    Thanks in advance.

    Yes, you can do this in your Smartform driver program.
    Each time you call you Smartform function module you will need to change the values in structure OUTPUT_OPTIONS slightly.
    On the first call set TDNEWID to X.
    After this, set it to space
    On the last form set TDFINAL to X.
    This will put all of the output into one spool request, in the order they are called in the program.
    Regards,
    Nick

  • How to call and reuse smartforms from ECC to CRM?

    Hi Experts,
    I would like to seek help from all of you, I would like to know if it is possible to call and reuse smartforms created in ECC to CRM environment. The requirement is to create smartforms in ECC (R/3 system) and reuse and call it in CRM environment whenever the 'PREVIEW OUTPUT' button is ticked in CRM webclient. This is to reduce the creation of smartforms from both systems.
    Hope to hear from all of you. Your help will be very much appreciated.
    Thanks and Regards,
    Monica

    You can not reuse it directly but I guess you can download form from ECC and then upload it to CRM. I guess based on your requirement you might end up with few changes to form in CRM to display correct data.
    http://help.sap.com/saphelp_nw70/helpdata/en/c9/452f2d33ca11d5b697006094192fe3/content.htm
    http://www.howforge.com/how-to-upload-smartforms-from-pc
    Smartform Download/Upload problem
    Regards,
    BJ

  • Functional requiremnts for table level entry from webui in crm 7.0

    Hi Experts.
    Please guide me how to give the functional requirements to the technical consultants.
    Also need to know how to navigate from the webui in crm 7.0, to get the table details. If i enter F2, I can see the details of the
    feild, I need to know how to get the feild name and the table name where the data is getting saved in the sytem.
    I need the steps navigating from webui to the GUI table level. Please help me out
    Waiting for your valuable input.
    Regards.
    karthik J

    Refer to this [WIKI|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUIFramework]
    It should give you a good start.
    Thanks
    Vishal

Maybe you are looking for

  • How to find a specific char in fileinputstream?

    Hi I've opened a fileinputstream for a text file. I need to read through it char by char to eof in order to find occurances of some ascii characters e.g. "," or "@" etc       int eofii =0;       try         FR = new FileReader("UnusualTextFile.txt");

  • When opening an application

    Morning, I have just purchase an Imac 20 and have just started to have a problem when I open an application like mail or safari and when typing addresses in the bar or typing a message like I am now and the cursor moves from the area as though anothe

  • How can one find out how much hard drive space the apps and media are using?

    how can one find out how much hard drive space the apps and media are using?

  • Record & NonRecord Disposition in URM 10g

    I have categories in 10g that allow both Records and NonRecords. But when I try to create a disposition to handle each in a Category I get an error that says a Record action can't be in a Non Record category. So I'm doing something wrong and my varia

  • Change log for Internal Orders

    Hi Guys, I need to know history of changes made to an order group (adding/deleting orders within) made by different users. Is there a way to find out? any T-codes or any backend tables? Thanks.