Content validation

I have CV set to run once a week, recently it found a package that need to be redistributed. After successfully redistributing the package the red error under monitoring went away but the yellow warning still exists.
I've done several successful validations since then but the yellow warning still appears which doesn't really contain any information and the smsdpmon log for that date is long gone.
Any idea how to clear that?

Hi,
It seems that the message only can be removed from database. But editing database directly is not supported by microsoft.
Best Regards,
Joyce Li
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Content Validation Occurance

    Does content validation happen at all during the distribution process? I know it occurs when it is scheduled on a DP and it can be triggered manually from a DP. Just not sure if it occurs any other times.
    --Tony

    Do you know off the top of your head if the validation occurs when a package is distributed to a DP? I can always monitor the DP to see if that task kicks off during a distribution. I came across
    this which is pretty helpful too! 

  • Create alert when content validation fails

    How can I create an alert (with email subscription) when content fails to validate on a distribution point or distribution point group?
    born to learn!

    AJM
    Did you come up with a solution for this? We are using SCOM to monitor the SMSDPMON.log on our DP's for a string of "Failed to evaluate package".
    Also, I have built a custom SQL report to query the SCCM database for this information and it is sent to me once a week, the day after content validation runs on the DP's. Below is the SQL code I am using, use it to build your own custom SCCM report. 
    select LastUpdateDate, MessageID,vSMS_DistributionDPStatus.PackageID,v_package.Name as PackageName, vSMS_DistributionDPStatus.Name as DistributionPoint
    from vSMS_DistributionDPStatus,v_package
    Where vSMS_DistributionDPStatus.PackageID = v_package.PackageID and MessageID = 9517
    -Tony

  • Content Validation Logs

    Is there a content validation log?
    I was getting an error during OSD that content is not available, but it is indeed on the DP. I have manually went in and selected each and every piece and selected validate. Now the Completion Statistics are just sitting here at 16 success and 84 In
    progress.
    This is only one DP that is having this problem
    Please Advise as I am pulling my hair out, one of our sites is entirely unable to deploy hardware without this.

    Based on that log... it just stopped yesterday and the content statistics in console stayed "in progress" with no updates.
    I have since kicked the scheduled task for content validation and it is running.
    I have one DP that is failing to present its content for a task sequence, though everything I look at shows the content on the DP. 
    It is listing 3 locations of content... but neither of these 3 are dps within their boundary. 
    Errors in smsts.log file
    Decompression (zlib) succeeded: original size 591, uncompressed size 3692.         
    TSMBootstrap   18/09/2014 8:19:11 AM     
    1032 (0x0408) Location Reply: <ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite
    SiteCode="CA1" MasterSiteCode="CA1" SiteLocality="FALLBACK" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://CA1AP03P.******.com/SMS_DP_SMSPKG$/CA100014"
    Signature="http://CA1AP03P.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite Name="Corporate"/><IPSubnets><IPSubnet Address="10.1.17.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities
    SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>CA1AP03P.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>FALLBACK</Locality></LocationRecord><LocationRecord><URL
    Name="http://CA2AP01P.******.com/SMS_DP_SMSPKG$/CA100014" Signature="http://CA2AP01P.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite Name="Corporate"/><IPSubnets><IPSubnet Address="10.2.17.0"/><IPSubnet
    Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>CA2AP01P.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows
    Trust="0"/><Locality>FALLBACK</Locality></LocationRecord><LocationRecord><URL Name="http://MINN_DP.******.com/SMS_DP_SMSPKG$/CA100014" Signature="http://MINN_DP.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite
    Name=""/><IPSubnets><IPSubnet Address=""/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property
    Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>MINN_DP.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>FALLBACK</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply>           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) MCS server:    
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Found location: http://CA1AP03P.******.com/SMS_DP_SMSPKG$/CA100014
    TSMBootstrap   18/09/2014 8:19:11 AM       
    1032 (0x0408) Local=0           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) MCS server:    
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Found location: http://CA2AP01P.******.com/SMS_DP_SMSPKG$/CA100014
    TSMBootstrap   18/09/2014 8:19:11 AM       
    1032 (0x0408) Local=0           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) MCS server:    
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Found location: http://MINN_DP.******.com/SMS_DP_SMSPKG$/CA100014 
    TSMBootstrap   18/09/2014 8:19:11 AM       
    1032 (0x0408) Local=0           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Processing 3 locations.           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Not processing remote location:        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   Flags: 01000000       
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   URLs : 1        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   SMB  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   MCS  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Not processing remote location:        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   Flags: 01000000       
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   URLs : 1        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   SMB  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   MCS  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Not processing remote location:        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   Flags: 01000000       
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   URLs : 1        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   SMB  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   MCS  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)
    LocationsList.size() > 0, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2142)           
    TSMBootstrap   18/09/2014 8:19:11 AM           1032 (0x0408) FALSE, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,1863)   TSMBootstrap   18/09/2014 8:19:11 AM     
    1032 (0x0408) Content location request for CA100014:14 failed. (Code 0x80040102)           TSMBootstrap   18/09/2014 8:19:11 AM        1032 (0x0408) hr, HRESULT=80040102
    (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,2626)         TSMBootstrap   18/09/2014 8:19:11 AM      1032 (0x0408) Failed to resolve PackageID=   TSMBootstrap  
    18/09/2014 8:19:11 AM           1032 (0x0408) (*iTSReference)->Resolve( pTSPolicyManager, dwResolveFlags ), HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,3412)           
    TSMBootstrap   18/09/2014 8:19:11 AM           1032 (0x0408) m_pSelectedTaskSequence->Resolve( m_pPolicyManager, TS::Policy::TaskSequence::ResolvePolicy | TS::Policy::TaskSequence::ResolveSource,
    fpCallbackProc, pv, hCancelEvent), HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1523)            TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Failed to resolve selected task sequence dependencies. Code(0x80040102) TSMBootstrap   18/09/2014 8:19:11 AM        1032 (0x0408) hrReturn, HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediaresolveprogresspage.cpp,445)           
    TSMBootstrap   18/09/2014 8:19:11 AM           1032 (0x0408) ThreadToResolveAndExecuteTaskSequence failed. Code(0x80040102)          TSMBootstrap  
    18/09/2014 8:19:11 AM        1032 (0x0408) ThreadToResolveAndExecuteTaskSequence returned code 0x80040102        TSMBootstrap   18/09/2014 8:19:11 AM       
    888 (0x0378) Setting wizard error: This task sequence cannot be run because the program files for CA100014 cannot be located on a distribution point. For more information, contact your system administrator or helpdesk operator.           
    TSMBootstrap   18/09/2014 8:19:11 AM           888 (0x0378)

  • Content Validation Issue on Distribution Points

    Hi all,
    I am currently running SCCM 2012 R2 CU2 with Single Primary Site Server and Several remote Distribution Points serving Windows Updates, Software and Images.
    This has been bothering me for a while now and I can not figure it out…. Two of my distribution points are not completing their content validation. They begin the process as scheduled
    but about 2-5 packages in, they get hung up on an old package that does not exist anymore and then start the process over, validating the same 2 packages over and over. I have ran a few scripts to check WMI for this package and it is definitely not there.
    It is not present in the Content Library either.
    Simple query for to check WMI for the package on the DP:
    gwmi -Namespace rootsccmdp -Query “select * from SMS_PackagesInContLib where PackageID = ‘XXX001AE′”
    Here is a snip of the smsdpmon.log
    Report status message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Start to evaluate package ‘XXX001AE’ version 0 …
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x4000094C to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Failed to evaluate package XXX001AE, Error code 0×80070002
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report state message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report Body: SPS001AE["Display=vdepman.sdale.org"]MSWNET:["SMS_SITE=SPS"]vdepman.sdale.org
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x8000095A to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Anyone have any idea why it is still trying to validate this old package?
    Thanks

    Thanks for the replies,
    Here is some extra information on what I have tried.
    I have run the Bart Serneels script which did seem to clean some things up on the other servers. Did NOT fix the issue on these ones however.
    I have also ran these two scripts that compare the content on the DP itself.
    This one Compares Content Librrary with WMI and deletes the package INI if needed.
    cls
    $WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
    $ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
    $PkgLibPath = ($ContentLib) + '\PkgLib'
    $PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
    $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
    $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
    $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
    ##Write-Host Items in WMI but not the Content Library
    ##Write-Host ========================================
    ##$PksinWMIButNotContentLib
    Write-Host Items in Content Library but not WMI
    Write-Host ====================================
    $PksinContentLibButNotWMI
    Write-Host Delete .INI´s in PkgLib not in WMI
    Foreach ($PkgLIB in $PksinContentLibButNotWMI){
    Remove-Item -Path "$PkgLibPath\$PkgLIB.INI" -Confirm
    This one Compares WMI to the Content Library and delete the package from WMI.
    cls
    $WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
    $ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
    $PkgLibPath = ($ContentLib) + '\PkgLib'
    $PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
    $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
    $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
    $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
    #Items in WMI but not the Content Library
    #========================================
    $PksinWMIButNotContentLib
    #Items in WMI but not the Content Library
    #========================================
    $PksinWMIButNotContentLib
    Foreach ($Pkg in $PksinWMIButNotContentLib){
    Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib -Filter "PackageID = '$Pkg'" | Remove-WmiObject -Confirm
    Neither of them return any information about left over packages.
    If I must, I may uninstall the DP role on these servers and reinstall it, one of them in also my "Application Catalog Server". Will re-installing the DP on this server cause any major issues?
    Thanks

  • Does Oracle XML Parser support Content Validation

    Hi there,
    Could someone out there give me a hint on whether the Oracle XML Parser has the capability of handling Content Validation? If yes, what's the mechanism behind it?
    From my understanding of the Oracle XML Parser, even with the validating mode turned on, the parser only validates the XML data against the DTD (if any), which involves checking whether or not the attribute names and element tags are legal, whether nested elements belong to where they are, and so on. But I dont see any Content Validation. And my guess is that this feature, namely Content Validation, is simply not supported in the current version of the Oracle XML Parser. Am I right?
    Any suggestion would be greatly appreciated. Thanks.
    ---Denali
    null

    Hi there,
    Could someone out there give me a hint on whether the Oracle XML Parser has the capability of handling Content Validation? If yes, what's the mechanism behind it?
    From my understanding of the Oracle XML Parser, even with the validating mode turned on, the parser only validates the XML data against the DTD (if any), which involves checking whether or not the attribute names and element tags are legal, whether nested elements belong to where they are, and so on. But I dont see any Content Validation. And my guess is that this feature, namely Content Validation, is simply not supported in the current version of the Oracle XML Parser. Am I right?
    Any suggestion would be greatly appreciated. Thanks.
    ---Denali
    null

  • Content validation before uploading file

    Hi,
    We want to do some validations before uploading an excel file to OBIEE :
    1 - check the file extension
    2 - do some data validation on the content of the excel file.
    I succed in doing the first step by adding some javascript customization to OBIEE javascript files. However, i cant do the second step with javascript, because i need to read the excel file content and make connection to a database to perform the validation.
    Is there any way, to do the validation in server side so that i can read the excel file and make the database connection with a java code.
    Thanks.

    Hi,
    Actualy, users produces some informations about production. These informations are in excel files because there is no application for this business area. Also they want, throw OBIEE 11g portal, to upload their files them selves, have a validation workflow of the file in obiee, and then automatically copy excel files content in a oracle tables and create some reports on these tables.
    I dont know if these needs are possible in the obiee 11g platform, so i start doing a prototype. Now, i'am in the first step of uploading the excel file into a folder in the obiee catalog. However during the upload a file a need to do some technical validations (null values, numeric values, ...) and check if the value of a specific column exists in a table on an other database.
    Therefor, the xls file is not a variable it's uploaded every time a user wants it. The production environnement of obiee 11g is AIX, however for the prototype, i will user an environnement on windows.
    Thanks.

  • SCCM2012 Content Validation Failing - SMSPKGSIG

    Hi all,
    We have a main site server, and 15 distribution points. We recently had to move the distribution shares using ContentLibraryTransfer.exe on three DPs due to space requirements. Since then we've had issues getting content to the three DPs. I've been through
    a few steps troubleshooting so far, it appears that it's an issue with the signature files. Content will 'successfully' transfer, and then fail when it's validated. 
    distmgr.log contains the following;
    RDC:Failed to copy package content signature file \\?\K:\SMSPKGSIG\Content_e517d975-b5f0-4a53-8ba1-80c0be72ccb3.1.tar to \\SCCMPRI01.wakefield.gov.uk\SMSSIG$\Content_e517d975-b5f0-4a53-8ba1-80c0be72ccb3.1.tar. Error 2
    If you check the K:\SMSPKGSIG folder it doesn't contain that .tar file, indeed the only .tar files that have been generated since the contentlibrarytransfer.exe process are for our antivirus definitions. I've checked security on the SMSPKGSIG file and it matches
    that of our Dev site, which works fine. There are also no relevant .tar files in the \SMSSIG$ folder that have been created since the transfer.
    So far we've;
    Recreated the Distribution point site role on the primary server
    Updated the AV rules to cover the newly created Distribution Point file shares
    Attempted to update and redistribute affected packages
    Any advice from here would be gratefully received!

    Here's a similar thread. Maybe it could help you.
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/afc4b35b-5d06-4188-a79c-e06ed682ecfe/failed-to-get-rdc-signature?forum=configmgrswdist
    Benoit Lecours | Blog: System Center Dudes

  • TableView row cell content validation using Javascript

    Hi ,
       I need to validate the tableView cell which is opened for input as like text box using Iterator. I have a requirement to validate the cell when the row is selected.
       I tried with document.getElementById("solgrp_1_1").value, where solgrp is tableView id.
      Some how it is not working for me? and the second how can i recognise the row is selected or not in java script.
      Any input will help me. please sesuggest with your ideas.
    Regards,
    Praveen

    Hi Jan,
    If I undestood your question properly, you cannot know for sure that the row will be - in the end - selected because of the singleselect/multiselect issue.
    So, either you put the logic on the server side and give up the JS solution... or you have to inject some variables mirroring the selectionMode into Javascript so that you can test it in your JS validation function.
    Regarding the value of a cell, you can peform a document.getElementById( <id> ).value where <id> is of the form :
    <id_of_the_tableview>_<row_index>_<col_index>
    Check this in the source code of your page.
    Best regards,
    Guillaume
    Best regards,
    Guillaume

  • Custom LOV (Search Content) Validator

    Hi
    how can i validate that data insert by user exist in table? and how can i launch popup when user write an non existing data?
    ty

    Hi,
    In Addition, you can also set a ValueChangeListener for your list component. This will get fired when user selects any value from the dropdown.
    You can write your custom code for any kind of validation in the code. the method can be written in managed bean.
    regards,
    Rajan

  • Content Validation before Mapping

    Hi all,
    I have the following requirement. I ll read a file as input. I need to check if filename equals one particular field in the source. if equals then i ve to go ahead doing mapping and the rest. Else i dont want to process anymore. please help me in a step by step procedure for doing the same.
    Thank you
    Sumayya T S

    I think you can do this by using the Context objects.
    First get the Filename into your dummy element in target strcutre using UDF and create the context object between your dummy element and another element which holds the filename with equal conditon and use this context object in the receiver determination.
    But I am not sure about it because i never tried this.
    <b>UDF as follows:</b>
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File",
    "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File",
    "Directory");
    String source = conf.get(key);
    String tar_dirname = "/mqm/mqmprod/temp/out/ " + source.substring(14,18); */
    String tar_fname =source.substring(19,20);
    String tar_dirname = source.substring(14,18);
    conf.put(key, tar_fname);
    conf.put(key1, tar_dirname);
    return tar_fname;
    Warm Regards,
    Vijay

  • Content validation of a String

    If I have to check if all characters in a string are digit or all characters are alphabetic is there is an API which does these checks on a String. I know Character class has all functions but I will still have to iterate over all characters in the string.
    Thanks in advance

    I guess you can do some kind of arithmetic and if it throws a numberformat exception then you know that not all the characters in the string are digits so thats maybe how you would check for all numbers.
    To check for all characters, String also has a method to turn the string into an array of chars. You can iterate through the array with a loop then to test if its all chars. "EachString".toCharArray()

  • Pop Up Error using MVC method after Validation in  DO_HANDLE_EVENT Method

    Hi Experts,.
    I am rather new to BSP applications and I am working using MVC at the moment. I have a requirement which apparently is simple, but am yet to get that done successfully.
    I have a couple of buttons on my BSP View screen, on click of these buttons, the User Name would be verified with entries in a Custom table and if the User Name is not found, an error message would pop up stating, "You are not Authorized to use this option".
    On click of the button, the event which is triggered is handled in the DO_HANDLE_EVENT Method of the Controller for the view.
    The check is performed in that method. Thereafter the method DO_REQUEST follows automatically which loads the view yet again. I want to throw a pop up error message at this instance if the User Name was not the authorized one.
    I have used Java Script to throw pop up message but only in case of field content validation where I did not need to navigate away from the view for the validations. But how do I bo about for this example.
    Any help would be highly appreciated.
    Regards,
    Subhrangsu

    Hi
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout :
       function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Regards,
    G. Nikhil Kumar

  • Breaking a focuslost event in validating a JTextfield

    This problem seems to occur often but I have not found a solution. A JTextfield gets its content validated (for example the field must not be blank) when the focus on the field is lost, and retains the focus until the user enters valid data, after which the focus moves to another field. But say the user decides not to proceed with the input and just decides to click a Close or Exit JButton and come back later. Of course each click of the Close button triggers the focuslost validation on the textfield, making it programatically impossible to quit the frame normally. How does one break the focus on the textfield and exit gracefully?

    Yes, that works. In the jtextfieldFieldFocusLost method i included:
    String jcomponent = evt.getOppositeComponent().getClass().getName();
           if (jcomponent.equals("javax.swing.JTextField"))
              ..do the validation
           else
             ..let the Quit button close the form
           }Great answer, many thanks.

  • Package Run Validation not running properly

    Hi experts,
    My problem consists on CTRL_FLAG not getting the right value.
    First of all, in my default.lgf CTRL is set to 1.
    **SELECT ("%AUDITID_LIST%","[ID]","AUDITID","DATASRC_TYPE='I'")
    // Initializing the CTRL_FLAG Account with default amount = 1 to prevent local data from being submitted prior to validation
    *PUT(ACCOUNT=CTRL_FLAG,FLOW=F99,AUDITID=INPUT,INTERCO=I_NONE,CONSOSCOPE=LC,EXPRESSION=1)
    *COMMIT
    Then, in my Run Validation .lgf I have the following code:
    *XDIM_MEMBERSET FLOW=F99,F00
    *XDIM_MEMBERSET CONSOSCOPE=LC
    **SELECT (%AUDITID_LIST%,[ID],AUDITID,"DATASRC_TYPE='I'")
    *XDIM_MEMBERSET AUDITID=%AUDITID_LIST%
    /// Runs validation stored procedure for the CONSOLIDATION application
    *RUN_STORED_PROCEDURE = SPRUNVALID([%APP%],'%CATEGORY_SET%','LC','%SCOPETABLE%','%LOGTABLE%')
    *COMMIT
    **SELECT (%ACCOUNT_LIST%,[ID],ACCOUNT,"[GROUP]='CTRL'")
    *XDIM_MEMBERSET ACCOUNT=%ACCOUNT_LIST%
    *WHEN SIGNEDDATA
         *IS =0.0
              *REC(ACCOUNT=CTRL_FLAG,EXPRESSION=0.0)
         *ELSE
              *REC(ACCOUNT=CTRL_FLAG,EXPRESSION=1.0)
    *ENDWHEN
    In the end, those entities whose validations are OK, do not set CTRL_FLAG value to 0.
    Regards

    I checked out the Task Scheduler and both the Content Validation and Content Usage tasks were listed and enabled to run at 12:00 am.  I looked at Last Run Time and they were both set to "Never".  I don't see any errors and I was able
    to run the task manually.  I've changed the run time to see if that makes any difference.

Maybe you are looking for

  • How do I retrieve "my catalog"?

    My computer has just been updated with Windows 7 and had a new hard disc installed.  All the data including all my pictures have been re-installed in their original locations but my Organizer has lost "my catalog".  How do I get back?

  • Can't import Flip video, getting error -2000

    I'd like to view a number of videos made with a Flip Mino HD with an iPod Touch. I'm trying to convert them into iPod format using iTunes 10.0.0.68 on a Windows 7 computer. The videos are 1280x720 mp4. I can play the videos in iTunes. Altough iTunes

  • Replacement for Live Motion?

    I used Adobe Live Motion on my old mac but can't on my new MacBook Pro, has anyone any suggestions for a simple replacement? Live Motion was easy to use but am not sure about the new products. Any help much appreciated. Thanks in advance.

  • Macbook Pro 2009 has gray screen, safe mode won't work

    I have a Macbook Pro 2009, with a new hard drive installed in August of 2013. I opened my computer a couple days ago to a gray screen with a prohibitory sign and a spinning gear that will not disappear. I have no backup and tried to backup my hard dr

  • Bringing photo labels into photo book

    I spent a good deal of time labeling over 350 photos, and then went to create a book to order. TheI do not want to re-enter all this information- is there a layout that allows you to bring the labels in?