Display of missing values in a table view.

Hi everyone,
I have a table view with 7 columns and 10 rows which displays only those values which are missing in the DataBase Table.
Is it possible to show only the missing values as '-' in a table view, the table view is having 7 different fields.
Also when the value is inserted at run time the corresponding field should be updated accordingly and the value will no longer be displayed in the table view as '-'
please advice.
Regards
Neo.

Welcome to SDN.
do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
<i>Also when the value is inserted at run time</i>
so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
search the forum on how to read the user entered value from the table view so that you can update the dbtable.
Regards
Raja

Similar Messages

  • Populating values on a table view

    Hi,
    Following is the xml webservice response:
    <?xml version='1.0' encoding='utf-8'?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns:getAvailableResourcesResponse xmlns:ns="http://webservices.iphoneapps.com" xmlns:ax21="http://vo.iphoneapps.com/xsd">
    <ns:return>JOHN</ns:return>
    <ns:return>KATE</ns:return>
    <ns:return>JOLIE</ns:return>
    <ns:return>DOLSON</ns:return>
    </ns:getAvailableResourcesResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    From the above xml I am trying to parse <ns:return>tags i am getting the output values as "JOHNKATEJOLIEDOLSON" but the I am unable to seperate those values and populate those values in the table view, one after the other.
    Following is the code that i used for parsing:
    -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *) namespaceURI qualifiedName:(NSString *)qName
    attributes: (NSDictionary *)attributeDict
    if([ elementName isEqualToString:@"ns:return" ])
    NSLog(@"ns:return");
    if (!soapResults)
    soapResults=[[NSMutableString alloc]init];
    NSLog(@"%d", soapResults);
    elementFound=YES;
    -(void)parser:(NSXMLParser *) parser foundCharacters:(NSString *)string
    if (elementFound)
    //[arrayResources addObject:string];
    [soapResults appendString: string];
    NSLog(@"%@", soapResults);
    [self release];
    -(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
    if( [ elementName isEqualToString:@"ns:return" ])
    elementFound=FALSE;
    Can anyone please suggest me how to parse the xml statement and populate the values in the table view with sample example.
    Regards
    SRI.
    Message was edited by: ksri

    Only you can solve the issue by learning about namespaces. You are comparing element names against fully-qualified names. Then you are logging what you think you have received. Change your NSLog statements to log what is really being parsed instead of a literal. That should prove enlightening.

  • How to not display the column header in the table view?

    I do not want to display the column header in the table view, how can I achieve it?

    If you're using JavaFX 8 you can use the following in an external style sheet:
    .table-view .column-header-background {
      -fx-pref-height : 0 ;
    If you're using JavaFX 2.2, the -fx-pref-height attribute is not available in css, so I think you have to resort to a lookup:
    final Region tableHeader = (Region)table.lookup(".column-header-background");
        tableHeader.setPrefHeight(0);
    As always, I feel obliged to point out that I don't really like lookups. Sometimes they seem to be the only way, though.

  • Excluding a column causes non-repeating values in 2nd table view

    I have an analysis (11.1.1.5) that has these columns: Month, Country, State, City, Sales, Country Sales, Share of Country. Country Sales is a level-based measure that returns sales at the Country level. Country, State, and City are a hierarchy as you might expect.
    When I display the initial Table view for this analysis, the Country Sales column shows a value on every row.
    When I create a 2nd Table view and exclude the City column from that view, the Country Sales column now only shows a value for the first State within each Country. In other words, each value of Country Sales is shown only once, and is NOT repeated on each subsequent row for that country.
    Any ideas if this is a bug, or if it was intentionally designed this way for some reason? Is there a way to force the values to repeat? (Green Bar / Repeat doesn't do it.)

    Thank you for the responses, guys. Still no luck.
    I moved the Country Sales column as Deepak suggested, both in the criteria and in the view. That didn't change the results. I also started fresh with a new analysis, and placed the columns in the suggested positions from the start. Still no change.
    New information: I tried excluding State and leaving City in the table view. Got the same goofy results - Country Sales did not repeat.
    More new information: I added a Brand Revenue measure to the Sample Sales subject area. Brand Revenue is defined as '1 - Revenue' at the Product Brand level. Created a similar view, and it worked fine.
    I'll investigate what the differences might be between Sample Sales and my repository. Hard to imagine what it might be. My repository is very simple and straightforward.

  • Unable to display the ClobDomain value in adf table

    Hi ,
    I have a database table whose column is Clob. Accordingly the Entity Attribute and VO attribute are of type. oracle.jbo.domain.ClobDomain
    Now this VO is wired as a ADF Table in jsff page. I am setting the value programmatically inside the AM by using the following.
    //Code inside AM
    String text="some xml";
    ClobDomain clobval=new ClobDomain(text.toString())
    vo.setAttribute("atrName",clobVal);
    Now at the UI level, I was able to print the value of the attribute inside a bean code. However, in the adf table, this cell is always empty. But if i try to set the value through UI then it works.
    If i make the inputText readonly then it displays the value.
    Am i missing something.
    Inside the af:column
    <af:inputText value="#{row.bindings.VariableValue.inputValue}"
    label="#{bindings.TestcaseInput.hints.VariableValue.label}"
    required="#{bindings.TestcaseInput.hints.VariableValue.mandatory}"
    columns="#{bindings.TestcaseInput.hints.VariableValue.displayWidth}"
    shortDesc="#{bindings.TestcaseInput.hints.VariableValue.tooltip}"
    id="it4" converter="oracle.genericDomain"
    rows="10">
    <f:validator binding="#{row.bindings.VariableValue.validator}"/>
    </af:inputText
    jdev version 11.1.1.6.0

    Try using SELECT_TEXT in place of READ_TEXT.
    Hope this helps.
    Regards
    vinayak

  • Find missing values in third table based on two other tables

    Hi- I have tried to do this on my own but the answer eludes me. Can someone please point me in a better direction? We have a table project_categories with project_IDs and related project category_IDs. We have another table contact_categories with contact_IDs and related contact category_IDs. We use these two tables to link contacts to projects by at least one category_ID. It works well for email notifications. We have a third table for "planholders" who are interested in particular projects. The planholder table has contact_IDs and related project_IDs. I want to find contacts who have expressed interest in a project, by inserting a row in the planholder table, but they have not selected any of the project categories in contact categories. This would be an unusually rare exception, so to test it I added myself as a contact 100010 and as a project "planholder", but deliberately did not select any of the related project categories in contact categories.
    select ph.contact_id, ph.project_id, pc.category_id, cc.category_id
    from purchasing_planholder ph, purchasing_project_categories pc, purchasing_contact_categories cc
    where ph.project_id=pc.project_id
    and ph.contact_id=cc.contact_id
    and ph.contact_id||ph.project_id||cc.category_id
    not in (select ph.contact_id||pc.project_id||pc.category_id
    from purchasing_planholder ph, purchasing_project_categories pc, purchasing_contact_categories cc
    where ph.project_id=pc.project_id
    and ph.contact_id=cc.contact_id)
    and ph.contact_id=100010
    This gives me every category for the test contact and every category for the project. I want to find contacts in the planholder table who have not selected any of the categories related to the specific project they selected in the planholder table. I tried minus, outer joins, etc. Does this require PL/SQL and a temp table, or can I find the exceptions with a report? Or do I need a different approach? The ideal answer would display one row with the contact_ID and the project_ID, where the contact has not selected any of the project categories. This would be used to alert them that they need to select at least one of the project categories on the contact form. Thanks for any feedback.
    Peter
    CONTACT_ID PROJECT_ID CATEGORY_ID CATEGORY_ID
    100010 701 1 19
    100010 701 1 18
    100010 701 16 19
    100010 701 16 18
    100010 701 21 19
    100010 701 21 18
    100010 701 24 19
    100010 701 24 18
    8 rows selected

    Hi User,
    When you Post a Question in Forum, Please be clear of the Inputs to be given, the expected output and the tries you made,
    the errors/results you faced.
    Also, see this link of BluShadow.
    SQL and PL/SQL FAQ
    Please enclose the query or programs in code tags for a formatted code.
    Just Try something like this,
    SELECT *
      FROM emp c
    WHERE NOT EXISTS (SELECT *
                         FROM emp a
                        WHERE EXISTS (SELECT *
                                        FROM emp b
                                       WHERE a.empno = b.empno));In the Inner Query, the conditon checked is empno same in both the tables, and for example some rows are obtained, other than
    this rows all other results are obtained from the outer query.
    In the above case no rows are returned.
    Thanks,
    Shankar

  • Hiding grand total value in pivot table view

    Hi,
    I have a pivot table in which i have 5 measures, out of these 5 measures i want to show the grand total for only the first one. How can this be done?
    Thx

    hi Phantasm, do as it is mentioned as kart.
    IT WORKS FINE, put agrregation rule as none and take row total as after.........
    take aggregation rule as NONE for last 4 columns ok......
    TRY NEATLY ONCE..........IT WORKS
    Thanks & Regards
    J Rushi

  • Read and display the field values in the table control

    Hi Experts,
    I am new to the Table Control. I have created table control using the wizard where i have mentioned the ztable while creating which consist of the following fields.
    Item Number
    Material number
    Material Description
    Net Price.
    I would like to retrieve the material description, Order quantity and Netprice based on the selection of the material number from the table control field.
    Thanks in advance.
    Sunil Kumar.

    Hi,
    Try to implicate the following code to your requirement..
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
      LOOP AT itab INTO wa_itab.
       CHAIN.
        FIELD wa_itab-item.
        FIELD wa_itab-material MODULE fetch_desc_price ON CHAIN-REQUEST.
        FIELD wa_itab-mat_desc.
        FIELD wa_itab-price.
       ENDCHAIN
        MODULE modify_itab.
      ENDLOOP.
    Inside the module.
    MODULE fetch_desc_price INPUT.
    SELECT maktx FROM makt INTO itab-mat_desc
    WHERE matnr = itab-material.
    SELECT STPRS or resp fld from MBEW
    INTO itab-price WHERE matnr = itab-material.
    ENDMODULE.
    MODULE modify_itab INPUT.
    MODIFY itab from wa_itab INDEX <table control name>-CURRENT_LINE.
    ENDMODULE.

  • How to display the values from the table in the screen

    Hi,
    I have created a screen where i will enter the values for the field treshold amount and desc and if i press update button  .it will update the new values by overriting the existing values .
    Now i have got requirement i need to create a button show which will display the existing value from the table. always there will be only one entry...in this table
    Please can one give me idea...to do this
    or sample code...thanks in advance
    regards
    paveeeeee

    Define a function code 'SHOW' for your button. In your PAI module, when you check for various sy-ucomms, check for 'SHOW' also.
    Your code will be like this:
    Case sy-ucomm.
      when 'SHOW'.
         perform show_details.
    endcase.
    In the perform, you can fetch the data from the table and put it in global variables. In the PBO, move the data from the global variables to the screen fields so that they get displayed on the screen.
    Hope this helps. Reward points for useful answers.
    Regards
    Nithya

  • Table View : display:none leaves a empty cell

    Hi Experts,
    There is a requirement to display a report in a normal table view but print the other view ( sectioned table view).
    I have created two views in teh same request and in teh second view i have used the display:none css code in the Data section , Folder Heading and Column Heading of evey column being used in this report.
    But i see some grey empty cells and since its a sectioned table view these empty cells are increasing.
    Can you please help me on how to hide this empty cells from getting displayed in the Dashboard
    Regards
    Veena A

    Hi,
    Refer
    OBIEE Changing unchangeable cells
    http://obiee101.blogspot.in/2010/02/obiee-changing-unchangeable-cells.html
    Award points if this helped to help others with similar issues.
    Regards
    MuRam

  • Display Scientific Notation values in columns

    Hi,
    I have a column in a table that apparently displays the values in
    Scientific Notation. That is, the value in each column is always
    displayed as "6.4211E+15". Each value in this column should be a
    unique or different value. If I type "select * from <table_name>
    where <column_name> != 6.4211E+15;", I still get every row in
    this table. Is there a way to display the full value of this
    column so that I can view the unique value for each of these
    rows? If so, how does one accomplish this?
    Thank you,

    Welcome to SDN.
    do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
    loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
    <i>Also when the value is inserted at run time</i>
    so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
    search the forum on how to read the user entered value from the table view so that you can update the dbtable.
    Regards
    Raja

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • Table view control problem in screen painter

    Hi All,
    i am unable to display the contents in the table view control in screen painter....actually i have created two screen one to take input and second to display details on next screen in table view control..but i m nt getting that details...
    my second screen PBO/PAI code is
    PROCESS BEFORE OUTPUT.
    loop at itab with control TCNTRL CURSOR tcntrl-current_line.
    MODULE STATUS_0101.
    endloop.
    PROCESS AFTER INPUT.
    loop at itab.
    endloop.
    MODULE USER_COMMAND_0101.
    can anyone solve my problem????????
    Thanks,
    Jayshree

    Hi,
    Use below approch (syntax may not be correct as I have typed it in notepad but use it as guide line)
    ***In screen flow logic
    PROCESS AFTER INPUT.
      module cancel at exit-command.
      chain.
        field: zproject_details-originator,
            zproject_details-proj_type.
        module check_data on chain-request.       
      endchain.
      module user_command_002.
    ***In abap code
    module cancel input.
      leave program.
    endmodule.
    module check_data input.
      if zproject_details-originator is initial.
        message exxxx "throw error message here
      endif.
      if zproject_details-proj_type is initial.
        message exxxx "throw error message here
      endif.      
    endmodule.
    module user_command_002.
      save_ok = ok_code.  "good practice to save okcode
      clear ok_code.
      case save_ok.
        when 'save' " using constant for fcode here is better
          perform save_data. "make it moduler instead of writing whole code in case statement
      enscase.
    endmodule.
    form save_data.
    ** do some additional checks if required before saving
    update zproject_details from zproject_details. " update database table here from work area contents
    endform.
    Regards,
    Vishal

  • Passing internal table to a BSP Table view

    Hi All,
    I have a Function Module which returns an internal table
    with data from R/3.
    I would like to know is it possible to display it in a custom BSP Table view for Web IC.
    please help if anybody solved similar problem!.
    Thanks n Regards,
    sudeep v d.

    Hi,
    I am able to display a table view but here i am passing
    the table parameter in the .htm like this.,
    table           = "//Address/Table"
    where,
    'Address' is type ref to CL_CRM_IC_BUPAMOREADDRESS_CN01
    I created my  own implementation class (ZCL_CRM_IC_BUPAMOREADDRES_IMPL)
    and context class (ZCL_CRM_IC_BUPAMOREADDRES_CTXT)
    created!.
    here my question is .. is there anyway to pass an internal table to this view!.
    please help..
    Thanks n regards,
    sudeep v d.

  • Project cash management Reporting; wrong value in RPSCO table

    Hi,
    I have a problem.
    I have activate the Project cash management.
    I have run the transaction OPH1 for delection Actual DATA.
    I have run the transaction OPH4 for reconstruction actual data for purchase orders.
    Ihave run the transaction CJEN for reconstruction info database.
    The customizing for the value category is green.
    In  the report S_ALR_87013573, we display always wrong value , tough line items (CJIA ) is blank.
    We have run again the transaction OPH1 for delection Actual DATA, but we display the worng value in the table RPSCO. .
    Kindly suggest me the solution.
    Best Regards
    Federica

    hi,
    execute the below reports in se38 and after that run cjbn,cjen
    RKACOR19-Reconcile between line items and totals records
    RKPEP010-Display Project Actual Payment Line Items
    regards,

Maybe you are looking for