ESS Address Overview - Modify BizCardsView

Hi,
I'm having trouble with the following scenario:
For sybtype of 4, display BizcardField3 and BizcardField4.  For other subtypes, display BizcardField1, BizcardField2, BizcardField3, and BizcardField4.
I tried the following in the wdDoModifyView with no luck:
If (wdContext.currentSubtypesElement().getSubtype().equals("4")){
                        fieldInfo = new BizcardFieldInfo[] {          new BizcardFieldInfo(bizcardField4, "Areac"),
                                                                                new BizcardFieldInfo(bizcardField3, "Telnr")};
                else{
                        fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Stras"),                                                                               
new BizcardFieldInfo(bizcardField2, "Ort01"),
                                                                                new BizcardFieldInfo(bizcardField4, "Areac"),                                                                               
new BizcardFieldInfo(bizcardField3, "Telnr")};
                wdThis.wdGetFcPersInfoInterface().CreateOverview(                                                                               
wdThis.wdGetContext().nodeInfotypeList(),                                                                               
view,                                                                               
fieldInfo,                                                                               
"Anssa");
I also tried using  - wdContext.currentInfotypeListElement().getAnssa(), as well.
Any help is greatly appreciated.
Thanks.
Duke

Hi Duke,
(Please neglect the last post).
I had a quick look at the  BizcardView of DC VcPerAddressUSOverview. The context of this view has "Subtypes" as table parameter. In the method wdDoModifyView please try putting If Else condition on the Subtype to meet your business logic.
something like this:
Like if subtype == "01"
String bizcardField4 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField4");
fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Stras"),
else if subtype == "02"
String bizcardField4 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField7");
fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Stras1"),

Similar Messages

  • ESS  Address service for international employees.

    Hello All,
    We recently upgraded from 4.6c to ECC5.0 as part of this we upgraded our portal from ITS to webdynpro. We have ESS for US employees only. There is a employee who moved from Singapore to US. He is unable to update the address to US, So I updated the address in the SAP system from PA30 to US address. But the user when loggin in is still seeing the same error. The error details are as follows. Can anyone please help, this is very urgent!!!! This employee is one of the directors.
    Error log:
    Critical Error:
    Invalid partial field access: Length too large, error key: RFC_ERROR_SYSTEM_FAILURE .
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Invalid partial field access: Length too large, error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.per.us.address.fc.FcPerAddressUS.readRecord(FcPerAddressUS.java:242)
         at com.sap.xss.hr.per.us.address.fc.wdp.InternalFcPerAddressUS.readRecord(InternalFcPerAddressUS.java:604)
         at com.sap.xss.hr.per.us.address.fc.FcPerAddressUSInterface.readRecord(FcPerAddressUSInterface.java:150)
         at com.sap.xss.hr.per.us.address.fc.wdp.InternalFcPerAddressUSInterface.readRecord(InternalFcPerAddressUSInterface.java:229)
         at com.sap.xss.hr.per.us.address.fc.wdp.InternalFcPerAddressUSInterface$External.readRecord(InternalFcPerAddressUSInterface.java:305)
         at com.sap.xss.hr.per.us.address.overview.VcPerAddressUSOverview.onBeforeOutput(VcPerAddressUSOverview.java:239)
         at com.sap.xss.hr.per.us.address.overview.wdp.InternalVcPerAddressUSOverview.onBeforeOutput(InternalVcPerAddressUSOverview.java:264)
         at com.sap.xss.hr.per.us.address.overview.VcPerAddressUSOverviewInterface.onBeforeOutput(VcPerAddressUSOverviewInterface.java:158)
         at com.sap.xss.hr.per.us.address.overview.wdp.InternalVcPerAddressUSOverviewInterface.onBeforeOutput(InternalVcPerAddressUSOverviewInterface.java:140)
         at com.sap.xss.hr.per.us.address.overview.wdp.InternalVcPerAddressUSOverviewInterface$External.onBeforeOutput(InternalVcPerAddressUSOverviewInterface.java:224)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:503)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:471)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:179)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:95)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:347)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:382)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:618)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Invalid partial field access: Length too large, error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.per.us.address.model.HRXSS_PER_P0006_US.hrxss_Per_Read_P0006_Us(HRXSS_PER_P0006_US.java:302)
         at com.sap.xss.hr.per.us.address.model.Hrxss_Per_Read_P0006_Us_Input.doExecute(Hrxss_Per_Read_P0006_Us_Input.java:137)
    Message was edited by:
            chakri somisetti
    Message was edited by:
            chakri somisetti

    Hi,
    following are the processes which can be done from manager.
    Absence Days ,
    Accounting ,
    Appraisals
    Approve Plan
    Approve Time by Manager
    Attendance Overview
    Change Plan for Employee
    Communication
    Company Property
    Compensation
    Compensation Additional Link Sample
    Cost Distribution
    Cost Distribution
    Create New Candidate Assessment
    Create New Requisition Request
    Create Plan for Employee
    Data Tracking
    Dependents
    Display Plan
    Display Process Details
    Employee Group
    Employee Search
    Entries
    General Data
    General Description
    HCM Process Overview
    Holders
    HRAS Process
    Illness Costs
    Illness Rate
    Leavers
    Long-Term Incentives
    Long-Term Incentives
    LPA Reporting
    Message Box
    Monitoring of Tasks
    Monitoring of Tasks
    Open Processes
    Organizational Assignment
    OrgChart Tester
    Overtime Costs
    Overtime Rate
    PCR Direct Launch
    Performance Management Document
    Personal Data
    Personnel Change Request
    Photo
    Photo
    Planning Transfer
    Position Description
    Position Requirements
    Position Search
    Private Address
    Process Overview
    Profile Matchup
    Qualification Details
    Qualifications
    Qualifications
    Recruiting Questionnaire BSP
    Recruiting Requisition: Status Overview
    Recruiting: Candidate Status Overview
    Related Activities
    Display Personnel File)
    Related Activities Launcher (Search Processes)
    Related Activities Launcher (Start Processes)
    Reminder of Dates
    Reporting
    Reporting BW
    Reporting CR
    Reporting IAC
    Requirements
    Salary Data
    Salary Data
    Salary Development
    Start Processes
    Status Overview
    Status Overview for Personnel Change Requests
    Team Calendar
    Training Activities
    Training Event Details
    Vacancy
    Working Time
    Working Time
    for more information log in the system with the super user goto
    Content Administration -> Portal Content -> Content Provided by SAP -> line_manager -> Manager Self-Service

  • ESS Address screen comm fields

    Hi,
    We have permanent address screen in ESS which requires communication fields com01,com02,com03 and num01,num02,num03.
    For few countries, standard fields are available in backend but could not locate the same standard  fields in iview personalisation.Then we tried to pass the standard field values in backend to custom fields in portal structure HCMT_BSP_PA_*_R0006(* is country code) in BADI HRPAD00INFTYUI.But this is also not working.
    why is the standard fields absent for few countries in portal and is there any way to bring standard fields?
    Is it possible to use standard in backend and custom in portal side as mentioned above.
    Please advise.
    Thanks
    Ambily
    Edited by: Ambily R on Jul 5, 2010 2:06 PM

    Some countries may not have Communication fields as standard and also even if COM fields are available for your country you need to ensure you are operating the required stack.
    For example a UK employer might have a UK based employee using ESS Address
    however in order to have COM fields as per note 1095890 --> SAP ERP SP Stack 11 is recommended
    Unfortunately if your country or your version and SP level does not have COM fields as standard then you need to be able to develop a new ESS service or modify the exsiting one - this requires complete knowledge of front-end Webdynpro JAVA UI
    and back-end function modules/business logic.
    If you want SAP to deliver COM fields for your country - I would recommend a development request as
    per www.service.sap.com/rollin or to raise the issue via the relevant sapuser group meeting (as per the new procedure
    documented @ /rollin)
    Best wishes
    Stuart

  • ESS Address Service - Area Code in Telephone Number Defaults to 000

    Hi Gurus -
    Our business noticed that when creating a new address using the US ESS Address service, the area code defaults to 000 in the telephone number (field AREAC) if there is not a value already in that field. Has anyone else's business complained about this? Does anyone know how to get rid of that default?
    Any help would be greatly appreciated.
    Thank you,
    Mark.

    Hi Shikhil,
    Thank you for your response. We have not modified the address infotype in the backend R/3 system and do not want to modify it. Are you saying that a modification to the table 0006 would be needed and make it CHAR instead of NUM for AREAC?
    Thank you,
    Mark.

  • How to Set the Visibility of a field in ESS Address view through portal

    Hi experts,
      I want to set the visibility of a field in ESS Address view through portal.How to edit a field through portal? Please help me with procedures to be followed..
    Thanks&Regards,
    Karthik.

    Hi,
    Login to portal with a user having content administration role.
    Navigate to your iview which must be under content provide by SAP(if its a standard iview).
    Open the iview and click on preview button.
    Then press ctr on keyboard and rightmouseclick on the field for which you want to change.
    A popup will open. Change the visibility in the popup and save the changes. This is a way of personalization and it'll be applicable for all the users.

  • Regarding ESS Addresses application

    Hi,
    We are using EP 7.0 and implemented ESS/MSS.
    Now they have activated Com01, Num01 fields of Infotype 6(Adresses).
    But these fields are not visible in the Addresses application of ESS.
    For example if I add these entries in Permanent address type, these fields are not displayed in Portal,
    Is there any configuration available in the ECC to make these fields visible in portal ESS application also since these fields are standard or do we need to go for customization.
    Any idea on this will be highly appreciated.
    Thanks and Regards,
    Vivek.

    Hi,
    In order to add the required fields in the ESS Addresses application,  we need to add those fields in the following structure of the country specific function module HRXSS_PER_EDIT_P0006_XX where XX u2013 defines the country code(say de- germany, fr-france) 
    Structure: HCMT_BSP_PA_XX_R0006  where again XX u2013 defines the country code
    After changing the structure you need to restart the portal for this to reflect and use the below mentioned link.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable
    After that you need to enhance the BADI   HRPAD00INFTYUI   for the input conversion ans output conversion.
    Please let me know for further clarification.
    Regards,
    Vivek,

  • Is there screen control at the Subtype level for ESS Address in ECC 6.0?

    Hello Developers,
    The Dynpro view for adding/maintaining ESS Address information requires certain fields to be entered regardless of the type of Subtype (ex. Permanent Address or Work Address).
    It's ok for our Permanent Address subtype to require certain fields such as City, State, and Postal Code, but we don't want these same fields to be required for our Work Address subtype.
    Is there a way to control this for individual subtypes?
    Thank you,
    Terry

    Thank you Shikhil,
    This was already tried and didn't work. 
    Running a debug session, I can determine that the message is coming from the back-end SAP system.  I can also see that these fields are flagged as Required on the back-end but due to the complexity of the code I haven't been able to determine what table this is read from. 
    The IMG view for "Infotypes - country-specific settings" apparently doesn't control this either but I'm hopeful that there is a screen control that will allow me to remove the "Required" setting.
    Terry

  • ESS: Addresses check on postal code based on country

    Hi,
        We have implemented ESS addresses for non standard country by reusing the existing application.
        One of the requirement is to enforce postal code validation based on the selected country (for specific subtypes).
        Is this validation applies by default or we need to do any customizing / enhancement ?
    Thanks & Regards,
    SuresH.

    Usually which country you resuse, those checls are avalable automatically
    You can also do so using CL_HRPA_INFOTYPE_0006_XX SPECIFIC_COMPUTATIONS
    xx for country you are using
    or check here too V_T005_BAS

  • ESS  Address change - customizing

    Hi ,
    Can anyone tell me where to look for the country specific screens for the ESS address change.
    Thanks in advance.
    Regards,
    Bharat

    Hi Bharat, 
    If you are asking about the front end screens, then each country has it own DC,say for example,US addres application has a DC called 'essusaddr', similarly Japan will have a DC 'essjpaddr'.
    Hope this helps..
    Regards,
    Sharadha

  • ESS Address - Postcode

    Hi All,
    We have a requirement coming in from the client to default the fields in ESS -Address (for UK/GB), based on the user input post code using the available post code mailing list.
    Do we need to go in for an entirely new custom development or this could be achieved by any other way.
    Any suggestions are welcome.
    Thanks,
    Harshal.

    Sorry, default the field would mean default the field values based on the Post Code selected.
    This is similiar to may web based applications (in UK that I have seen example :Council Tax payments wherein one can mention the Post Code and is presented with the house numbers available at that postcode)
    The question is, can this be achieved by configuration (somewhere) or there is a dire need of a custom implementation.
    Not sure if someone has implemented the same using Royal Mail Mailing List.

  • ESS addresses dropdown UI element behaviour?

    Hi,
    On the ESS addresses screen we have a roadmap buttons like previous, review, save.  When I view the address screen I see country dropdown defaulted to readonly mode to the correct country full name(e.g. Australia) then I click on Review button I see "AUS" as the country selection in the Review screen then I click Save the values are correctly saved in the backend. 
    The issue is when I click Review button and then click previous button I see AUS on the country dropdown UI element not full country name (e.g. Australia), then I click Review button I get error message saying "Country key AUS is not defined", obviously the reason I think is that key is set in the value dropdown by standard SAP coding.  What can I do here to fix this?  Is this OK to change because I'm trying to correct the standard coding here?  Please suggest if this is something easy to fix?
    I have already made some customisation to addresses screen, so there is not a problem if this is a easy fix to resolve.
    Thanks
    Praveen

    Thanks.  Resolved by setting the initial Australia country code to the new context attribute and then in the modifyview method set this context value always to the dropdown selected key.  Looks like this is a bug in the standard DC.
    Thanks
    Praveen

  • How to customize the ESS - Address task

    Hi all.
       Our customer find the ESS - Address task have the different field sequence display in R/3 pa30.
       Is there some configuration , or I have to re-develop the whole task ?
       If re-develop the whole task, where can I find the source code and documents ?

    You will have 2 parts:
    (1) Customize the ESS ITS service. To do so, follow typical ITS IAC programming. I could go into detail here, but the Help.SAP.com information for ITS (found under Basis components->front-end services) is very good and gives tutorials for the various programming models. Bascially, you will have the ITS service and also the ABAP transaction to possibly customize depending on your exact need. Create your custom service, publish it to ITS and viola....ready to go. From here, you can test it by calling the ITS service directly instead of going through the portal....calling via the portal is step #2....
    (2) Next, you will need to copy the existing standard iView or create your own and point it to your new "Z" version ITS service instead of the standard one.
    That will do it. It gets much more interesting with the newer WebDynrpo ESS services, but let's save that discussion for another day. haha

  • ESS equipment overview

    Dear All,
    I am configuring ESS equipment overview service. I have done the required configurations in the backend which includes BADI FCOM_EQM_EQUI_USER implementation. I have created a zimplememtation for this BADI
    But when i click on the service in Portal, it just hangs, showing nothing. Also, one more thing, i have given an http breakpoint in the BADI implementation. But it dosent stop at the break-point.
    We are EP7, ECC 6.0 system.
    Can anyone please advice
    Regards
    Reshma

    Hi All,
    I activated rfc trace for this in st05 and then ran the service Equipment Overview. It comes into r3 inside a function module SYSTEM_RESET_RFC_SERVER at the statment CALL 'RFCControl' ID 'CODE' FIELD 'K'.And then goes out of the r3.The portal seems to be hanging.
    Can anyone please provide some input on this.
    Thanks and Regards
    Reshma

  • Communication Types missing from ESS Address screen

    We are using the standard Web Dynpro iView for Address (under Personal Information) for ESS.  However, there are no fields on the screen for the Communication Type fields that are on infotype 0006 (P0006-COM01, P0006-NUM01, P0006-COM02, P0006-NUM02, etc.).
    Is there some type of configuration that has to be entered on the iView properties to assign the communication type to each P0006-COMxx value (such as COM01='CELL')???
    Any help would be appreciated!  I haven't been able to find anything in OSS or here in the SDN forums that explain how you make the Infotype 0006 Communication type fields available in the Web Dynpro app.
    Thanks!
    Shannon

    Thank you for your answer!
    I have an SAP PDF presentation named "The New Architecture of Employee and Manager Self-Services (ESS & MSS)" which has a screen shot of the ESS Address screen.  In this document, the screen shot shows an input field for "Cell Phone".  (This presentation is showing the newer Web Dynpro screens, but I do not see a reference as to which ESS business package was used for the screen shots.)
    When I saw this screen shot from SAP, I thought that maybe there was a way to include the communication type fields by defining somewhere which communication type should be used for each field (suchas COM01=CELL,COM02=FAX1, etc.)
    If anyone else has actually seen the Communication Types on the screen, just as the SAP presentation shows, please let me know!  I am curious if these were shown in a earlier release of the ESS Web Dynpro apps.

  • ESS Address Zip code textbox problem

    Hi Experts,
    throught NWDI , i dont the postion changes for Zip code and Country in ESS Address field. i deployed to DEV it is working fine. When i deploye the same in QA Portal. Zip code textbox is not in the same Row.
    Please let us know why Zipcode Text box field lable is not appreaing in same Row of Zip code label.
    Thanks,
    Srinivasu.Y

    Hi ,
    I found the Address page is pointg to wrong ivew, i replace with SAP Standard iview. Issue resolved.
    Thanks,
    Srinivasu.Y

Maybe you are looking for

  • The right external drive for my configuration

    I am looking to get an external hard drive for backup purposes and also to extend the storage space of a sorely limited Powerbook G3. It has a 6GB hard drive. In other words, you can't use it for anything except the internet and a few documents! I've

  • Tax calculation in material  management procedure

    Hai, i have assigned the tax calculation type TAXINN procedure. . Material pricing procedure RM1000. In this NAVS tax detutable condition type is there. I have also Maintained TAXINN calculation procedure, there i am having MWVS condition type for in

  • Executing procedures concurrently

    Hello All, I am trying to execute the following procedure and got the errors...can anybody please help me out 1 CREATE OR REPLACE PACKAGE BODY SCOTT.PKG_TRY_PAR IS 2 PROCEDURE try_par(num1 IN NUMBER, num2 IN NUMBER) is 3 begin 4 for i in num1..num2 l

  • Pro*C,Visual Studio 6 Error LNK2001 on _sqlcxt

    Hello, I have a problem in Visual C 6. After having precompiled a source with Pro*C,i want to compile with the IDE, but where is the error : error LNK2001: unresolved external symbol _sqlcxt Anyone knows how to solve this problem ? Thanks.

  • Rights managment off line permit question

    I set a policy to allow off line for 2 days as well as an off line permit for a group with in the policy. Then I opened it and checked the policy, and found it set correctly. When I tried to open it again off line it gave me a message that the comput