Reg: Updating two infotypes thro HCM forms

Hello experts
in my scenario i have update two infotypes . can anyone tel me how i have to make the field assignment.
shoould i mention the screen fields for both the infotyes???
should i include any coding in BADI???
Thanks
Priya
Edited by: priyaraj on Jul 30, 2009 12:44 AM

I have not had any problems (aside from the HCM P&F bugs) with any infotypes for PA. A few things to check:
(1) your config is set for operations on those infotypes (not just reads)
(2) all needed fields are bound to the infotype screen structure and that "operation exclusion" is not checked
(3) make sure you are not "hiding"/ignoring errors
(4) you have the parameters (usually in workflow binding....or straight away if "no workflow" setting is used) to actually do the "save"
(5) I didn't read that you had any errors, but maybe check security just to be sure it's not an authorization problem.
That's off the top of my head. Maybe one of them will be your answer!

Similar Messages

  • Not able to Update the Infotype thro'HCM Process and Forms

    Hi,
    I have done the form and ran the test run in ECC, after completion of execution its not updating the form scenario infotype. Herewith mentioned the trace data ..
    C Function Trace Record
    Date : 27.08.2010
    Time : 17:26:30 : 539,203
    Work Process : 0
    PID : 0
    Client : XXX
    User : XXXXX
    Transaction : HRASR_DT
    Transaction ID : 4C77C682885A4119E10000000A01DF1A
    Action :Start of C Function
    Function (Group) : rstscb_call_back
    Parameters :
    Duration : No Duration at Start of Action
    Comment :
    C Function Trace Record
    Date : 27.08.2010
    Time : 17:26:30 : 539,203
    Work Process : 0
    PID : 0
    Client : XXX
    User : XXXXX
    Transaction : HRASR_DT
    Transaction ID : 4C77C682885A4119E10000000A01DF1A
    Action :Start of C Function
    Function (Group) : rstswsf_was_stor
    Parameters :
    Duration : No Duration at Start of Action
    Comment :
    Kindly let me know the root cause of the error....
    Thanks and Regards,
    Santhosh Kumar R

    Hi,
    1. Do you Have Workflow.
    If yes check in  the apprroval or the last step (Processing step-HRAdmin) whether Send Variant is active .
    to Update the Database this has to be active.
    2. If there is no workflow then
    check in the Tcode HRASR_DT at process level.
    in Drop down for send variant is update the Application database .
    Regards,
    Nachy
    Hope this helps

  • Issue with SAP_PD Service in HCM Forms

    Hi Experts,
    I am facing this issue when trying to create/update a Position using HCM Forms.
    We have the HCM_ASR_CL_2 Business Function Activated
    We are on EHP4.
    I am trying to create/update a position using forms - SAP_PD Service and facing the below mentioned issue -
    When I am trying to add the Object Type S in the LEAD_OBJECT_ID, I get the error - Object type S not supported.
    As a workaround that I got from a help.sap - 3.In the navigation pane, go toValidity Period.Enter Start Object Type as S = Job, enter Application Type as PD. - Even this workaround doesnt work!
    Am  I missing some config here?
    Also, once we activate the Business Function - do we get the node for SAP_PD in IMG just as we have for SAP_PA and SAP_PT service?
    Please help!!!
    Thanks

    Any reponses?

  • SAP HCM P&F - Update an infotype field which is NOT passed from Form

    Dear Experts,
    I have a requirement to update the Infotype with the entries in the HCM form (input by Employee in ESS) upon Manager's approval in MSS.
    We are achieving this functionality using HCM P&F (FPM) with an Workflow associated.  In this Workflow Standard Task (TS17900108) is used to Save the form data into the Database.
    But there is one field (APPROVED_DATE) in the Infotype whose value is not from the FORM but should be updated in the Infotype.
    Please help me with your inputs.
    Regards,
    Shankar

    Dear Christopher,
    I am extremely thankful to you for all the replies.  But, unfortunately, we are messed up with this requirement and we couldn't achieve it.
    In this regard, could you please give us the step-by-step procedure to achieve this functionality?
    Requirement in brief again:
    We have designed Overtime HCM form (FPM) using which employee requests for the Overtime.  This form is sent for the Manager for approval.  We have achieved this functionality.  With the Manager Approval, the database is also updated perfectly.
    Then we have added one more field in the infotype to track the Approved Date.  This field is to be updated along with the other fields (sent from FORM) upon the approval of the manager.
    And now though the other fields are updated correctly into the infotype, the approved date is not updated.
    Thanks a ton in advance for your guidance as this is very critical and urgent requirement for us.
    Regards,
    Shankar.

  • 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

  • Reg HCM Forms/Processes with Adobe Forms

    Hi,
    Details of the differences between HCM Forms and Processes with Adobe Form based PCR's and the recommendations for the selection between the same. Point of view on which one can be used.
    Regards,
    Sujana
    Edited by: Sujana Reddy Kumbham on Feb 9, 2009 9:06 AM

    SAP_PA backend service EXPECTS either a hardcoded/configured subtype OR a "*" for all available subtypes (which won't work in your case). What you "could" do is get creative with "rules" and check if values are entered, and then if so, do the operation for your subtype.
    What you will need to do, which is what I do a LOT because of issues with SAP_PA is to actually make you update/changes in a backend function module (triggered in workflow). Now, things get a bit more complicated.....
    Priod to EhP3, you could just call the ol' infotype operations function module in your own FM to do the change. However, from EhP3 and onward, you will need to do this via classes (same used by decoupled infotype framework.
    Soooooo......time to get creative with your solution.

  • Custom Workflow for custom HCM form - reg

    Hi,
    We have a custom form designed and having a workflow for that. We have developed the workflow like any other workflow for appraisals for example or in SD. But here while test run of process we are getting error saying 'Work Item not found' though the work item is present in SWI1.
    We have below steps.
    Header
    Importing form container
    User Desicion (Approve/Reject)
    If approved update database.
    Can any one correct me if am wrong.
    Raj

    Hi,
    For workflows involving HCM forms, there some standard tasks which should be made use of:
    Task Group TG17900001: Components for HCM Processes & Forms
    Task Group TG17900002: Interactive Components
    Standard Task TS17900100: Edit Form
    Standard Task TS17900101: Approve Form
    Standard Task TS17900102: Form Is Edited Again by Author
    Standard Task TS04000018: Process PD Form
    Standard Task TS04000019: Approve PD Form
    Standard Task TS04000020: PD Form Is Edited Again by Author
    Workflow Template WS17900260: Save Form with Error Handling
    Workflow Template WS17900404: Draft for Process Start
    Workflow Template WS17900418: Forward: Process Start with Errors
    Task Group TG17900003: Background Components
    Standard Task TS17900106: Check Existence of PA Infotype
    Standard Task TS17900107: Check Form Data
    Standard Task TS17900108: Save Form Data
    Standard Task TS17900110: Import Field Value to WF Cont. Element
    You can use TS17900110, TS17900101/TS04000019 and TS17900107. Please make sure you read some documentation before you use these tasks.
    Let me know, whether this is helpful.
    Thanks,
    Sukumar.

  • How to use one form to update two tables

    How can I do that? HTMLDB wizard or form on table doesn't give me an option to use more than one table in a form or I don't know about it. I created new process which redirects the form to another page after submitting the form. On the second page I created new process which uses the same variables from the previous form page. This process runs on page load before header but it is just not working right.
    So, what is the proper way to update two tables with the same form fields?

    Hello Vikas,
    "The Automatic Row Fetch and Automatic DML processes are a pair, you can't have one without the other."
    Are you sure about that? I have a page, which populate some of the items from TableA, using manual select statement, and after the user input, save some of it in TableB, using Automatic DML. No ARF in this process and it seems to work just fine. Come to think of it, what about a simple form, populated entirely by the user input, and then being saved to the db, using Automatic DML? No ARF here also.
    For the problem in hand, if you can't have more then one Automatic DML per page, I think that the simplest solution will be to define a pl/sql process, with two INSERT statement to the two different tables.
    Regards,
    Arie.

  • Hcm forms : Update display button not working

    Hi experts
    the update display button in my form is not working . i have changed the script coding , still its not working
    Regards
    Priya

    Hi,
    Update display button is not working means is it not triggerring the back end means you are not able to see any server roundtrip,
    if so check whether you have inserted webdynpro script.
    if not go to your form in sfp
    then goto menu select Utilities->Insert Webdynpro Script.
    then you will see one script generated automatically and you can check in Hierarchy Pallete with the name ContainerFoundation_JS under Variables.
    save the form and activate and then click on Update Button.
    Thanks,
    Madhu.

  • Reg HCM FOrms

    Hi,
    Can anyone give details of the differences between HCM Forms and Processes with Adobe Form based PCR's and the recommendations for the selection between the same?
    Regards,
    Sujana

    Hi Sujana,
    HCM:
    The SAP ERP Human Capital Management (SAP ERP HCM) solution is a complete and integrated human capital management solution that delivers unmatched global capability. SAP ERP HCM gives organizations in all industries worldwide the tools needed to manage their most important asset: people. The solution equips executives, HR professionals, and line managers to hire the best talent, as well as train and cultivate the skills of their workforce.
    Link for further details about HCM:
    https://help.sap.com/saphelp_erp2005/helpdata/en/42/f273461e5132c3e10000000a1553f6/frameset.htm (Given by Parthasarathy in the previous message )
    PCR:
    SAPu2019s Personnel Change Request (PCR) is a workset thatu2019s part of Manager Self-Service (MSS) in SAP NetWeaver Portal. You can use it in almost any current SAP environment to support company-specific business processes. Custom PCR-based solutions can simplify the request submission process, automate request processing, streamline request processing and HR service center operations, and enhance overall HR data quality.
    Link for further details about PCR: http://help.sap.com/erp2005_ehp_02/helpdata/en/54/957e40ec66ce62e10000000a155106/content.htm
    I prefer HCM over PCR due its various advantages over PCR.
    Regards,
    Krishna Balaji T

  • HCM forms Advanced Generic service

    Hi,
    I am using HCM FPM forms Advanced Generic service to update Action infotype (0000). In the flush method i call the funciton module 'HR_CONTROL_INFTY_OPERATION'.
    while executing update application throws error 'Precondition violated'.
    I have pasted the code lines below. Please let me know if anything is missed out.
    METHOD if_hrasr00gen_service_advanced~flush.
       DATA: ls_pa0000 TYPE p0000.
       DATA: ret TYPE bapireturn1.
       ls_pa0000-pernr = gv_empno.
       ls_pa0000-endda = '99991231'.
       ls_pa0000-begda = sy-datum.
       ls_pa0000-massn = 'K2'.
       ls_pa0000-massg = '01'.
       ls_pa0000-STAT2 = '3'.
    CALL FUNCTION 'HR_CONTROL_INFTY_OPERATION'
       EXPORTING
         infty                  = '0000'
         number                 = ls_pa0000-pernr
         record                 = ls_pa0000
         operation              = 'INS'
      IMPORTING
        RETURN                 = ret.
    ENDMETHOD.
    Below is the error message.
    The following error occurred in system XXX : Precondition Violated
    The error occurred on application server XXXXXX_00 and in work process. 5
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: SET_CONTEXT of program CL_HRPA_INFOTYPE_FACTORY======CP
    Form: INITIALIZE_PS_ADAPTER of program SAPFP50P
    LOAD-OF-PROGRAM of program SAPFP50P
    Form: INITIALIZE_PS of program SAPFP50P
    Function: HR_MAINTAIN_MASTERDATA of program SAPLHRMM
    Function: HR_INFOTYPE_OPERATION of program SAPLHRMM
    Function: HR_CONTROL_INFTY_OPERATION of program SAPLHRMM
    Method: IF_HRASR00GEN_SERVICE_ADVANCED~FLUSH of program ZHRHCMCL002_PROB_AGM_FORM=====CP
    Method: IF_HRASR00_MAPPER~FLUSH of program CL_HRASR00_GENSERV_MAPPER=====CP
    Method: FLUSH of program CL_HRASR00_DISPATCHER=========CP
    Thanks,
    Ramanan

    You have to be a bit careful using that function. If you look, the first thing it does is to check WHICH framework to use (old or new)...and oddly, for for infotypes 0000,0001,0003,0031 and 200n, it ALWAYS forces it to use the old framework. (ugg!)
    As said above, for HCM P&F, you should be using the DCIF, so make sure you know which infotypes you need to "touch" before using the function over the decoupled IT/buffer container class handling.
    Lastly, why are you trying to do this for IT0000 anyways? The framework does this for you automatically when you assign MASSN and MASSG (SAP_PA picks those up as "special fields" and creates the IT0000 for you). If you need to manipulate the values for action and action reason, use a simple generic service to set/assign the fields and still let the framework handle it automatically for you in SAP_PA.
    oh! ....and TCLAS and DIALOG_MODE are not optional parameters of the function.

  • Can I create an HCM Form without involving any workflow steps?

    Hi Experts,
    Can I create an HCM Form without the involvement of any Workflow steps ? I tried to create a simple form to save the User id( IT0105) of a person. I tried to simulate the process through program RPASR_TEST_PROCESS_EXECUTION. But, finally it failed saying "No workflow assingned. Process not successfully completed" . How should I proceed if I dont want any workflow steps to be included?
    I just want the form to update the infotypes directly when I save.
    Pls advice,
    Thanks in advance!
    Mahesh

    Yes. This is undocumented for some reason (I learned it from SAP folks! haha). Set the workflow to:
    NO_WORKFLOW
    You're welcome. haha

  • HCM forms , wheel spinnning at edit step

    hi
    I have developed the relocation HCM form tutorial give in the
    help,sap.com site , when i test the process from the backend from the
    T-code HRASR_TEST_PROCESS , the process is executed properly ,workitem
    number is getting generated and the form is going to the next level for
    approval , when i initate the process from the portal after filling all
    the details in the edit route map step , when i click on the check and
    send , wheel spinning starts , and it is a never ending one ,
    i can't understand , when i execute the process from the backend it is
    properly working , but i can't able initate the relocation form from
    the portal end ,
    one more information , the process which i have initated from the
    backend , workflow starts and going to tthe approver
    when approver opens the form and click on the next step "CHECK AND
    SEND" or "PRIVIOUS" button the same never ending wheel spinning is coming to the picture ,
    i have checked a standard birth of child US process , for that is also
    the same above mentioned problem araises .

    hi chris
    Thanks for your blog and reply .
    first 2 two points you have mentioned in the blog are ok.. i have check in the system ..
    third point .. "Adobe reader version " May be that would be the place where i am missing ..i have checked the application  in adobe reader 6.0 and 8.0 ..
    Then now i have check in service market place , there it has mentioned for interactive forms version should be more than 8.1 .
    Now i am waiting for updation of adobe in my system .. once updated i will check...and let you it comes under only with the three points and any thing more ..
    Thanks for you response ..
    Regards
    Arumugam

  • HCM Forms and processes - Effort estimation of the requirements !

    Hi Experts on HCM F&P,
    I have following queries on HCM forms and processes.
    1.
    I understand that HCM F&P is both functional and technical ( majority of the work being technical here). But where do we draw a line as to what part of work is a functional activity and what is technical activity. For technical I do understand the form desig, workflow development is all technical. But however i am not able to understand what is the part of work on HCM F&P is to be classified as functional.
    2.
    When we get new customer projects how do we go ahead estimating the timelines for Functional consultant and Technical consultant. Fairly clear for technical that the timelines for designing the form with all needed logic in custom generic service and for the workflow development. But unable to really understand that activity that needs to be classified as purely functional activity and the timelines needed for this role.
    I am very much interested to understand estimation on the functional side. Estimatation if there are standard processes to be enabled and implemented. And also if there are customer specific new processes needed. Estimation for the Blueprinting and Realizaiton needs to be understood for this.
    I am looking at the parameters that needs to be considered here for estimating.
    It would be greatfull if someone can give hints on this.
    Note:Points would be given considering each as a separate question.
    Best regards,
    Sanjay

    Hi Sanjay,
    In HCM Process and Forms,
    1. First you need to clear with the process that you are going to carry out.
    2. Understand the process and indentify the infotypes, fields that need to be updated.
    3. Also the infotype operation deletion, modification, Insertion, etc.
    Above steps are get invoved with functional consultant
    4. Create a process, add a fields.
    5. create generic service if necessary.
    6. Create a adobe form.
    Above three steps are get invoved with functional consultant.
    7. Workflow process to be defined from functional(first level approver, second level approver)
    8. With the help workflow consultant, technical consultant will attahc the workflow to the process.
    Blue print, Estimate depends on the Process(Simple updation or it get involved with more processes).
    Hope this helps you.
    Regards,
    Meera

  • Error: Organizational Assignment created via Orgnizational Management in HCM form

    Hi All,
    I am getting below error while moving an EE to certain position via HCM form.
    I have cheked and found that if an org unit is to be assigned to another cost center in Organizational management from a certain date, this action generates a new record in infotype 0001 for integrated persons from the date of assignment to the new cost center and if we perform any action which would be deleting the new record (created from OM) in IT0001 then this error would populate.
    Here is the the same case a new Cost Centre has been assigned with the orgunit and a new record is creaed in IT0001 from the OM but when I am performing the same action via PA40 then I not getting any error, the error is occuring from the form only.
    Can you please help me to resove this error and provide me the reason why it is not occring when I am performing the same action from PA40.
    Regards,
    Mayank

    Hi Mayank,
    I think you will be triggering Job Salary Form for the action you have mentioned. Please check in the Tcode HRASR_DT for the form name as I have show below from my development system. In Back-End services - SAP_PA - Infotypes and Operations and for Infotype 0001 check what is the operation that you have maintained.. It should be "change" to avoid the error message.
    For PA40 action you would have configured the same as "change" thats why you are not getting error message in PA40.
    Thanks,
    Sriram

Maybe you are looking for