Transaction opening in edit mode

Hi,
I have a strange issue. I have to set some values for the Notes section for a service request. For that I am creating a new relation in the DO_INIT_CONTEXT method of the view and setting the values there. Now the issue is when I open the transaction, it opens up in edit mode. While debugging, I relaised that this is coming up because of the execution of the statement to create a new relation (create_related_entity). Please provode pointers on how to resolve this or what could be the reason for this.
Regards,
Radhika

Hi,
      You have given the answer yourself. Trying to create a relationship locks the transaction and this causes the view group to be set in edit mode. Trying to default values in the DO_INIT_CONTEXT method is OK as long as the transaction is already locked(most often, a new transaction). We can use the is_locked( ) method of the entity to find if it's locked and then set the default values. You are trying to set the values irrespective of whether the transaction is in edit mode or display mode. Of course a commit after setting the values would release the lock, but, it is not good to put such code in the DO_INIT_CONEXT. You should either set values only for new docs(already locked) or find a better place/event to default the values.
Regards,
Arun Prakash

Similar Messages

  • SharePoint document open in edit mode

    I am successfully able to click on file://urltosharepointdocument.docx on my outlook email and the SharePoint document opens in edit mode and i can edit and saves it perfect. But when I use the following in html page i.e.
    <a href="file://urltosharepointdocument.docx">Test</a> it prompts for Open and when i click on it and edit the stuff it saves it fine, but I don't see the edit data, it shows the correct modified date but without edits.
    Can anyone please guide me how to achieve the above or how to use file://urltosharepointdocument.docxx as link in a html page
    Thanks,
    John

    Hi John,
    Kindly share your OS, Office and IE version details, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Excel sheet is not able to open in edit mode.

    Hi all,
    I have one issue where user is not able to open an excel file in edit mode. 
    User uploaded .XLS file and have MS office 2003 installed on her system.
    I asked her to save it as .xlsx and then upload it again....any idea why she is not able to open in edit mode.

    Hi,
    What did you mean that the user is not able to open an excel file in edit mode?
    Whether he or she can find "Edit in Microsoft Excel" via clicking the right of the name of the file.
    If yes, when he or she clicked it, whether there are some errors occurred.
    Whether other users can open the excel file in edit mode.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Photoshop files do not open in "edit" mode

    I always was able to edit/email/print photos which i had edited in Photoshop prior to importing them into iphoto.
    Now with Version 6, the photos do not even open in "edit" mode anymore, nor can I email them directly from iPhoto.
    Any thoughts on this?

    Try the following:
    Setting Permissions for iPhoto Library Folder
    Select the iPhoto Library folder and type Command-I.
    When the Info window comes up go to the Ownership and Permissions section and make sure You have Read & Write permission and that the Owner and Group have Read & Write also. Others - Read Only.
    Then click on the "Apply to enclosed items..." button.
    See if that helps.

  • Iphoto photo dimming out when opening in edit mode

    photo photo dimming out when opening in edit mode. Returns to normal when opened out of edit mode. Any suggestions?

    Details please
    What version of iPhoto? Of the OS? Has this ever worked? What has recently changed? Can you describe what happens mrs clearly - does the photo image change? the iPhoto window? the entire screen?
    LN

  • DMS: Documents opened in edit mode(CV02N) are not deleted from Temp Folder

    Hi All,
    My query is whenever i edit documents like word,pdf or autocad files in cv02n, it make a copy in my c/windows/temp folder but doesnot delete them when it close the transaction. i have given PC data carrier with path as %Temp% & in profiles i have defined the path as c/windows/temp/
    So is there any solution by which the files opened in the edit mode will be deleted when i close the transaction or else after some specified time it should get deleted from the temp folder. Is there any standard configration for it.
    Note: I have tried the 741388 note but it is only for display mode documents.
    Regards
    Nishant.

    Hi Nishant,
    unfortunately this is the standard behavior as for editing the application need a
    temporary file and this file is still stored after closing the application to enable a re-checkin in the future too.
    So the only possibility is to delete the temporary files from C:\Windows\Temp after some time manually. There is no functionality in the system standard as the SAP system has no control on the windows folders. 
    To achieve a very similar behavior you can set the "Delete after checkin" flag in transaction DC30 for this applications and see if this will meet your requirements.
    This flag means that the original file gets deleted after you check them into a storage category. Maybe this could be usefull.
    Best regards,
    Christoph

  • Opening and editing .MOD files

    Just purchased a JVC Everio Hard Diek camcorder. The editing software which comes with the camera (Capty MPEG Edit EX for Everio) is unfortunately only compatable with OSX 10.3, but I have OSX 10.4.7. I can't open or edit any of the images of my son's birth. The files which are generated by the camera are .MOD files. Is there any way of converting these files to something which I can edit in iMovie (I have version 3.0.3 of iMovie)? Any ideas???

    Hello
    That sounds great - just a couple of questions... I tried Sue's excellent advice yesterday and purchased Mpeg-2 Playback Component from Apple, as this seemed the most economic solution. I have Quicktime 7, but I've not upgraded to Pro yet. Unfortunately the Mpeg-2 Playback Component which Apple sent seems to only work in Classic mode with Quicktime 6. Even after I'd installed Mpeg-2 Playback Component, when I tried to use MPEG Streamclip I still got a message saying that I need Mpeg-2 Playback Component - I assume it's not recognising I already have it because it's a Classic application.
    Will Mpeg-2 Playback Component work if I have Quicktime Pro, even if it's Quicktime Pro 7?
    Sorry I can't help with your question - I'm as much in the dark as you!

  • Any way to open and edit .MOD files on iMac?

    I am brand new to iMac, after wasting too many years on Windows. I have a Hard Disk camcorder that I uploaded from to my old PC. The movies are in the .MOD extension. I cannot seem to find a program to open and edit them on my new Mac. I used PowerDirector on my old PC, but that program doesn't seem to have a Mac version. Will iMovie be able to handle these files? I have quite a few home movies in this format, and I don't want to lose them! Thanks for your help!

    You can use a program called MPEG Streamclip to convert your MOD files to MP4s, which can be imported by iMovie. Also, you can change the mod file extensions to mpg which allows you to view the files with Quicktime (although, at least in my experience, they still need to be converted with MPEG Streamclip to be recognized by iMovie 08).

  • I upgraded to Firefox 12.0. Now, my Gmail calendar will not open in edit mode. I reverted to Explorer, and the calendar does open there. What is the remedy?

    I upgraded to Firefox 12.0. Now, when I attempt to reach my Gmail calendar, it only comes up in read-only mode. I temporarily went to Explorer. the calendar comes up in edit mode without issue. What should be my next steps to resolve this?

    Glad it worked, Thanks for posting back. It is a simple solution but often overlooked. I have often myself wasted time on looking for more complex solutions.

  • Imovie wont open in edit mode

    I am using iMovie 9 and have created a movie about an hour long.  I was editing it and then the beach ball of death appeared and kept spinning.  Now when I try to open that movie to edit it the ball comes up and I have to force quite.  I have noticed that the file is about 6GB in size but comparable length movies are only 100MB.  Is there any way to open the movie in some other application to find out if there is any corrupted part that can be removed?

    Hi John,
    Kindly share your OS, Office and IE version details, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Appraisal Document not opening in Edit Mode

    Hi Experts,
    We have implemented PMS in our EP 7.02 SP6 and BP for ESS/MSS is 1.41 version. When I am launching the Appraisal Document from Appraisal Documents (WD UI) template is getting loaded in display mode with different tabs. In none of the tab I can enter the data. Appraisal Document status is Inplanning. This is also throwing a warning message "Missing configuration for phase in current status/substatus of appraisal document".
    I have all the notes for OBN navigation.
    SAP Note 1272076 - Update of BP for ESS in ECC600/EhP4 for appraisal navigation
    SAP Note 1463821 - Performance Management Portal Configuration
    SAP Note 1416756 - OBN Configuration in Performance Management
    Can any one throw some light whether any configuration left from portal end or from R/3 end.
    Thanks
    Murthy

    You are able to open appraisal document. This means either priority/object you choose in OBN is wrong to pick wrong document
    Does the document you see have content you configured in template?
    OR
    OBN is good but your appraisal template has issues.
    Check your template configuration in PHAP_CATALOG.
    Thanks,
    Nag

  • My premiere elements 12 will not open in edit mode. it says incompatible display driver

    what are the compatible drivers for premiere elements 12 on windows 7 os

    1st, What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    What is your exact graphics adapter driver version?
    Have you gone to the vendor web site to check for a newer driver?
    For Windows, do NOT rely on Windows Update to have current driver information
    -you need to go direct to the vendor web site and check updates for yourself
    ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool
    nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    2nd, Go to the Windows Control Panel and select Hardware and Sound and then select Device Manager... In Device manager you click the + sign to the left of Display Adapters... and see if 2 are listed
    IF YES, read below
    -http://helpx.adobe.com/premiere-pro/kb/error---preludevideo-play-modules.html
    -http://forums.adobe.com/thread/1001579
    -Use BIOS http://forums.adobe.com/thread/1019004?tstart=0
    -link to why http://forums.adobe.com/message/4685328
    -http://www.anandtech.com/show/4839/mobile-gpu-faceoff-amd-dynamic-switchable-graphics-vs-n vidia-optimus-technology/2

  • How can I open an email file in edition mode?

    Hi!
    I use a system here in my company that generates an automatic email and prepare it to be sent.
    We were using MS Outlook and we have migrated to thunderbird for lots of reasons.
    But since it has migrated, the system cannot generate this email in the composition screen.
    It generates in the inbox.
    Is there anything I can do to change this?
    I have made a few tests and I realize that the same thing happens if I save an email file in my computer and
    try to open if with the thunderbird. It's supposed to open in edition mode, so the user can send it out, with just one click.
    Thank you!

    https://support.mozilla.org/en-US/questions/1004680

  • SharePoint 2010 and PowerPoint 2010: Open PPTX File in Edit Mode and Open PPSX in in Slide Show Mode

    I have the following issue while opening PowerPoint PPTX file and PPSX from the Document ID link provided by SharePoint 2010.
    Issue
    Initially when I opened PPTX file from the DOC ID link from SharePoint 2010, it is opening up in Slide Show mode which is not how we want it to be.
    For PPSX, it is opening in Slide Show mode which is what we wanted.
    Thus, I did some research online and found this article at support.microsoft.com/kb/q299824  which requires some modification to the Registry of the client machine.
    I did the change as follows
    Open Registry
    Look for “Computer\HKEY_CLASSES_ROOT\PowerPoint.Show.12”
    Set BrowserFlags value to a
    After the change, PPTX is opening in Edit Mode in PowerPoint which is correct but PPSX is also opening in Edit Mode in PowerPoint which is not correct
    This issue only occurs if I open the document from the Doc ID link in SharePoint. If the documents are downloaded, it will not have this issue.
    Questions
    Can I set PPTX to open in Edit Mode and PPSX to open in Browser Mode?
    Is this fixed as in if I change the registry setting it will affect both file types?
    Is there other ways I can achieve opening PPTX in Edit and PPSX in Browser Mode?
    [Environment]
    My Client machine is running on I.E 9 and Office 2010.
    Thank you.

    Hi,
    To make the PPTX file open in Edit mode and PPSX file open in Slide Show mode, I recommend to edit the registry key HKEY_CLASSES_ROOT\PowerPoint.Show.12 to 8.
    I tested the scenario in my environment with changing the key value to 8, after that PPTX file opened in Edit mode and PPSX file opened in Slide Show mode.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I imported a photo to iphoto (ver9.6) but the edit mode will not open.

    I imported a photo to iPhoto (ver 9.6) but when I click on Edit, nothing happens; I am not able to open the Edit Mode.
    How do I fix this?

    Perhaps the original of the photo is missing. You can check this by selecting the photo and using the command "File > Reveal in Finder > Original File". Is this command available and can iPhoto show the original?

Maybe you are looking for

  • Hard drive gone bad??

    My wife bought me the 15 Inch Macbook Pro approx 4 months ago. Approx 2 months ago I was having problems with the Mac freezing. One day it finally froze and wouldn't do anything. So I simply reinstalled the software. While trying to do this, A messag

  • Should I load properties and or preferentces into a hashmap??

    Would this make any difference performance wise? I use properties mostly for localized labels so it shouldn't affect much as they're loaded only once. But my code is checking preferences quite often... On the oder hand prefferences are writen to stor

  • CD-R, DVD Drive

    I have some footage on the mini-DVD's.......Do I need some sort of sleeve to play the small sized DVD's or should they just insert into the drive? I tried and it didn't seem to work. I thought I possibly lost the DVD in the drive but it popped out a

  • Msg: my mobile device will not start

    When I connected my IPAD to my PC for updates and use itunes I'm getting a msg that my mobile device cannot start

  • OC4J Install

    A simple question of installation. In the install of OC4J with either the iDS or iAS 9.0.2 should there be an actual mod_oc4j component that is used with OHS ? I can get OC4J itself to install and start successfully, but cannot use from OHS. I notice