Generic service to populate fields in HCM Processes and Forms

Dear Friends,
  I am developing generic service to populate some fields in HCM Processes and Forms. Please let me know whether i need to develop a single service for each field in the form or is better to write one generic service for all the form fields.
Thanks in Advance

Hi Sapient,
By right, generic service means to be generic so that it can be re-used in any HCM forms thats needed the field/validation from the generic service.
Unfortunately in real situation, generic service are not reusable for some reasons:
- for the same field same field might have different validation in different form.
- there is dependency, example, to read special field
The key thing here is all about the design and planing before development. Whereby if you have all the info and requirement HCM form to be implemented(which you wont get it for most of the cases), and you have the overall view of all HCM to be implemented and you are able to plan ahead before coding, then you can design the generic service for each/related field.
If it is not the case, i would encourage to use 1 generic service for all the field in the HCM form. It would ease the team during support/maintenance phrase as well. For sample, please refer to HRMSSRCF_REQUISITION_ADVANCED for Create Requisition form.
This is my humble opinion based on my experience working on HCM forms. Please do comments and discuss.
regards,
Xiang Li

Similar Messages

  • SAP HCM Processes and Forms (WDABAP) - Implementation Cost

    Hello,
    As many companies are doing, right now we are defining budget for the next year.
    We expect to implement the HCM P&F based on WDABAP in the next FY but although we still don't have to much details on the feasibility or the scope, I need to provide an estimate cost of implementing the solution (licences, if applied, and consulting effort).
    Does anyone here already had the experience with the HCM P&F based on WDABAP and can share the metrics used to estimate the project cost?
    Thanks
    Daniel Kiel

    Well, First of all there are no licensing costs if you have already ESS/MSS, as Adobe P and F only requires licences Costs would come to be on how complex and how many forms you ll implementing? how many would be akin to standard and how much effort will they involve, these things will determine actual costs. refer here on the options you have, http://scn.sap.com/community/erp/hcm/employee-self-service/blog/2012/06/27/hcm-processes-and-forms-with-new-user-interface https://scn.sap.com/community/erp/hcm/blog/2014/03/18/hcm-processes-forms-why-pick-one-form-uiwe-have-options

  • HCM Process and Forms Generic Service Error

    I tried creating a generic service for HCM Process and Forms using enhancement spot HRASR00GENERIC_SERVICES. After I created a custom implementation I then added the filter value = ZH_FORM_HEADER (my generic service name/definition). When I try to go into the configuration and add the generic service and do the binding of the fields I get an error stating "Generic Service ZH_FORM_HEADER has more than one implementation." I have double checked and only one implementation is using that filter value and there are no implementations with a blank filter value that belong to this enhancement spot. Any suggestions on what could be wrong? I can create generic services and the implementations of the BADIs just fine in our sandbox just not in the development instance. Also, I have tried searching on OSS and SDN and couldn't find any messages associated with this problem.

    Hi :
    We are having a similar problem. Our generic service works OK in development system. But after we transport the service to Test system, the service haveing the error " Generic service XXXXXX has more than one implementation".
    Have you solved your problem? Can you tell us the solution?
    Best regards!
    Wayne

  • How to create Generic Service in HCM Processes and Forms

    Hi Friend's,
      Can you tell me what are the steps to create Generic Service in HCM Processes and Forms and also tell me how to link Generic service with BADI.
       In SPRO, I defined one customized generic service, but i cant able to implement the generic service to BADI. Moreover it's asking for Composite Badi Implementation name.
       So tell me the steps which guide me to create that.. Waiting for your replies....

    hi ramesh,
                      use HRASR00GEN_SERVICE_BASIC  create ur own.
    Madhukar

  • Default value in dropdown field for FPM form in HCM Processes and forms

    Hi Experts,
    I am developing HCM Processes and forms using FPM forms and I had a dropdown list contains ten values. So, every time while opening the form first time, my dropdown field should be defaulted with fifth value from the list. How can we achieve this in dropdown field related to FPM Form.
    Please guide me.
    Regards,
    Nayani.

    You would have to assign the default value to one your custom generic services.
    Regards.
    PS: There are posts which talk about generic services , make yourself comfortable with the concept of generic services.

  • HCM Process and Forms(HCM P&F) vs Internal Service Request(ISR PCR)

    Dear Experts.
    I am new with Personnel Change Request(PCR) in the portal Self-Service.
    I know that the new technology used for SAP ERP 6.0 is with HCM P&F.
    ISR is used for Realease 4.7(EP 5.0/EP 6.0).
    My question is:
    What requirements need a company for implement the PCR and HCM P&F?
    Where I do the configuration for the PCR and HCM P&F in theCustomizing or T.Code?
    Anyone know a book about the creation of HCM P&F ?
    Thanks in advance
    Regards
    Carmen Guerrero

    Hi Carmen ,
    Please refer this thread :
    [Re: HCM Processes and Forms Fundamentals]
    Hope this helps.
    Regards,
    Aravind.P

  • Use of Table in HCM Processes and Forms

    Hi Guys,
    I am developing an Adobe form for the HCM process and forms .My requirement is to populate table values in the adobe form   based on a value got in  the backend service.
    I tried declaring an internal table in the backend service but in vain.So decided to code inside the context of the form.But was not able to use the parameters available in the
    Now the trouble is how to get the value from the form scenario field and populate that table.
    Please provide your thoughts.
    Regards,
    Aravind.P

    Hello Aravind,
    Could you please tell us how you solved this ?
    Edited by: Gopi chelvam on Mar 24, 2010 6:13 AM

  • Regarding scripting in adobe HCM process and forms

    Hi Gurus,
    I am working on adobe HCM process and forms. Configuration has been done for HCM process and forms and I am getting the scenario stage level in the forms based on which I will give the visibilty to differenct levels of approvals in the form.Scripting has been done for that.
    When form is initially loaded, I am making invisible some of the fields. On choosing the drop down the value that I make invisible is visible again. I found that Scenario stage that I bound to the form attribute is getting cleared off, when drop down event is called. Drop down event calls the generic services to fill the drop down values. Drop down used is from ISR Controls from the library.
    The scripting that I used in the drop down event is as belows
    if (xfa.form.data.Page1.FORM_SCN.rawValue == "INIMGR_LVL1")
      xfa.form.data.Page1.DE.DEContent.HR_VIEW.presence = "invisible";
    xfa.form.data.Page1.FORM_SCN.rawValue  this is getting cleared off. Form SCN is the field in the form where in which I bound the attribute scenario stage.
    Pls help me on this.
    Regards,
    Krishnan  Paramasivan

    Solomon,
    Thanks for the earliest response. can you explain me in detail. Where to check/select the form scenario stage field to be passed over. In scripting the coding written as below:
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "DD_GET_POSITION";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    DD_GET_POSITION is the event created in generic services and used in the user events in the form scenario stage in HRASR_DT.
    Any further guidance on this ?
    Thanks in advance.
    Regards,
    Krishnan

  • HCM Process and Forms & Global employee management

    Hi all,
    I would to know if anyone of you experience in implementing HCM Process and forms for Global employee management(GEM).
    I would like to know the difficulties or challeges .
    How the forms will work.
    Means if i have created a form using Personnel number without GEM.
    Later if i Implement GEM.do i have to Change the form ?
    Does P&F has any option choose the employee based on personnel id anywhere or we have to use personnel number and process as existing.
    what could be stuctures for each infotype which are country specific .
    Please share your experience on this.
    Regards,
    Nachy

    Forms and processes are enabled for CE/GE.
    what process you would lile to do ?
    refer HR_PA_US_ADDL_CONTRACT sample process  and note 1366872
    1) The central person id of the existing (reference) pernr should be
       read with the help of a generic service and this should be made
       available for the SAP_PA service so that a new central person is not
       created. This should be set in the field CENTRAL_PERSON in the
       form scenario.
    2) An explicit operation on IT0709 should not be defined in the
       infotypes and operations of the design time tool. This is
       automatically handled by the infotype framework through the data
       sharing mechanism (table T582G). Kindly ensure that IT0709 is
       enabled for data sharing and please remove it from the process.
    3) The reference pernr data and the shared infotypes must be read with
       the generic service only (refer to note 1366782), these should not
       be read with the SAP_PA service as this may lead to a clash in the
       record keys and can lead to undesired results.

  • Use HCM processes and Forms without using the Enterprise Portal

    is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
    1) Create an Adobe form and Interface using SFP
    2) Set up ISR and Form Scenario
    3) Set up Forms configuration to use existing Backend and generic Services
    4) Set up workflow to updated Backend using Services
    is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
    Any ideas will be greatly appreciated.
    Thanks,
    Saurabh

    Hi Saurabh,
    your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
    The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
    In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
    Best Regards
    Michael Bonrat - Solution Manager HCM Processes and Forms
    Info about HCM Processes and Forms:
    www.service.sap.com/erp: 
    - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms

  • Message Handling in HCM Process and Forms

    Hi,
    I have added own messages logic
    MESSAGE_HANDLER Type Ref To     IF_HRBAS_MESSAGE_HANDLER
              message_handler->add_message( message = message ).
    in "DO_OPERATION" method of Generic Service in HCM process and Forms.
    Problem : We have handled messages in method "DO_OPERATION"  but when we click on NEXT push button (review and send)at mss level, same error messages is displayed for 2 times above the adobe form.
    Same error messages are displayed as many times as we click on NEXT push button.
    Need Solution : It is supposed to display only once.
    Thank You,
    Swetha.C

    Hi Shweta,
    Please check SY-UCOMM in both the cases.
    1. After Selecting Position
    2. After Clicking 'Next' Button.
    If SY-UCOMM is different, Then Add message to Message_handler only when Position is selected.
    That means If sy-ucomm = Position select User command
    Then Add message to Message_handler.
    endif.
    'Else dont ADD'
    Hope this helps.
    Pradeep.

  • Query on HCM Processes and Forms

    Hi
    I am facing some issues in configuring Hiring Forms in HCM Processes and Forms. I can place them in 2 baskets and describe each of them below. I would appreciate any advise on ways and means to overcome these errors.
    Basket #1
    I want to use the standard forms SHU1, SHU2 in development environment to understand the HCM P&F functionalities. I copied these form scenarios from client 000 and did all the configurations as outline in IMG activity HRAdministrative Services >> Configuration of Forms and Processes >> Sample Processes for HCM Process and Forms.
    When I run a check using HR Administrative Services >> Configuration of Forms and Processes >> Configuration of Forms >> Check Consistency of Form Scenarios and select Form name, I get errors along following lines:
    u2022     Error Message Sample#1 Form scen SHU1 vers. 00000 serv. SAP_PA: Only one deflt value allowed for field I0009_ZLSCH
    u2022     Error Message Sample#2 Form scen. SHU1 vers. 00000 service SAP_PA: Field I0007_ARBST default value is not created
    u2022     Error Message Sample#3 ISR scenario SHU1 version 00000: Field I0001_BUKRS is missing
    u2022     Error Message Sample#4 Form scen. SHU1 vers. 00000: Field I0007_ARBST service for default values not required
    However, at the bottom of the log I see this message in Green: Form scenario SHU1 version 00000: Form scenario is consistent
    I tried to make the changes as suggested in the Long Text for each of these messages. Probably due to the fact that I am using standard delivered forms, I get this message u201CDo not make any changes (SAP entry)u201D and I am unable to save the changes.
    Basket #2
    In this basket I have Org_Change form and have managed to go the whole nine yards and complete the configuration in ECC. The consistency checks for process and forms are in green. However, I am unable to start the process through Portal. I get this message u201Cno data availableu201D when I try to select a process.
    Among the 5 roles delivered in SAP as initiators for processors u2013I am interested in 3 of them HRASARA (for HR Administrator). I have configured HRASRA and HRASRB as initiators for Org_Change. However, I am not able to figure out how to link these roles to portal roles such as SAP_ASR_ADMINISTRATOR, SAP_ASR_MANAGER etc.
    I would appreciate any advise on ways and means to overcome these errors.
    Thanks
    Subhash

    Have you been able to fix your issue in Basket # 2 ?

  • Creating a new position and updating IT 1028 using HCM processes and forms

    I have to create a new position and update the related infotypes using the design time framework of HCM processes and forms. The problem I am facing is the info type 1028 is not a part of the de coupled infotype framework and does not appear in the service fields list. How can I update the infotype 1028? I was thinking of updating it using the FLUSH method of the class implementing the ADV services interface IF_HRASR00GEN_SERVICE_ADVANCED by calling the function module RH_INSERT_INFTY. But, how do I get the position ID created? Is there any other way of achieving this? Please help as soon as possible.

    HI
    Create one Function Module to return all the vacant positions and load that in a drop down.
    For IT1028 you have to update via the RH_INSERT_INFTY.
    Kind Regards,
    Mukesh

  • Infotype 0000 Creation using HCM Processes and forms in MSS

    Hi,
    I need to create an Action for Transfer an employee using HCM Processes and Forms. So, my form should update infotype 0000, 0001, 0008 etc.
    But when I provide create operation for infotype 0000, system is throwing short dump. When I change the operation to change nothing was creating in infotype 0000 for that respective employee. Is there any way to update infotype 0000 using HCM Processes and forms. Please help me here.
    Thanks & Regards,
    Nayani.

    Hi Chris,
    Thanks for your reply mate.
    I understand that for IT0000 update we don't have to configure it explicitly.We just assign values to MASSG and MASSN and IT0000 should update. I am doing exactly that.
    For the "condition" we do have multiple rules for that and I am familiar about the trickthat the rule fields must be part of the SAP_PA service which is actually making the update. That's all in place and that's working fine.
    Now coming to the problem -
    The "action" is "Return from Career Break" where the only PA infotype that has to be updated is IT0000. Besides that we are updating Absences,IT2001.
    I have tested the process thoroughly and it seems that the system does not allow an IT0000 update without any other PA data change. To test this, I added a PA infotype update in my config and at that time IT0000 got updated beautifully. But when I am trying to update only IT0000, it fails.
    To solve the issue, I had a discussion with my team and we have decided to copy IT0001 along with IT0000. So as of now, we have sorted out a workaround but the technical issue is something I would like to look into.
    If you figure out anything then please let me know.
    Appreciate your help.
    Thanks,
    Saikat

  • HCM Process and Forms - Create and End record using the same form scenario

    Hi All,
    I have the following requirement while using HCM Processes and Forms: Using one form/scenario I need to both create a record or be able to end a record for infotype 841. When looking at the back-end service SAP_PA I have operations Create, Change, Change without delimiting and Delete. My requirement would be to do both a create and a delete I guess, but these two can't be selected at the same time while configuring the form scenario.
    I was thinking about doing somethign with the startdate and enddate instead of using the effective date. But I have no clue how to do that.
    How would this be possible?
    Thanks,
    J

    You are correct in assuming that you cannot have a create and delete on the same infotype. The config will not allow it.  Instead, configure the create and then do the delete via a call to you own method in the workflow or via the advanced generic service
    Cheers
    Ian

Maybe you are looking for

  • Can the parameter in the url be invisible?

    hi, I want the parameters in the url to be invisible. That is if the url is http://localhost:8080/index.jsp?create=12 , so in the url bar it has to be displayed like http://localhost:8080/index.jsp. But the parameters should not be displayed. Is it p

  • Converting from xsd:string into soapenc:string

    Hi. I was successfull in invoking an axis web service with complex type definitions. However, when building and deploying the process flow, I get a warning message as follows: " [bpelc] [Warning]: Trying to assign incompatible types [bpelc] [Descript

  • Prerequisites for implementing BPS

    Hi BPS Gurus,                   If we want to implemwnt BPS for FI could you send me the prerequisties.We are now in ecc5.0(BW3.5). Thanks in advance Thanks & Regards, Vijay

  • Does OTL  support array type?

    My C++ code talks with PL/SQL through OTL. I want to define one of the input parameter of PL/SQL as array, can OTL support array? Is there any sample code? Thanks!

  • Camera Roll not working properly

    So I have two questions about the camera on the iPhone. The first is that when I take a picture it will appear centered, but when I go to view it in the camera roll it appears off center. Anyone having a situation similar? The other question I have i