Doubts with generic service in "HCM processes and forms"

Hello friends:
    Im having troubles trying to figure out how to use generic services. I implemented a badi with generic services and this have the following methods:
IF_HRASR00GEN_SERVICE~GET_SPECIAL_FIELDS
IF_HRASR00GEN_SERVICE~GET_FIELD_INFO
IF_HRASR00GEN_SERVICE~GET_OPERATIONS
IF_HRASR00GEN_SERVICE~INITIALIZE
IF_HRASR00GEN_SERVICE~DO_OPERATIONS
IF_HRASR00GEN_SERVICE~GET_HELP_VALUES
   I could initialize values of my form using only INITIALIZE method, and I could perform some validation using  and then DO_OPERATIONS.
   I cant understand what is the usage of methods like GET_FIELD_INFO and GET_OPERATIONS?? according to the badis help, get_field_info must be implemented, but i didnt do so and it worked anyway?
I will be grateful with all your help,
Best regards,

GET_FIELD_INFO is for adding fields. Suppose you are using the generic service for IT0008 data. The IT0008 fields
which need to be used on the adobe form has to be added in this method. You need to add field name and data element
to the field_infos table. GET_OPERATIONS is used to define operations associated with the fields. Suppose you have a
scenario when user selects personnel area all personnel subareas associated with the selected value should come.
Then you need to group together personnel area and sub area together into an operation. Also even if a field is not aasociated
with any operation, to add a field to form scenario you need group them into operations in GET_OPERATIONS.
Check the class CL_IM_HRRCF_REQUI_REQUEST to determine how this can be used.
Thanks,
Aravind

Similar Messages

  • 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

  • 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

  • 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.

  • 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

  • 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

  • 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 - 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

  • 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

  • How to use HR Administrative Service sample (HCM prossess and form)?

    Hi Expert,
    How do we use HR Administrative Service sample( HCM prossess and form)? I already configured the ADS, now when i click HCM Process and From in the MSS (start process) a new screen pop up with nothing on it, just a header without content. Can somebody help me with this? Thanks
    Edited by: Hendri Salim on Jul 29, 2010 10:43 AM

    Hendri,
    check this link http://help.sap.com/saphelp_erp60/helpdata/EN/ea/b6b94278560c31e10000000a1550b0/frameset.htm
    Thanks
    Bala Duvvuri

  • Adobe HCM Processes and Forms Start processes iView error

    Hi,
    We are implementing Adobe HCM processes. The forms based on the PCR technology are working fine. However, we want the new HCM Processes and Forms technology. We have implemented Business packages for MSS, HR Administrator and XSS (PC_GUI). ADS is configured correctly as the PCR Adobe forms are working fine.
    We want to use the WebDynpro version of HCMPF and NOT the ABAP version. When starting the Start Processes IView (sap.com/paasrprocst) we get the error:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name paasrprocst
    at com.sap.portal.pcm.iview.admin.AdminBaseiView.createAttrSetLayersList(AdminBaseiView.java:361)
        at com.sap.portal.pcm.iview.admin.AdminBaseiView.getAttrSetLayersList(AdminBaseiView.java:205)
        at com.sap.portal.pcm.iview.admin.AdminBaseiView.getCustomImplementation(AdminBaseiView.java:148)
        at com.sap.portal.pcm.admin.PcmAdminBase.getImplementation(PcmAdminBase.java:530)
        at com.sapportals.portal.ivs.iviews.IviewServiceObjectFactory.getObjectInstance(IviewServiceObjectFactory.java:448)
        ... 40 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:13:14[UTC], changelist=455669, host=pwdfm101), build date: Sat Jan 19 11:19:58 AST 2008
    J2EE Engine 7.00 patchlevel 109044.44
    Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
    Operating system SunOS, version: 5.10, architecture: sparcv9
    Session & Other
    Session Locale en
    Time of Failure Thu Mar 13 13:07:45 AST 2008 (Java Time: 1205402865554)
    Web Dynpro Code Generation Infos
    sap.com/pb
    SapDictionaryGenerationCore 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:57:42[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:57:50[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:44:42[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:04:26[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:45:30[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:45:23[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:54:53[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:00:50[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:15:27[UTC], changelist=455669, host=pwdfm101)
    SapWebDynproGenerationCore 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:04:37[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:15:27[UTC], changelist=455669, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/pb_api
    SapDictionaryGenerationCore 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:57:42[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:57:50[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:44:42[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:04:26[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:45:30[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:45:23[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-11:14:54:53[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:00:50[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:15:27[UTC], changelist=455669, host=pwdfm101)
    SapWebDynproGenerationCore 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:04:37[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:15:27[UTC], changelist=455669, host=pwdfm101)
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to load page
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:527)
         at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:191)
         at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         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:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         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: javax.naming.NamingException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name paasrprocst [Root exception is com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name paasrprocst]
         at com.sapportals.portal.pcd.gl.JndiProxy.getObjectInstance(JndiProxy.java:51)
         at com.sapportals.portal.pcd.gl.PcdGlContext.getSemanticObject(PcdGlContext.java:919)
         at com.sapportals.portal.pcd.gl.PcdGlContext.getSemanticObject(PcdGlContext.java:692)
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:69)
         at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sap.portal.pb.data.PcdManager.doInit(PcdManager.java:72)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:525)
         ... 31 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name paasrprocst
         at com.sap.portal.pcm.iview.admin.AdminBaseiView.createAttrSetLayersList(AdminBaseiView.java:361)
         at com.sap.portal.pcm.iview.admin.AdminBaseiView.getAttrSetLayersList(AdminBaseiView.java:205)
         at com.sap.portal.pcm.iview.admin.AdminBaseiView.getCustomImplementation(AdminBaseiView.java:148)
         at com.sap.portal.pcm.admin.PcmAdminBase.getImplementation(PcmAdminBase.java:530)
         at com.sapportals.portal.ivs.iviews.IviewServiceObjectFactory.getObjectInstance(IviewServiceObjectFactory.java:448)
         at com.sapportals.portal.prt.jndisupport.DirectoryManager.getObjectInstance(DirectoryManager.java:56)
         at com.sapportals.portal.pcd.gl.JndiProxy.getObjectInstance(JndiProxy.java:47)
         ... 38 more
    Can anyone tell me more about the cause this might have? Also, are there any further prerequisites for this iView to work?
    Any help will be appreciated and rewarded accordingly.
    Regards,
    Thomas

    hello,
    how did you solve it ?
    Regards,
    Dimitry Haritonov

  • 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

  • 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 Dynamic Actions

    Hi
    We are implementing HCM process and forms and presume that dynamic actions will have to be recreated as rules.
    Can anyone give any guidance in this area as some of our dynamic actions are quite complex.
    Many thanks
    Ian

    Hi,
    For HR forms please follow the following link
    HCM Processes and Forms (www.service.sap.com/erp:  - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms -> Media Library)
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=00200797470000081848&
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    Requirement: When the postal code or the city of an employeeu2019s permanent residence is changed in infotype 0006, an email should be sent to the administrator.
    INFTY    SUBTY    FIELDN    FC          NO.    STEP       VARIABLE FUNCTION
    0006           1             ORT01      06             001           V               PSTLZ            
    0006           1             PSTLZ      06             002           M               M0001
    The V statement on line 001 is used to link the two fields to the M statement. The statements relevant to field PSTLZ are also applicable to the ORT01 field.
    When a record is created or changed in infotype 0006 of permanent address, an email is sent using the feature M0001. Information such as the recipient address, subject, and content of the mail is derived from M0001.
    Warm REgards,
    Kapil

Maybe you are looking for