2014 May 22 2:18 PM
When i try to use Docking container to execute OOPS ALV in background the jobs still fails with Switch framework error.
Kindly let me know your inputs to resolve the same.
Thank you !!
Before creating a screen container, always check GUI availability, e.g. cl_gui_alv_grid=>offline( ) and when offline, use an initial cl_gui_docking_container occurrence as parent of your ALV objects.
(Use search tool, there are some document/wiki already published on scn)
Regards,
Raymond
2014 May 22 2:31 PM
Search on forum before posting...
You can't use GUI Object in Background Mode.
Regards,
Angelo.
2014 May 22 2:43 PM
2014 May 22 5:08 PM
2014 May 22 2:52 PM
Hi Nalini,
I agree with angelo suggestion we cant use GUI in Background Mode.
Regards,
Thangam.P
2014 May 22 4:45 PM
Hello Nalini,
Yes, it is possible to schedule background.
data: or_doc type ref to cl_gui_docking_container .
if cl_gui_alv_grid=>offline( ) is initial.
create object or_custom_container
exporting container_name = cust_container.
create object or_grid
exporting i_parent = or_custom_container.
else .
create object or_grid
exporting i_parent = or_doc .
endif .
Regards,
Vadamalai A.
Message was edited by: Matthew Billingham
2014 May 22 7:33 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |