Find out Mode (DISPLAY OR EDIT) within SRM 7.0

Hi,
I am within a Method (WDDOMODIFYVIEW--> for contracts) and want to find out the current action mode
Display or Edit Mode (to control a customer field)
Which Class/method could I use for that?
Thanks and regards
Andreas

Hi,
Please check if SAP Note 1334202-"How to get current action ID and transaction group" can help.
Regards,
Chandu

Similar Messages

  • How can we find out data in an editable ALV grid has been changed or not?

    Hi Experts,
    How can we find out whether a data in an editable ALV grid has been changed or not.
    I am using the
    FM -> REUSE_ALV_GRID_DISPLAY_LVC
    for ALV display.
    I have to chekc whther data has been changed or not befor saving. if changed then only i want to
    SAVE
    . I cannot use the internal table comparison method for this purpose also i am not using OOP ALV.
    So kindly sugest me an alternative.
    Thanks and Regards,
    Shahana

    Hi,
    Thanks for your answer. I already saw this post.
    See this method.
    CALL METHOD reuse_alv_grid->check_changed_data
    IMPORTING
    e_valid = lv_check.
    This will update the internal table with the edited values. Then we can go for internal table comparison.
    But my scenario will not allow me for itab comparisons.I just want to know the ALV data has been changed or not.
    Regards,
    Shahana

  • Query to find out controls displayed as in UI for an applet,along with view

    Hi,
    I am looking for a query to find out list of all the controls as displayed in UI applet along with applet's view.
    Please note that in the query only mapped controls (those displayed in UI ) should come up.
    Regards,
    Kunal

    Hi,
    If the EUL is an apps mode (EBS) EUL then the eu_username column is the apps user id or apps resp id. If you want to show only the responsibilities and convert those ids to names then you need to use the EUL5_GET_APPS_USERRESP function like this:
    select ba_name, ba_developer_key, EUL5_GET_APPS_USERRESP(eu.eu_username, 'R') responsibility_name
    from eul5_bas ba
       , eul5_access_privs ap
       , eul5_eul_users eu
    where ba.ba_id = ap.gba_ba_id
    and ap.ap_type = 'GBA'
    and ap.ap_eu_id = eu.eu_id
    and eu.eu_role_flag=1
    order by 1,2,3Rod West

  • How to find out all user exits edited

    Hi All,
    Would you know how to find out all user exits have been ever edited?
    Can we find out those user exit by some tcode or table?
    Thank you very much
    Best Regards,
    Calvin
    Edited by: Sam Sum on Mar 2, 2009 5:09 AM

    Hi,
    Just try this in your system.
    Go to SE38 and give ZX* and press F4.
    Have a look at table MODATTR to find the active projects in your system.
    Regards
    Edited by: Rajvansh Ravi on Mar 2, 2009 5:17 AM

  • Find out who catches exception from within exception

    Hi,
    I am writing some generic Exception for our project. The aim is to simplify exception handling by making the exceptions log the necessary information with Log4J.
    It seems pretty easy to find out which class actually threw the exception (top of stack trace) but I would much rather like to log the exception in the name of the class that will catch the exception.
    The problem is that the stacktrace (it can be retrieved within an exception as of J2SE 1.4) does not contain information about which class will actually be catching the exception.
    Is there any way to accomplish that? Would be very grateful if someone could point me into the right direction if there is a possibility.
    Thank you very much in advance
    Greets Robbi

    Thanks for the quick reply.
    What I actually really wanted is to log from within the Exception. Right now I am doing this from within the Exceptions constructor.
    I see your point with the constructor being supposed to be lightweight, but in most cases the logging will be turned off and log4J does not take a lot of time to find that out.
    The logging within the catch blocks is what we wanted to circumvent as that would be the same in all catch blocks. Additionally it would be easy to simply change the topmost Exception in our hierarchy to log somewhere else instead.
    Performance is not too crucial on our application, but traceability is, as a lot of money is tied to a single transaction. That is why we decided to for Exceptions to log, as thus even when a developer would forget to log, the exception is still logged.
    Anyway, I thought that it is quite likely not possible to determine who catches an exception from within that exception. I guess the virtual machine wouldn't like to unseal that information. Maybe this is something that might work in a future Java version.
    Thanks for the input anyway.
    Regards Robbi

  • SQL Server Software ISO, How to find out what is the Edition and Version of the SQL software before starting installation

    Hi All-
    Before starting installation, I would like to find out What EDITION and VERSION  is the SQL Server Software ISO.
    Please note this is not to find out what version is the installed sql server but before the installation: Is there a note or abrv. that describes what kind of Edition and version is the ISO?
    Detail explanation is appreciated.
    Thanks.
    belayzeleka

    @Balmukund - Thanks for the input - That one is a nice blog!
    But assuming you can`t change the Product Key value (you are not provided that number, as you know it gets populated by itself) can you find out
    what implies the corresponding edition? If there is a folder where this reference is store, could you provide the full file path where  this folder is located?
    The ideal solution would be a way to find out what the Edition
    is befor we start installation.
    Thanks!
    Also just to add what I came across:
    The SQL Server 2012 installation software comes with pretty much all edition in it, that kind of makes it difficult to easily identify what edition is the specific ISO, but when
    one downloads from MSDN one must downloads the
    right edition either Standard,
    Enterprise, etc so that when you install it, it installs whatever edition is downloaded.
    The best source would be whoever downloaded the software.
    Also, before going too far, you can find out what edition it is being installed right before the setup wizard finishes on the
    License Terms page (Microsoft Software License Terms Page) and if the edition is not the one you intended to install, you can cancel it there and everything will be rolled back- no hastle.
    belayzeleka

  • Webpage in Edit Mode displays NO editable data!

    I used Dreamweaver MX to develop our company's Intranet. Our
    HR Director makes changes to the Job Postings page on her own using
    Contribute 2. Since the original creation of our Intranet, I've
    updated to Macromedia Studio 8. A couple weeks ago she was on
    vacation so I updated the Job Postings page for her using
    Dreamweaver and it worked fine.
    Now, however, when she navigates to the Job Postings page in
    Contribute 2, it displays as expected. BUT, when you go into Edit
    mode, the page only displays the locked-by-template features and
    the editable regions/data don't exist. It's as if the editable area
    is empty.
    As a test, I pulled the page from the Intranet in DW8 and it
    appears just fine. I did a HTML validation on it and it seems fine.
    I then configured Contribute 3 on my computer (I don't use it -- it
    just came with the Studio) and, just as with using Contribute 2, it
    displays fine but in Edit mode it is blank -- no data is shown to
    edit.
    Some more details: In Contribute 2 in Edit mode, the editable
    region where the job posting data should be, it shows a </td>
    in bold highlited in yellow. And, nothing else shows. In Contribute
    3 in Edit mode, ther editable region is totally blank/empty.
    I have no idea what happened. Any ideas? I did download the
    latest v2 updater for her machine ... fyi.

    Thanks for replying Tom. I tried using the Attach Code button
    -- but not sure if it will work (I think it has a character max
    limit). Yes, I also thought that when Contribute 2 shows the
    </td> in bold highlite it would mean an exrtra closing tag.
    However, it doesn't show up in DW or Contribute 3. Regardless, the
    page in Edit Mode in Contribute 2 (or v3) doesn't show the editable
    region so that I can add/remove jobs for some really odd
    reason.

  • How to find out that user starts editing data ?

    Hi all,
    I need to do something like changing icon to indicate editing session when the user starts editing cell in JTable, what event should I listen to ?
    Thanks in advance
    Setya

    Hi,
    add a PropertyChangeListener to your JTable and listen to the property "tableCellEditor". When it its null, editing is stopped, if it is non-null, editing was started.
    Thus you can determine when an editing session was initiated.
    Michael

  • How to find out the users assigned tasks within a GP process using GP API?

    All,
    I am trying to get details of all the running GP processes. As a part of this, I need to get the user information of who is assigned a task within a process.
    Any inputs on this ?
    Do I have to use the IGPProcessRoleInstance interface? Also how do I get the execution context of all the callable objects within the process?
    -Thanks in advance
    KN

    Hi Chandan,
    I am basically looking for the roles responsible for each task in the process.
    I get the below exception when I execute the code provided by you.
    <i>com.sap.caf.eu.gp.exception.api.GPEngineException: No active version of the given development object existscom.sap.caf.eu.gp.exception.api.GPEngineException: No active version of the given development object exists at com.sap.caf.eu.gp.exception.impl.ExceptionUtil.convertTo(ExceptionUtil.java:36) at com.sap.caf.eu.gp.process.impl.GPProcess.getActiveTemplate(GPProcess.java:116) at com.sap.caf.eu.gp.process.dt.impl.GPDesigntimeManager.getActiveTemplate(GPDesigntimeManager.java:276) at com.sap.caf.eu.gp.process.dt.impl.GPDesigntimeManager.getActiveTemplate(GPDesigntimeManager.java:269) at com.bp.cmd.wd.GPReporting.getOverdueProcesses(GPReporting.java:346) at com.bp.cmd.wd.wdp.InternalGPReporting.getOverdueProcesses(InternalGPReporting.java:184) at com.bp.cmd.wd.GPReportingView.onActionSubmit(GPReportingView.java:145) at com.bp.cmd.wd.wdp.InternalGPReportingView.wdInvokeEventHandler(InternalGPReportingView.java:169) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:746) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:255) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</i>
    I guess this is because there is no active version of the process available now. Any inputs on this and how to avoid this ?
    -Thanks,
    KN.

  • Finding out a Managed Server Name/Port

    Hi all,
    Hope I have the relevant newsgroup....
    Does anyone know how I might be able to find out the name of the managed server (or its port) that I am currently running on?
    We have a clustered environment (1 admin, 2 managed servers) but I need to get the name of the managed server/port so I can generate some unique information for the server.
    I was reading about JMX and it seems I can return a list of ALL servers configured to run on a cluster. It doesn't really help though as I need to find out the specific server details within the cluster.
    Any help would really be appreciated.
    Cheers,
    Jay.

    Yes, you can use WLST tool :-
    domainConfig()
    cmo.getServers()
    Link : [http://edocs.bea.com/wls/docs100/config_scripting/monitoring.html]
    I hope this helps :)
    Edited by: Manish Chellappan on Jul 22, 2009 9:23 PM

  • Finding out the current display mode

    Is there any API available to query the current mode
    of the current page (at least view or edit mode)?
    Suppose I have a custom item type with an associated
    function that draws the item. I might want to draw the
    item one way in edit mode and another (or maybe not at
    all) in view mode.
    I'd rather not look at the URL and find out if it
    contains "_mode=16" or not...
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

    I'm afraid looking at the URL is the only way.
    Regards,
    Jerry
    PortalPM

  • For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. Nothing there about sizing.

    For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. I don't see anything about re-sizing when I click the adjust tab: only saturation and tint levels. Thank you.

    With respect to digital images, there really is no size in inches. The size is given as number of pixels horizontally and vertically. In iPhoto '09 you click the little "i" inthe lower right side of the window and it will display information related to the selected photo, including the pixel dimensions. I do not have iPhoto '11 installed so I don't know if it is the same there.
    In some applications, such as preview, it has something additional called Dots per Inch (DPI) which you would think would allow you to convert the pixel dimensions to inches. It is not a real thing, though. The DPI is determined by how large or small you have chosen to print your photo and the capabilities of your printer. 
    There is also something called Aspect Ratio, which is usually expressed in inches x inches such as 6x9 but that doesn't mean the size on the screen or when printed is 6x9.  It is the ratio of the pixel dimensions.  When cropping your photos, you will have several standard aspect ratios to choose from plus any custom ones you create.
    In iPhoto '09, after you choose Print, in the Print Setting window are the settings for the size you want the photo printed. You want to shoose a setting with the same aspect ratio of your photo. Otherwise, iPhoto will resize and/or crop your photo to fit the size you have chosen. 

  • Feature Request: Lights Out Mode / tagging display.

    Problem: "Lights out" mode hides tags - need to enable option to allow tags to be seen during lights out mode.
    I love editing down photos to selects in lightroom, I love using the (L) LightsOut Mode to set the screen(s) to black.
    however, when I do so, it hides tagging data as well. I would like an option (keyboard shortcut) to toggle the display of stars/flags/colors on and off.
    Possible solutions:
    Flags and stars are simple graphics that could appear over the image or beside/under it  in tiny non distracting ways. colours could be the same or perhaps have the outer border turn to the selected colour.
    ADDITIONALLY: I would love to see an option to "LIGHTS OUT" the second monitor indipendantly of the main. (this could be done in the second monitor drop down menu)

    Originally Posted by Anarion
    It's cool that these cards have headphone out but there's one rather large issue with how it that you can't use line out in headphone mode.
    For example, if someone wants to use more powerful or better suited external headphone amp, he has to use already amped headphone out if he want best virtual surround/HRTF in games. The headphone out is slightly worse in quality too so it makes no sense to use it in above case.
    Some headphones sound just too **** loud when plugged in the headphone amp so line out is only option. However, while that works just fine for normal stereo music, it is not optimal solution for games because the HRTF is way less accurate.
    So, how about adding "Headphone mode" tick box for line out (or "Use line out plug instead" tick box in headphone mode)? It would solve various issues and fix one of the most annoying problem with Z/Zx/ZxR cards right now. It should be rather simple (i.e. same settings as headphone out but different output plug) thing yet would make massive difference in usability.
    Hi Anarion,
    I have relayed your product feature request to the designated department.
    Will keep you informed for any updates on this thread, fingers crossed!
    Cheers,
    Philip-CL

  • Div borders displaying in editing mode

    I'm kind of new to Contribute, and I'm setting up my first
    site in it. The first thing I noticed is that Contribute breaks my
    layout by putting a border on the bottom and right of all the divs
    with a position: absolute, or position: relative. The divs that are
    floated are not outlined. I'd rather not use tables for the layout,
    but I need the layout to remain intact when normal people edit
    their pages.
    Is there a way to turn off the border display? I have not
    seen anything in the menus. Could this be changed in an xml config
    file?
    Any help would be appreciated.

    Hi,
    I guess since you have done the site in div's you are facing
    this problem.I did a site in div's and my basic problem is that
    they dont appear perfectly inside contribute, but they do in
    dreamweaver view. Have you had any problems with divs in contribute
    view?
    Well, I am trying to find out whether there is a way to fix
    if the alignment is wrong in contribute or not, or its just my
    coding for some reason.
    Sorry, this message is not to help you, but I wish if you can
    help me out in answering my question.
    PS - I had to use tables because of this aligment issue and
    it was a mess. :(
    Thanks

  • Dear sir I have 2 iPhones , I downloaded find my iphone and find out there is another iPhone on my Apple ID and in another location in same city Erbil which I live and I tried to use lost mode but it is still not stopped

    Dear sir I have 2 iPhones , I downloaded find my iphone and find out there is another iPhone on my Apple ID and in another location in same city Erbil which I live and I tried to use lost mode but it is still not stopped

    It could be that someone has accessed your AppleID/iCloud account with out authorization. Or it could be that you forgot to remove find my iPhone form a phone that your previously owned.
    Change your Apple ID password.

Maybe you are looking for