How to Prevent the Executing a Program but Allow to Run as Background Job?

Hi All,
I have an ABAB List Program. I need to restrict this program from executing. This has to always run as a Background Job. How do I check this condition in the program?
Thanks,
Kishan

Check for the system variable SY-BATCH. If this field is 'X', then allow the execution of the program. If not then exit. Do this coding in the initialization event or start of selection.
INITIALIZATION.
IF sy-batch IS INITIAL.
  STOP.
ENDIF.
Manoj

Similar Messages

  • I have enrolled for the apple developer program but apparently have the same account name in iBooks. I need to change the iBooks account but don't know how. Do I change my apple id? Will this cause me problems with iTunes etc etc?

    I have enrolled for the apple developer program but apparently already have an account with iBooks, cant have this it seems.how do I change my iBooks account, is this the apple id for my iPad and if I change this will it cause problems accessing iTunes etc?

    I guess nobody knows if the crash that occured was legitimate or not?  Apple phone support could do nothing for me, so I guess I am left to drive 45 minutes to the nearest store.

  • TS1702 Hi I bought Final Cut Pro X to my old macbook but the week later I bought a new bacbook pro and wonder how to download the final cut program to my new mac.I find the item in iTunes, but not in apple store.I find Final c in fins, but iTunes  can't d

    Hi I bought Final Cut Pro X to my old macbook but the week later I bought a new bacbook pro and wonder how to download the final cut program to my new mac.I find the item in iTunes, but not in apple store.I find Final c in fins, but iTunes  can't download

    Use the Mac App Store application and go to the purchased tab, which you'll find at the top of the Mac App Store window.

  • How to prevent the program not to skip the process when exception is genera

    Hi, friends.
    How to prevent the program not to skip the process when exception is generated?
    For example, I am doing a process for 100 records. If the 15th record causes a Java Exception, I want to be able to skip it and continue processing the remaining 85 records.
    How it is possible with Java Exception handling? Any sample code?
    Thanks,
    Jaykishan

    [http://java.sun.com/docs/books/tutorial/essential/exceptions/]
    while (there are more lines) {
      try {
        process the next line
      catch (...) {
        log the error
    }[http://java.sun.com/docs/books/tutorial/essential/exceptions/]
    You'll want to be careful about which exceptions you catch though. For instance, if there's an unchecked exception, like NullPointerException, it's a sign of a bug in your code. Continuing to process as if that bug weren't there is often a worse approach than just failing. In this particular case, however, as long as you log the exception and then followup by fixing the bug that caused it, it may be acceptable to continue trying to process the rest of the file, even if some lines bring out a bug in your code.

  • Help on How to compile and execute awt programs

    can any1 say how to compile and execute awt programs
    Edited by: 863765 on Jul 18, 2011 3:29 AM

    EJP wrote:
    The answer is the same for anycode.Oh, but it's not. If he starts with MyClass.java, and we tell him
    javac MyClass.java
    java -cp . MyClassthen that advice won't work when he creates MyClass2. The poor guy will be left lost and alone, with no clue how to proceed! {noformat};-){noformat}

  • How to change the color of text but only when that text is highlighted

    I am NOT asking how to change the highlight color OR how to change the text color generally, but rather, how to change the text color as it shows onscreen while it is highlighted. Here's where I'm going:
    Text is ordinarily black (assume) such as when the Finder is open or when viewing a list of all emails in an inbox.
    Let's say I change the highlight color systemwide, in prefs > appearance > highlight color, to a custom color ("other") of black (for example).
    In certain programs (mail, billings, iBank, addressbook, even the Finder), when I highlight a line of something, (like when I one-click on an email or a file name just to select it but not open it), the line will highlight in black, but the text of that line will automatically change to white so it can be seen.
    However, when I highlight actual text (click and drag or double click), such as when editing a document in Pages and selecting a word, line, paragraph, editing an email, etc., the highlight is black, and the text remains black also, which means it cannot be seen (black on black).
    So, how do I change it so that when I highlight the actual text the text color changes to white, then when it is de-selected, it goes back to black.
    I'm not afraid to do a little terminal/command line, but only if it’s a little. Hope this gives enough detail.
    Thanks.

    You can use span HTML tag.
    For example, if your label is "Product Name", and you want it to appear in red, you can type this:
    <span style="color:red">Product Name</span>Hope it helps.
    Ravi

  • Hello , FMS is how to prevent the client into a large number of bytes?

    Hello , FMS how to prevent the client to pass a large number of bytes , such as one person put a 1G file in the argument , I also silly to receive ?Although there Client.setBandwidthLimit ( ) limit his maximum traffic per second , but is there a way , one more than the maximum amount of bytes to disconnect his.I assume that methods to determine the length is also obtained all of his transfer is finished , in order to determine out of it .

    How to limit the size of the parameters of the method.I wrote a method in the main.asc then the client NetConnection.call assignment, but if the client is malicious to upload very large data, how to limit it, I view the document did not find the clues, I hope that those parameters up to100KB.

  • How to degub the module pool program

    Hi friends,
    could anyone tell me "How to degub the module pool program"...!!
    Thanks in advance..!!

    Hi
    Debugging of module pool is same as reports, use /h or put breakpoint
    but u shud know what u want to check
    there are generally two event used in module pool
    PBO
    This event is used before displaying the screen,It is used to clear fields table, show table control, tabstrip and most important conditionally modify the scrren .
    PAI
    is used to validate the fields which are entered on the screen with database values and then fetch records from table.
    i mean all values to make available in internal table
    now u would be sure which part u want to debug.
    Rewards if helpful..............

  • I had join the Photoshop Photography Program, but still can not use the photoshop cc, the photoshop just ask me the serial no, but i can't find my serial no.

    i had join the Photoshop Photography Program, but still can not use the photoshop cc, the photoshop just ask me the serial no, but i can't find my serial no.

    Hello,
    see >>> http://helpx.adobe.com/creative-cloud/help/install-apps.html  here >>> How many computers can I install on
    I quote: You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each.
    If you install on a third computer, it will request you to de-activate on the other two computers. You can then reactivate one of the previous two computers, and use Creative Cloud apps on it.
    Good luck!
    Hans-Günter

  • How to delete the Unwanted Z-programs

    Hi all,
    How to delete the unwanted Z-program from $TMP development class.
    Thanks,
    Govindarajan Umadevi.

    Hi,
    YOu can go transaction SE80, Choose package $TMP.
    And click Display.
    Here you will find all your Z programs. Just right click and delete them.
    If you are using Latest versions(I think from SAP 4.7D), you can even select all by pressing mouse key and right click and can able to delete multiple items at single time.
    BUt becareful, it contains other develper objects also as it is a common place.
    Thanks,
    Ramakrishna
    Message was edited by: Ramakrishna Prasad Ramisetti

  • How to prevent the Canon 6D to climb to higher ISOs when it works in automatic mode?

    How to prevent the canon from 6D climbing to higher ISOs when it works in automatic mode?
    I was shooting at a basketball game at ground level and I left it in automatic mode because the moves were too fast, but when I passed to Lightroom, the photos were grainy, due to high ISO.

    Under the settings menu (third menu over), select ISO settings, and then set the Auto ISO limits for max to whatever you consider the maximum acceptable ISO.

  • How to customize the Java Concurrent Program(PO Output for Communication)

    Hi,
    How to customize the Java Concurrent Program(PO Output for Communication)
    I need to add the Line level Ship To Address ,Line Notes and Extended Price fields on Java Concurrent Program.
    Please any body help/guide me in this regard.

    Hi,
    Changing Java Conc. program for "PO Output for Communication" is difficult.
    Actually, if you observe closely, "PO Output for Communication" program uses PO<HEADER/LINES..>_XML views.
    So if you could change these views and add your requireed columns to it, you can automatically see your changes in XML data file.
    See if the following link will you to get there.. http://chandramatta.blogspot.com/
    thanks,
    Matt

  • How to prevent the code viewing of jsp files

    hello friends
    How to prevent the code viewing on directly opening .jsp files at the server side
    Thanks in advance

    hello friends
    How to prevent the code viewing on directly opening
    .jsp files at the server side
    Thanks in advanceWhat exactly do you mean by code viewing? If by that you mean you don't want all the folders to show in the directory create a index.jsp file that has all the links to the pages you want to show
    If you mean something else please clarify

  • How to remove the 'Execute' Icon

    Dear Friends ,
                    Good Morning.
    Can anybody know how to remove the Execute Icon?Pls. help on this.

    Hi !
    Assuming it's a report... you can do the following:
    - Create an new "PF-Status" for your report
      Use "Extras -> Adjust Template" from the menu
      and select "Selection-Screen" from that...
    - Exclude all the buttons and functions you don't like
      having there
    - In your report so something like that:
    PBO
      AT SELECTION-SCREEN OUTPUT.
      SET PF-STATUS '1000'.
      where '1000' in this example is your new pf-status.
    I've done that very often if you'd like to start execution by pressing ENTER.
    If you'd like to do somthing like that your coding has to be in "AT Selection-Screen" because there is no "START-OF-SELECTION" when you do not use he "execute" function, wich has the sy-ucomm ONLI.
    Hope that helped a bit.
    Some points would be nice then...
    Rainer

  • Table which stores the executed 'Z' programs

    Hi All,
       I want to know in which table the EXECUTED 'Z' programs will be stored.

    Pavan, ABAP buffer PXA (Program Execution Area) Stores the compiled executable versions of ABAP programs (loads). The contents of this buffer are stored in tables D010L (ABAP loads), D010T (texts) and D010Y. And for reports D010S, probably Z's are stored  in last one.

Maybe you are looking for

  • Oraxsl

    I'm new to xml and am trying to figure out how this whole thing works. I'm on a windows xp client v10.2.0.4 connecting to a windows 64bit database. According to the universal installer i have the sdk installed. However, when i try and invoke oraxsl i

  • Why its does Skype don't work as Video Calling? Ev...

    Dear  Nokia,     I  have brought Nokia N8 ,  few days goes and I seen Skype does not with Video Call this mobile phone?  I know N8 has All the Feature and  Latest applications.

  • Command Line Discoverer 10g

    Hello Forum Friends, Long time no comms!! Hope all the regulars are keeping well. Question, the majority of my experiences with Discoverer have come from version 4, including admin and desktop. I've recently transferred to a new job, and although the

  • Need documents for sap scripts

    hi friends, I am fresh Abaper.I hav to study sap script . I need document which describes basic script coding procedure ie syntax. Thank u

  • Quicktime 7.1.5 and iDVD5

    I recently updated my quicktime to 7.1.5 Now, after exporting clip from FCP 5.1.4, dropping the quicktime file into iDVD5, and burning a DVD, the clips are not able to be played on a consumer DVD player (I tried 3 different ones). The DVD is able to