Will apex_application.stop_apex_engine affect other users to use that APEX?

Hi, guys:
I wonder if I call apex_application.stop_apex_engine to execute wpg_docload.download_file in order to download RTF file, would it affect other users to use that APEX application at the same time? I checked the article and did experiment, I think it won't, but I still want to get your comments about it.
http://www.talkapex.com/2011/12/apexapplicationstopapexengine.html
APEX 4.1
Oracle 11G R2
appreciate your advice!
Sam
Edited by: lxiscas on May 17, 2013 9:34 AM
Edited by: lxiscas on May 17, 2013 9:35 AM

lxiscas wrote:
Could you give me more detail about the affects on current session? as I found I have no problem to get to other pages through navigation, and I can still use the current page. The apex_application.stop_apex_engine is called at last in the procedure. and the procedure is called when user click one of two links.I think the API documentation and Martin's post fully cover the effects on the current "session" ("request" would be a more accurate term). Is there something specific that's bothering you?
<tt>apex_application.stop_apex_engine</tt> does not exert any global control over APEX or the current session (see +{thread:id=2401000}+ for previous discussion on this). It simply stops further APEX page processing of the current request. This is necessary because you want to send the contents of a downloaded file, or redirect it to a new resource, not display an APEX page.

Similar Messages

  • Write-back dimensions and how do they affect other users of the cube?

    If write-back is enabled on a cell or dimension and a value is changed, will it affect other users of that data as well?  
    When the cube is rebuilt will those new values/updates be overwritten?

    Hi Shifrbit,
    Writeback is implemented as ROLAP partition. Analysis Services creates a table in relational database where it stores writeback data. User do not need to worry about the mechanism Analysis Server is using to store writeback data. You can re-process your
    cube without concern of loosing data. Writeback will not disappear after process the cube. For the detail information about it, please refer to the link below to see
    Affect of Cube Changes section.
    http://msdn.microsoft.com/en-us/library/ms145568.aspx
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Lock the plant so that other user cannot use the same plant.

    Hi Gurus!
    I ahve this small report which shows the pro-rate factor . In this report I need to block the plant or lock it(a soft) lock witha  message that some other user is using the plant so that other cannot use the same plant to post.Following is the report and if soemone can help me out would be very kind enough.I ahve added teh code where validation of plant is doen , so it must be somewhere here the locking should be done as per my thinking . Kindly suggest please.
    *&      Form  get_pro_factor
    *       get pro rate factor from the given
    *       combination of plant/sloc/mat#/period
    form get_pro_factor .
      select single zpr_factor zpr_disp_factor zpr_pipe_net zpr_pipe_gross
      from zprfactor
      into (zprfactor-zpr_factor, zprfactor-zpr_disp_factor,
            zprfactor-zpr_pipe_net, zprfactor-zpr_pipe_gross)
      where zpr_werks = p_werks    and
            zpr_lgort = p_lgort    and
            zpr_matnr = p_matnr    and
            zpr_mjahr = p_mjahr    and
            zpr_monat = p_monat.
      v_subrc = sy-subrc.
      if zprfactor-zpr_factor = 0.
        if c_wp = p_lgort+0(2).
          zprfactor-zpr_factor = 1. " Don C added this routine
        endif.
      endif.
      if zprfactor-zpr_disp_factor is initial.
        if not zprfactor-zpr_pipe_gross is initial.
          zprfactor-zpr_disp_factor = zprfactor-zpr_pipe_net / zprfactor-zpr_pipe_gross.
        endif.
        if zprfactor-zpr_disp_factor is initial.
          zprfactor-zpr_disp_factor = 1.
        endif.
      endif.
    endform.                    " get_pro_factor
    *&      Form  valid_plant
    *       validate whether plant entered in selection screen
    *       exists in database or not
    form valid_plant .
      if not ( p_werks is initial and
                 p_lgort is initial and
                 p_matnr is initial and
                 p_mjahr is initial and
                 p_monat is initial ).
        select single werks from t001w into t001w-werks
               where werks = p_werks.
        if sy-subrc ne 0.
          message e048(zmm) with p_werks.
        endif.
      endif.
    endform.                    " valid_plant
    *&      Form  FIND_MATKL
    form find_matkl .
      select single matkl into v_matkl from mara where matnr = p_matnr.
    endform.                    " FIND_MATKL
    *&      Form  UPDATE_ZPRFACTOR
    form update_zprfactor using p_flag.                         "DEVK903224
      call function 'ENQUEUE_E_TABLEE'
        exporting
          mode_rstable   = c_e
          tabname        = 'ZPRFACTOR'
        exceptions
          foreign_lock   = 1
          system_failure = 2
          others         = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      else.
        select single * from zprfactor where zpr_werks = p_werks
                                       and   zpr_lgort = p_lgort
                                       and   zpr_matnr = p_matnr
                                       and   zpr_monat = p_monat
                                       and   zpr_mjahr = p_mjahr.
        if sy-subrc = 0.
          zprfactor-zpr_rate_flag = p_flag.                     "DEVK903224
          update zprfactor.
        endif.
      endif.
      call function 'DEQUEUE_E_TABLEE'
        exporting
          mode_rstable = c_e
          tabname      = 'ZPRFACTOR'.
    Thanks
    Aarav

    call function 'ENQUEUE_E_TABLEE'
        exporting
          mode_rstable   = c_e
          tabname        = 'ZPRFACTOR'
        exceptions
          foreign_lock   = 1
          system_failure = 2
          others         = 3.
    ENQUEUE_E_TABLEE   } E_TABLEE is the name of the lock object, it starts with character "E".

  • How to find out the Transactions used per month & the USER who used that

    Hi,
    1)How to find out the Transactions used per month & the USER who used that?
    2)and can i get the above same for minimum 20 month?
    System : SAP- Enterprise Core Component.

    You can use my program...
    *& Report  Z_ABAP_TCODE_MONITOR
    *****&  Program Type          : Report                                 *
    *****&  Title                 : Z_ABAP_TCODE_MONITOR                   *
    *****&  Transaction code      : ZTCODE_USAGE                           *
    *****&  Developer name        : Shailendra Kolakaluri                  *
    *****&  Deveopment start date : 26 th Dec 2011                         *
    *****&  Development Package   : ZDEV                                   *
    *****&  Transport No          : DEVK906086                                       *
    *****&  Program Description   : This program is to display
    *List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    *& Modification history
    REPORT  Z_ABAP_TCODE_MONITOR.
    *& List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    TYPE-POOLS : slis.
    DATA: ind TYPE i,
          fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          layout TYPE slis_layout_alv,
          variant TYPE disvariant,
          events  TYPE slis_t_event WITH HEADER LINE,
          heading TYPE slis_t_listheader WITH HEADER LINE.
    *REPORT  z_report_usage.
    TYPES: BEGIN OF zusertcode,
      date   TYPE swncdatum,
      user   TYPE swncuname,
      mandt     TYPE swncmandt,
      tcode     TYPE swnctcode,
      report TYPE swncreportname,
      count     TYPE swncshcnt,
    END OF zusertcode.
    *data   : date type n.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode,
          wa           TYPE zusertcode,
          t_ut         TYPE STANDARD TABLE OF zusertcode,
          wa_result    TYPE zusertcode,
          t_result     TYPE STANDARD TABLE OF zusertcode.
    PARAMETER: month TYPE dats DEFAULT sy-datum.
    *PARAMETER: date TYPE dats.
    *select-options : username for wa_usertcode-account.
    START-OF-SELECTION.
    PERFORM get_data.
    PERFORM get_fieldcatalog.
      PERFORM set_layout.
    PERFORM get_event.
    PERFORM get_comment.
      PERFORM display_data.
    FORM get_data .
    *date = sy-datum - 2 .
    After start-of-selection add this line (parameter Month required 01 as day).
      concatenate month+0(6) '01' into month.
      CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          ASSIGNDSYS    = 'DEV'
          periodtype    = 'M'
          periodstrt    = month
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      wa-date  = month.
    *wa-date  = date.
      wa-mandt = sy-mandt.
    wa_usertcode-account = username.
      LOOP AT t_usertcode INTO wa_usertcode.
        wa-user = wa_usertcode-account.
        IF wa_usertcode-entry_id+72 = 'T'.
          wa-tcode  = wa_usertcode-entry_id.
          wa-report = space.
        ELSE.
          wa-tcode  = space.
          wa-report = wa_usertcode-entry_id.
        ENDIF.
        COLLECT wa INTO t_ut.
      ENDLOOP.
      SORT t_ut BY report ASCENDING.
      CLEAR: wa, wa_result.
    endform.
    FORM get_fieldcatalog .
    fcat-tabname     = 't_ut'.
    fcat-fieldname   = 'DATE'.
    fcat-seltext_l   = 'Date'.
    fcat-key         = 'X'.
    APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'MANDT'.
      fcat-seltext_l   = 'Client'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'USER'.
      fcat-seltext_l   = 'User Name'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'TCODE'.
      fcat-seltext_l   = 'Transaction Code'.
      fcat-key         = 'X'.
      APPEND fcat.
    ENDFORM.
    *&      Form  SET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM set_layout .
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_event .
    events-name = slis_ev_top_of_page.
    events-form = 'TOP_OF_PAGE'.
    APPEND events.
    *ENDFORM.                    " GET_EVENT
    **&      Form  GET_COMMENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_comment .
    DATA: text(30).
    text = 'Billing Report'.
    heading-typ = 'H'.
    heading-info = text.
    APPEND heading.
    *ENDFORM.                    " GET_COMMENT
    **&      Form  top_of_page
          text
    -->  p1        text
    <--  p2        text
    *FORM top_of_page .
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary       = heading[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    *ENDFORM.                    " top_of_page
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      sort t_ut[].
    DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = layout
          it_fieldcat        = fcat[]
          i_save             = 'A'
          is_variant         = variant
          it_events          = events[]
        TABLES
          t_outtab           = t_ut
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " DISPLAY_DATA

  • If I update my apple software on iTunes on my laptop, will it also update other users itunes on the laptop

    If i update my apple software on iTunes on my laptop, will it also update the iTunes on other users accounts?

    No.

  • I am using Windows XP pro with 2 desk top users. Mozilla will not open for other user. in English

    I checked for missing shortcuts and it didn't help

    Well, it turns out it was all due to this file:
    ~/Library/Cahes/com.apple.audiounits.cache
    Once I deleted that, FCP X launched fine.  Thanks for pointing me in the right direction.

  • On one mac, is it possible for just one user to download and use windows, or will it force all the users to use windows?

    I want to download windows on the guest identity, so that I can play pc games (which only work on windows), but I dont want to have to use windows on my regular user identity. Does anyone know if it will only download for the one user?

    no user is forced to use Windows.

  • Itunes freezes on Win7 when i go to edit/preferences.  i have changed nothing, started 2 days ago.  Does not affect other users with the same apple ID.  After it freezes i close it via task manager

    i'm supposed to type in here??
    I have a computer with itunes on it.  Worked fine until i tried to switch users and have the music shared, that feature used to work great.  Doesn't share, although sharing is turned on, and works well except if you wanna change preferences it freezes.  Upon closing there are up to 7 distinct hangtime codes.  Apple doesnt recognize these codes - and have not replied to other questions concerning similar problems.  Any help or ideas would be welcome.  Removing my library or preferences did nothing, so I am reinstalling all this crap.  Please help!  I just want to be able to see my preferences.

    You are not addressing Apple here.
    You may leave feedback for Apple at:
    http://www.apple.com/feedback

  • Firefox will not open for other users on a shared computer with individual accounts one day after installing Firefox

    On a computer that is shared with multiple users(3),two of the users cannot open Firefox,only one user can. It shows the blue circle (Windows 7) but it disappears and does not open. Task Manager shows its running,but after closing,it won't open. Are there settings to adjust in Windows,or on Internet Options?
    I am running Windows 7 Ultimate with SP1 installed.

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Other users/devices using my bt wifi with fon?

    Hi
    Im wondering how many users/devices can log into BT wifi with fon from my account?
    Thanks

    If you want to give someone access on a compatible device, using the BT WiFi app and entering the password yourself privately should keep it secret.
    You can click the white star next to this message if you think it was helpful.

  • I want to download Firefox, but NOT have it as default browser, and not affect other users on the computer - is this possible?

    I want to install Firefox, and be able to use it on demand, whilst retaining Internet Explorer as default browser. Will I be able to use either browser as and when I wish?
    Thanks, and sorry for being stupid!

    Hi Tony,
    Thanks a lot - I thought that was the case, but needed to check!
    Will McAfee security talk to Firefox ok? Site Advisor etc?

  • OWA Calendar want to display a link to other users shared calendar that was created in Sharepoint at login

    Site is using Office 365.  They do not have the actual Office apps on their PC's, they access everything via OWA.  (sorry if I did not use correct nomenclature).
    Users currently access calendars etc, by accessing the site's SharePoint site after login to the Microsoft Portal (https://login.microsoftonline.com).  Then going to "site contents", and then
    accessing the calendar that was created.  Just a generic calendar that they use to schedule a conference room.  They log into O365 Portal, and just drill down.
    What the users' WANT to be able to do, is access the calendar off of their initial OWA screen that they get when they log into the portal.  At worst, just go down to "calendars" break it out, and click on "conference room calendar"
    or whatever.  I tried to do a copy and paste of the link from the page that has the calendar displayed, into a new link, but that did not bring up anything.
    So, to recap, the site is not using AD, they are all on generic Win7 and Win8 PC's that are not in a domain.
    They do not have Office on their computers.  They use OWA for everything.
    They do not want to drill down to calendars etc after login to access these resources, they want to be able to just click on a link on their OWA main default page they get when they initially log into the O365 portal, and get what they want.  Not
    drill down to the SharePoint shared calendar, which is only four clicks, but they don't want to have to do it. Whay want "ease of access".
    Thanks for your help.
    Rick

    You can move the iTunes folder to a separate drive on your pc an then configure each account to use this drive / folder as iTunes library ... The problem is, that iTunes by default stores everything in your personal music folder which is separate for each user account in windows (and by default is on "C" drive).
    I create a separate partition on every pc/laptop (and map a drive name) where I store music, videos and other mass data. This will also keep the "C" drive small, which is backed up from time to time and so my backup is also small.

  • HT201514 My Time Capsule/Router will not recognize the other Apple wireless devices that I own.  The older Air Port goes online immediately and recognizes each one by name.  The Time Capsule/Router does not finish the start up--long yellow flashing light.

    I recently purchased a MacBook Air and an Airport Time Capsule.  The Time Capsule does not recognize my old iPhone, my old iPod Touch and my new MacBook Air.  The old AirPort Extreme works perfectly on the network, so I know it's not my internet.  It also recognizes all my devices by name and hooks them up to the internet.  Is the Time Capsule broken or is there some secret trick I need to know to get it to work?
    Ellen H.

    Check the Ethernet connection to the AirPort Express. Make sure that the Ethernet connection from the Comcast modem is connected to the WAN port on the back of the AirPort Express. The WAN port is the one with the circle of dots shown over the port.
    It sounds like you are connected to the Ethernet LAN port.

  • I am logged in as a 'guest' on a computer that is used by others. I would like to totally hide my browsing history by 'resetting safari' but wonder if this will cause problems for the other users....Or does the resetting just apply to the guest?

    I am logged in a computer (that is used by others) as a 'guest'.  I would like to completely hide my browsing history and I hear this is done by 'resetting Safari'.  My question is, will this mess things up for the other people who logg into use the computer?  Or does the resetting apply only to the guest?

    Hi Chris
    anything, including resetting, that you do as guest should not affect other users who log into their own accounts. Just logging out of guest should remove the obvious history/cookies etc although of course it's possible for an admin of that computer to keep track of some info.

  • Share itunes with other users, windows 8

    I have just bought a new PC running windows 8. For each member of my family I have set up individual user accounts. I have then installed iTunes and attempted to follow the instructions located at iTunes: How to share music between different user accounts on a single computer - Apple Support to ensure that we can all access my centrally stored iTunes media/libraries. I have followed the instructions to the letter but it does NOT WORK on Windows 8. It may have worked on other versions, but not windows 8. Please, do not respond with the above link - it's already driven me crazy that this is the only result google turns up.
    In iTunes, I have used 'edit preferences' to select the public music - 'iTunes media' folder on all accounts, and keep checking the actual public folder (C - Users - Public - Public Music - ITunes - ITunes Media) to make sure all the data is there. Indeed it is there. But for each other user, iTunes won't display any of the songs in my library, or any of the playlists.
    I have even tried holding shift, opening iTunes and then selecting the central library. This just results in the music all being displayed, but iTunes displaying the message that it can't find any of the songs.(I have over 30,000...).
    I have deleted and reinstalled iTunes several times, and have deleted and reinstalled the iTunes data - music. libraries etc (currently backed up on an external HDD) several times. I can get iTunes to work on my account only (administrator) - but whenever I try to set up other users to access the public content, iTunes won't cooperate.
    As far as I can tell, with Windows 8, there is NO WAY TO SHARE YOUR ITUNES LIBRARIES WITH OTHER USER ACCOUNTS. I have read all the previous threads on this topic, have googled everything, and have looked on youtube
    Apple - this not good enough.

    Was it these directions?
    http://support.apple.com/kb/HT1203
    Did you read the line at the bottom?
    +When another user of the computer has imported new music from CD, repeat steps 6 through 8 to add the music to your library+ .
    You need to drag the public folder over into those user's itunes window.
    Alternatively, itunes menu > file > add folder to library
    When you download or rip new CDs, each user has to add it manually to their library list.
    Or use something like itunes folder watch.
    When you changed the other users itunes preferences, that will affect FUTURE additions. Now you are in the future and they need to add those songs to their itunes database list.
    With itunes 9 you might have success putting new music in this *Automatically Add to itunes* folder
    http://support.apple.com/kb/HT3832
    But I haven't tried it.
    Message was edited by: Katrina S.

Maybe you are looking for

  • How to change page orientation in Pages?

    Hi, I would like to change page orientation for Just one page inside a document. Say I have page 3 that I want to be landscape and not vertical, how can I do it? I haven't been able to find this in Pages, I found it in Word though. Any idea?

  • Gmail app doesn't work for multiple accounts???

    I just got an iphone5 and I'm super bummed to find out that the Gmail app does not allow you to switch between two accounts, as it does on my Android phone. What do people use to get around this?

  • Should I uninstall photoshop CC now that I have installed CC 2014 ?

    I've upgraded Photoshop and other programs from the CC version to the CC 2014 version and now I have both installed.  Was CC suppose to have uninstalled the CC version or am I suppose to do that manually ? Regards, G.O.Varney

  • Placing the icon and label vertically in MenuBar

    Hi, Is there a way, to place the menuitems icon and label vertically in MenuBar. Flex doesn't provided any property for this? It seems we need to extend the MenuBar. Can anyone help me in getting this workaround? I have the below code with me. Here I

  • To store and retreive imageicon form oracle

    i am able to store imageicon in oracle but not able to read back this is the part of code to store and retreive public void callupdatescreenview() try{ SimpleDateFormat dateformat=new SimpleDateFormat("dd/mm/yyyy"); Date date=new Date(); String dat=d