on 10-23-2014 10:22 AM
Hi,
We try to build a sapui5 appliction with is using HRASR_PROCESS_EXECUTE.
When the application is started we call the FM HRasr_process_execute with event INITIALIZE. This creates a instance and give us the initial values of the process.
When we change the data in application we want to trigger event SEND. But before we can do the event SEND we have to do the event INITIALIZE again.
Is there a possibility to re-use the instance created in the first step!
Kind regards,
Richard Middelburg
Hi,
Initialize event has to be passed before the SEND event. This would invoke the hcm pf framework and returns the forms values etc. based on the configuration during design time.
You can call the Initialize even and get the form values back to CT_FORM_FIELD_VALUES and modify this internal table with any change in values required.
Then, trigger the SEND event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if you have read through the FM documentation. Check if you are following the correct sequence.
Copied here for your reference:
The typical sequence of events that must be passed to the function module during the execution of a process is as follows:
Regards,
Sahir.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.