‎2007 May 08 6:54 AM
hi every body....i have developed a smartform....it has to perform in background...so there is no selection screen....but while i am executing the print program its gng into short dump....coz it has to call all the existing data..if i use any selection screen and test it...then its working properly....but here i shld not use any selection sreen...also there is no need of where statement in my select query...cld any one tel me how can i solve thsi problem....]
thnx in advance.....santosh....
‎2007 May 08 6:57 AM
Santosh,
You can submit this smartform as a background job by skipping the first screen.
K.Kiran.
‎2007 May 08 6:59 AM
hi kiran...actually my job is to assign form in background...but while testing teh form itself its gng to dump...also one more thing.....can u tell me the procedure hw to assighn a smartform in background...
‎2007 May 08 6:58 AM
Hi Santhosh,
In case of forms, the print program will be triggered from any standard application that provides data to it, like VA03 or VF03, which we configure in NACE transaction. But, without input data, how you are triggering your form?
Regards,
Sharmila
‎2007 May 08 7:03 AM
hi sharmila....here we are assignign output type in VL02N Tcode..but while assigning it showing error....'processing routine ERROR is missing in the print program'....can u pls explain me how to use that routine in my program...if possible can u send me any sample code.....
‎2007 May 08 7:00 AM
Use
You can not only evaluate queries online, but also print them in the background. In the Reporting Agent of the Administrator Workbench, you can define the display of the query data as the setting for background printing. You can make as many various settings as you want for printing a query in the background. The settings are then brought together in scheduling packets and scheduled for background printing.
Prerequisites
You have defined a query in the Business Explorer Analyzer that you now want to print in the background. You have called up the Administrator Workbench to do this.
You can only print out queries with key figures in structures. If you have defined a query with a key figure in the filter and want to print this query, you must change the definition of the query so that the key figure is in a structure to be printed.
You can only schedule queries with entered variables for background printing if the required variable entry/entries have been saved as query variants.
Procedure
Defining Reporting Agent Settings for Printing in the Background
Choose the Reporting Agent from the Administrator Workbench.
Navigate in the left-hand tree to the query you want, and, using the right mouse button, choose New Setting. You get to the "New Reporting Agent Setting" dialog box.
Enter a technical name and a description.
Choose Print in the background from the General tabstrip.
Choose the tabstrip Print Settings from the newly added tabstrips.
Determine the print settings that you want to make. See also: Print Settings
Choose the Print Layout tabstrip.
Decide how you want to set the following print areas:
Cover sheet
Page header
Table header
Table
Page footer
Last page
See also:
Defining the Print Layout
Choose Activate.
Creating Scheduling Packets and Assigning Reporting Agent Settings for Printing in the Background
Once you have made the Reporting Agent setting for printing in the background, you have to assign your setting to a scheduling packet for the background run.
Creating a scheduling packet
Go back to the Reporting Agent Scheduler, and, in the right-hand Scheduling packets tree, choose the Change pushbutton.
Select the Print in the background node, and choose Create new packet from the context menu (right mouse button). You get to the Create Scheduling Packet dialog box.
Specify a name and a description, and choose Save.
Assigning Reporting Agent Settings for Printing in the Background
Navigate in the left-hand tree, Reporting Agent Settings, to the Reporting Agent setting you want to use for printing in the background.
Using drag-and-drop, drag the Reporting Agent setting that you want to use into the right-hand tree, and assign it to the corresponding scheduling packet.
If the Reporting Agent setting refers to a query with variables, then you need to assign a variant:
Select the Reporting Agent setting.
Using the right mouse button, choose Assign variants from the context menu. A dialog box containing the variants for this query appears.
Choose the variant you want to use.
Choose Continue.
You have the option of maintaining variants in the Reporting Agent (in both the left and right-hand trees).
Select the Reporting Agent setting you want to use.
Choose Maintain variants from the context menu (right mouse button).
Note that you always assign Reporting Agent settings for printing in the background to a corresponding scheduling packet for printing in the background.
To avoid confusion with Reporting Agent settings for exception reporting, you are able to filter according to these two functions in the left-hand menu. The symbols for Exception and Print, in the left-hand tree, also identify the settings.
Scheduling a Packet as a Job
In the right-hand tree, select the scheduling packet you want to use.
Using the right mouse-button, choose Schedule from the context menu. You get to the Change Job RA (name of the scheduling packet) dialog box.
The name of the job is made up of RA for Reporting Agent, and the name of the scheduling packet.
Specify the start date and the repetition period for the job.
See also:
Scheduling Background Jobs in the documentation for the BC Computing Center Management System.
If you want to check the status of the scheduled background job, choose the Jobs pushbutton above the right-hand tree in the Reporting Agent Scheduler.
Award points if this stuff is useful,
thank you dear,
‎2007 May 08 7:00 AM
hi
skip the first screen then excute your smart form
with regards,
suresh babu