on 12-21-2010 3:39 PM
Hello,
I'm developping a GAF-based WD app. (in which UIBBs are form in the FPM sense) and I can't find a way to know the current step ID at runtime. Any idea?
Thanks in advance!
PS: I need to know the step ID because the properties of my form fields (should) change depending on the step
Edited by: Mathieu Scialom on Dec 21, 2010 4:41 PM
Hi,
The interface if_fpm_gaf has several methods and one them is GET_CURRENT_STATE( )
see FPM_GAF_BOOK_FLIGHT component.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply.
How can I have access to the instance of the GAF component (implementing this interface) from within my form feeder class?
I guess I have to use a specific app controller by implementing the IF_FPM_GAF_CONF_EXIT interface in my WD component (as described in the FPM developer guide for ABAP) but then I don't know how to pass the step ID to my form feeder class.
Or maybe is there a simpler way to achieve this?
>
> Thanks for your reply.
>
> How can I have access to the instance of the GAF component (implementing this interface) from within my form feeder class?
>
> I guess I have to use a specific app controller by implementing the IF_FPM_GAF_CONF_EXIT interface in my WD component (as described in the FPM developer guide for ABAP) but then I don't know how to pass the step ID to my form feeder class.
> Or maybe is there a simpler way to achieve this?
Hallo Mathieu,
You need to have the AppCC approach. Probably one of the way to pass the information is to create Singleton pattern class and pass state information.
Access the Singleton class in your Feeder class to go around with state information.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.