Overview is non editable

Hi ,
I have two assignment blocks in overview page, trying to edit using view_group_context,but view is not editing.
any pointers on this.
thanks in advance

Hi,
You have to place the following piece of code in the Edit event.
DATA: lr_cn  TYPE REF TO cl_bsp_wd_context_node,
        lr_ent TYPE REF TO cl_crm_bol_entity.
  lr_cn = me->get_context_node( 'Contextnodename').
  check lr_cn is bound.
  lr_ent ?= lr_cn->collection_wrapper->get_current( ).
  CHECK lr_ent IS BOUND.
IF lr_ent->is_locked( ) = abap_true.
    me->view_group_context->set_all_editable( ).
  ELSE.
    lr_ent->lock( ).
    IF lr_ent->is_locked( ) = abap_true.
      me->view_group_context->set_all_editable( ).
    ENDIF.
  ENDIF.
Regards,
Leon

Similar Messages

  • None editable Div tag within a editable Div tag template

    I am using a template i created to build a website and the only editable Div is the 'Content'. Using this template i have created a 2nd template for a portfolio page. On my 2nd template i have a Div tag within the 'Content' Div tag with list of all the jobs i have  done with hyperlinked to photos. I want this list to be only editable on  the template so when i update the 2nd template rest of the files related to  this template get updated.
    Is it possible to have a none editable Div tag within an editable Div tag?
    I hope i have explained this well. Many thanks for your help

    Thank you for your respond.
    I have a main template with just the 'Content' Div Tag editable. Using this template i created anyother template for my portfolio page. Inside the editable Div Tag i have another Div Tag with 2 sets of tables for my portfolio lists. I want this Div tag to be only editable through the 2nd template only as i will have portfolio lists of over 30 pages/links.
    I selected the Div Tag with the 2 set of tables and selected 'Add Object to Library'. First message was that the CSS coding will not be copied but errors messages as follows;
    'While executing canInspectSelectio in phatfusion slideShow_FAB75CA2.htm, a JavaScript error occurred.'
    'While executing canInspectSelectio in Ken Burns Slideshow.htm, a JavaScript error occurred.'
    'While executing canInspectSelectio in Shadowbox3b Gallery_2528933A.htm, a JavaScript error occurred.'
    Everytime i click inside the Div Tag, i keep getting these messages.
    I went to the library and amended the list but only the 2nd template changed, not the related pages linked to the 2nd template.
    Is there a place where i can upload my page in this website so you can see it?
    Please see below the coding for the 2nd template for my portfolio pages;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main_templateV4.dwt" codeOutsideHTMLIsLocked="false" -->
    <!-- saved from url=(0014)about:internet -->
    <!-- this and above comment should be removed for live, non-demo use -->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <META NAME="robots" CONTENT="index, follow">
        <meta name="google-site-verification" content="a_way2ZMkNZuMTtOveF3o1bvtWsVMBQujbA5jw9i0Q0" />
        <META name="y_key" content="d38873598f3b3934" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>???s</title>
    <!-- InstanceEndEditable -->
    <link href="../_css/main.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
        <link href="../Galleria/galleria.css" rel="stylesheet" type="text/css" media="screen">
        <script type="text/javascript" src="../Galleria/jquery.min.js"></script>
        <script type="text/javascript" src="../Galleria/jquery.galleria-0.9.js"></script>
        <script type="text/javascript">
        $(document).ready(function(){ $('ul.gallery_demo2').galleria({nextText:'Next portfolio item'}); }) // activates the gallery
        </script>
        <style media="screen,projection" type="text/css">   
        p,.caption{
        font-size: 10px;
        color:#006;
        .demo2{
        position:relative;
        clear:both;
        background:black;
        width: 600px;
        .gallery_demo2{
        width: 600px;
        .gallery_demo2 li{
        width:68px;
        height:50px;
        border:thin solid #000;
        background:#111;
        padding-left: 5px;
        overflow: hidden;
        .gallery_demo2 li.active{
        border-color:#623;
        .gallery_demo2 li div{
        top:60px;
        left:0;
        border:3px solid #111;
        background:#111;
        .gallery_demo2 li img.thumb{
        opacity:.3;
        padding-left: 3px;
        .gallery_demo2 li.active img.thumb,.gallery_demo2 li:hover img.thumb{
        opacity:.99;
        </style>
        <!--[if lt IE 8]>
        <style media="screen,projection" type="text/css">
            .gallery_demo2 li img.thumb { filter: alpha(opacity=30) !important; }
            .gallery_demo2 li.active img.thumb, .gallery_demo2 li:hover img.thumb, .gallery_demo2 li img.hover { filter: alpha(opacity=100) !important; }
        </style>
        <![endif]-->  
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceEndEditable -->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
        background-color: #FFF;
        background-image: url(../_images/background.jpg);
    </style>
    </head>
    <body>
    <div class="container">
      <div class="header">
        <div class="header2">
          <h4><strong>ARCHITECTURAL &amp; STRUCTURAL ENGINEERING SERVICES<br />
            PROJECT MANAGEMENT &amp; CONSTRUCTIONS</strong></h4>
        </div>
      <!-- end .header --></div>
      <div class="linkBar">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="index.html">HOME</a></li>
          <li><a href="about.html">ABOUT US</a></li>
          <li><a href="service.html" class="MenuBarItemSubmenu">SERVICES</a>
            <ul>
    <li><a href="service.html">Overview</a></li>
    <li><a href="planning.html">Planning Permission</a></li>
    <li><a href="building.html">Building Regulations</a></li>
    <li><a href="partywall.html">Party Wall Act</a></li>
              <li><a href="schedule.html">Schedule of Work</a></li>
              <li><a href="project.html">Project Management</a></li>
              <li><a href="structural.html">Structural Surveys</a></li>
            </ul>
          </li>
          <li><a href="portfolio.html">PORTFOLIO</a></li>
          <li><a href="contact.html">CONTACT US</a></li>
        </ul>
      <!-- end .linkBar --></div>
      <!-- InstanceBeginEditable name="mainContent" -->
      <div class="content">
        <h3>PORTFOLIO- website under construction</h3><!-- #BeginLibraryItem "/Library/Untitled.lbi" --><div class="portfolioText">
          <h2 class="textSubHeading">Commercial</h2>
          <div class="portfolioCommercial">
            <table width="374" align="right">
              <tr>
                <td width="181" height="20">AA Partner Ltd</td>
                <td width="181" height="20">Railing London Ltd</td>
              </tr>
              <tr>
                <td height="20">Pemon Ltd</td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20">lhjffkhgkhg</td>
              </tr>
            </table>
    </div>
          <h2 class="textSubHeading"><br />
          </h2>
          <h2 class="textSubHeading"> </h2>
          <h2 class="textSubHeading"> </h2>
          <h2 class="textSubHeading"> </h2>
          <h2 class="textSubHeading">Residential</h2>
          <div class="portfolioResidential">
            <table width="374" align="right">
              <tr>
                <td width="181" height="20">Batchworth Lane, <span dir="ltr">Northwood</span></td>
                <td width="181" height="20">Derrylands, Harrow</td>
              </tr>
              <tr>
                <td height="20">Pine Walk, Surrey</td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20"> </td>
                <td height="20"> </td>
              </tr>
              <tr>
                <td height="20">teytdytyt</td>
                <td height="20"> </td>
              </tr>
            </table>
    </div>
        </div><!-- #EndLibraryItem --><div class="portfolioSlideshow">
          <p>Project Title Goes Here:</p>
          <div class="demo">
    </div>
    <div class="demo2">
    <ul class="gallery_demo2">
        <li class="active"><img src="../_images/portfolio/planning.jpg" alt="Planning sample drawing" width="600" height="400"></li>
        <li><img src="../_images/portfolio/building.jpg" alt="Building Reg sample drawing" width="600" height="400"></li>
        <li><img src="../_images/portfolio/structural.jpg" alt="Structural sample drawing" width="600" height="400"></li>
        <li><img src="../_images/portfolio/fabrication.jpg" alt="Fabrication sample drawing" width="600" height="400"></li>
    </ul>
    </div>
        </div>
      <!-- end .content --></div>
      <!-- InstanceEndEditable -->
      <div class="footer">
      <table width="1025" border="0">
      <tr>
        <td width="500"><h6>??? </h6></td>
        <td width="10"> </td>
        <td width="500" align="right"><h6>???</h6></td>
      </tr>
    </table>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>

  • Make quantity field of Free goods as non-editable.

    Hie!
    I have free goods scheme of 9 + 1 .If quantity of main material is 10 then it will split into 9 + 1 where 1 is free of cost.
    While making the sales order the free goods quantity field is editable. So the users are able to change the free goods quantity. I want to make this field as non-editable.
    Please suggest how to do this.
    Thankyou.

    Hi Pallavi
    If you change the manual qty which is automatically determined by the system then there will be a message thrown by the system
    Suppse in your case if 9+1 you change the qty manually to 2 from 1 there is a message V1 no 737 thrown by the system
    You need to change the message class thro ABAP development only not possible thro customization
    Not only this in delivery also it is possible to change the free qty and this also has to be controlled by the ABAPer only
    Regards
    Raja

  • FBL5N - Feild selection non editable mode

    Hi All,
    When i execute FBL5N transaction,i am not able to select the feilds as per my desire bcoz the feild display ICON is in non editable mode.
    The only option i have is layout selection and not the feilds selection.
    Can you let me know how to change it to editable mode.
    regards

    Hello,
    You don't have authorization for maintain ALV layouts. Please contact to your Basis department for authorization.
    ALV layout authorization object is S_ALV_LAYO. Please tell your Basis departman to give this object value for '23'.
    Regards,
    Burak

  • Error message from user exit - current screen becomes grayed(non-editable)

    I am working on a Sales Order (VA01/VA02) user exit(USEREXIT_SAVE_DOCUMENT_PREPARE) in MV45AFZZ program. I am validating certain values entered by user in this exit. Based on a condition, I issue a error message e.g. "message e001(ZV) with .....". I expect the processing to interrupt and the system control  returns to the current screen. When there is an error, error message shows up on the status bar, but the current screen is completely grayed out(non-editable), not able to modify the incorrect entries. I keep hitting ENTER but no change to the grayed screen. Is there anything wrong in the way I issue error message?
    I am on ECC6.
    Thanks.

    could you please help me if possible in my senario :-
    I am validating a field(serial number while creating delivery) in standard exit ZXQSMU04 and written a code to display an error message. The functionality is working correctly on validation and displaying the error message. But once the error is getting trigger the serial number field is becoming in gray mode i.e non editable.
    I tried a lot to overcome this issue but not getting success could anyone help me to make the field editable while triggering the error message.
    Please note : Its an exit and not having any message field in export or return table. Also tried with warning and information message.
    Thanks in advance.
    Regards,
    Gautam Kumar

  • How do I save a PDF as non-editable?

    I have a form that I filled out with Adobe Professional 7.0. What options do I select to make sure it saves as non-editable? Thanks for any help.

    Hey David, add some security to it. You can even keep people from printing it if you want to, or even need a password to open it.
    J.R.

  • PO Price - Non Editable {capture from Info record only}

    Hi Experts,
    My client want - PO Price always populated via info record & its in non editable mode.
    What the config required to achieve it.
    Please guide.
    Regards,
    Jackie

    Hi Piyush & Seesen,
    Thanks for your reply.
    Now system doesn't allow user to maintain price manually in PO, it captures it from Info record. But still  i am able to modify inforecord price.
    How can i grey out PO Price {non editable mode in PO}
    Please suggest.
    Regards,
    Jackie

  • Make Non-editable Column in Table Control of ME21N and ME22N

    Hi Experts,
    I was trying to look for a solution to make the columns for field MEPO1320-SLFDT(Stat Deliv. Date), MEPO1320-EEIND (Deliv. Date) and MEPO1211-NETPR (Net Price) from transaction ME21N and ME22N to be non-editable ONLY when Qty Received (MEPO1320-WEMNG) > 0.
    I'd found that the modify screen codes were located at Class CL_TABLE_VIEW_MM, Method MODIFY_SCREEN_TC_LINE but there were no enhancement spots available to add my code. Is there any other method i can use to make those fields non-editable?
    Thanks in advance!
    Cheers,
    Cheng
    Edited by: Cheng Mei Tan on Jun 4, 2009 9:31 AM

    Hi Cheng,
    I think you can use this BAdi: ME_PROCESS_PO_CUST - Enhance Processing of Enjoy Purchase Order.
    Use the method PROCESS_ITEM to control the fields at the item level.
    I think is not possible to make the fields non-editable, however, you can put an error message whenever your condition is verified, and the user won't be able to change the fields.
    Cheers,
    Pedro

  • Field disable or non editable -- goods movements

    Hi team
    your assistace will be highly appreciated.
    I´m working with tx CO11N and after completion of  the requiere data we click on goods movements button and the next  screen  is : "Enter production order confirmation: goods movements" and this shows some fields and what I need is to disable some of them or make them non editable : quantity, storage location and movement type.
    Is it posible through Spro? if yes could you please tell the where.
    I don´t want to create a variant.
    thanks

    I guess Variant is the only option here, atleast thats what my PP consultant had done in my last project.
    There didnt seem to be any other alternative then.

  • Make non-editable sections of webpage?

    I'm designing a site using contribute. I'm wondering if I can
    take a webpage that is already completed and make certain sections
    of it uneditable.... such as the main links, or certain divs... Is
    there a way to do this? Or can this only be accomplished with
    templates?
    Thanks so much for all and any help!

    This is possible to create by handcoding, but you have to
    create editable regions and not non-editable regions.
    Contribute understands the editable region code, also when
    it's not a dreamweaver template (using dreamweaver templates of
    course has a lot of other advantages).
    The code you need looks like this:
    <!-- TemplateBeginEditable name="content"
    -->content<!-- TemplateEndEditable -->
    Place it like this in your page and the lorem ipsum p's are
    non editable, the sentence 'This content is editable...' is
    editable. The head section and title are also editable (convenient
    to adjust meta-tags through contribute):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <meta name="Keywords" content="keywords" />
    <meta name="Description" content="description" />
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    </head>
    <body>
    <p>"Lorem ipsum dolor sit amet, consectetur adipisicing
    elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
    laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
    dolor in reprehenderit in voluptate velit esse cillum dolore eu
    fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
    proident, sunt in culpa qui officia deserunt mollit anim id est
    laborum."</p>
    <!-- TemplateBeginEditable name="content" -->This content
    is editable...<!-- TemplateEndEditable -->
    <p>"Lorem ipsum dolor sit amet, consectetur adipisicing
    elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
    laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
    dolor in reprehenderit in voluptate velit esse cillum dolore eu
    fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
    proident, sunt in culpa qui officia deserunt mollit anim id est
    laborum."</p>
    </body>
    </html>

  • Make 1 field non-editable while using transaction VA02.

    Hi,
    I want make a field non-editable under tab 'shipping' for transaction VA02. I know one way of doing it by adding code to  MV45AFZZ -> USEREXIT_FIELD_MODIFICATION. is there any other way ( other user-exit / BADI) to achieve the same.

    Hi,
    Please go through this link... It tells you the step to follow....
    http://www.sap-basis-abap.com/sapbs010.htm
    Also please refer these posts..
    Re: Transaction Variants & Variant Transactions
    Re: Transaction Variants

  • Make the 'ASSIGNMENT FIELD' of particular financial Doc type non-editable

    Hi Experts,
    We have an done an Z development, where we are populating critical data in the 'ASSIGNMENT FIELD OF gl account' of a newly created  financial document type (ZD).This document is created through BAPI.
    Now our requirment is to make this 'Assignment field' non-editable .
    Thanks & Regards,
    Vishal

    Go to OB32
    Select Account type and select table with field name ZUONR and double click
    Uncheck the check box Field can be changed
    Srinivas

  • One row as editable and other row as non-editable in table control

    Hi Experts,
               Is this possible to make one row as editable and another row is non editable in table control?
    My Requirement is
    1st row non editable field
    Customer code, description,amount will come from the previous screen this will be non editable for user.
    2nd row editable
    User has to enter the amount in 2nd row here the customer code description will be empty.
    If 4 customer are there
    1,3,5,7 should be non editable and 2,4,6,8 should be editable..
    Pls help me in this issue..
    Thanks in Advance!

    hI
    This is a simple Module POOL program with only Table control and nothing else
    " This is Tested to Enable one row and disabling the next row
    in TOP Include
    controls : tc type tableview using screen 100.
    DATA : OK TYPE SY-UCOMM.
    DATA : ITAB TYPE TABLE OF SPFLI WITH HEADER LINE.
    in PBO
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tc.
       MODULE TC_MOD.
      ENDLOOP.
    in PAI
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
      LOOP AT itab.
      ENDLOOP.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TEST'.
      SET TITLEBAR 'TEST'.
      DESCRIBE TABLE itab LINES tc-lines.
      IF tc-lines = 0.
        tc-lines = 20.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE tc_mod OUTPUT.
      DATA : mod TYPE i.
      LOOP AT SCREEN.
        mod =  tc-CURRENT_LINE MOD 2  .
        IF mod = 1.
          IF screen-name = 'SPFLI-CARRID'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMODULE.                 " TC_MOD  OUTPUT
    Edited by: Ramchander Krishnamraju on Jan 25, 2011 7:17 AM

  • Making particular rows as non editable before displaying the TABLE

    Hi everyone,
                               I would like to know how to make a particular rows as non editable in UI element "TABLE" before it is displayed . The scenario is :
    On entering the Personnel number, I am getting family dependants in the table. Then, I am selecting any of the family members on some condition and saving each member with the request.
    Next time when i enter the same personnel number, I would like to show the table with already saved request for the family members rows as non editable & other members row as editable.????
    Please provide a feasible solution.

    Hi Pradeep,
    follow as per suggested. if not work use cell variants concept. it will work.
    Please check this wiki...
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproforABAPCellVariants
    Cheers,
    Kris.

  • How to make VIP flag in transaction code fpp2 as non editable

    Hi everyone,
    Please guide me about:
    How to make VIP flag in T Code FPP2 as non editable only for some particular users?
    Is there any authorization object exists for this flag in FPP2 transaction?
    Actually there are many users who have authorization of transaction fpp2. But we want only some particular users should have authorization of making changes to this flag.
    Please guide with your valuable replies.
    Thanks and Regards

    Hi...MP Vashishth
    try to creat an Authorization Management ...  in customizing...
    Cross-Application Components --> SAP Business Partner --> Business Partner --> Basic Settings --> Authorization Management
    Creat an Grup..and others steps...!
    and when finish clic on Generate and Assin Authorization !!!
    I Hope it Help !
    regards
    Andre Frugulhetti
    Edited by: Andre Frugulhetti on Sep 22, 2009 9:38 PM
    Edited by: Andre Frugulhetti on Sep 22, 2009 9:39 PM

Maybe you are looking for