Is there a way to find which process s chain was scheduled?

I am developing a query on 0TCT_C21. Is there a way to find which process chains were scheduled to run? I want to see only those process chains. 
If 0TCT_C21 does not have the information, is it a way to get from somewhere else (i.e., some other tables using virtual characteristic or so  ...).
Thanks a lot,

You need to use a combination of tables and function modules.
Table TBTCO contains list of jobs with job status 'S' for scheduled
Table TBTCP contains the program name and variant scheduled in that job
you need to use a function module to know the chain name using the above program name and variant.
I have written a sample code to do this. feel free to change it as per your needs.
REPORT  ztest4.
TYPES: BEGIN OF l_s_scheduled,
       jobname  TYPE tbtco-jobname,
       jobcount TYPE tbtco-jobcount,
       sdlstrtdt TYPE tbtco-sdlstrtdt,
       sdlstrttm TYPE tbtco-sdlstrttm,
       progname TYPE tbtcp-progname,
       variant TYPE tbtcp-variant,
       chain   TYPE rspc_chain,
  END OF l_s_scheduled.
DATA: l_t_scheduled TYPE STANDARD TABLE OF l_s_scheduled,
      l_t_valtab    TYPE STANDARD TABLE OF rsparams,
      l_w_valtab    TYPE rsparams.
FIELD-SYMBOLS     <l_f_scheduled> TYPE l_s_scheduled.
SELECT a~jobname a~jobcount a~sdlstrtdt a~sdlstrttm b~progname b~variant
INTO CORRESPONDING FIELDS OF TABLE l_t_scheduled
   FROM tbtco AS a JOIN tbtcp AS b
              ON a~jobname = b~jobname AND
                 a~jobcount = b~jobcount
WHERE a~jobname = 'BI_PROCESS_TRIGGER' AND
      a~status = 'S'. "Scheduled
LOOP AT l_t_scheduled ASSIGNING <l_f_scheduled>.
  REFRESH l_t_valtab.
  CALL FUNCTION 'RS_VARIANT_CONTENTS'
    EXPORTING
      report               = <l_f_scheduled>-progname
      variant              = <l_f_scheduled>-variant
    TABLES
      valutab              = l_t_valtab
    EXCEPTIONS
      variant_non_existent = 1
      variant_obsolete     = 2
      OTHERS               = 3.
  IF sy-subrc = 0.
    READ TABLE l_t_valtab INTO l_w_valtab
    WITH KEY selname = 'CHAIN'.
    IF sy-subrc = 0.
      <l_f_scheduled>-chain = l_w_valtab-low.
    ENDIF.
    WRITE :/ <l_f_scheduled>-chain, <l_f_scheduled>-sdlstrtdt, <l_f_scheduled>-sdlstrttm.
  ENDIF.
ENDLOOP.
The structure l_s_scheduled in the above program can be extended with more fields and can be used as extract structure in a generic datasource  of type function module and can be fed into a DSO for reporting.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/d-f/functional%20module%20based%20generic%20datasource%20part%20i.pdf
Hope it helps!

Similar Messages

  • Is there any Way to find Which case is Executing in LabVIEW VI programmat​ically and Display it..

    Is there any Way to find Which case is Executing in LabVIEW VI programmatically and Display it..
    Solved!
    Go to Solution.

    I wrote this a few years ago: http://lavag.org/files/file/199-state-machine-foll​ower/
    This JKI RCF Plugin sets the Visible Frame property of a Case Structure while the owning VI is running. Use it to follow the execution through the cases in your string-based State Machine/Sequencer when Execution Highlighting isn't fast enough (and, it's never fast enough).
    The use-case I wrote this to improve is setting a Breakpoint on the Error wire coming out of the main Case Structure and probing the Case Selector terminal so I can float-probe wires during execution. The problem with this is that I had to manually select the current frame every time. This is boring, so I developed this plugin to automatically set the Visible Frame to the case most recently executed.
    You might be able to adapt it to your needs.  The basic idea is that a custom probe on the wire to the Case structure's selection terminal sends a notification to a VI that displays the appropriate case.
    We might be able to help you develop something easier if you'll give us more information.  Is it OK if the code to display the case is in the same VI?
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Is there a way to find out how much data was used over the lifetime of my phone (cumulative cellular and wifi)?

    Is there a way to find out how much data was used over the lifetime of my phone (cumulative cellular and wifi)?
    I was just curious

    Given that the phone doesn't track how much data is used over WiFi, no. And cellular data usage can be reset.

  • Is there a way to control which processes should run or not ?

    I have a mac with Snow Leopard and was wondering if there was an app or some other way to control which processes run at startup and which dont etc ? I made a new user account and logged in and noticed that it ran like brand new. It loaded up faster and smoother than my normal account. I looked at the processes running and noticed that this new account loads up like a 4th of the processes my main account runs at startup . How can i make my main account run the same processes only so it will run as smooth and fast ? is there an app for this ? thanks (an app that also tells me what each process is for will help too so i can close the processes that i dont need and so that i dont have to close them every time i reboot, but that it will also stop them from automatically loading)
    Message was edited by: Pianohero

    most of the apps that would run at login (which btw is different from startup) automatically are things in the login items. there may be a few items in homedirectory/library/lauchagents but that would be the only place. other than that what runs at login on one account will run on the other. note however, that if you remove any launchdaemons from homedirectory/library/lauchagents the apps that made them may not work properly depending on what those launch daemons do.
    what 50 other processes are you referring to that you see on your main account? most of the stuff you see in the activity monitor are system processes that should not be removed. normally they hardly consume any CPU or RAM.
    Message was edited by: V.K.

  • Is there a way to find which songs aren't on playlists in my library?

    I have more songs in my library than on my ipod because I must have forgotten to put some into a playlist. (I put the songs on my ipod by choosing the individual playlists I have finished). Is there a way to find out which songs aren't in a playlist so I can add them to the appropriate ones.
    P.S: I don't want to just sync all songs because I listen to my ipod by playlists and I would never end up hearing them if they're not in one.

    Yes, you can make a new Smart Playlist, with the criteria "Playlist is not Playlist_name", repeated for every playlist you have on your iPod. Have it set to "Match all of the following rules".
    http://home.comcast.net/~teridon73/itunesscripts/    

  • Is there a way to find which DB object is used in which all pages

    Hi All,
    Is there any way by which we can find out which All Database objects are used in which all pages in an Application. Our Application is quite big and has lots of pages, So is there any report like functionality where I can check the DB objects used on page basis or any underlying view where we can get this information.
    Thanks,
    Vikas

    Hello Vikas,
    There are a couple of APEX Views which provide you with that information.
    If you go to Home>Utilities>Application Express Views
    following views may be useful to you:
    - APEX_APPLICATION_PAGE_DB_ITEMS
    - APEX_APPLICATION_PAGE_PROC
    There are a couple of others (for ex if you make use of flash charts, interactive reports etc) but if you start with the above you'll have a good starting point.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • My  daughter got an itunes gift card and scratched off the redeem code.  Is there any way to find out what the code was?, my  caughter got an itunes gift card and scratched off the redeem code.  Is there any way to find out what the code was?

    Ny daughter got an itunes gift card.  She scrathed off the entire redeem code, so now she can not redeem it.  Is there any other way to find out the redeem code?

    Try Here  >  http://support.apple.com/kb/TS1292
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    And there is this...
    http://www.apple.com/hk/en/support/itunes/store/giftcard/

  • My ipod was stolen and all I have is an iTunes account. Is there any way to find it?, My ipod was stolen and all I have is an iTunes account. Is there any way to find it?

    My friend's ipod was stolen and she has no way of knowing how to track it or find it. She believes it is a nano but she's not sure because it's not completely new. It is an old type of iPod. Is there any way of tracking or finding it if she has an iTunes account?

    There is no way to track it. Sorry.
    Reporting a lost or stolen Apple product
    B-rock

  • My ipad (including the box) was stolen but icloud is saying I have no devices registared with my account. Is there a way to find my ipad, as it was the only one used with that apple id?

    Is there anyway of tracking my ipad using only the apple id account that I used on it?
    It hadn't hardly been used for anything other than updating to iOS7 recently...

    No, sorry, there is no way you can get that information. The police perhaps could, but it would probably require a court order and it's unlikely the police will go to those lengths unless they have reason to believe that this theft was not an isolated instance and hence worth more of their time than the single theft of an iPod.
    Even if they got the ID, it may well just be yours. Apple's registration database often contains such errors; I get the same message for some of my devices when I know I registered them to my Apple ID and the devices are all still right here.
    Regards.

  • Is there a way of finding out where my iPod was last synchronized?

    Hi,
    Basically i lost my ipod touch and i was wondering whether or not it was possible to track down the last device it had been synchronized to with the h

    If you mean as a wayof finding out if someone found the iPOd and then connect to internet/their computer the answer is no.  If they backed up to your computer you can go to the Summary pane for the iPod in iTunes and look at the date of the backup if yu backup up to iCloud.  If you back up to the computer you might have to go to iTunes>Prefeenceds>Devices to see the backup date.
    Apple will not help with anything regarding a lost or stolen iPod.

  • Is there a way to find all highlights made in the macbook ibooks library in the case that you cant remember the book in which the highlight was made?

    Is there a way to find all highlights made in the MacBook iBooks library in the case that you cant remember the book in which the highlight was made?

    Some things that might help:
    1. Only the most recently used apps actually occupy memory (used to be the most recent 4, but may have changed in the latest iPhones). After 4 (or so), IOS writes them out of active memory, as it does for even the latest 4 if there's no activity for a long time. So the business of closing all the open apps, apart from the most recent ones doesn't make a difference. Tis article has a good explanation:
    http://www.speirs.org/blog/2012/1/2/misconceptions-about-ios-multitasking.html
    2. There are settings about background app activity that might help:
    - Settings, General, Background App Refresh controls which apps can update their data in the background
    - Settings, Notifications controls which apps can tell you things, which they have to wake up to do.
    - Settings, Privacy, Location Services controls which apps monitor your location - another activity that uses resources
    Hope some of that helps

  • HT1665 Hello. Is there any way of finding a list of accessories which hold "made for iPhone" certification?

    Hello. There are a lot of new accessories available for iPhone 5 and iPhone 4 / 4S. Is there any way of finding a list of accessories which hold "made for iPhone" certification? I do not want to buy any accesories which may be harmful for my iPhone.

    Here is the start of the setup:
    Click on the Wi-Fi Options button and provide the needed info:
    Click on the OK button. Now check the Internet Sharing box to turn it all on. If the port box you checked is no longer checked, then uncheck Internet Sharing, check the port box again, then check the Internet Sharing box again.

  • I have an iPad1 which I have reset and am preparing to give to a kid.  I now find that I can't reinstall many apps as they now seem to require IOS 6 or greater.  This is IOS 5 and can't be upgraded.  Is there a way to find the older versions of the apps?

    I have an iPad1 which I have reset and am preparing to give to a kid.  I now find that I can't reinstall many apps as they now seem to require IOS 6 or greater.  This is IOS 5 and can't be upgraded.  Is there a way to find the older versions of the apps?

    One of these links may help:
    iOSSearch - search the iTunes store for compatible apps.
    Vintapps 3.1.3 - paid app.
    Apple Club - filter apps by iOS version.

  • InCopy workflow in InDesign: Is there a way to find the document in which an ICML file has NOT been checked IN again before saving the doc?

    The situation:
    We are working with the InCopy feature (checking in and checking out ICML files).
    The problem:
    I might have saved a document with an ICML file still checked out.
    The question:
    Is there a way to find out which document was saved with the ICML file still checked out?
    or in other words:
    Is there a way to find the document in which an ICML file has NOT been checked IN again before saving the doc?
    Thanks for any help!

    Hello Sumit Singh,
    thank you for your answer and your reasonable recommendation. Unfortunately, this only works when the ICML content is used in one INDD file. In our case, we use ICML content in multiple docs (various manuals with the same safety instructions, warranties, adresses etc.).
    So, is there a way to trace back where an ICML has been used?
    Is it possible to find out in which document the ICML is still checked out?

  • Have received an email from apple to say my ID has been used to download an emoticon package for £15.99 - it was not me. is there a way to find out which device it is? and to get my money back? ta

    have received an email from apple to say my ID has been used to download an emoticon package for £15.99 - it was not me. is there a way to find out which device it is? and to get my money back? ta

    It is a phishing attempt. Do not respond. Do not divulge any personal or financial information. You can use the address below to forward the suspect email message to Apple.
    [email protected]
    The link below has information to help identify fraudulent emails.
    http://support.apple.com/kb/HT4933

Maybe you are looking for

  • Audio Output

    Hey everyone, I use my machine for a lot of music/audio applications and generally have a pair of monitor headphones plugged in so I don't disturb the neighbors. Sometimes, for some reason or another, I'd like to switch output to the system speakers.

  • How to open a dvd file(dvd movie) in creative play

    where can i get the DVD codec for my creative player.Right now i am using creative player version 3.02.52.

  • Restoration Interrupted by "Unmounted" Message

    I've been having major troubles with my iPod 5th gen. When I moved my library from my PC to my Macbook, I restored my iPod, so there is nothing on it now. First, as I tried to sync it on my Macbook, the message "this iPod could not be synced because

  • CS Extension Check In event for InDesign and Illustrator

    Hi, For CS6 InDesign Similar to DocumentEvent.BEFOR_SAVE, do we have anything for check in event as well, I am using cs 1.5 sdk. If that is not available, how we can implement such a functionality. Do we have to use Indesign SDK or are there any alte

  • Airport Drop outs every time IMAcCwakes from Sleep

    Every time use my Imac I have to find my network and then apply the password, I had hoped that that OSX would automatically find network an log on. I do not have this problem with my macbook. Many Thanks Message was edited by: Ospreys