cancel
Showing results for 
Search instead for 
Did you mean: 

HCM Process and forms - Fill fields automatically before display for subsequent scenario steps

former_member600941
Discoverer
0 Kudos

Hello,

I'm developing a HCM process and fors with 4 scenario steps (staff step, 1st approval, 2nd approval and 3 approval), for every step the approval's name must appear at the bottom. I have developed all the code in the INITIALIZE and in the DO_OPERATIONS method, depending on the scenario steps and it's working for the first scenario, but for the others when I run the workitems from the portal (I'm using the task TS17900100) the form is displayed correctly but the signature doesn't appear until I push the check buttom. I'm trying to find something similar to the PBO for a dynpro where I can fill some fields before the dynpro is displayed.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

sahirn
Active Contributor
0 Kudos

Hello Ignacio Sánchez Pila,

There are several options to set field values in Processes and Forms (P&F) framework.

1. Set default values using the SAP standard service SAP_PA,SAP_PD,etc.
2. Using generic services initialize method
3. Using user events processing type initialize.
4. Add javascript in SFP

It is not clear to me what you mean by "...signature doesn't appearuntil I push the check button".
If you could elaborate with screenshotsWith regards,Sahir.