Skip to Content
avatar image
Former Member

" HOW TO WRITE FORM ROUTINES"

Hi all ,

I have a Query .. I have Developed a Smart form ( Delivery Challan ) .. My Functional Consultant asked me , If he Execute the T-code ( VL02N ). He should get the Print Preview of the Layout ...

I know it can be done through Form routines ..

Can one Explain me how to write the form routines ...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 27, 2009 at 07:35 AM

    Hi ,

    Copy the print program to custom program . Remove the routine " entry " . Write a selction screen with document number . put the read number to nast-OBJKY , V2 to NAST-KAPPL , sy-langu to nast-SPRAS in start of selection .Copy paste the code under the Entry routine .

    hope it helps ... 😊

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2009 at 08:11 AM

    Hi,

    Just follow this link.

    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9a0735c111d1829f0000e829fbfe/content.htm

    Hope this will help you;

    Regards;

    Alok

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2009 at 10:17 AM
    Add comment
    10|10000 characters needed characters exceeded