cancel
Showing results for 
Search instead for 
Did you mean: 

" HOW TO WRITE FORM ROUTINES"

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Just follow this link.

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

Hope this will help you;

Regards;

Alok

Former Member
0 Kudos

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