HCM Process & Forms - Set a flag when 'Check and Send' is pressed

Hi,
In HCL process and forms,  i want to set a flag thru scripting when "Check & Send" is pressed. How can i do that?
Thanks

You can set the flag in SCENARIO_PROCESS_USER_COMMAND method of the class CL_IM_HRASR00ISR.
You may have to enhance it.
Thank you,
Vijetha.

Similar Messages

  • Error while editing standard HCM Processes & Forms

    Hi experts,
    I would Iike to test the standard HCM processes & Forms & for which I have imported the standard forms from Client 000. I have also configured the ADS & have tested the credentials as well. Everything is fine & new custom ADOBE interactive forms (Not HCM Forms) are working fine through WDA. When I test any of the standard processes using HR Administrator role in Portal, I am able to select the relevant standard process (e.g. TERMINATION) for a given employee, but when I click on the  Edi Process button, the system generates an error (short dump): "'WebDynpro Exception: ADS call failed ". I have checked OSS, but did not find any suitable note for it. I have the HR administrator role assigned in the back end & have confirmed that the ADS configuration as well as credential are working fine using the recommended reports. We are on EhP4 SP06.
    Appreciate if anyone has already experienced these probelms & can suggest any solutions. Thanks in advance.
    Best regards,
    Sameer

    Sameer,
    To me it appears that ADS is conencted to only backend ECC not to the portal system.
    Please try below:
    1. Launch WDA for HCMPF in SE80 with appropriate parameters and see if this displays interactive adobe form when you click in edit button.
    2. May be test the ADS connectivity to portal system.
    regards
    Sridhar Kandisetty

  • HCM Process & form  using scripts to - clear a field   on a button click

    Hi Experts,
    I created a validation routine and only need to call it when the  check and send button is pressed.   I read a blog and
    tried to ceated a flag but I am not sure which to use form calc  or javascript. Any way, I tried and  I get an error.
    How do I blank out the field using an adobe form via form calc or javascript? Below is my error message.
    Sdript failed(language is formcalc; context  is
    xfa[0].form[1].data[0].#subform[0].Update[0].ButtonCheckuname[0])
    script=//set ISR_EVENT = "USER_EVENT_CHECK"
    this.Validate_flag.rawValue = "";
    Error; accessor 'this.VALIDATE_FLG.rawValue' is unknown
    Regards,
    Lmullens

    Hi,
    I see that this is a very old thread, but perhaps you are still intrested ....
    You have mixed formcalc and javascript in the same event. You cannot mix the script languages within the same event. Simply write without the ; and it should work fine.
    this.rawValue = ""
    If you are triggering a server round trip, then remember to set the value after the server round trip.

  • HCM Processes & Forms - Message Type is unknown

    Hi,
    I have created an HCM process using HCM P&F framework. I can test the process from the ""Test Process" application on the ECC and it works fine. When I launch the process from the portal, I can see the adobe form correctly, the "Check and Send" also goes through fine, but when I click on send I get this error:
    Error when processing your request
    What has happened?
    The URL http://xxxxxxxxxx:8000/sap/bc/webdynpro/sap/ASR_PROCESS_EXECUTE// was not called due to an error.
    Note
    The following error text was processed in the system SE1 : Message type is unknown.
    The error occurred on the application server xxxxxxxx_SE1_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_POBJ_CASE~CREATE_CASE of program CL_POBJ_CASE==================CP
    Method: CREATE_LEVEL_DB of program CL_POBJ_LEVEL=================CP
    Method: FLUSH_LINKED_LEVEL of program CL_POBJ_LEVEL=================CP
    Method: FLUSH_COMMON of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL1================CP
    Method: IF_POBJ_PROCESS_OBJECT~FLUSH of program CL_POBJ_PROCESS_OBJECT========CP
    Method: SAVE of program CL_HRASR00_PROCESS_RUNTIME====CP
    Has anyone else encountered this issue?
    Thanks & regards,
    Manish

    Hi,
    I have created an HCM process using HCM P&F framework. I can test the process from the ""Test Process" application on the ECC and it works fine. When I launch the process from the portal, I can see the adobe form correctly, the "Check and Send" also goes through fine, but when I click on send I get this error:
    Error when processing your request
    What has happened?
    The URL http://xxxxxxxxxx:8000/sap/bc/webdynpro/sap/ASR_PROCESS_EXECUTE// was not called due to an error.
    Note
    The following error text was processed in the system SE1 : Message type is unknown.
    The error occurred on the application server xxxxxxxx_SE1_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_POBJ_CASE~CREATE_CASE of program CL_POBJ_CASE==================CP
    Method: CREATE_LEVEL_DB of program CL_POBJ_LEVEL=================CP
    Method: FLUSH_LINKED_LEVEL of program CL_POBJ_LEVEL=================CP
    Method: FLUSH_COMMON of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL=================CP
    Method: IF_POBJ_LEVEL_TRANS_HANDLING~FLUSH of program CL_POBJ_LEVEL1================CP
    Method: IF_POBJ_PROCESS_OBJECT~FLUSH of program CL_POBJ_PROCESS_OBJECT========CP
    Method: SAVE of program CL_HRASR00_PROCESS_RUNTIME====CP
    Has anyone else encountered this issue?
    Thanks & regards,
    Manish

  • HCM Processes & Forms PD Backend Service

    HCM Processes & Forms
    SAP_PD service (OM New Position Object IT1000, New Org. Unit Object(IT1000) and Relations between Position & Org. Unit(IT1001-A003 and/or A012 )
    --- OM Data Create Position Object and Create relation with already existing org. unit, process form shows u201CProcess Completedu201D.  When I check transaction log t-code : slg1 " The number indicated is not in any valid external interval" and " S 30117940 not found"
    This same case is working fine, if I removed the internal number range (just try), it is creating using SAP standard number range '5XXXXXXXX' , it has been created object  'S' and relation with 'S' - 'O'.
    I have created the process form with the following cases with internal number range is working fine.
    1) Create Position using SAP_PD standard OM service u2013only object
    2) Create Org. Unit using SAP_PD Service  -- only Object
    3) Using exisiting Org. Unit and Exisiting Position create relation  -- only relation.
    I am working a requirement same as Process: HR_PD_CREATE_POSITION but no hope.
    If anyone knows about the new object with relation, why internal number is not working or any configuration may I missed!!!
    Thanks & Regards
    SAMY
    Edited by: Ranganathan Pazhanisamy on Feb 1, 2011 8:35 AM

    Dear Sameer,
    The note 1098009 - Limitations for Web Dynpro ABAP doesn't say anything that you can't do.
    I made a brief analysis and didn't see any issue (regarding the note). Check it out in a more detailed manner to see if there isn't a limitation.
    I hope this has been useful.
    Kind Regards,
    Maurício.

  • HCM Processes & Forms Cost Assignments Defaults

    Hello Everyone,
    I have a question about making Cost Assignments for Infotyps like "Additional Payment" (0015) or "Employee Remuneration Info" (2010) within a Processes and Forms Scenario. This is really a huge requirement for us because the hole Company is split in several subsidiaries so we need to book the costs to different cost objects.
    In the Backend World (PA30/PA61) when creating a record for either one of the Infotypes I can choose the Option "Maintain cost assignment" so I can define a different cost object where the costs of the created record should be booked.
    I know the data of the cost assignment get's stored in the tables ASSHR & ASSOB. But as I'm using the SAP Backend Services SAP_PA and SAP_PT I can't make any DB update/insert statments after the records are created.
    Did anyone implemented a Scenario like this before?
    Would be awesome if someone could give me an advise.
    Best regards,
    Tobias

    If the infotypes in  question are standard PD infotypes you could use SAP_PD service to update them.
    For any other tables you will have to go with a advanced generic service or do the update in a background workflow task.
    Refer here to the post by Christopher Solomon's Profile | SCN: http://scn.sap.com/community/erp/hcm/blog/2012/08/20/hcm-processes-forms-when-all-else-failsadvanced-generic-services
    Hope this helps.
    Regards.

  • Unable to test a FPM form based process in HCM Process & Forms ?

    Hi Experts,
    Am new to HCM Process & Forms, I created my first form on FPM and am trying to test it but am not able to do so.. can you all please help me figure out where I am going wrong.
    Here is what I am doing ...
    I have a build a FPM Form Scenario and Process. Now when I clicking on the Execute button in HRASR_DT and go the test screen I dont get the option for selecting the Web Dynpro Screen as Application Start Option.
    I also tried testing it through
    http://OURSERVER/sap/bc/webdynpro/sap/asr_process_execute_fpm?sap-language=EN&sap-wd-configId=ASR_EXECUTE_5_STEP_PA
    and
    http://OURSERVER/sap/bc/webdynpro/sap/asr_process_execute
    when I do this then I am getting an error message "No Internal Service Request scenario was specified".
    Please Advice.
    Thanks

    Hi Sahir,
    Yes, I had to Activate the business function HCM_ASR_CI_5 to get the "Option for Application Start" section in HRASR_DT.
    Thanks for the launchpad configuration link.
    The one think that I am still having issues is that if I goto se80 and selected the WD Application ASR_PROCESS_EXECUTE_OVP and using the Application configuration ASR_PROCESS_EXECUTE_OVP_CFG I execute it by clicking on Test....I get an error message saying
    "Process does not exist"
    Does this mean I can't test my process through se80 I will always have to go through portal and configure the launchpad to test my process ?
    Or am I missing some config or doing something wrong ?
    Regards
    Chayan

  • HCM Process & Forms: retrieve completed forms

    Hello Experts, looking for answer on how to retrive HCM PA/OM Process & Forms docs once they have completed.  By completed I mean 'check and send' has completed, ECC updates have occured.      My business users are printing forms prior to hitting 'check and send' because we currently have no way to retrive form content once form has been processed/completed.   I'm thinking ther must be a way thru Process & Forms or BI to retrive processed forms for metric generation and auditing purposes.    Any insights appreciated, thanks

    >
    Tom Urschel wrote:
    > Hello Experts, looking for answer on how to retrive HCM PA/OM Process & Forms docs once they have completed.  By completed I mean 'check and send' has completed, ECC updates have occured.      My business users are printing forms prior to hitting 'check and send' because we currently have no way to retrive form content once form has been processed/completed.   I'm thinking ther must be a way thru Process & Forms or BI to retrive processed forms for metric generation and auditing purposes.    Any insights appreciated, thanks
    for HR there is a process iview where they look up in flight processes or previously completed ones. 
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/43/8487e018e22679e10000000a1553f7/content.htm

  • HCM Processes & Forms - Infotype 0008

    Hello,
    I am working on a scenario where a salary change is being done through HCM Processes & Forms. The salary that changes is in a wagetype (0001). There are other wage types that are also in infotype 8. How can I make sure that I can add more than 1 wage type in this scenario? Right now, if I only add one wagetype, it doesn't copy the wage types that are in the previous record (which is what I thought it would do).
    So, as an example:
    On date - 1 we have : 0001 - 4,000, 0100 - Indexed to full time salary, 0200 - indexed 12.50 %
    On date we have: 0001 - 4,200
    We want to have: 0001 - 4,200, 0100 and 0200 - 12.50%
    TIA
    Jaron Frenk

    Hi Chris,
    We have a similar requirement to update infotype 0041 records.
    I think you simply use the same field to pass to your service to different fields but you change the index for each time you use it. You can see this in the sample processes SAP provides.
    Could you explain a bit on the above ' index' ? What index are you referring to?
    Also, if possible could you reply with the sample processes in SAP which you were referring to?
    Thanks in advance,
    Deepa

  • HCM & Process forms

    Hi Experts,
    I am new to HCM & Process forms could you please provide the information about HCM & Process forms, and how they are useful.
    In which requirements we have to use these HCM & Process forms.(Send me some important links regarding the HCM & Process forms).
    Thank you,
    B. Raghu Prasad.
    Moderator Message: Please search before posting.
    Edited by: Suhas Saha on Oct 5, 2011 3:52 PM

    Hi Aakash,
    Yes, in my case it was an authorization issue. Try assigning the role SAP_ASR_MANAGER to the manager in the ECC.
    Regards,
    Manish

  • HCM P&F: Check and Send won't update back end fields?

    Hi All,
    Here is my issue:  I have a field that is not editable on the screen - we manipulate it using a generic service that is called when the user presses a button.
    Of course, as we know, all services are called every time 1 service is called, so it ALSO gets called at check and send.
    This would be fine, except P&F appears to not actually change the field value at check and send.
    So for instance - I click the button and it puts a value of 1.05 in the field.  Great - works fine.
    If I don't click the button and instead only click check & send - I can see in debugger that it is doing the calculation and putting the correct value in the service_datasets table, but when the form loads the value is not updated on the screen and it is not passed to the next step.
    Should check and send manipulate that value?  If not, is there a way to force the user event to be called?  Sadly, I can't set the field as required, because the required check passes before P&F ignores the new value...
    Alternatively, I suppose if there were a way to know the difference between check & send and a user event in the code, that would be good enough.

    "Check" should change it just like your User Event does. Is your User Event set to do "check" operation too or is it doing "initialize"? That might be a difference. But yes....the check/send should be changing it on the form to reflect the new value. I do it all the time (for example, in on of my processes right now I have a table of wage types and when the user adds a new wage type to the table, another field is triggered that shows the calculated annual salary in an non-edit form field.....same kinda idea as you are trying).

  • MSS form Check and Send button

    Hi All
    I am working on a MSS form object which changes the last name of an employee. The form has basically two fields - Current Last Name and New Last Name. Current Last Name is READ ONLY field whereas New Last name is user entered one. Problem is when I am trying to execute from backend (Executing via HRASR_DT), I am able to change the last names of any PERNR. However, in the portal, I am able to see the form, enter new last name, but when clicked on "Check and Send" button at the bottom of the form, the form goes in some infinite loop..it doesnt show me the "SEND" button at all..it shows me waiting symbol and finally I have to close the browser to relogin again..Did anyone of you faced similar issue? How to avoid it?
    THanks
    Shakir

    This occurs due to number of reasons, check below blog on how to resolve it.
    [HCM Processes & Forms: You spin me right round, Baby, right round, like a record, Baby, right round, round-round|/people/christopher.solomon/blog/2009/06/18/hcm-processes-forms-you-spin-me-right-round-baby-right-round-like-a-record-baby-right-round-round-round]
    Chintan

  • Drop down values in Adobe Forms vanishes upon Check and Send in HRAS

    Hello
    The drop down values in Adobe Forms vanishes upon Check and Send while initiating the process.
    I also get the error , u2018 The Entered Value is not on the List of Valid Valuesu2019   when I select the values again and try to SUBMIT.
    We are in EHP4u2026 and I am seeing many Notes has been released to address these issues in EHP3 itself..
    Request your help and supportu2026.
    Thanks
    Meena Venkatesan

    Hello
    Thanks for the swift response.
    We applied the Note 1413209 and 1403266. The fix didnu2019t work.
    I noticed the SAP Note 1403266 mentions a prerequisite Note 1346443 which is for SP4.
    We are currently in SP5 and our system mentions Note 1346443 as u2018Cannot be Implemented. u2018
    Please advise.

  • Not able to get the Check and send buttons.

    Hi
    I am working on HCM Process n Form, It has integration of Webdynpro, Adobe and Process Forms.
    We can Create and Modify the position in this applications, There is also option for Saving it as Draft and then Opening it and sending it.
    But now when we save it as Draft and try to open it opens the component which has adobe integrated to it but the buttons "Check and Send" and close are not appearing.
    There is an dynamic table populated in a popup and by clicking that link it opens the adobe form in a WDA component window.
    I am not able to figure it out which component it is and how it is done.
    By click of link an action is written which finally fires a plug, The details of this plug i cant find in Windows.
    The main component which opens the pop up is POBJ_BROWSER There is no used Components in this Component apart from ALV Table and SELECT OPTIONS
    and the final code which we can see after click of link is
    methods Fire_pobj_click_overview_Evt
    importing
    ATTRIBUTES type Pobjt_Level_Attribute
    BROWSER_CONTEXT type String
    COLUMN_NAME type String
    LEVEL_GUID type Pobj_Level_Guid ."#EC NEEDED
    If there is any one who have worked on this or any helpfull documents regd this Please let me know
    Thanks & Regards,
    Deepak.B

    Supposed to post in HCM Forum.

  • I am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unable to do so with my iMac. This problem started suddenly and the error message i get is error 5.7.8. Please Help

    I  am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unablesend any email with my iMac ( i can recieve email) . This problem started suddenly and the error message i get is error 5.7.8. I have read the threads on line and went into settings, even created a new profile, nothing helps...Please advice..is this something to do with my keychain Access?

    As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
    Office for Mac forums

Maybe you are looking for

  • Loud static on left speaker when playing music

    Well I have officially tried everything in my power to fix this problem. it is probably not much to some, but nonetheless i am annoyed by this software. anytime i wish to play anything on iTunes 7, only LOUD static comes out of the left speaker of my

  • Windows Vista Ultimate SP1

    Hi, I have installed Vista with the SP1 pack via DVD, however, i do not get the Bootcamp widget thing so I have to reboot and use option key during start-up. And also the keyboard is recognized as Apple keys in wrong place, and how do u shut the DVD

  • I AM TRYING TO PUT  A PDF FILE IN IBOOKS, WHEN OPEN IT IN EMAIL NO OPTION TO OPEN IN IBOOKS.  CAN SOMEONE HELP?

    I am trying to open a PDF file in Ibooks.  When I send it to myself via email and go to open on the Ipad I don't get the option to open in Ibooks.  How do I fix that?

  • TDS rate changes, effective 1st Oct'09

    Dear All, We are planning to create new TDS codes for New TDS rates which will be effective from 1st Oct. - Using LSMW to upload the TDS codes - Not deleting old codes which are already assigned to the master After updating new tax codes for already

  • Externally-loaded animation bounds or width and height

    Hi All, I have swf of a dinosaur walking from left to right across a stage that is at least 500 pixels wide. If I load it into another movie and try to access the width using the attached code: The _width property appears to only display the width of