Run SM20 in background with variant

I need to supply SM20 report of a particular user and trying to schedule it as a batch job. I am unable to do so in 46C environment.
Has anyone able to achieve something like this?

<b>RSAU_READ_AUDITLOG_EXTERNAL</b>
It looks like it runs on the application server which the system user is logged into. This is default local:
PARAMETERS:
         RFCDEST   LIKE  RFCDES-RFCDEST        DEFAULT 'NONE',
... until you go outside of the system by changing the destination or explicitly to a different application server.
<b>RSAU_SELECT_EVENTS</b>
Here you can choose which application server you want to read from:
SELECT-OPTIONS server     FOR rsauentr-slginst.  "Instanzen"
    SELECT-OPTIONS client     FOR rsauentr-slgmand.  "Mandanten"
    SELECT-OPTIONS user       FOR rsauentr-slguser.  "Benutzer"
    SELECT-OPTIONS terminal   FOR rsauentr2-slgltrm2."Terminals"
    SELECT-OPTIONS tcode      FOR rsauentr-slgtc.    "Transaktionen"
    SELECT-OPTIONS report     FOR rsauentr-slgrepna. "Programme
... so you can choose 1, or more (select single values or ranges), or all application servers from within the same SID.
  call function 'TH_SERVER_LIST'
    tables
      list   = sys_tabl
    exceptions
      others = 1.
  if sy-subrc = 1.
    raise not_available.
  endif.

Similar Messages

  • How do i turn off apps running in the background with the new upgrade?

    how do i turn off apps running in the background with the new upgrade?

    They changed it a bit, but you can still close apps. Double click the Home button to pull up the currently running apps. Side scroll over to the app you want to close, then swipe up on the app *window* (not the icon at the bottom).
    = L.I.

  • Does Safari use up bandwidth if I leave it running in the background with zero tabs open?  Do I have to quit the application each time I am done to avoid exceeding my internet usage/host quota?

    If I leave Safari running in the background with zero tabs open, does it still use up bandwidth?  Do I have to quit the application each time I am done to avoid exceeding my internet usage/host quota?  I'd rather not have to since quitting the application and restarting it when I need to will quickly become tedious, but if that saves me on bandwidth usage, I'll do it.  Thanks!

    iStat pro is another good means of checking your Mac's activity.   Set it up within Dashboard.   It is a free facility.
    iStat pro for Mac - CNET Download.com

  • HT201365 how do i turn off apps running in the background  with ios7 on my 4s phone?

    how do i turn off apps running in the background  with ios7 on my 4s phone

    Double Tap on HomeButton -> slide to that App you wish to Quit -> Swipe from Bottom to Upper Side Display

  • How can i stop apps from running in the background with the new ios7 update

    How can i stop apps from running in the background with the new ios7 update

    Double tap the Home button...slide the last used view of the app(above the icon) up. Tap Home button when finished.

  • GarageBand running in the background with video app open

    I was wondering if GarageBand will run in the background while I'm using the video app on the iPad. Basically, I'm looking to have my guitar running into my iPad with GarageBand running, while watching/following along with a guitar video lesson I also have on my iPad. Can the two programs run simultaneously, or will the video app eliminate the sounds I would get from GarageBand? Thanks.

    Yes, I've done that while playing youtube videos with the youtube app (I'm still using ios 5.1).
    Just go the wrench icon in Garageband and turn on "Run in Background".

  • Is there anyway to close apps running in the background with the new IOS 7 operating system?

    I would like to be able to close apps running in the background and haven't figured out if I can do it  or how to do it with the new operating system update. I would appreciate any help. Thanks and have a good day.

    Just look at this thread - https://discussions.apple.com/thread/5363937

  • I have a web site running in the background with audio only.  I don't know what it is but I want to delete it.

    My 27 in I-Mac had a voice narrative or podcast running the background when I open Safari.  I can't identify this site to find where I might delete it;  I don't even remember how I opened it.  All I want to do is delete it.

    I  found the narrative through Mission Control and it was an article on E-Bay which I had opened.  It is now closed/deleted.

  • How do I close programs running in the background with iOS 7?

    Could someone please help me with this? Thanks!

    double tap the home button, then swipe up the apps that you want to close
    dante

  • HT3576 how do I turn off the apps running in the background on my I phone 5 with the new ios 7

    How do I turn off the apps running in the background with my Iphone 5 with the ISO7 ?

    Double tap on the home button, slide the last used state(above the icon) up, tap Home button when finished.

  • HT201365 how to turn off programs running in the background.

    How to turn off programs running in the background withiOS7?

    I would just add that it is not necessary. The programs referred to are only the recently used programs, and are not "running in the background" with the sometimes exception of GPS apps and music apps. They are simply dormant in the memory. The operating system will remove these programs if the space is required.

  • Please tell me how to shut down apps running in the background on my iPad.  I downloaded ios7, and now when I hold my finger on them they don't have the plus sign

    Please tell me how to shut down apps running in the background with ios7

    Shut down apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • Background Job assigment with variant in SM37 , for Textfile uploading

    Dear all,
    Im using the BAPI_PO_CHANGE to update the existing schedule dates in Purchase Orders,
    for this the po's , item, schedules, delivery dates(Need to update) from a Textfile into the internal table
    and passing that data to bapi function module, it works fi9 in foreground and the output is a classical report
    with Corresponding messages through RETURN.
    i need the same to run in background with a variant, but after assigning the background job in SM36,
    i found that the job assigned got CANCELLED in SM37.
    I hope everything is clear, so kindly revert back with solution.
    Regards,
    Niranjan.G

    Hi,
    You should understand that background job will be executed in application server and there will be no gui or access to presentation server available.
    You should upload your file to application server through tcode CG3Z.
    See F1 help for OPEN DATASET / Search SCN for sample codes for OPEN DATASET.
    You should change the code so that it can be run in both modes using the system variable SY-BATCH.
    If it is space use GUI_UPLOAD, if it is X use OPEN DATASET.
    Regards
    Karthik D

  • Problem to run ABAP job with VARIANT in Redwood

    Hi,
    I am new to SAP, Redwood and this forum so if this topic has been covered earlier I apologize.
    My problem is that I have a SAP job with a VARIANT in SAP that I want to have working in Redwood.
    I import the job with RSI_IMPORT_ABAP_PROGRAMS and the variant with RSI_IMPORT_VARIANTS. At this
    stage I am relatively sure I was able to run the job once by submit RSI_ABAP_RUN with variant.
    I use the RSI_GENERATE_VARIANT to generate the VAREDIT script to be able to change the parameters
    for the ABAP job. Modify the parameters, run the VAREDIT script.
    When I now try to run the RSI_ABAP_RUN with the variant I enters values for instance, client, jobclass,
    ABAP program (from dropdown list), ABAP variant (from dropdown list), Job name (get filled automatically)
    then tries to goto "next" or "submit" I get a popup window.
    Error
    Enter a valid value for the ABAP_VARIANT_NAME.
    I am still able to run the job in SAP with VARIANT and in background.
    Does anyone have any ideas?

    Hi Henrik,
    One of the parameter checks apparently is failing, and in some special cases the issue may be with another (related) parameter.
    Can you tell me exactly which version you are using (6.0.2.x or maybe 7.0.x.y) ?
    You can find this in the view JCS_PRODUCT_COMPONENT_VERSION or by running the RW_SHOW_INSTALLED_COMPONENTS script. I would need to know the repository and the rsi version.
    Have you tried entering a (different) jobname manually ? And if the client number you use below 100, does it have leading zeros or not ?
    Anton.

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

Maybe you are looking for

  • JDEV deployment of web app with custom JAAS login module fails

    For the first time, I am trying to implement a custom JAAS login module. JDEV deployment to standalone OC4J only fails when my orion-application.xml is included. The deployment fails with a java.lang.InstantiationException. This what I have done: 1)

  • Upgrading to 11.1.2.3 - Enable EPMA or wait?

    Hi all, please forgive me if my first post on the forum is a little newbish I'm in the process of upgrading EPM 11.1.2 to 11.2.3.3 and I'm hemming and hawing between whether or not to use this opportunity to upgrade from classic to epma.  I'm envisio

  • Bug in pagination CSS on these support forums

    Hi Just noticed the pagination buttons in these forums are screwed to the right side... and then i searched and found that in this file, you have a css entry .cf { } which is empty... i assume it should have { clear: both } ? This is the css file whi

  • Re: Zen Touch replacement batt

    Hi, I'm pretty new here. There is so much information in this website it is pretty confusing. I'm sure this question has been asked to exhaustion, but I'll ask anyways. Where can I get a replacement battery for my ZenTouch? If you return it to Creati

  • Voiceover and facebook on iPhone

    Is there a place that I can contact to give suggestions to apple or facebook about how voiceover is working with facebook on my iPhone?  I am having a few issues that voiceover doesn't read certain things or let me open certain links...  Like for exa