Skip to Content
Author's profile photo Former Member

HCM Prosses and Forms :Remove previous Note from the first scenario Step

Hi all

I will list the steps to remove previous Note field from the first scenario Step only.

1.Add ‘FORM_SCENARIO_STAGE’ Field to the form Scenario with type ‘ASR_FORM_SCENARIO_STAGE’  and change the field attribute to invisible .

2. Add the field to configuration ID in the fluid

3. Enhance the feeder class ‘CL_HRASR00_FPM_FEEDER’ by create postExit for the method ‘GET_DATA’ and add the below code:

FSS_1 :  the first scenario Step in the form scenario.

/wp-content/uploads/2016/05/code_960592.png

Regards

Ghadeer

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo João Mariano
      João Mariano

      Nice Blog!!!!!

      Thanks for sharing.

      Author's profile photo Christopher Solomon
      Christopher Solomon

      Glad you are blogging and please keep it up!

      I would only add/critique that this is not really the best way of doing this.

      You are depending on using/checking a hardcoded scenario stage ("FSS_1") when you likely want/need something more configurable/flexible (call to a custom class that then checks your own custom table?).

      Furthermore, you are not really checking the contents of "Previous Notes". Sure, if this is the start of the application/process, then logic might tell you "there should not be previous notes as no one has previously worked on this". However..later in the process, "return to author", "reject", etc....all could route back to the "initiator" which would be this form scenario stage....and then could have quite a many "previous notes" at that point.

      Not trying to be too harsh and good work for finding/doing this and sharing, but just pointing out there are other (better?) ways.

      Please keep contributing!...as the saying goes..."Good sailors are not made on calm seas." 😉

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      thank you Chris , i will keep all your point in my mind and update the blog based on them 🙂

      Author's profile photo Former Member
      Former Member

      Nice Work Ghadeer.