Program to run several FICO transaction in background

Hello everyone.
I received a request to run, in background, a list of transactions. I found most of the reports that can be used to run the transaction in back ground.
Here is what I did so far.
1. I created a report that is collecting on the screen selection the following information:
     1. Company code
     2. Plant
     3. Controlling area
     4. Period
     5. Fiscal Year
     6. Test run flag
2. I am setting the parameters CAC and WRK
3. Collecting print parameters
4. For transaction CO43 I am submitting the report RKAZCO43
    For transaction KKAO I am submitting the report SAPKKA07
    For transaction KKS1 I am submitting the report RKKKS1N0
    For transaction CO88 I am submitting the report RKO7CO88
So far so good
Here is my problem
For transaction KKRV I am submitting the report RKKRPRRE but this report doesn't have any variant possible. Further more when I am submitting passing the parameters it doesn't use it. So the report is running for all plant. That is not good.
Is there any other report that can do the job where we can create variant and pass some values using parameters?
The last transaction is S_ALR_87013139, I am submitting the report GP3TWPYIY8XBZRZ5C9ORSKG3OIV.
Those 6 transactions are used monthly and taking a lot of time. The financial guys would like to have them ran in background automatically each month.
All suggestion will be highly appreciated.
Regards
dstj

Hello everyone
Here is the solution I used.
I am running the RKKRVBC0 report passing the parameters.
SUBMIT rkkrvbc0 WITH p_werks  = p_werks
                  WITH p_perifr = p_period
                  WITH p_perito = p_period
                  WITH p_yearfr = '2009' " p_year
                  WITH p_yearto = '2009' " p_year
                  WITH p_reset  = ' '    " Delete Values Outside preiod
                  WITH p_srv_gr = ''     " Server group
                  WITH p_tasknr = '5'    " Maximum Process
                  WITH p_blsize = '100'  " Data Records/Task
                  WITH p_kokrs  = p_kokrs " Controling area
                  WITH p_loekz  = ' '     " Deletion flag
                  AND RETURN.

Similar Messages

  • No result /report when weu00B4re running a risk analysis in background

    Dear forum,
    We are running several risk analysis in background (from configuration tab) and we cannot see any result
    in the column called "result". However, when we run a offline analysis (from informer tab) we can see that the column "result" is containing a file.
    Hope you can help us.
    Thanks in advance.

    Running risk analysis in background from the configuration tab does not produce a report by design.  This background job is really just performing a system maintenence activity and is not intended for report generation.  This background job preps data for performing offline analysis as well as the underlying data that supports the management reports in the informer tab (among other things).  Generally, anything in the configuration tab is system maintenance related.
    It sounds like you're attempting to perform typical analysis of end user access, not system maintenance activities.  The informer tab is what you need to be using to perform the analysis.
    Within the informer tab, whether you choose to perform online analysis or offline analysis, a report result is always generated.  In my experience, there has not been a compelling reason to use offline analysis capabilities within the informer tab.  Online analysis (real-time analysis of the SAP system rather than the offline data from the last configuration tab background risk analysis) is naturally always current, which is a plus.

  • Run the SOST transaction in the Background with, or without, a BDC

    Hello all,
    I was trying to write a Z-Program that would create a BDC that executed Transaction SOST to resend fax messages.  It turned out that I could not record the ALV Grid that contains most of the selection/filter criteria functions because those functions exist in the ALV Grid.  Some fields exist above the ALV Grid and could be recorded. I record them and used them in my BDC to filter for the faxes I wished sent.  I also used a saved layout for the filtering I would have applied if I cold have recorded the ALV Grid.
    All seemed well in testing until I attempted to run my Z-Program in the Background.  The Z-Program creates the BDC which in tern executes the resending of faxes.  I did not realize that the SOST transaction had a completely different screen layout in the Background.  That was something pointed out to me when I was instructed to Record the BDC in "Simulate Background Mode".  It doesn't seem like I can enter selection criteria in the Background version of the screen at all.
    Has anyone been able to run the SOST transaction in the Background with, or without, a BDC?  If not has anyone ever automated the SOST functionality in a Z-Program?  Can SOST run in the background at all?
    Thanks

    Hi,
    try to resend it using program RSCONN01.
    Regards,
    Adrian

  • How to run the program in background job,program should run in 3 days.

    Dear Gurus,
    i have a program , that program should run approximately 3 days to get the result.
    i scheduled this program as a background job.
    how can i run sto5 t-code for this same program.
    i that case how we can trace the output.
    Experts please help me out.
    Thank u very much.
    Regards
    sudheer

    Hello Sudheer,
    The trace can be set on background jobs by using ST12 transaction. Please make sure that the trace is activated for only few minutes in production environment.
    Contact your basis team to activate trace on background job and the transaction used is ST12.
    Thanks

  • Getting the variant name when the report program is run in background

    Hi All,
    How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
    Any pointers to this will be highly appreciated.
    Thanks and regards,
    Nilesh.

    Hello Nilesh,
    Please find the algo:
    1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
    2. Select data from TBTCP using these details:
    DATA:
    FP_EVENTID   TYPE BTCEVENTID
    FP_EVTPARM   TYPE BTCEVTPARM
    FP_ACTIVE    TYPE BTCXPGFLAG
    FP_JOBCNT    TYPE BTCJOBCNT
    FP_JOBNM     TYPE BTCJOB
    FP_STEPCNT   TYPE BTCSTEPCNT.
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          EVENTID                 = FP_EVENTID
          EVENTPARM               = FP_EVTPARM
          EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
          JOBCOUNT                = FP_JOBCNT
          JOBNAME                 = FP_JOBNM
          STEPCOUNT               = FP_STEPCNT
        EXCEPTIONS
          NO_RUNTIME_INFO         = 1
          OTHERS                  = 2.
      IF SY-SUBRC <> 0.
    *   Error calling FM: GET_JOB_RUNTIME_INFO
      ENDIF.
    DATA: FP_VARIANT TYPE BTCVARIANT.
      SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
      FROM   TBTCP
      INTO TABLE L_IT_TBTCP
      WHERE  JOBNAME   = FP_JOBNM
      AND    JOBCOUNT  = FP_JOBCNT
      AND    STEPCOUNT = FP_STEPCNT.
      IF SY-SUBRC = 0.
        SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
        READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
        IF SY-SUBRC = 0.
          FP_VARIANT = L_WA_TBTCP-VARIANT.
        ENDIF.
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • Can a java program be run in the background?

    Hi all,
    Can a java program be run in the background without the user being aware of it? I need to make a program that continuosly monitors a pc at regular intervals and runs at all time. It should be hidden(shouldn't display on the screen while running) from the user, and also, can it be run as a system file so that even if a user checks he/she would think of it as a system file?

    I'm the administrator of all the computers. Then as I said there are commercial applications that do that.
    Presumably you expect a problem now. And implementing an acceptable solution is going to take you months. Because not only need to 'hide' the application, you also need to set up all the monitoring and logging capability. And the first will require quite a bit of JNI work along with testing (in particular as it could interfer with existing applications on the users computers.)
    I need to
    install the software in all the machines and i want
    that the users who use the machine should not be able
    to close the program through the task manager. If the users have admin rights then they can terminate a windows service.
    And if they don't have admin rights then you can simply turn off the ability to install anything.
    I want
    to know what the resources of the computers are and
    that if anyone has added a resource to it or
    not(attaching a flash usb thumbdrive etc). Lots of JNI.

  • How to reopen window in a program which runs in background

    Hello,
    I created a program, which runs in the background(when you start it, doesn't open a window). It has a notify icon and by double click opens a window. I open the window with ShowDialog() method. After I close it, I cannot reopen it. It says: "Cannot
    set Visibility or call Show or ShowDialog after window has closed". What should I do?
    Thanks!

    When you say you can't re-open it.
    Exactly what are you doing to show and hide it?
    And what do you do to show it again?
    Actually, I can probably guess roughly what you're doing.
    Are you trying to show a window you closed without instantiating it again?
    Are you effectively doing something like:
    Window win = new MainWindow();
    win.Show(); ....
    win.Close();
    win.Show();
    Because you should do
    Window win = new MainWindow();
    win.Show();...
    win.Hide();
    win.Show();
    Once you close it, that's it you're done with that window. It's on the garbage heap waiting for the garbage collector to come along and recycle it.
    It is no more.
    Either hide() rather than close() or instantiate a new object each time.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • How to set a  Executable ABAP  Program to run as a Background Batch Job

    Hi
    Currently  I had a Executable ABAP  Program which when executed prompts for user to enter selection once entered and executed it will delete user entered selections from a Table.
    Now my requirment is to enhance that program to run it as a BACKGROUND BATCH JOB so that there will be an entry in SM37 when the program is executed
    How can i achieve this

    Hi,
    Please refer this link .
    It has the steps.
    http://sapient.wordpress.com/2007/06/19/how-do-you-set-up-background-jobs-in-sap/
    Regards,
    SuryaD.

  • I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    You can see which apps are open and/or recently used by double-clicking the home button to bring up the taskbar at the bottom of the screen (not all apps that appear there are active) - you can then close apps on it by pressing and holding one of them for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar. If you have an app 'open' on-screen then it won't appear on the taskbar, you will need to go back to the homescreen first, and it should then show when you next open the taskbar.
    If you haven't already got a copy then you can download the iPad manual from here : http://support.apple.com/manuals/#ipad

  • How do I stop programs from running in the background?

    How do I stop programs from running in the background?  In the old system you could delete them.

    Most of those apps aren't running in the background, but what you are asking is how to close the apps.
    To close an app in iOS 7, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.

  • How can I tell if programs are running in the background.

    iPod touch version 4.2.1, how can I tell if programs are running in the background.  Battery is dead quickly and time/date reverts to Dec 31, 1969.  can see thin silver frame around screen like something is running in background.

    You really can't tell unless you hear music or similar. Many are always listening for notifications and other things.
    To preserve battery life see the following:
    Apple - Batteries - iPod
    I leave mine in airplane mode when sleeping.

  • How can I read the EXCEL file while Program is running in background.

    Hi all Expert,
    How can I read the EXCEL file while Program is running in background.
    Thanks

    you need to place ur excel file on application server and follow this thread: Reading an Excel file from the application server?
    loots of information if you can search forum.. thanks

  • Difference in runtime of a program when run in background vs foreground

    Hi,
    Is running the program in background would result to better performance in terms of speed compared to foreground? If yes, what's the reason behind.
    Thanks!

    Hi Advait,
    >
    Advait Gode wrote:
    > Yes, program does run faster in background process than running in foreground.
    sorry... an ABAP program will NOT run faster in background.
    As could be seen from your link:
    - a program in background does not have a timout limit
    - a program in background can use a different memory allocation sequence (depends on configuration)
      and may be able to allocate more memory than a foreground program (depends on configuration as well)
    but it will not run faster... .
    Kind regards,
    Hermann

  • Several programs are running at Startup

    Hi Everyone, I truly need your assistance as I am a novice to the internal workings (system Admin) of the computer (Windows 7). My computer is performing terribly and when I check the "troubleshoot" system it tells me that "SEVERAL PROGRAMS
    ARE RUNNING AT STARTUP". I know this a simple "fix" if you know what you are doing but I don't.  Please help me....someone.
    How do you know which programs are the ones needed at STARTUP?.
    Newcomer Bev

    It the Resume feature.
    When choosing Restart, Sleep or Shutdown there is a checkbox you can uncheck to prevent the apps from launching.
    Also in System Preferences > General there is a hard-to-find checkbox under "Number of recent items" you can turn off.
    Also, you can hold the shift key to disable resume on a one time basis.
    If you want to turn it off on a per app basis, (TextEdit is by example, replace TextEdit with the name of the app)
    Launch Terminal and copy/paste this at the prompt...
    defaults write com.apple.TextEdit NSQuitAlwaysKeepsWindows -bool false
    Press return.
    You can also accomplish this through the GUI by going to ~/Library/Saved Application State/TextEdit and delete that file…
    (note that the User Library is hidden - one way to get there is to go to your Finder "Go" menu hold the option key to choose "Library")
    To turn off Resume globally...
    chflags uchg ~/Library/"Saved Application State"
    Press return
    The reverse of the first one is to replace false with true.
    The reverse of the second one is
    chflags nouchg ~/Library/"Saved Application State"
    Again, you can accomplish this through Finder by going to ~/Library/Saved Application State and deleting the folder.

  • How long a program can run in Foreground/background?

    Hi ,
    Can anyone know what is the maximum time a program can run without time out ,in foreground/background?
    Let me know,its an urgent requirement....
    Thanks in advance!!!

    Hi Hemant,
    Updation of the timeout limit is task of BASIS.
    In Tcode : RZ10, you can maintain systme parameters.
    The parameter name is rdisp/max_wprun_time. If it not maintained in the profile it will be default 10 mins(600 seconds) as SAP has recommended.
    Also check this links for more info.
    http://sap.ittoolbox.com/groups/technical-functional/SAP-R3-DEV/timeout-in-abap-debugger-560635
    http://sap.ittoolbox.com/groups/technical-functional/SAP-R3-DEV/timeout-in-abap-debugger-560756
    Regards,
    Ferry Lianto

Maybe you are looking for