on 01-25-2012 9:28 PM
Hello
I am developing a WDA on ABAP. I kept 3 LTA (Link To Action, kind of hyper link) on the initial_view, they perform the below functions (pls. note all the below 3 are on the initial_view ONLY),
1) LTA_1 -> Creates 'A' -> The linked EVENT for this LTA is CREATE_A
2) LTA_2 -> Creates 'B' -> The linked EVENT for this LTA is CREATE_B
3) LTA_3 -> Creates 'A' and 'B' -> The linked EVENT(onAction) for this LTA is CREATE_A_and_B, fine.
I wrote the ABAP code for creating the 'A' for LTA_1 in the associated Event Handler(method), same way i did for B
Now, for LTA_3 (Event is CREATE_A_and_B), i do not want to replicate the code from LTA_1 and LTA_2.
1) So, i guess, i just call the above )Event Handler) methods sequentially in CREATE_A_and_B's ABAP editor, am i right?
2) If so, pls. let me know how to call these methods, say, just for A, so that i will call for B on my own. Normally, we call as below
my_Class->my_method_name
3) If so, there is not-optional parameter as WDEVENT, just i need to pass blank for it?
Thank you
data: wdevent TYPE REF TO CL_WD_CUSTOM_EVENT.
wd_this->CREATE_A ( exporting wdevent = wdevent ).
wd_this->CREATE_B ( exporting wdevent = wdevent ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any help pls.?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.