Problem in showing blank records in tableview.

Hi All,
The requirement is to show a tableview which is completely(contains no data in any cell) blank. The user enters data as free text.
I managed to create an internal table with blank records and using it for the tableview so that the table view shows blank cells , where user can punch data.
I need to do some validations if the cell is initial(user have not enterd any data and press the button)
Now the problem is that , all cells conatin a SPACE (dont have an idea where it is coming from) and thus cells are not INITIAL.
I tried using condense and replace all occurences of cl_abap_char_utilities=>cr_lf , but the space is not removed.
Any one having any idea , why this space is coming or how INITIALIZE the work area.
Regards,
Anubhav

Hi Vijay,
The code is written in
RENDER_CELL_START
Code snipet:
DATA: o_ip_desc TYPE REF TO cl_htmlb_inputfield,
            o_fr TYPE REF TO cl_bsp_find_and_replace,
            o_bee  TYPE REF TO cl_bsp_bee_table.
DATA: find TYPE string.
  DATA: replace TYPE string.
WHEN 'SLA_DESC' .
        CLEAR replace.
        CLEAR find.
        replace = `value=""` .
        find = `value=" "`  .  <---& n b s p(is displayed as space here)
        replace = replace.
        o_fr = cl_bsp_find_and_replace=>factory( find = find
                                                                  replace = replace
                                                                  mode =  `FIRST_OCCURRENCE` ).
        o_ip_desc = cl_htmlb_inputfield=>factory( id = p_cell_id
                                                  maxlength = '6'
                                                      size = '6'
        o_ip_desc->value = m_row_psc_main_ser->sla_desc.
        CREATE OBJECT o_bee.
        o_bee->add( level = 1 element = o_fr ).
        o_bee->add( level = 2 element = o_ip_desc ).
        p_replacement_bee = o_bee.
Regards,
Anubhav

Similar Messages

  • Showing Blank Records oracle forms 11g

    Deal all..
    i am using oracle forms 11g ,  i created a form by using data block wizard & layout wizard  , but when i run the form, the form running successfully  in  browser,  url is (  http://arun-pc:9001/forms/frmservlet), but  it is showing empty records.
    when i check with sql  plus user Scott ,  i found 10 records in departments table ,  same user and same table  i used in oracle forms.
    i don't know what is the  problem.. i am new to oracle forms please help me..
    i am waiting 4r your valuable reply
    thank s in Advance..

    Hello. Mr.harsh shah...
    Thank u for your reply..
    I follow the link what u given in above post..  But still i have the same issue..  i am not sure, but   i think i have problem with my Environment, bcz in many blogs i read that oracle forms is not recommended to use with 64 bit OS. and second , iam not using developer suite 10g,
    currently i am using,
    operating system:  windows server 2008 r2
    weblogic server :-  wls1036 (64bit)
    JDK :- 7u17 64bit
    Oracle forms :-  11g
    and database in another host , just i edit tnsnames.ora file in forms directory.  the following are my configuration options
    Oracle Forms and Reports Installation
    Configuration Options
      Middleware Home Location: C:\Oracle\Middleware
      Oracle Home Location: C:\Oracle\Middleware\Oracle_FRHome1
      Oracle Instance Location: C:\Oracle\Middleware\asinst_1
      Oracle Instance: asinst_1
      Domain Option: Create Domain
      Domain Name: ClassicDomain
      Domain Home: C:\Oracle\Middleware\user_projects\domains\ClassicDomain
      Domain Host Name: WIN-DMJUC51KRHF
      Domain Port No: 7001
      User Name: weblogic
      Automatic Port Detection: true
      Administrator Console: http://WIN-DMJUC51KRHF:7001/console
      EM Console: http://WIN-DMJUC51KRHF:7001/em
      EMAgent URL: http://WIN-DMJUC51KRHF:5155/emd/main
      Forms URL: http://WIN-DMJUC51KRHF:8888/forms/frmservlet
      Reports URL: http://WIN-DMJUC51KRHF:8888/reports/rwservlet
    i check all the links above, all services showing running successfully..  but when i run the form , i dont fine any records , showing empty and blank records..
    please give me clarification ...
    Thank u very much..
    Arun

  • Problem when inserting blank record.

    Dear All,
    I have following taskflow structure
    execute (master)
    createinsert (detail)
    pagefragment
    my page fragment has 1 master record.. 1 detail record. (which would be blank one except pk and fk generated from viewlink)
    when the user saves (commit action click)record the master saves.. but the child doesnot saves
    what i noticed is that when i enter any field in af:table(detail) it saves... but i want to insert the blank record to database.
    Any ideas..?
    Regards,
    Santosh
    jdev 11.1.1.5.0
    Edited by: Santosh Vaza on Aug 26, 2011 10:08 PM

    Hi..
    read following will useful
    http://blogs.oracle.com/shay/entry/master_with_two_details_on_the

  • XI to BW  RFC showing blank records in BW

    Hello everybody,
    Here is our scenario. XI picks up an xml file using File adapter and executes some mapping in XI and sends to BW to make an RFC call and data is being inserted to a table.
    This was working perfectly fine until I tested the scenario with a different XML file, all records showed up blank (there are 2 rows but all the values are blank). Nothing wrong with the XML file, I just changed one of the date fields. From then on, even if I test with the old XML file, it is showing up blank in BW.
    We did not touch the configuration on XI nor BW. All settings are the same as it was before..no changes.
    No errors on MONI, the message is going out of the adapter in correct format. So no errors on XI side.
    Any ideas to solve this problem would be deeply appreciated.
    Thanks
    Karthik

    HI,
    Test  the mapping with live data from SXMB_MONI. and check the target structure is populated correctly or not.
    Also check the is RFC is throwing some exceptions , Any data format exception may occure here. For this check the data type of RFC and try to compare with input values.
    Also do the Cache Refresh in From XI home page ->Administration->Cache Overview.
    Also refresh the Reciever Determination and Reciever Agreement .
    Hope this helps,
    Regards,
    Moorthy

  • Jump Query (RRI) Problem: not showing particular record......

    Hi
    In BI, i have 2 queries and implementing Jump query so that after selecting 1 material from 1st query should give me details of that particular material in second query.
    But in my case, i am getting details of all the materials and not the details of particular material from 1st material.
    Might be i am doing some mistake at RSBBS level.
    In RSBBS assigment level i am using:
    InfoObject = Material
    Type = InfoObject
    Field Name = 0Material
    Selection Type = Parameter (i tried everything here like single value, selection option)
    could u pls. let me know how can i solve it.
    Thanks....

    Hi,
    First Goto RSBBS and Give your query name that means which query is sender then in next tab give your infoprovider name
    then click on create button it ask the receiver query give your send query. When your run the sender query select any row click on right click it shows your send query name click on that it's goto next query.
    Thanks
    Venkat.

  • Report problem (Paginations show record count, report blank)

    I am using a custom report template to show data in detail form and allowing users to use the pagination to move from record to record. I have the maximum rows returned as 1.
    The problem is in a very specific set of circumstances if the query returns only two results the report shows nothing. The pagination show two records (using search engine pagination style) but nothing (with the exception of the top and bottom pagination bars) is displayed until the user clicks on one of the linked numbers.
    Has anyone had similar problems, does anyone have any idea how to correct this problem?
    Thanks in advance.
    Gary

    Check any branches to this page to see that they have "reset pagination for this page" checked. I had a problem with pagination where the user could specify query criteria and the branch back to the page was not resetting the pagination.
    Just a thought,
    Mike

  • My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.Please help........

    My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.There is no physical damage to my iPad and is in perfect good condition. I updated the latest OS 8.3 version 3 days before this issue happened. I took it to the apple authorised service centre but to my shock they told the display and unit has to be replaced which will cost me Rs.15000/-. It's just been one year and 7 days only since i bought my iPad,i.e, just 7 days out of warranty period only.I don't find any fault with the hardware neither no physical damage is there. Need help to sort out this issue.

    My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.There is no physical damage to my iPad and is in perfect good condition. I updated the latest OS 8.3 version 3 days before this issue happened. I took it to the apple authorised service centre but to my shock they told the display and unit has to be replaced which will cost me Rs.15000/-. It's just been one year and 7 days only since i bought my iPad,i.e, just 7 days out of warranty period only.I don't find any fault with the hardware neither no physical damage is there. Need help to sort out this issue.

  • Blank records are showing as '0' in Analytical View

    Hi,
         How to avoid blank records not to be shown as '0' in Analytical View?  Can you please help me on this?
    For your information: from the above image, there's no data for column 3 for Fiscal Period 005 - 012 but it's displaying as '0' rather than showing it as blank while I do a data preview of an analytical view.
    Regards,
    Antony Jerald.

    Hi,
         The analytical view generated in Hana is based on Bex query imported from BW.
         Actually I'm calculating Year till date (YTD) Last Year(LY) Sales, TY(This year) Sales based on posting period.
         In Bex query for YTD Sales last financial year data its posting period would be from 1-12(ie., for the entire last year what's my sale).
          While doing calculation for YTD current year, since we are in posting period 4 which is july month(i.e,calculation would be from 1-4), rest of the month's would not have any data for YTD Current year.  It's showing as blank in Bex query.  But hana analytical view is displaying as '0' which ideally should come as blank. 
         Kindly let me know how can we handle this.
    Regards,
    Antony Jerald.

  • Blank Records showing at Infoprovider level..how to eliminate@ Report level

    Hello Experts,
    I am facing an issue. For a particular matierial in the Bex Report 2 KF values must be equl.
    this is the complete scenario:
    Matirial Total Target Actual Val BIO Actual Val
    81271071 9550,52 4,793,67
    In the above scenario Total Target Actual Val must be equl to Bio Actual Val.
    I checked all the restrictions on the KF. 2 KFs are restricted by the same KF (Condition Base Value I ) .
    Other than that for KF Total Target Actual Val restrictions are on Condition Type, Matierial Group 3. And for the KF BIO Actual Val restrictions are Red Group For Rebate.
    I checked the data @ Infoprovider level for both the Good and Bad Test Cases. And found that for the Bad Test Case, if i give the input for Red Group for Rebate charactoristic there is no blank records are showing and where as if i will not give the input for Red Group for Rebate there are some blank records are showing up and adding those blank records.
    Where as for the Good Test Case even if i provided the input for Red Group for Rebate or not, there is no blank records are showing up and in the report both the KFs are showing the equal values itself..
    user requirement is at the report level both the KFs must be equal.
    Here in the above up to now what i have done,  i have provided the information.
    requesting all, kindly give me the reply how can i solve this issue. Expecting more and more bright suggestions .
    Thanks,
    SN.

    Just a quick question. Have you restricted your KFs unnecessarily? Are the semantic keys valid if debited? Like, sometimes the clearing doc #s are no entered for a open po# and necessary for a closed one. In such case, have you checked if the semantic key is correctly defined? Cubes must help you aggregate data & reflect them within one line item as in your case.

  • My credit card  has been charged for book, however my purchase history shows no record of the transaction and I have not received the book. The online problem reporting system does not have options to report this incident. Who can I cal

    My credit card  has been charged for book, however my purchase history shows no record of the transaction and I have not received the book. The online problem reporting system does not have options to report this incident. Who can I call?

    Would be problems with purchases, billing, and redemption option.  It's not 100% exact to your issue, but it will get you to the right department.
    Go here https://expresslane.apple.com/GetproductgroupList.do then select ITunes, then Store, then Purchases, Billing, and Redemption.  Then.. probably pick "My topic is not listed." 

  • DVD will read movies, data CDs, but data DVDs show as blank (recordable)

    My MBP started not reading data DVDs including older ones that have been accepted in the past.
    The behavior is that the data DVDs show up as blank recordables.
    I can read data CDs and Movie DVDs.
    I've read a few threads that suggested resetting the PRAM, which I will do later (can't right now).
    I wanted to post in case anyone else has seen this behavior. I don't often ready data DVDs so I can't say if this happened after a particular system update.

    One more thing. The erzatz "blank" dvds do not show up in the Finder. The only way to eject them is with Disk Utility.

  • HT201210 I had problem my the new ipad that show notify to update but can not update that update page show blank page

    I had problem my the new ipad that show notify to update but can not update that update page show blank page

    Try updating from here:
    App Store>Purchased>Select All
    Note: You'll have to look out for apps with the "Update"

  • Is it standard behavior for VL10A/table VEPVG to show two records when a Sales Document has been blocked?

    Hi Experts,
    Is it standard behavior for VL10A to show two records when a Sales Document has been blocked? Their only difference is the field Delivery Block. In VL10A, the first record has a delivery block of BLANK, the second has 99.
    Here's how to replicate the issue.
    Create sales order.
    When you check VL10A, the Sales document is there.
    Change sales order field (RSD) in VA02, Save.
    When you check VL10A, there are now two records, one has a blank delivery block, the other has 99.
    The expected result here is that after changing in VA02, there will be only 1 record in VL10A and it should have delivery block of 99.
    Assumptions:
    1. We know that VL10A retrieves its records from VEPVG. The problem is, in VEPVG, delivery block is a key field. So I think that during VA02, when the delivery block of 99 is assigned, this creates a record in VEPVG instead of updating the existing one. Is this standard behavior, and are my assumptions correct?
    Thanks in advanced experts. Appreciate your prompt response,
    Jack

    Hello Jack,
    This is the standard behavior. When I check in our system, I too can see two entries but with different good issue date and delivery date and the block is specific to good issue date, delivery date.
    So there is no problem in it. try to give the delivery date which includes two table entries delivery date and execute the transaction VL10A.
    Regards,
    TP

  • Suppress printing of blank records

    This should be simple, but I have tried everything I can think of, and trolled through the archives, without finding an answer.  Please don't chastise me for asking a question which has already been answered, too simple, in the wrong section, or any of the other sins you regularly accuse us of...
    I am printing a series of form letters which are selected on the basis of a couple of criteria.  I want to exclude records with blank fields.  (My database supports null values, but these field entries are blanks, not nulls.  The fields are string (alphanumeric) values. My selection criteria (for the 1 month letter) are below.  The first two criteria work fine; it is in the third line that I am trying to exclude the blank records.  I have tried: {LetterEnt.Gr_LastName}<>"",  {LetterEnt.Gr_LastName}<>" ", and then I got clever and tried the entry below.  None of these work.
    {LetterEnt.Letter1} = "X" and
    {LetterEnt.Site} = "Q" and
    Length({LetterEnt.Gr_LastName})>0

    +Message: AFAIK, if there are no records, there are no detail sections, so
    your report must show text from other sections.+
    (Is AFAIK some sort of "geek code" (in which case you have gone completely over my head), or are you addressing somebody by that name?  (My name is David).)
    If there are no records, there are indeed detail sections - with blank address fields.  See my previous more detailed exposition of the exact nature of the problem.
    +It is also not clear what "forces" a printout.  Are you using Crystal
    Designer (my assumption since you are posing in the Crystal Report Design
    forum) or something else (Crystal Enterprise)?  Crystal Designer doesn't
    force printouts - a user must initiate the printout.+
    Am I using Crystal Designer?  I don't know.  The program is called Crystal Reports XI in my computer.  Are you suggesting that I am in fact asking my question in the wrong forum? (I would have presumed that something called "Crystal Reports Design" deals with design issues in Crystal Reports, but if I am in error, I do apologise.  Perhaps you could direct me to the more appropriate resource.)
    What "forces" a printout? You are correct insofar as the operator has to push the Print button (at least as presently functioning.  At one stage I had the letters printing out behind the scenes using an Active-X control.  This ran for 2 weeks, then fell apart and I eventually gave up trying to make it work; but that is another story.)  How does this happen?  Crystal is adding completely blank pages as the first page on some of the reports, so it is not always immediately apparent to the operator that there is a letter sitting there with a blank address.  (And this, too, is a separate issue.  I have gone through all the instructions in the knowledge base as to how to get rid of the leading blank sheet.  None of the instructions have worked, and I eventually gave up trying.  Thinking about it, I have had an awful lot of frustration with this program.  Perhaps I am unreasonable, but if I can't get something to work after 3 or 4 hours' trying, I give it up as a bad job and live with the fault.)
    +You can always suppress those other sections with a condition such as
    IsNull({some field that is never Null).+
    It is not clear to me what this means.  All the sections other than the detail section are blank - always.
    +There are 3rd-party Crystal Reports tools that allow you to skip
    processing (printing/exporting/emailing) if the report comes up with zero
    records.+
    Aha!  Am I interpreting this correctly, as saying that I cannot do what I want to do (suppress printing of letters with blank addresses) in Crystal Reports, and that to do this I need to get a third party add-on?

  • Problem in filtering the records in Query

    Dear Gurus,
    I am struck with a problem of filtering data and am not able to visualize the solution so need a solution.
    so here is the requirement:
    I have a multiprovider with 3 infocubes.
    All these infocubes have a dimension names product family and in it there is a infoobject named FAMILY & it is having a attribute named DATE and DATE attribute is not a navigational attribute of FAMILY.
    Example:
    family : A
    attribute date: #
    for period: 011.2010
    family : A
    attribute date: #
    for period: 012.2010
    family : A
    attribute date:01.01.2011
    for period: 001.2011
    family : A
    attribute date: #
    for period: 002.2011
    if user run the query in 012.2010 i mean december 2010 then the above two record should be displayed & if he run the query in jan 2011 then only jan record should be shown because there a date in it & old record should not come. again if he run the query in feb 2011 then only the records for jan and feb should come old record before the date should not come.
    I mean once the value show up in the attribute date it should not pick old values but only pick new values.
    Thanks to all!

    Hi Mario,
                  When I format date as DSTR(@date_from & : &@date_to, 'dd.mm.yyyy') it shows blank values in the output for date field. rest of the values are displayed.
                  Mario can you tell anything about second part of my question. I am getting 'Result' at output.

Maybe you are looking for