Losing Data Validation Messages when writing back to context

( The base for this question is the ALV grid in section 2 of this [TimeSheetMockUp|http://www.duke.edu/~michaelm/TimeCard/AnnotatedTimeSheet.jpg] )
Users enter values in the white cells which represent the hours recorded on a given day for a certain type of time.  
Lets say we have a z-object that supplies us with the overall grid structure, including the headers and (the shaded) summarization cells. The web dynpro ALV had been set to allow input only on the raw data cells. They are set to 4 places with one decimal.
As the app was being developed, when we entered invalid data in a cell, such as 123456, or 1.2345 or u2018qu2019, a nice message was displayed that told the us about the issue.  This was free u2013 I guess the phase model does that for us, and we liked it.
Well, down the road a pieceu2026 we needed to add a method to recalc all the summary values from the raw inputs. 
METHOD wddoafteraction .
* wizard: navigate to and get the rows data                         *
  DATA lo_nd_nd_rows TYPE REF TO if_wd_context_node.
  DATA lt_nd_rows TYPE wd_this->elements_nd_rows.
* navigate from <CONTEXT> to <ND_ROWS> via lead selection
  lo_nd_nd_rows = wd_context->get_child_node( name = wd_this->wdctx_nd_rows ).
  lo_nd_nd_rows->get_static_attributes_table( IMPORTING table = lt_nd_rows ).
* do the math                                                       *
  DATA lt_updated_rows TYPE wd_this->elements_nd_rows.
  CALL METHOD wd_assist->o_wc->recalc_update_and_return_wrows
    EXPORTING
      im_rows = lt_nd_rows
    IMPORTING
      ex_rows = lt_updated_rows.
* repopulate the rows                                      *
  lo_nd_nd_rows->bind_table( new_items = lt_updated_rows set_initial_elements = abap_true ).
Now, weu2019re losing all the nice data validation messages u2013 they do not display (the offending entries are just cleared) !!!
After some investigation, it seems that the bind_table call is where they get lost (without that call, they appear) .
Iu2019ve tried placing this code in a number of hook methods, but the same thing occurs.  It is currently in the viewu2019s afteraction hook.
So, u2026 I have two questions.
u2022     How do I get my nice messages back. ?
u2022      Where is the right place to update my context from 
( Btw, downstream, our recalc outines will also want to throw messages that we will want processed after we get through the initial validation  )
Thanksu2026
u2026Mike

Fixed with SAP Note 1410122 - WD ABAP ALV: Messages are not displayed

Similar Messages

  • Buffering table not up to date error message when creating a Cart

    Hi Folks,
    We are getting a 'Buffering table not up to date' error message when attempting to create a Cart. The error message only happens to the one end user ID only with the others not getting this error, therefore suggesting that my SRM org plan set-up is correct.
    Has anyone come across this previously and what checks are available in the system to resolve this? As mentioned, the attribute check is okay and I have also removed the user ID from the SRM org plan and reassigned again but this has not corrected the problem. We are on SRM 5.
    Thanks. Mike.
    Message:
    Buffering table not up to date
    Method: GET_STRUCTURE_PATHS_UP of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_EMPLOYEE~GET_RL_UNIT_IDS of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_PROFESSIONAL~GET_WORKPLACE_ADDRESS_IDS of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_PROFESSIONAL~GET_WORKPLACE_ADDRESS_ID of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_PROFESSIONAL~GET_WORKPLACE_ADDRESS of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Form: USER_DETAIL_GET of program SAPLBBP_SC_APP
    Form: GLOBAL_FILL of program SAPLBBP_SC_APP
    Form: SC_INIT of program SAPLBBP_SC_APP
    Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
    Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS
    Edited by: Mike Pallister on Nov 5, 2008 11:44 AM

    Please advise on this problem.  When I try to check the Approval Overview tab for these two shopping carts.
    I got a dump.can anyone help me.
    Information on where terminated
        Termination occurred in the ABAP program "CL_BBP_ES_EMPLOYEE_MYS========CP" -
         in "IF_BBP_ES_EMPLOYEE~GET_RL_UNIT_IDS".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 35
        of the (Include) program "CL_BBP_ES_EMPLOYEE_MYS========CM008".
        The termination is caused because exception "CX_BBP_ES_INTERNAL_ERROR" occurred
         in
        procedure "/SAPSRM/IF_PDO_DO_APV_EXT~GET_AGENT_DETAILS" "(METHOD)", but it was
         neither handled locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "/SAPSRM/CL_PDO_DO_APV_EXT=====CP "; its source
         code begins in line
        1 of the (Include program "/SAPSRM/CL_PDO_DO_APV_EXT=====CM00E ".

  • HT202159 When downloading os x lion, i got an error message, when going back into purchased items in app store to resume, i found i had no resume button. what can i do?

    .

    When downloading os x lion, i got an error message, when going back into purchased items in app store to resume, i found i had no resume button. what can i do?

  • UJK_EXECUTION_EXCEPTION:Data records rejected when writing to the cube

    Hello,
    I ran into an issue while testing Script using UJKT.
    I can plan the same intersection/record from BPC template but it doesn't work from Script/UJKT.
    I checked work statuses, scripts, rules. Found nothing that locks the intersection.
    Anything else I should check?
    Is there a way to find out more detailed log to see why the data records are rejected.
    Appreciate your help. Thanks.
    P.S. I looked at many scn posts on this error but nothing really helped.
    UJKT Log:
    #dim_memberset=9
    REC :%VALUE% * 110
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 571.13 ms. 1  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :197.47 ms.
    1  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    UJK_EXECUTION_EXCEPTION:Data records rejected when writing to the cube

    Thanks Vadim. I debugged UJKT but didn't find anything helpful yet.
    Will keep digging.
    Here is the script.
    *XDIM_MEMBERSET CAP_VIEW = 27
    *XDIM_MEMBERSET PPS_TIME = 2014.03
    *XDIM_MEMBERSET PPS_ITEM = 52540046EAC51ED3B2E49C10DBDB1565
    *XDIM_MEMBERSET CAP_GRP = ZHM_IT00050001
    *XDIM_MEMBERSET PPS_ENTITY = US
    *XDIM_MEMBERSET CAP_CATG = ZHM_IT0005
    *XDIM_MEMBERSET PPS_ACCOUNT = COST
    *XDIM_MEMBERSET RPTCURRENCY = USD
    *DESTINATION_APP=PPS_PLANNING
    *SKIP_DIM = CAP_CATG,CAP_GRP,CAP_VIEW
    *ADD_DIM PPS_CATG = ZHM_IT0001
    *ADD_DIM PPS_GROUP = ZHM_IT00010001
    *ADD_DIM PPS_VIEW = ZHM_IT0001000127
    *WHEN PPS_ACCOUNT
    *IS  COST
    *REC(EXPRESSION=%VALUE%*10)
    *ENDWHEN
    *COMMIT
    LGX:
    LOG:
    FILE:\ROOT\WEBFOLDERS\HM_PLAM \ADMINAPP\PPS_CAPPLAN\TEST.LGF
    USER:SMULLAPUDI
    APPSET:HM_PLAM
    APPLICATION:PPS_CAPPLAN
    [INFO] GET_DIM_LIST(): I_APPL_ID="PPS_CAPPLAN", #dimensions=9
    CAP_CATG,CAP_GRP,CAP_VIEW,MEASURES,PPS_ACCOUNT,PPS_ENTITY,PPS_ITEM,PPS_TIME,RPTCURRENCY
    #dim_memberset=8
    CAP_VIEW:27,1 in total.
    PPS_TIME:2014.03,1 in total.
    PPS_ITEM:52540046EAC51ED3B2E49C10DBDB1565,1 in total.
    CAP_GRP:ZHM_IT00050001,1 in total.
    PPS_ENTITY:US,1 in total.
    CAP_CATG:ZHM_IT0005,1 in total.
    PPS_ACCOUNT:COST,1 in total.
    RPTCURRENCY:USD,1 in total.
    REC :%VALUE%*10
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 1038.58 ms. 1  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :173.04 ms.
    1  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    UJK_EXECUTION_EXCEPTION:Data records rejected when writing to the cube
    Thanks,
    Vasu

  • List data validation failed when creating a new list item but does not fail when editing an existing item

    Dear SharePoint Experts,
    Please help.
    Why does my simple formula work in Excel but not-work in SharePoint?
    Why does this formula...
    =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
    ...work in Excel but fail when I try to use it in SharePoint?
    The intent of this formula is the following...
    If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
    SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
    Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
    Can you help?
    Thanks.
    -- Mark Kamoski

    Dear Jason,
    I appreciate your efforts.
    However, it seems to me that this statement of yours is not correct...
    "If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
    I believe this is NOT the answer for the following reasons.
    When I create a new item and click Save, the validation error is "list data validation failed".
    When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
    I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
    I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
    I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
    good details.
    However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
    SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
    into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
    SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
    available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
    The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
    But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
    SP 2013. So, in some cases, there is an extra click for the enduser.
    Thanks,
    Mark Kamoski
    -- Mark Kamoski

  • Firefox 4.0 doesn't render validation message when editing page process

    Hi there,
    I downloaded and installed Firefox 4.0 this morning. I was using it to edit a PL/SQL page process in one of my applications, and when I applied the changes, rather than returning to the page definition, I was left on the edit process page with no feedback. It turned out that I had introduced an error in the PL/SQL code, but there was no validation message (and my changes of course were not saved). I tried in Chrome (11.0.696.16 beta) and it worked fine (i.e. the validation message displayed - then I corrected the code and applied the changes and was returned to the page definition with positive confirmation of my changes).
    My Apex version is 4.0.1.00.03.
    I don't mind rolling back to the previous version of FF, because some of my add-ons are not yet compatible, but I thought I should raise this question in case others are experiencing this issue. Is there a way around it or a fix?
    Regards,
    Jerry

    Hmm...I actually cannot replicate this now. Also - the "Return to page" checkbox wasn't ticked when it happened earlier (I tried toggling it).
    Has anyone else experienced this?

  • E72-Packet Data connection message when answering ...

    I get the following message when I dial or answer the phone: "Packet Data Connection on hold".
    When I hang up I get: "Packet Data Connection active".
    First of all, I don't know what packet data connection means nor do I have a need to know as long as the E72 works, which it does.
    How do I get rid of these stupid messages?
    Thank You!

    Look for the usual suspects as Nokia Messaging, Mail for Exchange, etc... that run in the background and need a connection. But if you don't want to know I'm not telling you.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Nokia lumia 625 - losees date & time settings when...

    Hi should my 625 lose the date & time settings when the battery goes flat -  mines done it twice now only had the phone since last wednesday

    Same here. Nokia Lumia 930.
    When it is set to auto, while the timezone is correct, the phone shows wrong date/time.
    I set it to manual and to my surprise, date/time changed on reboot.

  • HT5167 image data corrupted message when installing anything. Please help!!

    A couple of days ago something happened and now every time I tried to install an app i receive the following mesage: (app being installed file name).dmg image data corrupt. Can anyone point me in the right direction please???

    All of the posters need to take their system to an Apple Genuis bar and have whatever is wrong with them fixed.
    It is either some software you have installed. The hard drive has become corrupted in some way or you have a hardware problem.
    Or all of the above.
    Wish all of you good luck.

  • Getting an Error 5 message when writing to a file

    Running Windows 7 and getting this error 5 when trying to write to a file
    It seems such a simple thing to do, I have used the write to file on other projects with no issues but
    on this Win 7 machine ( and another also) it just doesn't want to play
    Solved!
    Go to Solution.
    Attachments:
    SFI Temp v1 error 5 write to file.vi ‏140 KB
    sfi error 5.ppt ‏254 KB

    Nick5405 wrote:
    Spoiler (Highlight to read)
    The reason the file was in a .ppt was because I did a screen snapshot and had to paste it into something.
    I never knew about the Powerpoint thing.
    The file was not open in anything, I canged the file so it left the default location that LV puts them in to a memory stick
    and that worked fine and then I made a new folder on my C drive and that worked also.
    I don't understand why it wouldn't work on the default Folder but I don't really care about that anymore.
    Maybe just a Win7 thing
    The reason the file was in a .ppt was because I did a screen snapshot and had to paste it into something.
    I never knew about the Powerpoint thing.
    The file was not open in anything, I canged the file so it left the default location that LV puts them in to a memory stick
    and that worked fine and then I made a new folder on my C drive and that worked also.
    I don't understand why it wouldn't work on the default Folder but I don't really care about that anymore.
    Maybe just a Win7 thing
    Is there a solution here?
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • How to display error message when writing into Header text of VA02

    Hi All
    I have a requirement. I have a header text 'English' in VA01/VA02 transaction. I need to put a condition that whenever the user log-in is English language, then only he should be able to write text into that HEADER text 'English', else it should not allow the user to write anything.
    Is it possible to be done through any ABAP coding.
    Kindly help
    thanks and regards
    shilpa

    Hi
    Yes u can, but I think it's not easy to understand which language was used to write a text.
    U can use the fm READ_TEXT in order to get the text, but then I don't how u can decide if the text is in English or French or Italian...
    Max

  • I keep getting not connected to internet message when i fill out bank forms or back page, i keep getting not connected to internet message when i fill out bank forms or back page

    getting not connected to internat message when i back page or fill out forms

    If you are using Safari, go to the Safari menu bar click Safari / Preferences then select the Autofill tab.
    Click the Edit button next to: Other forms. Click Remove All.
    Back to the menu bar, click Safari / Empty Cache.
    Restart your Mac.

  • Validation message

    Hi
    I have a code segment like this -
    <messageTextInput name="WlCensusNonTreatPrimary" promptAndAccessKey="& " shortDesc="Enter the number of applicants" data:readOnly="isViewing@jheadstart:ServiceDelivery" onBlur="check()">
    <onBlurValidater>
    <decimal/>
    </onBlurValidater> </messageTextInput>
    If I am having the label removed (that is I don't have any name specified after "& " in promptAndAccessKey attribute (or) nothing at all in the Prompt attribute, I am getting the following validation message when I enter a alphabet(say 'a') in a numeric field -
    "Value 'a' in " " is not a number". But, if I put a label there (say &EmpNo) I get the appropriate message.
    But my problem is I don't want a label on my screen as I am arranging it in a different order (like a cross tab).
    Any help?
    Patrick

    Patrick,
    Hmm, may be if you set the anchor or id attribute to "Empno", the javascript validations message will pick it up?
    If not, you better address this question to the JDeveloper forum since it is really a UIX issue. The UIX experts are monitoring the JDeveloper forum.
    Steven.

  • Keep getting prompt re: confirm/resend when paging back or forward in browser

    On some web pages, I keep getting the following message when paging back or forward: To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier. Choice buttons are either Resend or Cancel. Any idea why I am getting this message? There is no help for it and I can't find it in the support search topics. Thanks.

    Online merchants create a unique order number. Trying to resend it will generate an error message these days, not a duplicate (we're talking about the post confirmation part, not the click to finalize CC; if you went back in that case, you'd just go back to the CC info.) No modern website that's selling anything has any sort of issue with you resending POST data (correct me if i'm wrong).
    This nag is so annoying that I completely uninstalled Firefox, not even waiting till I dl'd a replacement (doing that with IE, which for all its flaws, hackability and uncoolness, at least gets the job done without changing shortcuts -i'm looking at you there, Opera- or requiring add-ons before I can configure ANYthing I seem to want to configure (firefox, obviously)).
    As for the workarounds? The browser.sessionstore.postdata about:config setting doesn't solve the problem. And I'm not installing a program to click boxes for me THAT SHOULD NOT BE THERE IN THE FIRST PLACE.
    Googling this issue, the complaints seem to go back to at least 2008! If you can't or won't listen to feedback for THREE years, you might as well team up with the people in Redmond.

  • PLEASE READ REGARDING iPod losing data

    I have bought my 5th generation iPod and have not done anything to it that will cause to malfunction in anyway. But im getting annoyed that a lot of times i connect by black video iPod into my Windows Xp computer. Then iTunes pops out. I click on the iPod on the left and its WHITE!? Then i check how much space its used and it says 1.5 g data used? I normally have around 6.3 g.
    I just lost all my videos and photos but i still have the songs for some reason. Then i always have to keep updating it cause everytime i connect i keep losing data.
    Basically, when i connect my iPod a lot of stuff gets erased and i have to keep updating it.

    well umm of course it appears WHITE because it cant detect that your ipod is black and it sounds like you reset it or deleted your videos on your computer and lost them in the ipod last time you connected
    dell   Windows XP  

Maybe you are looking for

  • Pass Value from Excel to custom program

    Hello, I want to pass value from Excel to Custom Program being called in the Custom Integrator and i am using the Import in the Importer section but it is not getting passed. Please advise and i am on R12.1.3. Thanks

  • Problem for import picture of sony nex-5 with lightroom 5

    I have Lr 5 on os X and I don't understand when I import picture of Sony NEX-5, my pixel size is 4592 x 2576 instead of 4592 x 3056. So the picture render is cut only on lightroom and is good on mode preview on Mac Thanks for your help

  • Aperture won't export all photos to Mail

    Most of the time, Aperture won't export all my chosen photos to Mail. If I chose 8 photos, it may only export 4 of them and no matter what I do, nothing changes. Tried it on Entourage and it was exactly the same. Size is not the issue, I'm sending th

  • Crashes when attempting to open files

    Hello, could anyone help me with the software crashing? I have searched for the issue but I can't find a solution on the forums. cs5 PS Version:         12.0.2 Msc OS X Version 10.6.7 cheers

  • How do I make a scrubber for an animation?

    I created an animation on how a 4 stroke motor works and want to be able to play, stop and scrub through the animation. All i can find on the internet is scrubbing for video/audio. Can someone help. Thanks