Validations in isConsistent() for Emergency Contact

Hi,
I am working on Emergency contact screen. I added some validations for telephone number field.
Problem :: Duplicate records are created in backend, when there is a user error in  telephone number field
I think when user clicks Save, onFlush() method is flushing both erred record and good record.
Please suggest any advise to avoid this duplicates.
Thanks,
Dileep

Thanks Sridhar,
I am doing custom WDJ validation for telephone field in isConsistent() method. When I check for length and return false for invalid length, it works as expected and gives error. But after I correct the error and submit, it creates two records in infotype 21- one record with error values and one record with corrected values.
Please advise,
thanks, Dileep

Similar Messages

  • Infotype for  Employeeu2019s Work cell and Emergency contact phone?

    Hi All,
    I am currently working on HR ABAP.
    I   want to know the following fields information.
    Employeeu2019s Work cell and Emergency contact phone.
    in sap from where, we can get the Employeeu2019s Work cell  and Emergency contact phone??  In which infotype   , field and subtype?
    What about Emergency contact phone? Note that for Emergency contacts, there can be multiple records with current validity. You need to determine if you should show all of them, or only one. There is no way to know which one is the u201Cprimaryu201D contact.
    Regards,
    Kishan

    Kishan,
    This is not a ABAP related question. To give you some hint check IT 0006
    Thanks
    Bala Duvvuri

  • Error while modifying the data in Emergency Contact.

    Hi All,
    I have developed a new application for emergency contact by following the FPM.Its a Zcopy of standard US/family application. The application is working fine except modify details.If i am trying to modify the previous records i am getting an error  Start date should not be earlier than todays date We are using Usecase B3
    Can any one help me on this.
    Thanks
    Ravi Sunkara

    Hi,
    Check have you implement ny BADI..............
    Any logic you have written in FPM for thiss.......

  • Emergency contact iview in BP MSS 1.41

    Hello,
    We have a Portal landscape which is NW 7.0 with EHP1 (SP 5) with Oracle 10.2.0.4 running on AIX 6.1.
    Now our EP Dev team is looking for Emergency contact iview and not able to find the same.
    As a result of that we did some search and found that Emergency contact iview is not included in MSS 1.0, also SAP asks to go back to MSS 60.1.22 to get the iview.
    Now my question is if we install the old MSS BP 60.1.22 will it cause any problem for the customisations created using MSS 1.41, can we use two different BP MSS in same system.
    Please throw some light on this issue.
    Thanks in advance.
    Regards,
    Yoganand.V

    Hello Siddharth,
    Thanks for your thoughts.
    In our case we have a single backend system connected to EP which is running on ECC 6.0 EHP4 EHP Stack 04.
    Our SAP_APPL release is 604 and SP 04, so our BP MSS combination is BP_ERP5MSS  1.41 SP4 which is correct as per SAP.
    Please let us know what could be done now in order to get the missing Emergency contact iview.
    Thanks in advance.
    Regards,
    Yoganand.V
    Edited by: Yoganand Vedagiri on Oct 8, 2010 9:57 AM

  • How to change validity for relationship contact person - BUR001

    Hi group,
    I need to be able to change the from and to date from the relationship category BUR001 (Contact Person). The system automatically sets the FROM as 01.01.0001 and the TO as 31.12.9999.
    I assumed the customizing for this is done in the relationship category settings in transaction BUBA. Setting its value to 2 or 4 should do the trick and does the trick for any other relationship category, but NOT for the contact person category. Of course I need to be able to change this one and not other types
    I am sure this problem has been encountered before. Please provide me with suggestions. Again: BUBA settings do not solve my problem for specifically this relationship category.
    Thanks in advance! Useful answers will be rewarded.
    Kind regards,
    KZ

    Hi there,
    We can creat a relationship category of contact person with validity period.then use this relationship category while you assign the contact person to the main Business partner.

  • Move Mailboxes from Exchange 2007 to Exchange 2013 (Could not find a valid mailbox migration for esta organization)

    Hi all, I am in full migration from Exchange 2007 to Exchange 2013 and everything went correctly.
    I have migrated several mailboxes and are working well. But a few days ago, when I try to migrate a mailbox I get the following error and can not migrate:
    "Could not find a valid mailbox migration for this organization"
    Do you know that you can be?
    regards
    Microsoft Certified IT Professional Server Administrator

    Hi,
    From your description, the issue should be related to the migration mailbox. I recommend you check if the following account is existed in ADUC.
    Migration.8f3e7716-2011-43e4-96b1-aba62d229136
    If this account does not exist, you need to run setup /prepareAD and then enable this migration mailbox to check the result.
    Hope this can be helpful to you.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Amy Wang
    TechNet Community Support

  • ESSMSS Scenario General Information - Emergency contact details

    Hello All,
    We have a scenario where in SAP ESS\MSS Portal , In MSS Tab --> Team --> General Information Page (Personal Data iView) , I am unable to view Emergency contact details Fields.
    Even using iView Personalizations options I am unable to view the respective Information details .
    On the bacckend I can see the details being avalable for the employee.
    Requesting to some suggesstions and thoughts here on urgency.
    Regards,
    Ronniee.

    Hello All,
    Adding to the scenario above. On one landscape we see in MSS --> Team --> General Information.
    On
    Emergency Contact details.
    NA Number
    Working Time :                                                      Next Week
    whereas in working time we need the days of the week along with the working hrs.
    Can anyone tell us if anything needs to be activated for the same. Or is it just a custome thing that we need to add on the respective standard object?
    Regards,
    Ronniee.

  • Emergency Contacts in Oracle HRMS

    Hi,
    We are in process of extracting data from Oracle HRMS and send it to ADP.
    We have to pull Emergency contacts details for a person.
    I can see the table per_contact_relationships, which stores the person_id, contact_person_id, contact_type.
    But where do I see the relationship for that person?
    Suppose if I have person_id as 123, and contact_person_id as 789, and contact_type = 'EMRG',
    I want the relationship between these two persons, like Spouse, Child, Daughter etc.
    Which table stores these relationships?
    Please clarify...
    Thank you,
    Edited by: user7995362 on May 29, 2011 10:20 PM

    Hi
    CONTACT_TYPE column of table per_contact_relationships stores the Relationship between employee and contact.In your example 'EMRG' is Relationship between employee and contact.
    If you query for Spouse then you will see the contact type='S' for spouse.
    HTH
    Gaurav

  • Year End-Notes Emergency Contacts

    We have applied all the 2011 year-end notes and have discovered an error  It looks like anyone listed as an emergency contact on the family member dependent Infotype 0021 now appears as an emergency contact on the Health Insurance infotype 167 with a red error. Any suggestions or notes pertaining to this error?
    Thanks,
    Kawana

    What Country's Year-End Note(s) are you referring to ?
    On what version are you on ?
    I don't know for other Countries, but the Canadian Year-End Note will not be available until December 1st.
    We are currently in the process to apply the Baseline Support Packs (SAPKE60062 to SAPKE60074)  to be ready for the Year-End Note.

  • Emergency contacts in an Organization

    Is it possible to maintain emergency contacts for an Organization? This is very different from what is maintained in the infotype 0021 (Family Member/Dependents) and sub type 7 (Emergency contact), which are maintained for an employee.
    What I am looking for is to maintain emergency contacts at organization level, whom the employees can contact, in case of a fire accident or any other emergency in the workplace.

    Hi ,
    u can try this solution/suggestion...
    u can create a Z relationship and map the relation ship with employee (whom is resposible for the fire and other emergency activities) and orgunit.in the dhoc query or zreport you can get those contact numbers iof the employees to orgunits...
    if the emergency contact person is not a employee of the company(contract) --data not maintained system..then it will be problem..
    my question for you where do you wanna display these emercy contact information...
    if you want to display this portal..
    then try for the adhoc query to retrieve the employee info..and create a transaction for the adhoc query with a variant.
    then create a iview for the tcode....and map the iview to the ess role

  • Incase of emergency contacts

    Hello and good morning , I am a new Iphone user , been on the Android platform for many years and i see something that appears to be lacking on the Iphone , my last two droids had an I.C.E. contact list , In case of emergency contacts , if something happened to me and the ems crew saw my phone they could check to see who to call in case something happened , so is it something maybe hidden that i dont see or is it just not installed on the phone and if its not does anyone else think this would be a good feature ? ,,thanks and have a good day ...Tim

    You can put any contacts you want in the Contacts app and call them "I.C.E.".
    Another trick would be to put all the contacts you'd like called in a note in the Notes app, take a screen shot of that note by tapping the Home and power buttons simultaneously and then using that picture as your lockscreen wallpaper. This would make the information available even if the phone was locked with a passcode.
    If you want to make suggestions to Apple, use the Feedback page:
    http://www.apple.com/feedback
    Best of luck.

  • Error: SPSecurityContext.WindowsIdentity: Could not retrieve a valid windows identity for NTName='

    I'm getting the following error, but it only seems to happen with my 'admin' id.  At our company we have a regular user id that we use for daily use that has our email attached to it, and then we have an admin id that has elevated privileges on the
    various systems.
    I haven't found any trace of this error appearing for anyone else in the system, only for my Admin id.  I don't know if it has something to do with not having an Exchange account set up for it, or if there is something else missing.  In searching
    for this error I can find lots of references to Kerberos, but we don't have that running at this company.  I'm not sure why it says Kerberos in the error message.
    Any ideas?
    THanks.
    Ted
    P.S.  Here is the error:
    SPSecurityContext.WindowsIdentity: Could not retrieve a valid windows identity for NTName='Domain\ID', UPN='[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
    WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access
    the service.   
     at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity)    
     at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid)    
     at SyncInvokeUpnLogon(Object , Object[] , Object[] )    
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)    
     at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)    
     at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)    
     at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)    
     at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
     

    Hi Ted,
    What operations(e.g. create a site?) are your performing with your "admin" account, when you are getting this error?
    Please check the following article with similar posts, e.g. grant the admin account proper permissions, or modify the config file (please back up the original file in a safe place for recovery in future), etc., let us know results.
    http://onefootinthecloud.blogspot.jp/2012/01/save-template-error-no-windows-identity.html
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/efb39291-857c-4a85-b244-56712f11430a/sharepoint-2010-migrated-to-claims-strange-error?forum=sharepointadminprevious
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b4d06b64-a713-480e-a00c-d02a466ad891/claims-to-windows-token-issue?forum=sharepointadminprevious
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • How to add a secondary emergency contact in ESS My View

    Hi,
    We received a request from our Business to add a secondary emergency contact in the ESS under My View -> My Personal information -> Emergency contact. I know that SAP provides subtype 7 for infotype 0021 to store the Emergency contact information and the service PZ18 for adding the same in ESS Portal Iview. But this allows us to store only once emergency contact information. Changing time constraint in order to add multiple emergency contacts is not a soultion because the client did not agree for that. We are planning to create a new subtype (90) for the infotype 0021 in R/3 to store the secondary emergency contact info. But how do I link that subtype to the ESS IView? The standard IView is only picking up subtype 7 and not the custom one (90). Do we need to create a custom IView for this? Or do we need to modify any BAPI/BADI for this? Any idea/suggestion is highly appreciated.
    Thanks,
    Best Regards,
    Mausumi Ray

    >>Also, in that case they won't be able to differentiate beween primary and secondary emergency contacts..
    1. You can enahnce the infotype in PM01.. ie add a custom field that can be maintained as '1' for Primary & '2' for secondary..
    Youcan restrict the users from going beyond 2 via the Infotype user exit ZXPADU02 or BAdI HRPAD00INFTY..
    >>For the ESS part.. I don;t think you need to touch the ITS.. at least not if you are on 47.. You can copy the service PZ18 into a custom version & modify the HTML templates as needed.. You will also have to copy the function group associated with PZ18 & make changes to the underlying function modules to read & store the new field..
    ~Suresh

  • Emergency Contact Report (MSS)

    Hi,
    I have copied and modified the SAP query Family members. I have added the infotype 106 to get telephone number of all emergency contacts of given personnel number.
    The problem is the query returns duplicate records if given personnel number has more than one emergency contact as if it is returning the cross product of infotype 0021 and infotype 106.
    Is here is way to fix this by picking only the corresponding telephone number from infotype 106 for the emergency contact in 0021.
    The purpose is that managers should be able to see their emergency contacts of personnel reporting to them in MSS.
    We are using version SAP ECC 6.0 and EP 6.0 with Business package ERP 1.0 (for MSS).

    This is a common problem, you will definitely get duplicate records and apparently there is no solution but ABAP. You have to create custom fields and put ABAP code behind them instead of code at record processing level. I have encountered same problem a year back and ended up coding in the infoset after a lot of research. You can refer to my blog to write custom fields: /people/shafiq.rehman3/blog/2008/06/16/sap-adhoc-query-sq01-sq02-sq03

  • Slide for emergency

    My iphone is stuck at slide for emergency though it was working till date. I bought this Officially unlocked iphone from UK and I am in India for last one year. It was working fine and today it stopped working.
    Error message displayed:
    There is a problem with your IPhone
    We are sorry the iphone you connected is not recognized and cannot be activated for services. We recommend you visit your nearest Apple Store for more information.
    I have tried DFU 3-4 times but of no use.
    Can you please guide me as phone is bricked.

    You say you bought 'Officially unlocked iphone from UK'.
    Where did you buy it and who unlocked it ? I ask as we have about one person a day here saying they have an officially unlocked iPhone bought in the UK which turns out not to be from the UK at all.
    Its probably awaiting a valid SIM card from the original country and being activated with account details, which you would not get unless you had it on its original network.

Maybe you are looking for

  • How to Modify Smartform Methods in CRM 5.0

    Hi,    I have to modify the CRM Sales Order Smartform which requires adding new fields to the existing layout,for which I will have to modify the Method .Kindly help me and provide me with a solution to populate new data in the standard layout. The C

  • Re: Windows Vista Ultimate 32-bit FN key and Bluetooth crash

    I have an old problem with FN key. I installed Vista and after a while, it stops working. In Windows, when I press the FN key it freezes about 3 seconds, a blue screen appears that tells me Vista has crashed, a memory dump begins and then the laptop

  • Can't disable FTP

    My organization prohibits anonymous FTP connectons on our network. Every other HP device we have can have FTP services disabled via the web administration or via telnet command. However the Digital Sender Flow 8500 fn1 doesn't seem to have either abi

  • InDesign 5.5 file conversion to CS5

    Sorry for the inconvenience to you all. Could somebody help me converting An InDesign 5.5 file in InDesign CS5 if a place it in my dropbox? I get the missing plg-ins pop up window. It is very important. Thank you so much. Fokion

  • Business Process Repository not displaying data for 4.7 systems

    Hi All, Having a bit of an issue finding any 4.7x200 related stuff on the Business Process Repository on solar_project_admin, I checked an this should be related to the ST-ICO patch but im in ST-ICO 150-700 patch 17... Any ideas? System is SolMan 7.0