How to Debug the Driver Pgm and Smartform while Invoice Creation(VF01)

Hello All,
I've configured the Driver Pgm and Smart Form in NACE for the output type RD00. I would like to debug the Driver Pgm and Smartform while creation of invoice using VF01. I've set the break points in the Driver Pgm and Smart form, but its not taking me to there while creating an Invoice using VF01.
Once the Invoice created, If I go thru the VF02/VF03 to see the output, I'm able to debug.
Please help me to debug the Driver Program and Smartform during the Invoice Creation.
I've configured the following objects in NACE:
Program ZDRIVER_PGM_INVOICE_SMARTFORM
Form Routine ENTRY
PDF/Smartform Form ZINVOICE(Smartform)
Thanks in Advance!
Anil S.

Moderator message - Welcome to SCN.
But please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... before posting. In particular, asking the same question multiple times is not allowed.
Thread locked
Rob

Similar Messages

  • Hi how to debug the stand form and standard program of credit demo......

    hi , i could find find the credit memo in FI standard form and standard program at the given path
    SPRO->IMG->Financial Accounting->Accounts Receivable & Accounts Payable->Customer Accounts->Line Items->Correspondence->Carry out and check settings for correspondence->define Form Names for corresponding print> here u can c ur program along with the Form assigned to it...
    I copied the standard form to z form and assigned to standard program, now to know the elements in a write form which are triggered , i need to apply breakpoint in standard program and run the application to view the elements.. But , to apply breakpoints in the standard program, no form routine is given...Then how to identify where to apply breakpoints to identify the elements....
    i will be very thankfull for the reply..
    thanks..

    Hi,
        Activate debugger as above for FORM, or copy the Standard print program name and open it in SE38 in display mode, Look for OPEN_FORM or WRITE_FORM fm in the Main print program and put break point. when you run the application it will stop at the break point.
    Regards
    Bala Krishna

  • Exit to set the automatic PGI and picking while creating outbound delivery

    Hi experts,
    Could anybody suggest how to set the automatic PGI and Picking while creating outbound delivery.
    Currently we are settting VBUK-WBSTK field with value C. But PGI is not happening.
    kindly help me.
    Regards,
    Ravi

    Hello Parihar,
    thanks for reply.
    yes we know that "This process of picking and GI involves reducing the stock and allocating the goods to the delivery"
    if you go for Custom program and Use FM WS_DELIVERY_UPDATE, we can do Picking and PGI.
    our requirement is to do pickong and PGI while creating Delivery it self, based on this output types will be processed.

  • 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 find out the driver program and script for print preview for PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • What file name is for the driver of gpib-usb-b?and how to add the driver file to vb in win2000??thanks

    what file name is for the driver of gpib-usb-b?and how to add the driver file to vb in win2000??thanks

    Hi,
    Multiple files are required for the proer fnctioning of any of our GPIB products. Unfortunatly the installation is not as simple as copying a single file over. If you wish to make the installer silent, i believe this is entirely possible in a fashion similar to the details given at http://digital.ni.com/public.nsf/websearch/0730A66245E6808086256CA8006E2183?OpenDocument.
    Hope this helps out!
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • How to find the driver preogram of a smart form.

    Hi experts,
    I am developing a smart form for RFQ. There is a standard smartform that SAP has provided for this. But the problem is i dont know how to find the driver program of this smart form. The name of the smart form is /SMB40/MMRFQ_L.  it will be of great help if u can reply quickly. Thanks in advance.
    regards,
    venkat.

    1. Go to nace
    2. select application as EA
    3. click output type button and select output type as NEU
    4. double click on processing routines
    5. Application  - EA
        Output Types - NEU (RFQ)
      <b>  Smart Form Program  - /SMB40/FM06P</b>
        Smart Form               - /SMB40/MMRFQ_L
                                          /SMB40/MMRFQ_A
    if u want to directly see without going to nace
    1. in se11 give <b>view</b> name as <b>VN_TNAPR</b>
    2. execute it
    3. it will ask for o/p type and application give it
    4. then u can directly go to nace "display view processing routines" screen

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

  • TS1967 In the past, when I updated iTunes, some items would be 'lost'. I quit updating, still running 10.6 i do keep my files on an external hard drive, which I plug in before starting iTunes. If I leave the drive off, and update, would that keep me from

    In the past, when I updated iTunes, some items would be 'lost'. I quit updating, still running 10.6. I do keep my files on an external hard drive, which I plug in before starting iTunes. If I leave the drive off, and update, would that keep me from losing any files? Also, does anyone know how to search the iTunes store by price? I'm particularly interested in movies and audiobooks... Thanks

    iTunes does not have provision for automatically storing one kind of media on a separate drive, so you have some basic decisions to make first.  Do you want these movies to still appear in your iTunes library, or are you content with browsing filenames on a drive in Finder when you want to look for one?  The second's the easiest thing because then you don't have to have an external drive permanently turned on and attached to your computer (wired or wireless).  To do that you literelly only need to drag your movies folder to an archive drive and delete movies from iTunes.  To watch them again you can add it back to iTunes while holding down the option key so the movie is used from its location on the external drive.
    There's ways to move the movies to an external drive while keeping them in iTunes but the external drive iwll always have to be turned on and connected to the computer or you will see a bunch of broken link exclamation marks.
    Realize what you are talking about is not "backup".  Backup (which you should do) is putting a second or more copy of items on external drives for the day when your internal drive fails and everything on it is lost, inclduing all your home photos and perhaps things that have been pulled from the iTunes Store and can no longer be re-downloaded.

  • How to debug the background job in ABAP

    Hi Guys,
    Can anyone let me know how to debug the background job in ABAP.
    Thanks in advance
    peter

    Hi,
    Goto SM37 and see the log if any is there and based on that you can check the code.
    you can't debug background job.
    Create a Variant for the Program and
    Schedule JOB in background:
    Go to SM36 create a Job
    enter Program and Variant for that program in STEP..
    click on Start Condition
    Click on DATE and TIME enter date scheduled Start and END times
    click on Period Values
    Click on HOURLY/WEEKLY etc
    CLick on RESTRICTIONS also to use further criteria.
    so your job will be scheduled and run as per your requirement.
    and in SM37 Transaction check the status of that JOB
    Check this link for scheduling jobs..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    Check this
    http://jplamontre.free.fr/SAP/Debug%20background%20process.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&
    Regards,
    Padmam.

  • How to call the new page in smartforms

    Hi friends,
    How to call the new page in smartforms.
    Thanks,
    Ravi

    Hi,
    Create a command node and click the 'Go to new page' check box specifying the page u want to go.
    You can enter your condition for which it should branch to a new page in the 'conditions' tab.
    Regards
    Shiva

  • How to debug the report which isrunning in Background?

    Hi all,
    1.How to debug the report which is running in Background?
    thanks & regards
    vishnuvardhan

    Hello,
    Do like this.
    Create an infinite loop before the line u want debug.
    data: lf_flag.
    do.
    if lf_flag = 'X'.
    exit.
    endif.
    enddo.
    Now execute the report in background. In Tcode SM37 select ur job and in menu job--> Capture Active Job
    IT will stop at the point of infinite loop.
    Regards,
    Vasanth

  • How to debug the routines in the transformations as well as start,endroutin

    Hi all,
    Can anyone explain me how to debug the routines in the DTP, as well as the how to debug the start and end routines>?
    I am new to bi 7 ?
    thanks
    Pooja

    Hi,
    In Execute tab change the processing Modes to 'serially in the dialog process for debugging' . then you can see the option 'simulate'.
    http://help.sap.com/saphelp_nw70/helpdata/en/45/8594ebd17f1956e10000000a11466f/content.htm
    Step by step doc,
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0038ad7-a0c7-2c10-cdbc-dd674682c8e7?quicklink=index&overridelayout=true

  • LSMW VD51 , Validations in Begin of Transaction; how to Debug the code?

    Hi All,
    I have written code for validations i Begin of Transaction in the field mapping 5th step of LSMW for VD51.
    Now this code not getting triggered at the time of Conversion of Data. How to debug the code. I have put a static break point 'BREAK-POINT' still not getting triggered.
    Any suggestion / solution for this issue.
    Thanks and Regards,
    Narsimha Kulkarni

    Hi Narshimha,
    Make any mapping error during mapping and check the syntax of mapping it will drag you to the lsmw report there you can put your break point. You can check the report name from transaction code as well.
    Remember this mapping block will execute when you execute the step Convert Data in LSMW.
    Regards
    Dhirendra

  • How to debug the update FM

    Hi,
    I am facing a problem with the debugging of the update FM. I have enabled the update debugging and the system says that update debuging is on . even though the control did not go into the FM.
    Do i need to check in any other transaction . Please give me the details steps on how to see the what is happening in the update FM.
    Full marks are guaranteed.
    thanks
    sankar

    Hi
    I have got a clue from SAP help on how to debug the update FM see the below information from SAP
    When you debug a program that calls function modules using the IN BACKGROUND TASK addition, they are processed in a background work process (additional internal session). If you set the In background task: Do not process option, the system collects the function calls, but does not start the background work process. The Debugger assigns a transaction ID, which identifies the background work process uniquely. You can now start the Debugger for the background work process using transaction SM58. You can select the function module concerned here, and then execute it via the Edit menu.
    I have done everything that is said above , but could not find any entries in SM58
    any suggestions
    thanks
    sankar

Maybe you are looking for