Skip to Content
0
Former Member
Jul 19, 2008 at 07:18 AM

Passing SO number to driver program !!

71 Views

hi guys...

i have to create a smartform for printing a sales order which will be attached to a z o/p type in std tcode VA02. i want to know the following.....

1. how do i import the SO number entered by the user in VA02 into my z program or z smartform.

2. i found the following steps in SND to create a PO ...

a. when you create a output it creates an entry in table NAST.

b. the transaction triggers program SAPFM06P which in turn looks into table TNAPR to get the program and smartform.

c. SAPFM06P triggers form ENTRY_NEU of your new Z program and prints the Z-smartform.

d. Please have a quick look at program SAPFM06P for the basic structure. call ur smart form in subroutine ENTRY_NEU.

are there any similar step for creating a SO as well??

i have asked this question earlier as well but could not arrive at a solution....i would be greatful if someone could give more elaborate answers as i am working on smartforms for the first time.

Points will be rewarded !!

Edited by: Poonam Londhe on Jul 19, 2008 12:48 PM