cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help in scripts...its urgent

Former Member
0 Kudos

Hi ,

we have RVADOR01 a print program

RVORDER01 - Form Name and the transaction VA03 to disp.

How the data is flown to the print program,,after selecting the required output tupe in the VA03. How the print rogram decides which output type is selected by the user ??

How can i debug the print program from the VA03 to check the flow/?

Best answers r rewarded

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

You can setup a breakpoint in the print Program to debug the print program, you can start the Debugging at that poitn, to know the output type, see the table NAST in the debugging, you will get all the information.

To debug the Script, see the bwlow blog.....

/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging

Regards

Sudheer

Former Member
0 Kudos

Hi Mahesh ,

Please check the transaction code 'NACE' . Here you will find the settings done for various output types ...for each output type it is defined which print program will be used and that print program will call which layout / sapscript or smart form .

Regarding ..how system decides which output type to be selected ..that is defined in customising for output determination in respective config areas in IMG . Once that output type is decided by the system it checks your config in NACE to determine what print program & Layout combination is to be used.

Regards ..where it gets data ..the call in the print program is fed with the document no ..in that print program values are extracted based on these document no and then the output is passed to the layout format.

The NACE is used mainly for logistics area ..for finance instead of nace there are respective config nodes available to mention the calling program and form layout ..for this you need to take help of functional person ..

Hope this helps buddy ..