Run smartforms in background mode

Hi
   Can anybody tell me, can we execute smartforms in background mode. Please tell me. Can we take printout from the spool.
Smartform have driver program.
Thanks
Murali Papana.

hi,
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.
Hope this helps, Do reward.

Similar Messages

  • Options run vf11 in background mode

    Do we have an option to run VF11 in background mode? We have large invoices to be cancelled and VF11 gets timed out. BASIS defintely helps by extending the time out setting, but tryign to see any smarter options.
    Regards
    Vinod

    Per OSS  Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents, you can't run VF11 in background.
    As you mentioned, you need to set out the timings as mentioned in OSS Note 25528 - Parameter rdisp/max_wprun_time to handle large volume of billing cancellation during online processing.
    Regards,

  • Run procedure in background

    Hello everybody.
    Happy chrismast and happy new year to all.
    One simple question.
    How I can call a PL/SQL procedure and run it in background mode from other PL/SQL procedure?
    Thanks in advanced & best regards to all.

    Hi,
    Executing a plsql procedure in the background is easy, for example the following executes myproc immediately in the background.
    begin
      dbms_scheduler.create_job('my_job',
        job_type=>'plsql_block',
        job_action=>'my_proc();',
        enabled=>true);
    end;
    /To see how to trigger a procedure whenever an event occurs you can use an event-based job, there is an example here
    Re: Event Based scheduling
    There is also a forum dedicated to the scheduler here
    Scheduler
    Hope this helps,
    Ravi.

  • Runtime.exec p.waitFor hangs in background mode

    Hello,
    I have problem while running on Solaris using java 1.4.1:
    Part of the program executes shell commands like chmod +x, ... when the program is run in the foreground mode, everything works Ok, but when it runs in the background mode (using &) the program hangs at the process.waitFor() call, when I move the program to the foreground (using fg) it resumes work correctly !!!
    Can any one tell me what might be going on?!!!
    Thank you all in advance.

    There is program-wide redirection for stdout and stderr to log the output to a log file and JTextPane, but nothing for stdin.

  • Running a Dynpro-based Report as a Job/in Background mode

    Hello,
    i've got a report which hasn't got a selection-screen as its startscreen, but a complex dynpro and is based on different start-buttons and not only the "basic" F8/Run-Button. the users still would like to be able to run the report in background mode and as an automated weekly job. moreover they want to use their own configuration/variant for date-fields etc., just like they are used from a selection-screen. is this possible "out of the box" with a dynpro-based report or how can i archive this through my own programming logic?
    thanks for your help,
    dsp

    Hi,
    I guess yes, but since you seem to have several processes possible at startup (those buttons), you will have to code a new bit of code at the start of your application. This to choose the correct process... you should have a new statement like
    IF sy-batch IS NOT INITIAL.
         "Perform batch process
    ELSE.
         "Perform normal run
    ENDIF.
    For the variant, I'm not sure to really get the idea... Do the users already use variants with the actual version? or is there no selection screen at all? If not, you should use one and set-up parameters to pre-fill your dynpro fields...
    Kr,
    Manu

  • When the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently.but in fact,when the app in background ,the app need data update to make the

    when the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently。but in fact,when the app in background ,the app need data update to make the function of  trajectory replay come ture。in fact, we have added function when the app  is in background mode。we have point out the point to them by email。but they still have question on the background mode,we are confused,does anyone can help me,i still don't know why do review team can't find the data update when  the app is in background and how do i modify the app,or what is the really problem they refered,do i misunderstand them?
    the blow is the content of the review team email:
    We found that your app uses a background mode but does not include functionality that requires that mode to run persistently. This behavior is not in compliance with the App Store Review Guidelines.
    We noticed your app declares support for location in the UIBackgroundModes key in your Info.plist but does not include features that require persistent location.
    It would be appropriate to add features that require persistent use of real-time location updates while the app is in the background or remove the "location" setting from the UIBackgroundModes key. If your application does not require persistent, real-time location updates, we recommend using the significant-change location service or the region monitoring location service.
    For more information on these options, please see the "Starting the Significant-Change Location Service" and "Monitoring Shape-Based Regions" sections in the Location Awareness Programming Guide.
    If you choose to add features that use the Location Background Mode, please include the following battery use disclaimer in your Application Description:
    "Continued use of GPS running in the background can dramatically decrease battery life."
    Additionally, at your earliest opportunity, please review the following question/s and provide as detailed information as you can in response. The more information you can provide upfront, the sooner we can complete your review.
    We are unable to access the app in use in "http://www.wayding.com/waydingweb/article/12/139". Please provide us a valid demo video to show your app in use.
    For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
    - complete details of your rejection issue(s)
    - screenshots
    - steps to reproduce the issue(s)
    - symbolicated crash logs - if your issue results in a crash log
    If you have difficulty reproducing a reported issue, please try testing the workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>Technical Q&A QA1764: How to reproduce a crash or bug that only App Review or users are seeing.

    Unfortunately, these forums here are all user to user; you might try the developer forums or get in touch with the team that you are working with.

  • Error in BIM when running in background mode

    Hi,
    I am facing an error when running a BIM in sm35.
    The BIM runs fine with my userid in all three modes( foreground,display error mode, background mode)....but fails when the functional person is testing in background mode. The BIM runs fine in all other modes.
    It gives the message when running in background mode
    "No batch input data for screen SAPLMGMW 4008"
    What should I check or do to correct it.
    Please help.
    Regards
    Rashi

    The BIM runs fine in Foreground mode and in Display error mode even for the functional..It is giving error only for Background mode.
    I also did the following
    1.   Created the BIM in my id and tried running( in background) it using the other id ...it was successful
    2.   Created the BIM in other id and ran ( in background) using my id....it failed.
    I will check again for authorisations also.
    Regards,
    Rashi

  • How to DEBUG a function module running in background mode? Please help!

    Hi Experts,
       I am calling a function module in my ABAP code in background module using the following syntax:
      CALL FUNCTION 'YBBC2_CREATE_SNAPSHOT' IN BACKGROUND TASK
              TABLES
                itab_std_format_inv = itab_std_format_inv
                itab_snapshot_inv = itab_snapshot_inv.
            COMMIT WORK.
    If I put the breakpoint in the CALL FUNCTION line and execute the program, the debugger does not take me to the valled function module. This may be because I am running the function module as background task.
    I cannot comment this  "IN BACKGROUND TASK" statement as well since i am debugging in Quality system where I don't have change access.
    So how to DEBUG a function module running in background mode? Please help!
    Thanks
    Gopal

    Hi,
    You could try to use the following trick:
    (1) Put an endless loop into the coding of your function module where you want to start debugging, e.g.
      DATA:
        lx_exit_loop(1)     TYPE c.
      lx_exit_loop = ' '.
      DO.
        IF ( lx_exit_loop = 'X' ).
          EXIT.
        ENDIF.
      ENDDO.
    (2) Call your function module in background task
    (3) Call transaction SM50 and search for the background process.
    (3) Choose from menu Program/Mode -> Program -> Debugging
    Now you the debugger should bring you right to your endless loop. Set lx_loop_exit = 'X' in the debugger and continue (F5 or F6).
    <b>Reward points</b>
    Regards

  • How to run a BAPI in background mode?

    Dear friends,
    I have a requirement [In the UI user can choose two options - run online or run backgroud] to run a BAPI (BAPI_SALESORDER_CHANGE) in background mode (background job)  , does anybody know how to implement it?
    Thanks a lot!!

    Hi
    You can define 2 radio button one foreground and otherfor background then
    for background use FM BP_JOB_CREATE or BKK_UPT_DISP_JOBS_START  or DB2_SCHEDULE_JOB_IMMED
    Regards
    Shiva

  • Running Crystal Reports in background mode

    Ist there any way to run Crystal Reports against R/3 (ECC) in background mode instead of as a dialog user? We're having timeout issues since the dialog timeout is set to 30 minutes. We have several reports that run quite a bit longer than that.
    Update: I just answered my own question. Pages 58-59 of the install and configuration guide shows you how to do this.
    Edited by: Mike Garrett on Jan 22, 2009 4:57 PM
    Edited by: Mike Garrett on Jan 22, 2009 8:41 PM

    Hi,
    SIA should be all you need because it is starting the other processes as well. Keep in mind that if you do that that most likely all you reports will run in batch mode (also those called on demand.)
    Ingo

  • Script running in background mode

    hi,
         I am running the report HBRDARF0 in background mode, this report gives Sap Script(script name: HR_BR_DARF98) as the output while  viewing the spool data am unable found sapscript data in spool. 
    one more query, by using the fm: CONVERT_OTFSPOOLJOB_2_PDF  i trying to move spool data into pdf, it gives error message like....Spool Request contains no Sap Script data.
    if we get the sapscript data in spool the issue above two issues are closed.
    regards,
    Revoori

    thanks for your response,
                    as per your suggetion i debugged the Job by using JDBG, while debugginh the exception returned like.....more_params_needed_in_batch and returns SY_SUBRC = 8 by the function module OPEN_FORM and error message like UNOPEND sy-subrc = 1 by CLOSE_FORM .
    what are the parameter we provide as per the open_form function module in batch mode.
    call function 'OPEN_FORM'
           EXPORTING
                archive_index                   = p_archive_index----
    contains no values
                archive_params                = p_archive_parameters----
    is initial
                dialog                              = p_dialog----
    space
                form                                = p_form----
    HR_BR_DARF98
                options                            = l_options----
    contains values
           IMPORTING
                result                               = p_result
           EXCEPTIONS
                canceled                    = 1
                device                      = 2
                form                        = 3
                options                     = 4
                unclosed                    = 5
                mail_options                = 6
                archive_error               = 7
                more_params_needed_in_batch = 8
                others                      = 9.
      p_subrc = sy-subrc.
    here sy-subrc = 8. and the error message is more_params_needed_in_batch
    L_OPTIONS-TDCOPIES = 1
    L_OPTIONS-TDNEWID     = X
    L_OPTIONS-TDDATASET = LIST1s
    L_OPTIONS-TDLIFETIME = 8
    L_OPTIONS-TDCOVER     = D
    L_OPTIONS-TDRECEIVER = sy-uname
    L_OPTIONS-TDARMOD       = 1
    and remaining are initial
    regards,
    revoori

  • Is there any way to run signcode.exe program under background mode

    Hi everyone,
    I am finding the solutions to build the project automatically but the situation is still unchanged. When building the project i have use the signcode tool to sign my .cab files therefore the system shows me the "Enter Private Key Password" dialog and ask me to enter my password into the Password field.
    If all you guy have any ways for packing the project by the mechanism of the running signcode program under background mode. Below is my script.
    [b]signcode -spc ms.spc -v ms.pvk -n abc.cab -i URL -t http://timestamp.verisign.com/scripts/timstamp.dll abc.cab
    Thank you for your ideas and regards
    Tan

    Hi,
    you can use the tool signcode-pwd to automate the signing:
    http://www.stephan-brenner.com/blog/?page_id=9

  • Firefox will run reasonably fast - for a while, I do have quite a few tabs open, They start out in background mode, but as soon as I access them it slows

    My problem is Firefox will run reasonably fast - for a while, I do have quite a few tabs open, They start out in background mode, but as soon as I access them (to view or download from them) even if I close them as I go, FF will start to slow down and it isnt long before FF drops to a crawl sometimes taking MINUTES to answer a click on the file menu (example) no fancy benchmarks needed.
    Having to restart FF and hoping your tabs come back for a temp. speedboost is NOT acceptable.
    I have to restart at least 3-5x a day - anyone else think this is stupid?
    I have 6 gigs ram, XP 32 only uses about 3.5 of it, 2.33ghz core duo, plenty of drive space.

    I understand that after using Firefox for a while there are some issues with speed. [[Firefox is slow - How to make it faster]]

  • When I click on a new link, it opens a whole new firefox instead of using my default which is running in the background

    I have firefox as my default browser. Anytime I click on an email or search for something, instead of opening my default browser, firefox loads a new firefox page. It is a blank page just as if I had never had one. It has nothing on it except how you would start out before you set up your tabs and history etc. My default firefox is still there running in the background but I must click on it and manually put in the link I was trying to open.
    Any suggestions.

    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?

  • XLS from Application server in background mode to internal table

    Hi,
    I need to transfer the content of an excel file in the application server to an internal table while running my program in background. My file is xls, cant use csv. For dataset bin mode, I need to know how to transfer the data to my internal table, already searched on forum but didnt find answer, at least not for background..
    ow, I am using v6 here
    about the ALSM_EXCEL_TO_INTERNAL_TABLE, I get the upload_ole error all the time, and with TEXT_CONVERT_XLS_TO_SAP, conversion_failed all the time too...
    here is the code, just the load part and data declaration:
    REPORT zbeto.
    TYPE-POOLS: truxs.
    TYPES:
    BEGIN OF y_cot,
    text1(12) TYPE c,
    text2(12) TYPE c,
    text3(12) TYPE c,
    text4(12) TYPE c,
    text5(12) TYPE c,
    END OF y_cot.
    DATA: it_datatab TYPE STANDARD TABLE OF y_cot,
    wa_datatab TYPE y_cot,
    it_raw TYPE truxs_t_text_data.
    DATA:
    v_file TYPE rlgrap-filename,
    begin_col TYPE i VALUE '1',
    begin_row TYPE i VALUE '2',
    end_col TYPE i VALUE '5',
    end_row TYPE i VALUE '102',
    t_ctmp TYPE y_cot OCCURS 0 WITH HEADER LINE,
    t_xls TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    PERFORM f_load_xls.
    FORM : f_load_xls
    FORM f_load_xls.
    v_file = '
    ZSAPDEV\SAPDEVINTERF$\COTACAO\TESTE.XLS'.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = v_file
    i_begin_col = begin_col
    i_begin_row = begin_row
    i_end_col = end_col
    i_end_row = end_row
    TABLES
    intern = t_xls
    EXCEPTIONS
    inconsistent_parameters = 1
    upload_ole = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
    I_FIELD_SEPERATOR =
    i_line_header = 'X'
    i_tab_raw_data = it_raw " WORK TABLE
    i_filename = v_file
    TABLES
    i_tab_converted_data = it_datatab[] "ACTUAL DATA
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_ctmp[] = it_datatab[].
    ENDFORM. "f_load_xls
    both FM arent working, and when I try to execute in background mode, before anything, I recieve the following error:
    Message text:
    Error during import of clipboard contents
    Message class:
    ALSMEX
    Message no.:
    037
    Message type:
    A
    and without the ASLM FM, the TEXT_CONVERT give me the conversion_failed exception...
    the directories are right, that I am sure, because I just copy&paste it from CG3Z/CG3Y when I uploaded and downloaded to
    check the file in the server...
    am I missing something?
    thanks again,
    Roberto Macedo
    (PS: I made another topic because none replied the other in 4 days and wasnt solved yet)

    Hi!
    You didn't find answer for this, because it is not possible. If you run your program in background, it is running on the server, and does not have any connection to your local machine. That's why you can't upload/download in background mode.
    You might try to address somehow your local PC, with its IP or MAC address, but I don't think does this task worth so much time.
    Run your program in online mode, or if you want to run it in background, then upload your file into the SAP server.
    Regards
    Tamá

Maybe you are looking for

  • ICI - How to display custom error messages in SAP CRM

    Hello, we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI. The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already. Our

  • Firewire 800 speed weirdness

    I recently purchased a four bay RAID array to replace the multitude of external drives that I've collected over the years. I installed four 1TB drives in a RAID 5 configuration to make up a 3TB array. The RAID model is the DM4 from Sabio (Sabio DAS D

  • Count characters in Word for Mac

    Hi Guys, does sb know how can I count characters in Word for Mac? Pls help me... THX a lot!

  • Saving source code

    Hi Experts, is there any possibility to save the source code with 1 step? (E.g. main program in one file, includes in another file(s), etc...) So I would like to save the main program and every subroutines that belongs to it into one or different TXT

  • Urgent!!!!Interactive Form Error :Invalid Node Type dataGroup

    Hi All, I have created an interactive form with webdynpro java and when i run the application the form is running perfectly but i am getting the inforamtion error as Invalid Node Type:dataGroup The fault Occured on line 28. I think it is an adobe rea