on 06-17-2008 4:31 PM
Hi
I created one customized Business Object.
In That BO i created one Asynchronous method.
But i need to export some data's from that method. but export option is not possible for Asynchronous method.
so i created same object and raised the event for that created object with the event container.
For ur reference
-
DATA: z_zassign TYPE SWC_OBJECT.
swc_container a_container.
swc_set_element a_container 'Sourcer' z_zsourcer.
swc_create_object z_zassign 'zassign' OBJECT-KEY.
swc_raise_event z_zassign 'Sourcer_assigned' a_container.
-
" z_zsourcer getting from One Function Module
" zassign is my Customized BO.
It is working when i excute first time, it is passing the container (a_container)element to the task container.
when i execute the second time it is not passing the value to the task container.
plz give me some solution for this problem?
Hello ,
for your coding itself I had the following variation/suggestion:
METHOD dialog_with_asynchronous_call.
"...
swc_container cont.
REFRESH cont.
swc_set_element cont 'Sourcer' source.
swc_raise_event self 'Sourcer_assigned' cont.
COMMIT WORK.
ENDMETHOD.
After the commit work statement, leave method immediatly.
Best regards,
Florin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think most probably the Terminating event has not been triggered so the value is not getting passed.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.