Searching FM for checking whether a job is active or not

Hello,
i am searching fo a FM which tells me if a job is already scheduled or is running.
Does anybody know?

Sorry.. i misread your question.. i thought of JOB in HR.
Check this FM for BASIS JOBS.
BP_IS_JOB_ACTIVE_IN_WP
BP_JOB_CHECKSTATE
BP_JOB_CHECKSTATE_SM37B
BP_JOB_STATUS_GET
BP_JOB_READ
To explore more FMs look at FG BTCH
Aman

Similar Messages

  • Need to Check whether the program is Active or not

    Is there any statement where i can check  whether the report program is Active or not.
    Using below statement i am  copying the entire Code in internal table it_source.Before copying in the source code in the  internal table  it_source.I need to check that program is Active or not if it is not active and i need to give a pop message and forceliy i need to Active it.
    read report wa_trdir-name into it_source.

    Hi Srini,
    i just checked the table REPOSRC for a program which was not activated, i got two entries for the program one as active and one as inactive ,as soon as i activated the program there was a single entry.
    so is it that we should check if we have any inactive entry in the table for the program?.
    Regards,
    gunjan

  • Error trying to check whether the job will be importing

    Hi,
    I am getting the below message error when I try to upload the data through webADI,is there any limit for loading the records that we can upload using web ADI? we tried to load near to 10,000 records and it's giving me an error on window and gets stuck without actually displaying the error message, when I check the Bne log I see the below message.
    BneAsyncUploadPage.renderPage Error trying to check whether the job will be importing.
    BneAsyncUploadPage.renderPage Parameter value is not a Boolean.
    Note: When I tried to upload 1000 records , it's working good.
    Thanks,
    Bharat

    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneAsyncUploadPageParameters:processEvent() Start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneUIMessages:clearAll() errors.size = 0 infos.size = 0 warnings.size = 0 confirms.size = 0
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneWebAppsContext:getValidContext() Start.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE Profile: BNE_ALLOW_SET_PARAMETERS = Y
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getExtraJDBCConnection assigned connection oracle.jdbc.driver.T4CConnection@e46a2
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneAsyncUploadPageBean.allowSetParameters true
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.isUPSCustomization start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneAsyncUploadPageParameters:processEvent() End
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController.processPageEvent() end.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneAsyncUploadPage.renderPage Start.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneWebAppsContext:getValidContext() Start.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE Profile: BNE_DOCUMENT_LIFETIME =
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneSecurity.checkAccess(): checking access for INTEGRATOR: 20003:GENERAL_62_INTG
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneWebAppsContext:getValidContext() Start.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneSecurity.checkAccess(): a system administrator. return true
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 ERROR BneAsyncUploadPage.renderPage Error trying to check whether the job will be importing.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 ERROR BneAsyncUploadPage.renderPage Parameter value is not a Boolean.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneJDBCUtils.commit() current connection: oracle.jdbc.driver.T4CConnection@e46a2
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneDateUtils.getSYSDATE() Start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneDateUtils.getSYSDATE() Start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneJDBCUtils.commit() current connection: oracle.jdbc.driver.T4CConnection@e46a2
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController:getPage() Start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController:getPage() Creating a page reference, for page = oracle.apps.bne.webui.pageflow.BneAsyncUploadPageSend
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController:getPage() class detail, name = oracle.apps.bne.webui.pageflow.BneAsyncUploadPageSend
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController:getPage() End
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneAsyncUploadPageSend:createPage() Start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneAsyncUploadPageSend:createPage() End
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController.createPageBody() End.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController.handlePageHead() start.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController.handlePageHead() end.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBasePageController.handlePage() Done
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBajaServlet.setupResponse() Start
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneWebAppsContext:getValidContext() Start.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE Profile: ICX_CLIENT_IANA_ENCODING = UTF-8
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneBajaServlet.getRenderingContext() Response.setContentType = text/html; charset=UTF-8
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.getUserId() End, userId = 79087
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BnePerformanceStatistics - Wrote 0 of 3 statistics in 0 Milliseconds.
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneJDBCUtils.commit() current connection: oracle.jdbc.driver.T4CConnection@b3ea0f
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneJDBCUtils.commit() current connection: oracle.jdbc.driver.T4CConnection@e46a2
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE BneOracleWebAppsContext.releaseContext() Web Event Duration = 0.083(s)
    7/26/12 11:55 AM AJPRequestHandler-HTTPThreadGroup-3 TRACE Exit BneApplicationService.handleRequest()
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: sweep starting ...
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE Cache Summary
    Cache Region: Default Cache , Size: 0 , hitRatio: 0 /0 , puts: 0 , removes: 0 , cleared: 0 , swept: 0 , hashCode: 0
    Cache Region: Generic SQL Statements , Size: 0 , hitRatio: 0 /0 , puts: 0 , removes: 0 , cleared: 0 , swept: 0 , hashCode: 0
    Cache Region: Web ADI Repository Objects , Size: 36 , hitRatio: 289 /310 , puts: 36 , removes: 0 , cleared: 0 , swept: 0 , hashCode: -144528918
    Cache Region: Web ADI Parameter Lists , Size: 12 , hitRatio: 15 /27 , puts: 12 , removes: 0 , cleared: 0 , swept: 0 , hashCode: 376128196
    Cache Region: Web ADI Parameter Definitions , Size: 28 , hitRatio: 69 /97 , puts: 28 , removes: 0 , cleared: 0 , swept: 0 , hashCode: -1860472108
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneWebAppsContext:getValidContext() Start.
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneContext:getBneDbcFilename() Start.
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneContext:getBneDbcFilename() Done, filename = /applmgr/ebsuat/inst/apps/ebsuat_ebs121v/appl/fnd/12.0.0/secure/ebsuat.dbc
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneWebAppsContext:getValidContext() Start.
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneJDBCUtils.commit() current connection: oracle.jdbc.driver.T4CConnection@e46a2
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: Default Cache : 0 cleared, time: 0 mSecs
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: Generic SQL Statements : 0 cleared, time: 0 mSecs
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: Web ADI Repository Objects : 0 cleared, time: 0 mSecs
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: Web ADI Parameter Lists : 0 cleared, time: 0 mSecs
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: Web ADI Parameter Definitions : 0 cleared, time: 0 mSecs
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE BneCache.cacheSweeper: sweep done in 5 mSecs
    7/26/12 12:00 PM Web ADI Cache Sweeper TRACE Cache Summary
    Cache Region: Default Cache , Size: 0 , hitRatio: 0 /0 , puts: 0 , removes: 0 , cleared: 0 , swept: 0 , hashCode: 0
    Cache Region: Generic SQL Statements , Size: 0 , hitRatio: 0 /0 , puts: 0 , removes: 0 , cleared: 0 , swept: 0 , hashCode: 0
    Cache Region: Web ADI Repository Objects , Size: 36 , hitRatio: 289 /310 , puts: 36 , removes: 0 , cleared: 0 , swept: 0 , hashCode: -144528918
    Cache Region: Web ADI Parameter Lists , Size: 12 , hitRatio: 15 /27 , puts: 12 , removes: 0 , cleared: 0 , swept: 0 , hashCode: 376128196
    Cache Region: Web ADI Parameter Definitions , Size: 28 , hitRatio: 69 /97 , puts: 28 , removes: 0 , cleared: 0 , swept: 0 , hashCode: -1860472108

  • EBS search string for check number

    Hello Gurus
    My client is using MT940 FORMAT for EBS,requirement is in a bank statement we are having 10 transactions which are having the same amount for ex:rs.1000 for ten payment transactions. now system is not able to post the document when we import the bank statement.
    I wanted to use search string for check number,  note to payee in bank statement is check number.Please find the below refference
    /EI/400229001       010013
    0000010013
    Reference 010013
    How could i use search string for this i tried but im not getting the solution im getting the following error difference is too large F5 263.
    Appreciated for our help............
    Thanks a lot in advance...............

    Hi Paulo,
    Thanks for the reply. However i have the following setting and it still does not work..
    Mapping -> AB01
    When i do the simulation it shows the Number and the hits and mapping.
    In the Seach String use i have following settings:
    CC 1000
    Interpretation : ALL Interpretation
    Search String : TEST1 ( this is the name that i gave to above search string)
    Target : Posting RUle
    Active checked.
    But still when i upload the bank statement it is posting to Rule AB03 and not AB01
    Also when i try FEBSTS it says no document hits ???
    Your answer is greatly appreciated.

  • Checking whether a URL is active in 4.6C

    Here's a different question for you.
    I've been asked to check whether a URL is active.  Basically they want to check whether the webpage is still viewable and if it isn't, then send an e-mail.  This will be a background job.
    Because 4.6C does not have ICM [Internet Communication Manager] this doesn't seem to be an easy process.
    The most I seem to be able to do is use CL_GUI_HTML_VIEWER to show the URL.  But that only happens when run online and not in background. And no exceptions are raised if a 404 page cannot be displayed happens. 
    Being the constriction of 4.6C anyone have any ideas?
    If you could show me how to PING from ABAP or know whether a website is active <REMOVED BY MODERATOR>
    Let's use www.ebay.com as an example.
    Thanks!
    Edited by: Alvaro Tejada Galindo on Feb 8, 2008 10:25 AM

    Hi,
    Go to tcode DC30 and there check for the 'Define workstation apllication in network'.
    If there is no entry for URL, create an entry as below :
    Appl =  URL
    Description = Textdateien
    Suffix = URL
    ArchID = *
    StartAuth = flag checked
    I think this setting should make the system to access the URL's.
    Regards,
    B Rangaraju

  • Hi. Im currently living in New Zealand. Just bought an iphone 5s yesterday from a shop called Parallel Brand Imports in Auckland. When i came home i called apple to check whether my phone is locked or not and they said that its locked to US Verizon even t

    When i came home i called apple to check whether my phone is locked or not and they said that its locked to US Verizon even though when i checked on iphoneimei it said sim status unknown. I put my 2degrees (NZ carrier) in today and it worked fine. I got into the settings and turned off the automatically part of carrier and there were 3 options for me to choose 2degrees vodafone and telecom. Because of that, im quite confused abt whether my phone is locked or not since im from vietnam so i want to know if i can use vietnamese sim card when i go home. Thanks for your help@verizon

    Hi tranvietanh - I appreciate you contacting us all the way from New Zealand! I can confirm that the iPhone 5s and all of our other 4G LTE device are not SIM locked. As the carrier in New Zealand may not support the exact same frequencies and cellular bands that we use on our network, we are unable to support the device if using a 3rd party SIM.
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • How can we check whether a ResultSet is EMPTY or NOT ?

    i'm getting some data inside ResulSet (using JDBC inside Servlet).
    now i want to redirect response according to ResultSet...., if ResultSet is EMPTY then on diff page, else on different page...
    how can i check whether a ResultSet is empty or not...
    i've used next() , wasNull() methods ,,, but not solving the purpose...
    thanx in advance...

    What you could do is to ask the database fora
    record count and check that for zero.
    How?????You just do an SQL statement but instead of the list of fields after SELECT you put
    SELECT count(*) FROM ...... WHERE .....
    That returns a single integer value into the resultset giving the number of matching records currently in the database.
    The trouble is you can't be certain that when you subsequently access the records the number won't have changed, because databases are generally accessible to more than one process at a time and some other process might add or delete a record between counting and retrieving or, for that matter, during the process of retrieval.
    Also the count is likely to take more time than just doing rs.next() and seeing if you get a record.
    Since you seem to be in a servlet environment you should consider doing the database query and the first rs.next() at the top of the servlet/JSP that presents the results and, if there are no records, using getServletContext.getRequestDispatcher(...).forward(request, response) to swich to your error page if it returns false.
    So the stucture looks like:
    rs = stmt.executeQuery(......);
    if(!rs.next())
          getServletContext().getRequestDispatcher("/noresultspage.jsp").forward(request, response);
    else {
         do   {
             .... display result data
          } while(rs.next());
        }

  • To check whether a file is open or not.

    Hi,
    I am using proc_listpidspath() to check whether a file is open or not by some application.
    It works in Leopard but not in Tiger.
    Can anyone suggest some function or solution so that i can check whether a file is open or not in Tiger.
    thanks.

    PersianKamran wrote:
    if i create a file
    File f = new File("path");
    f.createNewFile();
    Now i have created this file.. but i havent wrote any thing to it.. how can i determine that whether this file is empty or not..[Read the fine manual|http://java.sun.com/javase/6/docs/api/java/io/File.html#createNewFile()]
    Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist. The check for the existence of the file and the creation of the file if it does not exist are a single operation that is atomic with respect to all other filesystem activities that might affect the file.
    Returns:
    true if the named file does not exist and was successfully created; false if the named file already exists So if it returns true, then the file is created and empty.
    Secondly, once i write some thing to file.. how can erase all the data from file ?deleting it will get erase the file and return you to the state you started from.
    Iif you don't want to create a new file, don't use the createNewFile() method and use the new FileOutputStream/close approach rather than the createNewFile()/delete() pair as already described in this thread.

  • We need to check whether the order is locked or not?

    I need to check whether the order is locked or not?
    I tried to use this RFC KAUF_ORDER_READ and passed Order no.
    I manually locked the order( using Tcode -IW32) but still Function module is not returning 'X' in FIELDS flg_locked and FLG_ENQUE of the structure E_KAUF.
    the FM should return 'X' in these fields.
    Please help.
    Coudl anybody suggest me how I can check using RFC/ Table fields etc that whether the order is locked or not?

    Hi Rohit,
    Try this code. Check the flag.
    Note : Order number should have left padding of Zero
    DATA : order_tab TYPE TABLE OF ord_pre,
           wa        TYPE ord_pre,
           flag      TYPE rc27x-flg_sel.
    wa-aufnr = '000004006789'. "Order number should have left padding of Zero
    APPEND wa TO order_tab.
    CALL FUNCTION 'CO_ZF_ORDER_READ'
    EXPORTING
       flg_dialog               = ' '
    *   FLG_ENQUEUE              = 'X'
    *   OBJECTS_IMP              = ' '
    *   EXPLODE_IMP              = ' '
    *   FLG_PROT_IMP             = ' '
    *   FLG_NO_EXTERNAL          = ' '
    *   FLG_NO_BANF              =
    *   FLG_CHECK_SIM            =
    *   IMPORT_MESSAGE_ID        =
    *   CHECK_STATUS_READ        = ' '
    *   FLG_NO_GOS               = ' '
    *   FLG_CALLED_TO_COPY       = ' '
    IMPORTING
       flg_enqueue_ok           = flag
    *   FLG_ESCAPE               =
      TABLES
    *   AUFNR_DEL_EXP            =
        aufnr_tab_imp            = order_tab
    EXCEPTIONS
       ORDER_NOT_FOUND          = 1
       RELEASE_NO_CHANGE        = 2
       OTHERS                   = 3
    IF sy-subrc = 0.
      WRITE flag. "If Flag is X order is not locked
    ENDIF.
    Regards
    Rajvansh
    Edited by: Rajvansh Ravi on Nov 27, 2008 12:33 PM

  • I use the google search bar for everything and since downloading FF4 i can not select any of the suggestions in the google drop down menu

    I use the google search bar for everything and since downloading FF4 i can not select any of the suggestions in the google drop down menu.
    I have tried to select one of the suggestions that google give me for my search but FF it wont let me. I have type everything out in full. I hate FF4 it is rubbish. I loved firefox before this one came out but now I am seriously thinking of going over to google chrome.

    Many thanks for the prompt reply, ideato.
    One of the reasons I abandoned Chrome in favour of Firefox was due to the "black band of doom" that appears on the top of the Google page - so setting up my homepage to google.co.uk just puts that back in the ugly spotlight.
    I was, though, pleasantly surprised to see a Google search bar on the Mozilla Firefox Start Page (without the black band and Google options that I am just not interested in) but bitterly disappointed that it is Google.fr (due to my ISP being French).
    I shall learn to live with Yahoo (or worse case scenario, Bing!)
    rgds, PG

  • How to find out whether USER-EXIT is active or not

    Hello!
    How can I  find out whether USER-EXIT is active or not ?
    I set a break-point at these points and nothing happens
    if I want save my daocument ???
    Why
    PERFORM USEREXIT_SAVE_DOCUMENT.
    PERFORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    Ragards
    Ilhan

    Hi Ilhan
    The easiest way, I guess, is by going to transaction SMOD, sticking in your enhancement name and pressing the test button.
    When placing breakpoints, don't use <b>Breakpoints > Breakpoint at > Statement...</b> and enter
    PERFORM USEREXIT_SAVE_DOCUMENT
    because you won't get any hits since the function module names are stored dynamically.
    Rather use <b>Breakpoints > Breakpoint at > Function Module...</b> and enter
    USEREXIT_SAVE_DOCUMENT
    for a better chance of hitting the breakpoint.
    Cheers
    Lyal
    Message's terrible grammar was edited by:
            Lyal Schumann

  • How to determine whether process Chain is active or Not

    Hello Experts,
    How to determine whether process Chain is active or Not, because i have large number of PC to activate.

    Hi,
    Please check this program in SE38---- /SSA/BWT
    This program will give you information regarding all your process chains which are active and running based on there timings.
    Hope it helps.
    Regards,
    AL

  • How to check whether ESBAgentListener listener is started or not for ESBSys

    Hi,
    I am working on Oracle ESB 10g, I want to know how to check whether the ESBAgentListener listener is started or not for particular ESB system. I know we can verify the logs but I want to know is it possible from database or any other sources.
    Thanks in advance.
    Ramesh

    Hi Jogdand ,
    You can get the PO total value change form the PO business Object BUS2201 attribute  POTotalValueIncreased .
    Below code sample decribes how to get the BO attribute values
    1. INCLUDE <swfcntn01>.
    2. Create an instance of the BO by calling the macro and passing the three parameter.
        swf_create_object     <po bor object>     <BUS2201>     <po_guid>
    3. Get the PO attribute by calling macro
      swf_get_property   <po BOR object>   < 'POTotalValueIncreased' >    < lv_pototalvalueincreased>
    OR
    You can query the table BBP_PDHGP and get the original Value of the PO and call the FM BBP_PD_PO_GETDETAIL to get the new Value of the PO. Check the difference and if there is any difference then the PO value is changed.
    I hope this will be very useful.
    Regards,
    Surender

  • FM or table to check whether a transaction is locked or not

    Hi all.
        I  need to create change a return order (VA02 Transaction ) & then need to create a delivery (VL01N Transaction) for this
       return order no. My issue is before creating delivery (VL01n) I need to check whether return order (VA02) is lockked or not in report program. Is there any FM or table for this.  Thanks in advance.
    Kind Regards,
    sami

    Hi,
    check the below function module to check the return order is locked or not..
          CALL FUNCTION 'ENQUEUE_EVVBAKE'
            EXPORTING
              mode_vbak      = 'E'
              mandt          = sy-mandt
              vbeln          = w_lvbeln  "pass return order
              x_vbeln        = ' '
              _scope         = '2'
              _wait          = ' '
              _collect       = ' '
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
    " Sales Order is locked
          ENDIF.
    Prabhudas

  • How to check whether the Resultset is empty or not ??

    I wanna check whether my Result set is empty or not ( I don't want the no of rows it contains..) i'm using this function...
    boolean result=myResultSet.isAfterLast() | myResultSet.isBeforeFirst() ;
    if (result == true)
    {//Result Set is populated
    else
    {//ResultSet Blank
    Is it ok to do like this ?? Or is there any other functanality to do this, since in big appl..i'm using it more than 10-15 times & it's working fine evrywhere except for one jsp where it is returing TRUE everytime ...
    Help Appreciated !!

    try,
    rs = pstmt.executeQuery();
    boolean b = false;
    if( b = rs.next() ) {
    while( b ) {
    //... rs.getXXX( YYY );
    b = rs.next();
    else {
    //...empty rs processing
    or,
    ResultSet rs = ps.executeQuery();
    if(rs.next()) {
    do {
    System.out.println(rs.getString(1));
    } while(rs.next());
    } else {
    System.out.println('empty result set');
    but I usually avoid using do...while although this may be an exception.

Maybe you are looking for