Grey out table lines

Hi,
How to gray out additional lines in the table of the screen.
In the transaction VA02, for a certain selection of 'Item categories', it is required to gray out the additional lines in the 'Schedule lines' tab. How do we achieve this?
I checked the forum. It says this case is not possible.
Grey out(disable) a row in ALV grid
Please suggest.

Hi Johannes,
I think it is clear to you that you need to bind the TableCellDesign of every row to your context attribute of type com.sap.ide.webdynpro.uielementdefinitions.TableCellDesign.
I have done something like this
Current Situation
TableNode (0..n)
    --- Attri1
    --- Attri2
    --- Attri
New Situation : Introduce a new value node Color (1..1) singleton ture. Create a calculated value attribute calcCellDesign of type TableCellDesign.
TableNode (0..n)
    Color(1..1)
         --calcCellDesign
    --- Attri1
    --- Attri2
    --- Attri
bind this Color.calcCellDesign to your table CellDesign of every column.
You need to create your logic inside the set and ge methods of the calcCellDesign .
For Example TableCellDesign.Standard or TableCellDesign.Grey to your set your calcCellDesign
Success

Similar Messages

  • Greyed out Table filter

    Hi,
    I've succesfully applied the TableFilter class to a table. The only problem is that one of the columns has its filter box greyed out.
    This column takes its content from a calculated attribute (instead of standard attributes, like all the other columns -- this is the only difference that I can spot right now). The context structure that hosts the table data is a node mapped to a model node with the "manual addition" of that local calculated attribute.
    Is there a way to have the filter available even for that column?
    If you need more info (e.g., because the fact that it is a calculated attribute does not matter), just ask.
    Thank you,
    Pietro

    Solved it.
    For some reason, when creating the node that should've held the filter values, the attribute linked to the greyed-out filter was created as read-only. Blame copy&paste!
    My bad.

  • I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote on table mod

    I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote in table mode inpages '09?

    Footnotes can only be inserted in the main text area between the margins on a Word Processing document.
    Peter

  • Grey out custom field in VA02 line item

    Hi,
    We have this custom field in sales line item which we want to grey out after billing is done. I tried many things but it didn't wrk. I wrote simple code w/o checking any billing condition like
             if screen-name = 'VBAP-ZZFIELD'.
                 screen-input = 0.
              endif.
             modify screen.
    but even this didn't wrk. Is there anything due to which the dynamic chging of screen fields attr has no effect ? Like if we set some attribute on screen field or ny thing else.
    Thx.

    You did put the code in MV45AFZZ include, form USEREXIT_FIELD_MODIFICATION?
    For example...
      if sy-tcode eq 'VA01' or
         sy-tcode eq 'VA02'.
      if sy-dynnr = my_screen_no.  "four digit screen no.
    loop at screen.
    case screen-name.
      when 'TABLE-FIELDNAME'   "exactly as it appears on that screen
        screen-input = '0'.
      modify screen.
    endcase.
    endloop.
    endif.
    endif.

  • How to grey out the Account Assignment Group Fld  in Billing Doc Line Item

    Hi SD Guru's
    I have a small doubt.
    I have maintained account assignment group in material master. Now when i create an order , the account assignment group gets picked from material master into this sales order.
    Now i go to VF01 for doing the invoicing.
    Now i can still go to billing document line item against the material and change its account assignment group before raising the invoice. When i change this field, i can still post to accounts.
    I want to know is there any way in which we can restrict the way in which this field is greyed out and is made non-editable, so that only correct entries with account assignment group maintained in material master are posted.
    Answers will be appreciated.
    Kind Regards
    Ravi

    Hi,
    Sandeep can you please give me step by step process of using SHD0 in this case.
    Now if i apply this to transaction VF01 and VF02, would it apply for all billing document types? I dont want that, i want it to work for a specific billing type
    Kind Regards
    Ravi

  • Making the whole po line item as a non editable one (Greyed out)

    Hi all
    can any one please let me know is there is any way we can grey out the whole line item,
    i mean to say non editable mode.
    i am working on a user exit where based on certain field entries i have to make the whole line
    item as an non editable one.
    For example po change transaction if there are 5 line items i want to make the three as a non editable one and i have a user exit
    with me but dont have the idea of how to make it geryed out.
    Thanks in advance.
    Joe

    Hi
    Do you have a PO release strategy implemented. This can be done through PO release strategy. please tell  the exact requirement whether this is for all users ???
    hope it will help
    Regards

  • Missing Tables and Indexes greyed out in DBACOCKPIT

    Hi All,
    I use Solution Manager 7.01 with MS SQL Server 2008 DB.
    I want to monitor with DBACOCKPIT a MS SQL Server 2005 DataBase of a SAP BPC 5.1.
    I connected the DB but in DBACOCKPIT some functionality are greyed out.
    I want to use in Diagnostics section the "MISSING TABLES AND INDEXES" function but this command is greyed out.
    Is it possible to use this function?
    Please, help me!
    Regards,
    Alessandro

    Hi,
    Gray color means that screen is disabled for any reason (authorization, SQL Server release, monitoring remote, etc).
    I believe, those items cannot be monitored unless these limitations are sorted out.
    Please refer to the Document "The SAP DBA Cockpit for Microsoft SQL Server" in SDN.
    You can get the status about the restriction in the bottom of dbacockpit screen.
    Thanks,
    Jagan
    Edited by: jagadheeshan govindasamy on Sep 16, 2009 1:03 PM

  • Line Items Greyed out in Sales Order

    Hi,
    In sales order we are using KMAT material and selecting the required components as per customer requirement and same are coiped into sales order. High level KMAT material has item category TAC and Lower level line items have item categroy TAE.  TAC ITEM IS NOT GREYED OUT OK.. And if i change quantity of  this it will effect the lower level items ok.
    All the line items( TAE items) are greyed out and i want to edit the quantity of line items with out changing the quantity of TAC item.... Is it possible??? Any answers will be highly appreciated.
    Thanks in advance
    Ramagiri.

    Hi
    Our requirement is to edit the line items of TAE item category with out editing TAC category..Is their any configuration etc etc to do...
    Ramagiri

  • Out of line object 'DataSource' -- but when re-saving table properties, no issues

    I've got a PowerPivot workbook that's connecting to an Oracle database, then calculating a few measures. When I "test the connnection" in PowerPivot, it's fine. When I go to "Table Properties" and re-save, it seems to pull the dataset
    fine. But refreshing within Excel gives me, 
    We couldn't refresh the table 'AthleticGPABlahBlah' from the connection 'Student_PLSQLBlahBlah'. Here's the error message we got: Out of line object 'DataSource', referring to ID(s) 'c6427542-blahblah', has been specified but not used. The following
    system error occurred: Unspecified error
    My data types seem right, and I don't have any big dates. Is my workbook just corrupt? I'd love to not re-do it, so any tips to getting this fixed would be great!

    Hi Hensen,
    You mentioned that you don't have any big dates but do you have any dates that are too small? What happens when you use the Table Properties to restrict dates to all be on or after 1/1/2000, for example?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com, Twitter:
    @nimblelearn

  • Internal table with out header line

    Hi friends,
    Can u send me code for internal table with out header line : how to declare ,how to populate data and how to access the data
    Regards,
    vijay

    Hi Vijay
    There are several ways to declare an internal table without header line:
    A) You can define a type table
    TYPES: BEGIN OF TY_ITAB OCCURS 0,
            INCLUDE STRUCTURE ZTABLE.
    TYPES: END   OF TY_ITAB.
    and then your intrnal table:
    DATA: ITAB TYPE TY_ITAB.
    B) DATA: ITAB TYPE/LIKE STANDARD TABLE OF ZTABLE.
    C) DATA: ITAB TYPE/LIKE ZTABLE OCCURS 0.
    All these ways create a STANDARD TABLE
    You can create other types of internal table, for example SORTED TABLE or HASHED TABLE.
    These kinds of table can allow to improve the performance because they use different rules to read the data.
    When it wants to manage a table without header line, it need a work area, it has to have the same structure of table.
    DATA: WA LIKE ZTABLE.
    DATA: T_ZTABLE LIKE STANDARD TABLE OF ZTABLE.
    A) To insert the record:
    If you use INTO TABLE option you don't need workarea
    SELECT * FROM ZTABLE INTO TABLE T_ZTABLE
                                      WHERE FIELD1 = 'Z001'
                                        AND FIELD2 = '2006'.
    but if you want to append a single record:
    SELECT * FROM ZTABLE INTO wa WHERE FIELD1 = 'Z001'
                                   AND FIELD2 = '2006'.
    APPEND WA TO T_ZTABLE.
    ENDSELECT.
    Now you need workarea.
    B) To read data: you need always a workarea:
    LOOP AT T_ZTABLE INTO WA WHERE ....
      WRITE: / WA-FIELD1, WA-FIELD2, WA-FIELD3.
    ENDLOOP.
    or
    READ T_ZTABLE INTO WA WITH KEY FIELD3 = '0000000001'.
    IF SY-SUBRC = 0.
    WRITE: / WA-FIELD1, WA-FIELD2, WA-FIELD3.
    ENDIF.
    Anyway if you want to know only if a record exists, you can use the TRANSPORTING NO FIELDS option, in this case it doesn't need a workarea.
    READ T_ZTABLE WITH KEY FIELD3 = '0000000001'
                                      TRANSPORTING NO FIELDS.
    IF SY-SUBRC = 0.
    WRITE 'OK'.
    ENDIF.
    C) To update the data: it always needs a workarea
    LOOP AT T_ZTABLE INTO WA WHERE FIELD3 = '0000000001'.
    WA-FIELD3 = '0000000002'.
    MODIF T_ZTABLE FROM WA.
    ENDLOOP.
    or
    READ T_ZTABLE INTO WA WITH KEY FIELD3 = '0000000001'.
    IF SY-SUBRC = 0.
    WA-FIELD3 = '0000000002'.
    MODIF T_ZTABLE FROM WA INDEX SY-TABIX
    ENDIF.
    AT the end you can use the internal table to update database:
    MODIFY/UPDATE/INSERT ZTABLE FROM T_ZTABLE.
    See Help online for key words DATA, you can find out more details.
    Max
    Message was edited by: max bianchi

  • Can't delete from parent table if FK constraint on the out-of-line table

    Using Oracle XML DB 11g
    I am using out-of-line storage table to store a collection of XML elements in conjuction with storeVarrayAsTable="true". So what I have is a parent table containing a nested table of VARRAY of REFs to rows in the out-of-line table.
    In addition, I have a foreign key constraint placed on a column in the out-of-line table.
    My problem is that I am not able to delete rows from the parent table when the FK constraint is placed on the out-of-line table. Only when I drop the FK constraint does the deletion work - all associated rows in the nested table and out-of-line table
    gets deleted correctly.
    With the FK constraint, deleting the child document like this
    dbms_xdb.deleteResource('/project-1.xml')
    gives me this error:
    ORA-31018: Error deleting XML document
    ORA-03001: unimplemented feature
    *Cause:  The XMLType object pointed to by the given REF could not
    be deleted because either the REF was invalid or it pointed to a non-existent table.
         *Action:  Either use FORCE deletion or supply a valid REF.
    I have tried deleting with the FORCE options as well with no success.
    Using DBMS_XDB.DELETE_RECURSIVE_FORCE option doesn't produce an error, but doesn't perform the deletion either.
    Here is the XML Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xlink="http://www.w3.org/1999/xlink"
    elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true">
    <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.w3.org/1999/xlink.xsd"/>
    <xs:element name="project" xdb:defaultTable="PROJECT_TAB">
    <xs:complexType xdb:SQLType="PROJECT_TYP">
    <xs:sequence>
    <xs:element name="resourceList" minOccurs="0" xdb:SQLName="RESOURCE_LIST">
    <xs:complexType xdb:SQLType="RESOURCE_LIST_TYP">
    <xs:sequence>
    <xs:element name="aResource" type="refType" minOccurs="0" maxOccurs="unbounded" xdb:SQLInline="false"
    xdb:SQLName="A_RESOURCE_REF" xdb:defaultTable="RESOURCE_REF_TAB"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="aguid" type="xs:string" use="required" xdb:SQLName="AGUID"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="aResource" xdb:defaultTable="A_RESOURCE_TAB">
    <xs:complexType xdb:SQLType="A_RESOURCE_TYP">
    <xs:complexContent>
    <xs:extension base="contactType">
    <xs:attribute name="aguid" type="xs:string" use="required" xdb:SQLName="AGUID"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="contactType" xdb:SQLType="CONTACT_TYP">
    <xs:sequence>
    <xs:element name="name" type="xs:string" xdb:SQLName="NAME"/>
    <xs:element name="email" type="xs:string" minOccurs="0" xdb:SQLName="EMAIL"/>
    <xs:element name="phone" type="xs:string" xdb:SQLName="PHONE"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="refType" xdb:SQLType="REF_TYP">
    <xs:attribute ref="xlink:href" use="required"/>
    <xs:attribute name="oref" type="xs:string" use="optional" xdb:SQLName="OREF"/>
    </xs:complexType>
    </xs:schema>
    I registered the schema using structured storage with these options:
    BEGIN
    DBMS_XMLSCHEMA.registerschema(
    SCHEMAURL => 'LSDProjects.xsd',
    SCHEMADOC => xdbURIType('/home/LSDProject2/LSDProjects.xsd').getClob(),
    LOCAL => TRUE, -- local
    GENTYPES => TRUE, -- generate object types
    GENBEAN => FALSE, -- no java beans
    GENTABLES => TRUE -- generate object tables
    END;
    The PK and FK constraints were added like this:
    -- Add PK constraints on aResource/@aguid attributes
    ALTER TABLE A_RESOURCE_TAB ADD CONSTRAINT A_RESOURCE_AGUID_IS_UNIQUE UNIQUE (XMLDATA."AGUID");
    -- Add FK constraint on out-of-line table
    ALTER TABLE RESOURCE_REF_TAB
    ADD (CONSTRAINT ref_resource_aguid_is_valid FOREIGN KEY (XMLDATA."OREF")
    REFERENCES A_RESOURCE_TAB(XMLDATA."AGUID"));
    Here are the XML instance documents:
         where resource-1.xml looks like this :
    <aResource aguid="resource-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LSDProjects.xsd">
         <name>Jane Doe</name>
         <email>[email protected]</email>
    <phone/>
    </aResource>
         and project-1.xml looks like this :
         <project aguid="project-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LSDProjects.xsd"
                   xmlns:xlink="http://www.w3.org/1999/xlink">               
              <resourceList>
                   <aResource xlink:href="/resource-1.xml" oref="resource-1"/>                         
              </resourceList>     
         </project>
    where <project> document contains a collection of <aResource> elements stored in the out-of-line table and
    project/@oref attribute is a foreign key to the primary aResource/@aguid attribute.
    Can someone shed some light on why I am unable to delete "project-1.xml" from the repository when the FK constraint is applied onto the out-of-line table.
    Any advice/suggestions would be appreciated. Thanks!

    Thank you for the quick reply, mdrake.
    I am currently prototyping and testing out (best) ways to achieve data integrity with XML data in XML DB.
    I have instance documents that makes cross references to values in other instance documents
    (not of the same root nodes). What I'm trying to enforce is a referential constraint between the documents
    so that a document cannot be inserted if the referenced document doesn't exists.
    In this situation, a <project> document contains a collection of elements with @oref attributes.
    The collection is stored in an out-of-line table.
    For example:
    <project>
    <resourceList>
    <aResource ... oref="resource-1"/>
    <aResource ... oref="resource-2"/>
    </resourceList>
    </project>
    The @oref (FK) attribute above references a @aguid (PK) attribute in <aResource> document (below):
    <aResource aguid="resource-1"> .... </aResource>
    Basically, I want to ensure that the value of
    /project/resourceList/aResource/@oref
    correspond to a valid
    /aResource/@aguid
    Note that I was able to add the FK constraint on the OOL table without any issues.
    And the constraint did work as expected as I was not allowed to insert a <project> document
    that referenced a non-existent /aResource/@aguid.
    The problem was that I could not delete the <project> document from the XML DB repository
    once the FK contraint was added. Deleting with the DELETE_RECURSIVE_FORCE option did not give
    me any errors - is just didn't do anything.
    I guess there are certain limitations with using out-of-line tables.
    BTW, sorry the examples are hard to read as the indentations are removed when posting.

  • Field validation in table maintenance generator and input value grey out.

    i have created ztable with 3 fields as em_no,em_no and addrnumber.
    first two fields are custom fields but the third custom field need to validate the standard table adrc contains the value of the field addrnumber.
    i need the query of field validation query which we write in create entry events in table maintenance generator and also if we give wrong value for addrnumber in sm30 maintain table, the input field need not to be grey out for next entry...
    please help.

    Hi,
    create method -
    >before saving data.....write the logic between the method
    go to utilities->table maintanance ,,,after creating generator ---go to envirnment->modification->events.
    create event -.>.as zsave select event  type 1(before saving data to table) write code in include....
    consider data for field3 is 10 .
    lv_new = ztbr(table name)-field3.
    select field3  from ADRC(ZTABLE) into wa_new (TYPE ZTABLE) where field3 = lv_new.
    if sy-subrc = 0.
         working fine
         else.
        message  i888(sabapdocu) with 'data invalid'.
    endform.
    This will help u...
    Thank u.........

  • Tables in Dataflow Audit Greyed Out

    Hi All
    I have a 2 simple dataflows each with an Source Table, Query and Target Table, on Dataflow 1 I am able to setup auditing doing a count on the source and target tables without an issue however on Dataflow 2 both the source and the target tables are greyed out, you can only audit the query ... what have I done wrong ?
    Thanks

    Hi
    Thank you for your assistance.  Apologies for not yet replying, I only sorted this out today.  The table names need to be different.  They dont have to be renamed in the Data Store but only in the Data Flow.
    Thanks.
    Linda

  • 'add row' in Modify Table greyed out?

    I've got a table (35 rows, two columns each with pics) in my
    web page that when I update it- I generally (in Layout view) go to
    Modify&gt;Table&gt;add row -- but now all the choices in
    this dropdown submenu have been greyed out, except the top one
    'Select Table'-- Have I reached a row limit or something?

    > Have I reached a row limit or something?
    Does your table contain colspans or rowspans (hint - look at
    the code)? If
    so, then that's the reason.
    If you want to know more about colspans/rowspans, read this -
    http://apptools.com/rants/spans.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "victory-girl" <[email protected]> wrote in
    message
    news:fod9gs$csa$[email protected]..
    > I've got a table (35 rows, two columns each with pics)
    in my web page that
    > when
    > I update it- I generally (in Layout view) go to
    Modify>Table>add row --
    > but now
    > all the choices in this dropdown submenu have been
    greyed out, except the
    > top
    > one 'Select Table'-- Have I reached a row limit or
    something?
    >

  • Workflow table greyed out

    Hallo!
    In all my repositories the table "Workflows" ist greyed out, so that I cannot create or modify any workflows. Why is that so? What do I have to do to activate the table?
    Any help is appreciated.
    Best regards,
    Jörg Thiesmann

    Hi Joerg,
    did you install the MDM Workflow component ? You can verify this ((In a Windows system) by checking on your harddisk for the directory C:\Program Files\SAP MDM 5.5\Workflow.
    In case it isn't isn't there, start the extraction of file MDMWorkflowInstall.zip.
    Regards Klaus

Maybe you are looking for

  • Getting error in make to order

    hi all, while configureing MAKE TO ORDER i am getting the following errors 1)while saving the sales order it's asking for a g/l account no. 2) after forcefully saving the sales order i have tried to create the production order but getting error "no r

  • Error in Create MaxDb instance

    I am installing NW04S Sneak installtion. My installation failled on step 14 of 32 while "create Max DB instace" step with the following error in XCMDOUT log file. Subprocess starts at 20060913103942 Execute Command : e:\sapdb\programs\pgm\dbmcli.exe

  • Problem in Batch Export Report

    Hi all, I have developed a report in PP module for Batch exports. Here iam providing the input as plant, material no & batch and the output will  be Orderwise material no, batch, mat desc, density and Quantity. While executing the report the output i

  • Button disolve transition

    I put together a simple DVD with one button pointing to a movie. I marked the disolve transition using the button info (inspector window). The resulting burn did not render the disolve - garbage breakup in the video. I changed to fade through black a

  • Speed dial tiles blank, untitled, click and they go to site I loaded

    all the tiles in group one are titled and contain pictures of the sites I loaded, only one in group two does. If I click on the blank tiles I loaded they will go to the correct site I set, but to know which site lives there is hard without pictures.