How can we know weather a report is running in background or foreground?

Is there any system variable to find it?

Hi Adiseshi,
You can check the value of the system variable SY-BATCH. If it contains the value 'X' it is running in background else in foreground.
Hope this helps!
Regards,
Saurabh

Similar Messages

  • In which way i can know that a job is running In background or foreground?

    Hi,
       In which way i can know that a job is running In background or foreground? please tell me...
    or a report is in background or foreground..
    Thanks ,
    Arya

    check tranx sm37 to know all background job details
    refer link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a8009505211d189550000e829fbbd/frameset.htm

  • How can we know the affected reports when i remove object from universe

    Hi All,
    If i remove any objects from the universe.
    How can i know the list of affected reports.

    Thanks for your update.
    It shows what are all the reports has been created  by using that particular universe.
    But my question was, if i remove any object from the universe, Then what are all the reports affected(We may not use that deleted object in all the reports)

  • How can I schedule my Bex report to execute in background

    My Bex program takes more than 20 mins to run and it always hangs up my PC especially when I am trying to do something else in EXCEL.
    How can I schedule to run the report in background, whether from BEX or anywhere as long as I can get the report output.
    Thanks

    Hi Colin.......
    Check this......
    Schedule Reports in BW
    Regards,
    Debjani.......

  • How can I know the version of the running jre in the oracle10 DB

    Hi there,
    I am sorry if this question sounds dull, but I need to know what jre version is running currently on my DB,
    I guess there would be some command, some query!!!!
    I am using oracle 10.2,
    or if there is a way from some oracle tools, such as the toad
    rgrds.

    You marked prematurely as the answer is not correct. Well at least not based on your original inquiry. This I suspect is what you were actually looking for.
    CREATE OR REPLACE VIEW v$system_properties AS
    SELECT cast('User''s current working directory (ORACLE_HOME)' AS
    varchar2(46)) as PROPERTY_NAME,
    get_java_system_property('user.dir') AS PROPERTY_VALUE
    FROM DUAL
    UNION ALL SELECT 'Java Runtime Environment version',
    get_java_system_property('java.version') FROM DUAL
    UNION ALL SELECT 'Java Runtime Environment vendor',
    get_java_system_property('java.vendor') FROM DUAL
    UNION ALL SELECT 'Java vendor URL',
    get_java_system_property('java.vendor.url') FROM DUAL
    UNION ALL SELECT 'Java installation directory',
    get_java_system_property('java.home') FROM DUAL
    UNION ALL SELECT 'Java Virtual Machine specification version',
    get_java_system_property('java.vm.specification.version') FROM DUAL
    UNION ALL SELECT 'Java Virtual Machine specification vendor',
    get_java_system_property('java.vm.specification.vendor') FROM DUAL
    UNION ALL SELECT 'Java Virtual Machine specification name',
    get_java_system_property('java.vm.specification.name') FROM DUAL
    UNION ALL SELECT 'Java Virtual Machine implementation version',
    get_java_system_property('java.vm.version') FROM DUAL
    UNION ALL SELECT 'Java Virtual Machine implementation vendor',
    get_java_system_property('java.vm.vendor') FROM DUAL
    UNION ALL SELECT 'Java Virtual Machine implementation name',
    get_java_system_property('java.vm.name') FROM DUAL
    UNION ALL SELECT 'Java Runtime Environment specification version',
    get_java_system_property('java.specification.version') FROM DUAL
    UNION ALL SELECT 'Java Runtime Environment specification vendor',
    get_java_system_property('java.specification.vendor') FROM DUAL
    UNION ALL SELECT 'Java Runtime Environment specification name',
    get_java_system_property('java.specification.name') FROM DUAL
    UNION ALL SELECT 'Java class format version number',
    get_java_system_property('java.class.version') FROM DUAL
    UNION ALL SELECT 'Java class path',
    get_java_system_property('java.class.path') FROM DUAL
    UNION ALL SELECT 'List of paths to search when loading libraries',
    get_java_system_property('java.library.path') FROM DUAL
    UNION ALL SELECT 'Default temp file path',
    get_java_system_property('java.io.tmpdir') FROM DUAL
    UNION ALL SELECT 'Name of JIT compiler to use',
    get_java_system_property('java.compiler') FROM DUAL
    UNION ALL SELECT 'Path of extension directory or directories',
    get_java_system_property('java.ext.dirs') FROM DUAL
    UNION ALL SELECT 'Operating system name',
    get_java_system_property('os.name') FROM DUAL
    UNION ALL SELECT 'Operating system architecture',
    get_java_system_property('os.arch') FROM DUAL
    UNION ALL SELECT 'Operating system version',
    get_java_system_property('os.version') FROM DUAL
    UNION ALL SELECT 'File separator ("/" on UNIX)',
    get_java_system_property('file.separator') FROM DUAL
    UNION ALL SELECT 'Path separator (":" on UNIX)',
    get_java_system_property('path.separator') FROM DUAL
    UNION ALL SELECT 'Line separator ("\n" on UNIX)',
    get_java_system_property('line.separator') FROM DUAL
    UNION ALL SELECT 'User''s account name',
    get_java_system_property('user.name') FROM DUAL
    UNION ALL SELECT 'User''s home directory',
    get_java_system_property('user.home') FROM DUAL
    col property_value format a60
    SELECT * FROM v$system_properties
    ORDER BY 1;This multivalue view was written by one of my former University of Washington students, Tom Starr, based on something he saw that was written by Chris Poole that returned the value of $ORACLE_HOME.

  • How can I know if a process is running in the system???

    Hello all,
    I generate a pdf file with Reports Builder called from Forms Builder.
    This pdf is printed in the default printer with the command line "start AcroRd32.exe /p /h path_file", inside host command, which open the Acrobat Reader and prints the document in the default printer.
    After the document is printed the document is closed but not the Acrobat Reader program.
    I need an instruction to know if the acrord32.exe is running in the system.
    Could anyone help me?
    Thank you very much for advance,
    Jordi

    do you use the commandline, because you want to print directly to your default-printer?
    then have a look at the orarrp - toolset on otn.
    It's a technique, which directly prints via MIME-extensions of your browser. Internally Adobe is used for this direct print, but you only have to install a little program on your client.
    try it
    Gerd

  • How can we know the format of report

    Developed a web application using java SDK.
    How can we know the format of report that is is it a crystal report , PDF or excel or hyperling.
    If it is crystal report then i use openDoc and the report is opened but if its a hyperlink or PDf i am not able to open the report .
    Please help.
    Thanks

    Check the si_kind or so_progid property of object. You can use oInfoObject.getKind() to retrieve that.
    a crystal report would return crystalreport a pdf would return pdf etc.

  • How can I know what version of my Crystal Reports XI (Release 1 or 2)?

    I find the product version no. in the HELP-> About Crystal Reports is 11.0.0.2495.
    I don't know it is release 1 or release 2, I want to download the service patch,
    which version of service patch should I need to download ?
    Derek Yim

    Hi Derek,
    This is duplicate thread.
    You question is answered here:
    [How can I know that what version of my Crystal Reports XI ?;
    Regards,
    Shweta

  • How can i know the home directory of my runtime report on registry

    Dear sirs,
    please how can i know the home directory of my runtime report on registry?
    i have a lot of homes and when i make file to modify the home directory it not done and that is mean that i make effect of another home, and i want to know which home is activated in registory.
    Thanks in Advance and waiting the help

    If you have a backup on computer iTunes see below:
    iTunes > Preferences... (Windows: Edit > Preferences...) > Devices > hover over your backup with the mouse, the serial number will popup.

  • How can I pass parameter from report to form?

    Hi :)
    Now I try to build conference room like this by using form
    and report. And i design that when users click at group report
    then i'll show page that contain questions report and add
    question form. And question form and report must receive the
    same parameter from group report.
    First Problem: is I don't know how group report send the
    same parameter to question report and add question report at the
    same time. And is it possible??? If not please suggest me what
    should I do???
    Second Problem: is I don't know how can I pass parameter from
    report to form. I don't know the way to do it.
    Please tell me!!! Please...
    I look forward to hearing from all of you.
    Thank You.

    One way is to create a link based on that form and attach that
    link with the report. Through links you can pass parameters

  • How can I know which screen-group is?

    Hi experts!!
    I don't know how can I know which screen-group is associaciate to the values...for example, how can I associate  this block to a screen-group for after do this?  IF SCREEN-GROUP1 EQ 'DAT'.
    SELECTION-SCREEN BEGIN OF BLOCK B9 WITH FRAME TITLE TEXT-017.
    SELECTION-SCREEN SKIP.
    SELECT-OPTIONS: FECHA FOR P0001-BEGDA MODIF ID DAT.
    SELECTION-SCREEN END OF BLOCK B9.
    Thanks and regards,
    Rebeca

    Hi,
    Check out this code.
    REPORT  Z94406_TEST_123                         .
    TABLES: pa0001,t549a.
    DATA: n(6) TYPE c.
    SELECTION-SCREEN BEGIN OF BLOCK za2 WITH FRAME.
    PARAMETERS:p1  RADIOBUTTON GROUP grp1 user-command a DEFAULT 'X'.
    SELECT-OPTIONS: s_prd1 FOR n NO-EXTENSION modif id G1.
    PARAMETERS:p2  RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_period FOR pa0001-begda NO-EXTENSION modif id G2.
    SELECTION-SCREEN END OF BLOCK za2.
    AT SELECTION-SCREEN OUTPUT.
    if p1 = 'X'.
    LOOP AT SCREEN.
        IF screen-group1 = 'G2' or screen-group1 = 'G2'.
                screen-input = '0'.
          MODIFY SCREEN.
       ENDIF.
      ENDLOOP.
    ELSE.
      IF screen-group1 = 'G2' or screen-group1 = 'G2'.
          screen-input = '1'.
          MODIFY SCREEN.
       ENDIF.
      ENDLOOP.
       ENDIF.
    Regards,
    Syed

  • How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    Thanks for looking into this Jeff!
    I work with an Inventory module software and is responsible for software detection across several computers. Once an updated version comes up, I update our database with latest software details to get it detected if installed on any machines.
    The problem tracking updates with Desktop Creative Cloud Software are;
    1)We have to have it installed with the CC applications in-order to get the notification of the latest updates and have to check everyday.
    2)Only relates to the latest updates, so in-between we may miss a prior update unknowingly.Hence, the remote machines having those updates may not get  detected with the software version update which would create problem in reporting.
    3)For all CC products, there is no base or previous updates available for installation if we miss one.
    I went through the Adobe Products Update pages [Product updates] which holds good when it comes to Acrobat and Reader software which I follow to track down any newer updates but this is inconsistent when it comes to CC products like in After Effects CC, Dreamweaver CC etc...
    So overall to be very specific, is there any one channel I can follow to get the notifications only for the updates on CC products and then may be I can rely on Desktop Creative Cloud for installation if not available anywhere like in product update pages of Adobe ?
    Regards,
    Subrat

  • HT201328 how can I know whether my IME is blocked or not?

    How can I know whether my IME is blocked or not?

    Ask your wireless carrier.
    Where did you acquire this iPhone? Common scam
    is to sell iPhone in working condition so buyer can see
    it works, then seller reports iPhone as stolen/lost for
    insurance claim. Insurance company works with
    cellular provider to blacklist the iPhone and suddenly
    it no longer works.
    Or is your iPhone still locked to a wireless carrier as
    you imply in https://discussions.apple.com/thread/5001327?tstart=0

  • How can I know Users login in EP?

    Hi to all,
    How can I know how many users Login in EP?I want to navigate all those users.

    Hi Supriya,
    thats is the default setting for the activity report, if you need some changes in the setting then you have to do that for that you need the role of System administrator.
    1.choose System Administration -->System Configuration
    2.detailed navigation, choose Service Configuration. The Service Configuration Editor is displayed
    3.Applications  >com.sap.portal.activityreport.core>Services-->ActivityReport
    4.Right-click ActivityReport and choose Configure.
    Dont forget to appreaciate if helpful.
    Manisha

  • Hi experts . how can we know the stock details for a perticular plant?

    hi experts . how can we know the stock details for a perticular plant

    check this code
    REPORT  YSG_MATSTK_REP    LINE-SIZE 220
                              LINE-COUNT 50(5).
    *&                       DATA DECLARATION                              *
    TABLES: MARA,              "GENERAL MASTER DATA
            MARC,              "PLANT DATA FOR MATERIAL
            MARD,              "STORAGE LOCATION DATA FOR MATERIAL
            MBEW,              "MATERIAL VALUATION
            MVKE,              "SALES DATA FOR MATERIAL
            MAKT.              "MATERIAL DESCRIPTION
    DATA: BEGIN OF I_MARA OCCURS 0,
               MATNR LIKE MARA-MATNR,"MATERIAL NUMBER
               MBRSH LIKE MARA-MBRSH,"INDUSTRY SECTOR
               MEINS LIKE MARA-MEINS,"BASE UNIT OF MEASURE
          END OF I_MARA.
    DATA: BEGIN OF I_MARC OCCURS 0,
              MATNR LIKE MARC-MATNR,"MATERIAL NUMBER
              WERKS LIKE MARC-WERKS,"PLANT
              LVORM LIKE MARC-LVORM,"FLAG MATERIAL FOR DELETION AT PLANT
                                    "LEVEL
              PSTAT LIKE MARC-PSTAT,"MAINTENANCE STATUS
              DISPO LIKE MARC-DISPO,"MRP CONTROLLER
          END OF I_MARC.
    DATA: BEGIN OF I_MAKT OCCURS 0,
               MATNR LIKE MAKT-MATNR,"MATERIAL NUMBER
               MAKTX LIKE MAKT-MAKTX,"MATERIAL DESCRIPTION
          END OF I_MAKT.
    DATA: BEGIN OF I_MVKE OCCURS 0,
               MATNR LIKE MVKE-MATNR,"MATERIAL NUMBER
               VKORG LIKE MVKE-VKORG,"SALES ORGANIZATION
               VTWEG LIKE MVKE-VTWEG,"DISTRIBUTION CHANNEL
          END OF I_MVKE.
    DATA: BEGIN OF I_MARD OCCURS 0,
               MATNR LIKE MARD-MATNR,"MATERIAL NUMBER
               LGORT LIKE MARD-LGORT,"STORAGE LOCATION
               LABST LIKE MARD-LABST,"VALUATED STOCK WITH UNRESTRICTED USE
          END OF I_MARD.
    DATA: BEGIN OF I_OUT OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            LVORM LIKE MARC-LVORM,
            PSTAT LIKE MARC-PSTAT,
            DISPO LIKE MARC-DISPO,
            MBRSH LIKE MARA-MBRSH,
            MEINS LIKE MARA-MEINS,
            MAKTX LIKE MAKT-MAKTX,
            VKORG LIKE MVKE-VKORG,
            VTWEG LIKE MVKE-VTWEG,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
          END OF I_OUT.
    DATA : TOT TYPE I. " TOT - TOTAL TO PRINT STOCK
    *&                   S E L E C T I O N - S C R E E N                   *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY.
    PARAMETERS: P_WERKS LIKE MARC-WERKS OBLIGATORY.
    SELECT-OPTIONS: S_LGORT FOR MARD-LGORT,
                    S_DISPO FOR MARC-DISPO.
    SELECTION-SCREEN END OF BLOCK B1.
    *&                  I N I T I A L I Z A T I O N                      *
    INITIALIZATION.
      S_MATNR-SIGN = 'I'.
      S_MATNR-OPTION = 'EQ'.
      S_MATNR-LOW = 'M-14'.
      S_MATNR-HIGH = 'M-18'.
      P_WERKS = '3000'.
      S_LGORT-SIGN = 'I'.
      S_LGORT-OPTION = 'EQ'.
      S_LGORT-LOW = '0001'.
      S_LGORT-HIGH = '0004'.
      S_DISPO-SIGN = 'I'.
      S_DISPO-OPTION = 'EQ'.
      S_DISPO-LOW = '001'.
      S_DISPO-HIGH = '002'.
      APPEND S_DISPO.
      APPEND S_LGORT.
      APPEND S_MATNR.
      CLEAR S_DISPO.
      CLEAR S_LGORT.
      CLEAR S_MATNR.
    *&             S T A R T - O F - S E L E C T I O N                     *
    START-OF-SELECTION.
      SELECT MATNR WERKS LVORM DISPO FROM MARC
      INTO CORRESPONDING FIELDS OF TABLE I_MARC
                          WHERE WERKS EQ P_WERKS
                          AND MATNR IN S_MATNR
                          AND DISPO IN S_DISPO
                          AND WERKS = P_WERKS.
      IF I_MARC[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARC'.
        EXIT.
      ENDIF.
      SELECT MATNR LGORT LABST FROM MARD INTO TABLE  I_MARD
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR
                          AND WERKS EQ P_WERKS
                          AND LGORT IN S_LGORT.
      IF I_MARD[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARD'.
        EXIT.
      ENDIF.
      SELECT MATNR VKORG VTWEG FROM MVKE INTO TABLE I_MVKE
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR.
    IF I_MVKE[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MVKE'.
        EXIT.
      ENDIF.
      LOOP AT I_MARC.
        MOVE-CORRESPONDING I_MARC TO I_OUT.
        CLEAR MARC.
        SELECT SINGLE MATNR MBRSH MEINS FROM MARA
                         INTO CORRESPONDING FIELDS OF MARA
                         WHERE MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MARA-MBRSH TO I_OUT-MBRSH,
                MARA-MEINS TO I_OUT-MEINS.
        ELSE.
          CONTINUE.
        ENDIF.
        SELECT SINGLE MATNR MAKTX FROM MAKT
                        INTO  CORRESPONDING FIELDS OF MAKT
                        WHERE  MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MAKT-MAKTX TO I_OUT-MAKTX.
        ELSE.
          CONTINUE.
        ENDIF.
        LOOP AT I_MARD WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MARD-LABST TO I_OUT-LABST,
                I_MARD-LGORT TO I_OUT-LGORT.
          APPEND I_OUT.
        ENDLOOP.
        LOOP AT I_MVKE WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MVKE-VKORG TO I_OUT-VKORG,
                I_MVKE-VTWEG TO I_OUT-VTWEG.
          APPEND I_OUT.
        ENDLOOP.
        CLEAR I_OUT.
      ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME = 'C:\matstk.TXT'
       FILETYPE                        = 'ASC'
      TABLES
        DATA_TAB                        = I_OUT.
    *&                  T O P - O F - P A G E                              *
    TOP-OF-PAGE.
      WRITE:/ 'DATE:' ,SY-DATUM.
    *&                  E N D - O F - P A G E                              *
    END-OF-PAGE.
      WRITE: / SY-ULINE,
             /100 'PAGNO: ',SY-PAGNO,
             SY-ULINE.
    *&        E N D -- O F --  S E L E C T I O N                           *
    END-OF-SELECTION.
      LOOP AT I_OUT.
        AT FIRST.
          WRITE :/ 'MATERIAL EXTRACTION REPORT',
                   SY-ULINE.
        ENDAT.
        WRITE:/    SY-VLINE,
                   I_OUT-MATNR,SY-VLINE,
                   I_OUT-MEINS,SY-VLINE,
                   I_OUT-WERKS,SY-VLINE,
                   I_OUT-LVORM,SY-VLINE,
                   I_OUT-PSTAT,SY-VLINE,
                   I_OUT-DISPO,SY-VLINE,
                   I_OUT-MBRSH,SY-VLINE,
                   I_OUT-MAKTX,SY-VLINE,
                   I_OUT-VKORG,SY-VLINE,
                   I_OUT-VTWEG,SY-VLINE,
                   I_OUT-LGORT,SY-VLINE,
                   I_OUT-LABST,SY-VLINE.
        TOT = TOT + I_OUT-LABST.
        AT NEW MATNR.
          WRITE : 'NEW RECORD',
                   SY-VLINE.
        ENDAT.
        AT END OF LABST.
          WRITE : 'STOCK = ',
                   TOT,
                   SY-VLINE,
                   SY-ULINE.
        ENDAT.
        AT LAST.
          FORMAT COLOR 7 INTENSIFIED OFF.
          WRITE : /159 'TOTAL STOCK = ',
                     TOT.
        ENDAT.
      ENDLOOP.
        WRITE : /159 'TOTAL STOCK = ',
                     TOT.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

Maybe you are looking for

  • View works in Solaris in 1 minute but doesn't work in WIn2003

    We have a view is badly written. Other than the non-searchable conditions like '%*%'. What else is wrong: CREATE OR REPLACE FUNCTION anycon_p(neid NUMBER, joinaid VARCHAR2, sdf NUMBER, nodetype NUMBER ) RETURN N UMBER IS fromid NUMBER :=0; BEGIN if (

  • Is there a way to download previously purchased audio books on my iphone

    I previously downloaded an audiobook on my iPad. just upgraded to an i phone 5 with larger capacity and now i want to dowload the book i purchased on my ipad originally. when i search for the book in the itunes store it doesn't give me a "download" b

  • Purchase order vendor unknown

    Hi Experts, I am creating purchase order with vendor unknown.( ME25) from a purchase requisition. I have created a material with automatic P.O. an source list tick on as well as vendorwith auto p.o. tick on. Alos created inforecord for the material a

  • WORKFLOW  FOR PARKED  DOCUMENT

    Hello all,    I need to know the customising settings for workflow on parked document.how  does the subworkflow  attached to thw wf element(variant) get triggered in my main workflow for posting  of  parked document(i have  modified teh std wf for pa

  • Two barcode types in one barcode

    Code 128 set B and code 128 set C should be printed 'as one barcode'. In the data the beginning of line should be printed as code 128 b and the rest of the line as code 128 c. An example of data: JJFI00050011117139369 The first characters: JJFI0 => p