Code for Family Members Detail screen

Hello,
I am on EP7.0,NW04s and ERP05 and want to modify the ESS Family Members Detail(Edit Spouse) screen wherein I want to make the Social Security Number as a mandatory field like First and Last name ...but I wonder where to find the code writeen for these validations ... so that I can add my code for SSN...
Any help would be highly appreciated.

Hi,
If your requirement is making an input field as mandatory input field then for this validation you can follow the following procedure..
1> Add an entry like the following in your Message Pool.
MISSING_INPUT as Message Key, Message Type error, must be enterred  as Message Text.
2> Add a method called checkInputValues as follows for validation as follows
  public void checkInputValues( java.util.ArrayList attributeCollection, java.util.ArrayList fieldNames )
    //@@begin checkInputValues()
     IWDMessageManager messg = wdComponentAPI.getMessageManager();
String strValue=(String)wdContext.currentCalIDSHDtailsElement().getAttributeValue(attributeCollection.get(0).toString());
          if(strValue==null || strValue.equalsIgnoreCase(" "))
               messg.reportContextAttributeMessage(
               wdContext.nodeCalIDSHDtails().currentCalIDSHDtailsElement(),
               wdContext.nodeCalIDSHDtails().getNodeInfo().getAttribute(attributeCollection.get(0).toString()),
               IMessageTpcalender.MISSING__INPUT,
               new Object[]{ fieldNames.get(0) },
               true);
    //@@end
3> Add another method  in your View that will use the validation code on Submit and add the following code in the method
public void onActionSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionSaveCalData(ServerEvent)
    ArrayList attList = new ArrayList();
    ArrayList fieldNames = new ArrayList();
     attList.add(0,IPrivateTpcalenderViewOne.ICalIDSHDtailsElement.FIRSTAME);
     fieldNames.add(0,"FIRST NAME");
    this.checkInputValues(attList,fieldNames);
    wdComponentAPI.getMessageManager().raisePendingException();
    //@@end
if you use the above procedure you can perform the validation on a input field and if user does not enter any value and tries to submit the form then the input field will be marked with red color.. Hope this helps..
If you need further help let me know...
Please reward points if it helps..
Thanks
Avijit

Similar Messages

  • ESS - Family Members Detail screen

    Hello,
    I am on EP 7,NW04s, ERP 05 and tring to modify the Family Members Detail screen .I have already hidden some of the fields and moved some up and down but the Previous and the Review button and too far down because of the space created by hiding the fields ,how can I move these buttons up, since I don't see them in the Detail View Layout....
    Also I want to put a validation on the review button to make the Social Security Number field as mandatory ...I think I have to modify the ess~per application ....
    Any help would be highly appreciated.

    Hello Subhash.
    If you look at this thread:
    Floor Point Manager (FPM)
    You will find some links to documents explaining how to modify an ESS application.
    It should explain to you in these documents, that validation is completed in R/3 NOT in the Web Dynpro application - so modification of the application is NOT required.
    I hope this helps.
    Cheers,
    Chris

  • I have multiple lines for family members on my account. Can I still transfer upgrades between lines? I don't see the option any more.

    I have multiple lines for family members on my account. Can I still transfer upgrades between lines? I don't see the option any more.

    More everything. I have one line coming up on the 19th of this month and I'd like to transfer to another user with a later upgrade date. Just not seeing the option anywhere.

  • HT201080 How do I edit a family members details?

    How do I edit a family members details?
    I have set up family sharing in iCloud and accidentally saved an incorrect birthdate. Can I edit these details?

    Move their iTunes library to it, launch iTunes with the Shift key held down and choose it, log out of your iTunes Store account, and then into theirs. If the library contains rented movies, those won't play.
    (122612)

  • I am trying to use Find My Friends and I have been through troubleshooting 3 times. Why won't my location work? Everything is on but the 2nd screen in Find My Friends is grayed out, whereas my other family members 2nd screens are active?

    I am trying to use Find My Friends and I have been through troubleshooting 3 times. Why won't my location work? Everything is on but the 2nd screen in Find My Friends is grayed out, whereas my other family members 2nd screens are active? I have an iPhone 6 Plus, latest ios8, and yes my location says it is being shared, but it is not.

    Pyralus wrote:
    I decided to try and boot from the Tiger discs, but when I did, all I got was a screen that looked like a blizzard of pixels.
    The firmware was likely changed and it's not compatible anymore or the disk is bad.
    I was able to boot using the Snow Leopard disc from both my new MBP and my girlfriends MB, but both said that OS X could not be installed on this computer, and I couldn't even use the disc utility to wipe the drive.
    Those disks don't have the hardware drivers your machine needs.
    Your going to need to get a Snow Leopard retail install disk from Amazon/elsewhere.
    Do I need to have a serial number to reinstall OS X?
    Thankfully No.

  • Problem with Family members/dependents screen in ESS for Switzerland countr

    Hi All,
    We are checking standard Fmaily Members/dependents screen in Personal Information under ESS for switzerland and screen doesn't have some fields compared to what we see in pa30 for the same country.if we check for other countries ess portal screen and pa30 screen look similar.when we check switzerland country specific webdypro component layout is different from pa30 and some of the fields are missing.
    why is this inconsistency with only switzerland country and is there any note available for this
    Thanks
    Bala Duvvuri

    Unfortunately you have to, But since the fields are available in backend, It can be easily be made visible in the front end
    changing the properties of the field
    Do make sure you raise a development request if this indeed required by the customer, You can raise a OSS for it, But I am afraid answer wont be encouraging

  • Family Members Overview Screen

    Hello :
    We happen to use ESS family member iview for 'Emergency Contact'. When we implemented this, we only want 1 emergency contact. Therefore, in 'Family Members' overview iview, we somehow turned off repeating block (i.e. if multiple records coming back (more than 1 child), each record is displayed in a block).  Unfortunately, I don't remember what we did.
    Now, we need to have these blocks turned back on (as an ee can have several emergency contacts). We already config the proper use-case(T7XSSPERSUBTYPE) for this infotype on SAP back-end. However, I don't seem to find where to turn the repeating blocks back on  on portal site. I thought it would be in 'Preview', but don't see other repeating blocks in there.
    This causes ESS to error out when going to this iview, and there're more than 1 records to display).
    Appreciate any help on this.
    Rgds.

    Hi,
    in the table V_T7XSSPERSUBTYP
    Try to give following entries
    Cotunry
    08
    infotype
    0006
    Subtype
    0
    Use case
    A1 or A2
    Note : Please use your project specific country code .
    and try
    also you need to check the time contrarians for the same
    by following was you can do it.
    Go to SE16 and give the table name u201CT591Au201D
    In the selection screen give INFTY = 0009 and Execute ( F8)
    And check the time contrarian what is set for the subtype.
    At the same table you can set the time contrarians also.

  • ICal Color Coding for Family Members on on Master Calendar?

    I have a very detailed ical calendar for all the family members' activities & would like to view them with a different color per person on one single calendar. I am not clear whether creating a calendar per person in a group will allow me to then merge them to see one master calendar. Perhaps I'm mistaken in how it works but I do not want to toggle between 5 calendars each time I need to schedule something. Is it even possible to see them all on one master calendar with the color for each person in their individual calendar retained on the master? Can they all be merged? It would take hours if not days to re-create them - I'd also like to be able to make them viewable by my husband. Thanks for the feedback!

    Greetings,
    I have a very detailed ical calendar for all the family members' activities & would like to view them with a different color per person on one single calendar.
    iCal allows you to add multiple calendars (check boxes). Each calendar can have it's own color. Any event added to that calendar will have that color.
    I am not clear whether creating a calendar per person in a group will allow me to then merge them to see one master calendar.
    If you want to see all the calendars at once to see where events overlap, etc. you check off all the check boxes and you see all the events at once.
    In your scenario you would make 1 calendar for each person. Each calendar can be assigned it's own unique color. When you want to see what everyone is doing you just check off all the check boxes to turn on all the calendars at once so you can see the events all together (Holding down the command key which is the clover leaf or Apple key and then clicking on a check box will turn them all on / off in one shot.)
    The "Master" calendar as you say is iCal with all the calendars checked.
    Can they all be merged?
    If you have individual calendars (check boxes) and you would like to combine them you can do so by clicking on the calendar you want to merge and going to File > Export > Export. Save the resulting file to desktop. Go to that saved file and double-click. iCal will ask you where you want to put the events from that calendar. Choose the calendar you want to merge with and it will add all the events in.
    I'd also like to be able to make them viewable by my husband.
    You can share your calendars in a variety of different ways. In iCal go to the help menu and type in "Giving others access to your calendars" for a listing of options.
    Hope that helps.

  • Cutom T-Code for seding customer details thru IDoc Debmas

    Hi Experts,
    I have a requirment where in.. I need to send customer details thru IDoc from a custom screen which has cutomer text box and a submit button. After entering cutomer and clicking on submit debmas06 Idoc has to be triggered.
    I am not an ABAP expert... please help me with process on devloping the above reqirment.
    This is a critical requirment please help ASAP.
    Thanks,
    Suma

    Hi,
    u have to use standalone program..iam giving one sample code..aong with u have define the RFC (SM59,WE21(Create port),WE20(create partner profile,BD64 distribute model view)...u have to do..
    when u press on submit button,,,
    *& Report ZZ_Program_To_Create_Idoc
    report zz_program_to_create_idoc .
    tables: ekko,ekpo.
    selection-screen skip 3.
    selection-screen begin of block b1 with frame title titl.
    selection-screen skip.
    select-options s_ebeln for ekko-ebeln.
    selection-screen skip.
    selection-screen end of block b1.
    data: header_segment_name like edidd-segnam value 'Z1EKKO',
    item_segment_name like edidd-segnam value 'Z1EKPO',
    idoc_name like edidc-idoctp value 'Z19838IDOC1'.
    data: header_segment_data like z1ekko,
    item_segment_data like z1ekpo.
    data: control_record like edidc.
    data: messagetyp like edmsg-msgtyp value 'ZZ9838MESG1'.
    data: i_communication like edidc occurs 0 with header line,
    i_data like edidd occurs 0 with header line.
    data: begin of i_ekko occurs 0,
    ebeln like ekko-ebeln,
    aedat like ekko-aedat,
    bukrs like ekko-bukrs,
    bsart like ekko-bsart,
    lifnr like ekko-lifnr,
    end of i_ekko.
    data: begin of i_ekpo occurs 0,
    ebelp like ekpo-ebelp,
    matnr like ekpo-matnr,
    menge like ekpo-menge,
    meins like ekpo-meins,
    netpr like ekpo-netpr,
    end of i_ekpo.
    start-of-selection.
    select ebeln aedat bukrs bsart lifnr from ekko
    into table i_ekko where ebeln in s_ebeln.
    select ebelp
    matnr
    menge
    meins
    netpr
    from ekpo
    into table i_ekpo
    where ebeln in s_ebeln.
    control_record-mestyp = messagetyp.
    control_record-rcvprt = 'LS'.
    control_record-idoctp = idoc_name.
    control_record-rcvprn = '0MART800'.
    loop at i_ekko.
    header_segment_data-ebeln = i_ekko-ebeln.
    header_segment_data-aedat = i_ekko-aedat.
    header_segment_data-bukrs = i_ekko-bukrs.
    header_segment_data-bsart = i_ekko-bsart.
    header_segment_data-lifnr = i_ekko-lifnr.
    i_data-segnam = header_segment_name.
    i_data-sdata = header_segment_data.
    append i_data.
    select ebelp
    matnr
    menge
    meins
    netpr
    from ekpo
    into table i_ekpo
    where ebeln = i_ekko-ebeln.
    loop at i_ekpo.
    item_segment_data-ebelp = i_ekpo-ebelp.
    item_segment_data-matnr = i_ekpo-matnr.
    item_segment_data-menge = i_ekpo-menge.
    item_segment_data-meins = i_ekpo-meins.
    item_segment_data-netpr = i_ekpo-netpr.
    i_data-segnam = item_segment_name.
    i_data-sdata = item_segment_data.
    append i_data.
    endloop.
    clear i_ekpo.
    refresh i_ekpo.
    endloop.
    call function 'MASTER_IDOC_DISTRIBUTE'
    exporting
    master_idoc_control = control_record
    OBJ_TYPE = ''
    CHNUM = ''
    tables
    communication_idoc_control = i_communication
    master_idoc_data = i_data
    exceptions
    error_in_idoc_control = 1
    error_writing_idoc_status = 2
    error_in_idoc_data = 3
    sending_logical_system_unknown = 4
    others = 5
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    else.
    loop at i_communication.
    write: 'IDOC GENERATED', i_communication-docnum.
    endloop.
    commit work.
    endif.
    initialization.
    titl = 'ENTER THE PURCHASE ORDER NUMBER'.
    Regards,
    Nagaraj

  • ESS Family Members/Dependents Screen

    Using ESS 50.4,  HR 470 SP73,  EP 6.0
    In the Family Member/Dependent screen the Next and Previous buttons take the user back to the List screen.  We need for the user to be able to view the next family member such as when someone has more than one child.
    Is this an HR Functional setting or does the screen have to be modified?
    Please provide details of how to correct this problem.
    Thank you for your assistance and points will be awarded,
    Donna Maupin

    Hmmm still not following....so let me ask this.....at what point in this process would it fail...
    (1) user views list of dependents in table
    (2) user selects row (ie. clicks row selector to left) of the dependent they wish to select
    (3) user selects the "display/edit" button from below the table.
    (4) user is taken to next screen that displays the details of the selected dependent
    (5) user selects the "back" button (NOT browser back button)
    (6) user select another dependent in the table following stepts 2 and 3 above.
    (7) user views details of newly selected dependent.
    Is that not what you followed? If so and it still broke (only returned to first dependent in the list), I would say it was more likely a program error/bug. I know other user actions can cause issues (like double clicking on a row to select it) which might result in the wrong record being chosen....but nothing else I have seen seems to be like you described.

  • Program code and transaction code  for handling unit detail

    Developed a SAP Script for the Handling unit details. Handling unit details is a document which has the details of materials, packaging materials and the level of packing. This Handling Units details will be issued to the customer at the time of delivery.

    Hi,
    Goto NACE transaction code , there you select the application area then  it will give you the list  of output types then select specific output click processing routines then you will see the program name and  script used.
    Or esle goto SPRO tcode then you can find the functional tab there also you can get the details.
    Thanks,
    Aditya

  • T. CODE FOR PRODUCTION + SHIPMENT DETAILS.

    Dear All ,
                               Pl Help  me i want to know that is there any T.CODE by which user can get detail report for production of all it's products &  is there any T.CODE by which i can get detailed report of Shipment of all it's Products .
    Regards,
    SAP11

    Tables
    Shipping :
    VTTK          Shipment header
    VTTP          Shipment item
    VTTS          Stage in transport
    VTSP          Stage in transport per shipment item
    VTPA          Shipment partners
    VEKP          Handling Unit - Header Table
    VEPO          Packing: Handling Unit Item (Contents)     
    I guess you will find that in VTTK....
    Just Check via Tcode SE16 enter the table name and enter the document number, serch for the field...
    Regards

  • Do I need individual apple ids for family members?

    We are 5, each with either ipod touch or iphone. How do I keep track of it all and maintain sepatate music and apps for each device?

    Each family member needs to create their own Apple ID (for which each will need a different non-Apple email address). They can then each create their own iCloud account, but they will need either to be using their own Macs, or if they are sharing a Mac, each will need a separate User account.

  • For family members over 13, how can I require permission to purchase an app

    i am now using family share for my teenage boys.   It seems their Apple ids list them as an adult.  How can I make it so they are required to get permission when. Purchasing an app. Right now they are linked to my credit card but I do not get that alert,

    You would have to adjust their birthdays so they become child IDs.  If you want to do this, go to appleid.apple.com to manage the ID, sign in.  If you are using two-step verification on the ID, select the Name, ID and Email Addresses section, then change the birth date on the bottom right.  If you are using security questions instead of two-step verification, select the Password and Security Question and answer the two security question to access and change the birth date.  At the present time you can't just choose any birth date, but you should be able to change it to 1/1/2001, which will have child ID status.

  • How to set Function Code for Radion Buttons in Screen painter

    Hi,
    I have faced problem of grouping 3 radio buttons in screen painter (no graphical editor). How to do it?
    I have checked similiar threads in SDN, but those are for graphical editor.
    Radio Buttons in custom screeen
    http://****************/Tutorials/ABAP/Checkbox/page1.htm
    http://****************/Tutorials/ABAP/Checkbox/page2.htm
    Regards,
    Sukhbold

    Hi,
    U want to create radio button in the selection screen  then u can create like this
    PARAMETERS : c1 AS CHECKBOX USER-COMMAND cd,
    r1 RADIOBUTTON GROUP rad,
    r2 RADIOBUTTON GROUP rad.
    AT SELECTION-SCREEN OUTPUT.
    IF c1 = 'X'.
    LOOP AT SCREEN.
    IF screen-name = 'R1'.
    screen-input = '0'.
    screen-active = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ELSE.
    LOOP AT SCREEN.
    IF screen-name = 'R1'.
    screen-input = '1'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Thanks,

Maybe you are looking for