FM which determines which job triggered the program

Hi all,
I have a programmed triggerred by several jobs.
when the program is trigerred i want to know which job triggerred the program because i have different conditions for different jobs.
Is there any FM which determines which job triggered the program
Thanks

Hi,
I passed the dialog type as N for BP_FIND_JOBS_WITH_PROGRAM
What does N means.
Also the above FM brings the entries from  TBTCP.
Iam not sure whether TBTCP gets an entry after the job is completed or once the job is created in SM36.
Let me know
Thanks

Similar Messages

  • Boy what a screw job when the program freezes in the middle of site wide fo

    Boy what a screw job when the program freezes in the middle of site wide folder name changes.
    Then you never know what did get changed or not until you wade thru every possible one.
    And you cant just redo change the folder name, cuz the folder name did change.
    Further, every attempt locks the program.
    lost on broken links...
    OK I'm talking about changing a folder name: ceaseless freezing
    OK Now when it does work, none of the
    AC_RunActiveContent.js
    updated.  What a mess
    DW CS3
    Mac OSX.4.11

    you can force quit the front-most application in Mac OS X v10.5 or later by pressing Command-Option-Shift-Esc for three seconds.

  • Genetare the back ground jobs of the program from the SM36 tcode

    Hi All,
        Consider the following points:
    -- My main program will schedule the jobs using the CALL TRANSACTION method
    -- Now i want to create a Variant for the Main program and generate the back ground job using the SM36 Tcode
    -- Finally it has all the jobs of the main program
    -- Program is working fine from the Frontend only.....
    Please provide solution for the same.
    Thanks in Advance.
    Regards,
    Ramana

    Sravya,
    On SM36 when you schedule jobs, you will see options like AFTER EVENT and AFTER JOB. You can use these to schedule you jobs accordingly. Else you can also think of making each of these jobs as a steps in one single job if your requirement allows you to do the same.
    In case of using events, you should make sure to raise the event using available FMs.
    thanks,
    Vikram.M

  • I recently downloaded a program and have now lost Firefox's "awesome bar" which has been replaced by the program's own search bar. How can I restore the "awesome bar" and get rid of the other search bar?

    I recently downloaded Bearshare.com which then overrode my Firefox "awesome bar". Now when I enter a search item in the search box at the upper right of my screen, I'm automatically shunted to this new search bar where I have to re-enter my search item and click return before it will begin a search. Previously, the Firefox "awesome bar" opened automatically together with my home page and I had the choice of searching using it or the default search box at the upper right of my screen. I 'uninstalled' Bearshare but it now continues to come up when I search using the right hand top search box , forcing me to use it instead of the search box at the upper right of my screen. How do I get rid of it completely so that only the "awesome bar" appears as an extra tab when I open Firefox browser?

    First, some clarification:
    * The location bar (often called the "awesome bar") is the larger bar on the left that shows you the address of the page you are currently viewing. As you type in the location bar it searches your history and bookmarks for matches.
    * The search bar is the smaller one on the right. It typically displays an icon of whichever search engine is currently selected and may display search suggestions as you type in it.
    It sounds like you are referring to the search bar rather than the location bar. You can change search engines for the search bar by clicking on the icon on the left edge of the search bar and choosing a different one. You can also choose "Manage Search Engines" to remove ones you aren't interested in using.
    It also sounds like Bearshare might have changed your homepage in Firefox. To restore that you will need to open the preferences menu (click Tools > Preferences), go to the General tab (first on the top left), and click "Restore to Default".

  • Can we get file name which we are compiling in java program

    Hi,
    I want to know if we can get filename(when compiling) or jarfile(when running) which we are compiling in the program itself.
    EX:java -jar myjar.jar
    How can I display jar file(i.e myjar.jar) in my program
    ex:sop("file which compiled is:"<filename>);

    can you rephrase the question in english, please!!

  • How to synchronise the job processing from the program.

    How to synbchronize the job processing when we are creating jobs from the program.
    Thanks,
    Ramana.

    hi,
    yes you can do this..
    try this
    create a two screen suppose 9000 and 9001..
    then right click on your program name...
    create a TCODE say TONE..
    in this give the screen number 9000..
    now again right click on the program name
    create a TCODE say Tsecond
    in this give the screen number 9001...
    hope this will help you..
    Regards
    Ritesh J

  • Problem in Triggering the Mail to SAP Inbox

    Dear Experts,
                     I have a problem for triggering the Mail option to SAP Inbox.
    We created a Job assigning the program RSEIDOCA,RSWUWFML2 by creating a variant for those programs. We are scheduling the job,  It is showing as
    24.11.2010 12:43:46 Job started                                                                     00           516          S
    24.11.2010 12:43:46 Step 001 started (program RSEIDOCA, variant ZRSEIDOCA, user ID__ )        00           550          S
    24.11.2010 12:43:48 Error situation found by evaluation                                             E0           596          S
    24.11.2010 12:43:48 Step 002 started (program RSWUWFML2, variant ZRSWUWFML2, user ID__)      00           550          S
    24.11.2010 12:43:49 Job finished                                                                    00           517          S
    But while checking in SOST, we are unable to see those mails. eventhough the user is unable to get those mail in SAP INBOX.
    I think, is there any authorization problem while triggering the mail for that particular user id.. Please tell me the solution, this is very high requirement for me.
    Thanks in Advance.
    Regards,
    Srini

    Hi Chandra,
              Thanks for your reply. Actually i am not workflow consultant, thats why i asking this question. Where to assign the Receipient Type and Recipient Notification.
    you give Recipient Type as position and Recipient of Notification must be position of the reciepient,
    Regards,
    Srini

  • Determining output type inside the IDOC processing FM

    Hi,
    When sales order is created, ZXXX is the output type triggered which invokes the function module (FM) IDOC_OUTPUT_ORDRSP to send the IDOC. My question is how do we know which output type got triggered the execution inside the FM?
    My requirement is to do some calculation only for ZAAA inside the FM IDOC_OUTPUT_ORDRSP but this same FM is triggered by many output types ZXXX, ZXYZ, ZMNO. So I want to know which output type triggered the FM. Hope I make it clear.
    Thanks,
    Sakthi.

    dossgs
    An import parameter of FM IDOC_OUTPUT_ORDRSP is the structure named OBJECT (like NAST).  OBJECT-KSCHL is the message type (output type).
    Regards,
    zKen

  • Error when executing the program RBDMIDOC with Message type HRMD_ABA

    Hello All
    I finished the integration between CRM and HR
    Now I am able to replicate the employees and the organizations, but when I created a schedule job for the program RBDMIDOC and message type HRMD_ABA the system gives me warning and message: no data selected for distribution even if I try to run the program using SE38 I am getting the same error message
    I already activated the message type using BD50 and activated the Change pointers using BD61
    Regards
    Jacopo Fransoice

    us the program
    RHALEINI

  • How can I determine which programs/files are using disc space?

    A question for the professionals:
    What program on my MacBook Pro can I run to determine which programs and files are taking up the percentage of disc space?  I am running at 72 gb, which is great, but I need to know what is using up the rest of it.  Thank you in advance to any helpful solutions.
    Matthew

    activity monitor for RAM (its already in your utilities folder) http://support.apple.com/kb/HT1342.  OmniDiscSweeper for hard drive http://www.omnigroup.com/products/omnidisksweeper/  (needs to be downloaded)

  • How can i determine which devices are used at the moment?

    Hi all,
    I am designing an interface with LabVIEW for uing agilent devices. My work colleagues will use this interface.  I want to determine which devices are used at the moment and if I determine used device, i will add automatically device names to interface's main vi. So all my work colleagues can see on the program which devices are used by another colleague. This devices are connected with GPIB. İ want to learn is there any function on Instrument I/O palette.
    Thanks,
    Omer
    Solved!
    Go to Solution.

    Hi Omer,
    so those devices are connected to the PC with a GPIB connection. Will your collegues run several DAQ programs at the same time?
    GPIB-devices being controlled by PC don't have a "in use"-signal. They wait for commands, execute them and send an answer. When you start to control them using two programs they may respond to both programs, mixing up settings/measurement values and so on.
    That being said: In MAX you can see all devices connected to your GPIB port. You could scan the GPIB port using VISA commands in your program. You might even try to access a certain device by it's VISA alias. I really don't know if you will get a "device nopt available" error message when that VISA alias is in use by a different program - but you might do a quick test on your own…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do you determine which programs or processes run following a reboot?

    How do you determine which programs or processes run following a reboot?  Also when you reboot Mac tries to reopen anything running before the reboot.  Is there any way to turn off that functionality?

    10.7 Lion
    dadpope wrote:
    How do you determine which programs or processes run following a reboot?
    Login items
    Follow the  instructions in this article.
    http://support.apple.com/kb/PH4333
    Also when you reboot Mac tries to reopen anything running before the reboot.  Is there any way to turn off that functionality?
    System Preferences > General
    Section: Number of recent items
    Uncheck the box for "Restore windows when quitting and re-opening apps".

  • How to trigger an existing background job in ABAP program?which fm?

    Hi experts,
        how to trigger an existing background job( defined in SM36 ) in ABAP program?which fm?
        seems that FM 'JOB_OPEN' / 'JOB_SUBMIT' / 'JOB_CLOSE' can only create a new job.

    Hi,
        now my requirement is that sap has generated one job automatically, and then i will have a job name
    'XXX'. and then i want to schedule the job in abap program,. which function module could i use ?
    my expected fm is that the system will trigger the job after i give the job name and start condition.
    i have tried job_open, but it seems just to create a new job. any advice ?

  • Triggers or Programs, which is better?

    Hello,
    I have a simple question, say, I have 40Mil records to process or even higher and which is better, to have the functions in a program that reads the database or as a database triggers with functions?
    How good is Oracle to process 200Mil records or more?
    Thanks.
    -Nair

    I couldn't understand your problem. Anyway a trigger is attached to the table, so whenever you have an action updating a table the trigger automatically fires. On the other hand a program or function is an outer entity and must be loaded and run to make process whatever request/modification to your table.
    Oracle databse is capable of working with very large volumes of data. Refer to the manuls to get accurate info.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Unni Krishnan ([email protected]):
    Hello,
    I have a simple question, say, I have 40Mil records to process or even higher and which is better, to have the functions in a program that reads the database or as a database triggers with functions?
    How good is Oracle to process 200Mil records or more?
    Thanks.
    -Nair<HR></BLOCKQUOTE>
    null

  • Starting job from the point which it Canceled .

    Hi ,
    I have a program which updated/insert records to a massive tables.
    The program is running with fetch on 10K on each round.
    Is there any way to start the job/program on the same point which it been canceld/stop?
    so the program will not have to run the records that already been updated again.
    10x,
    gil.

    Other way is to check if i already updated the field.
    Then it will start with 10*.
    the select will look like this -
    select * from tabname  where
    field <> '10%'.
    The problem is that this field is not always a key filed and it will cause a long response times.
    What do you think about it ?
    Thanks.

Maybe you are looking for

  • I can't install Itunes 11.0.4. please help!

    The automatic updater threw an error when I tried to update iTunes and Quick Time today. It said: "The feature you are trying to use is on a network resource that is unavailable." about both a "iTunes 64.msi" file and a "Quick Time.msi" file. Solutio

  • Problem using Toshiba Software Installer for Win 7 on Satellite L750-1MT

    Hello! I have problem using Toshiba Software Installer for Win 7 on Satellite L750-1MT (PSK30E-02T002B3) with no OS preinstalled. I do the following: 1. Install Windows 7 x64, SP1. 2. Install LAN driver (device was not recognized by Windows 6) (downl

  • HT1657 Can I download to a Portable hard drive?

    I have a WIFI hard drive, can I download rentals to this and watch movies from it?

  • MM Contract(ME31K) Attachment with name of the attachment

    Hello Experts, I am trying to attach documents to the MM contract using the transaction ME31K with attachment document name but I unable to achieve this. In OAC0/OAC2 we can configure type of document. And attachment can be done using  create->Store

  • Html table in email notification

    Hi, I have a complex type variable in my payload. This complex type has 2 columns. Hold Name and Hold Reason. There can be multiple Hold Names and Hold reasons. Hence i want to show this in a tabular format in the email activity in BPEL. Can someone