05-05-2006 5:58 AM
Hi All .
Can SAP Control framework work in Background?
Basically, I am using CL_DD_DOCUMENT and containers.
I tried using CL_DOCKING_CONTAINER and tried to attach DD_DOCUMENT to it. But does not work in background.
Also, can anyone tell me how to show a picture from my PC using PICTURE_CONTROL ? Doc seems to suggest that we can give FTP path also, which means I should be able to give my PC path. But does not work for me...
Any clues?
Thanks in adv...
Samant
05-05-2006 6:02 AM
Samant,
You cannot access any documents on your PC while the program is being executed in the background. You will have to place that file on the app server and access the same.
Regards,
Ravi
Note : Please mark the helpful answers
05-05-2006 6:04 AM
Thanks for the prompt reply Ravi.
SOrry, i forgot to mention that when I access picture, it shall be in foreground.
As i said, in background, none of the controls seem to work.
Also, my first part of query you did not answer. Any idea? Is this an SAP limitation that Controls cannot work in background?
05-05-2006 6:05 AM
Yes you are right, the control framework does not work in the background.
Regards,
Ravi
Note : Please mark the helpful answers
05-05-2006 6:20 AM
Hi samant,
1. As i said, in background, none of the controls seem to work.
Yes, you are right.
Controls framework does not work in background.
2. For the same reason,
We cannot do BDC for ENJOY TRANSACTIONS
like me21N
BCOS, they use controls frame work.
regards,
amit m.
05-05-2006 6:10 AM
HI
GOOD
GO THROUGH THE FOLLOWING DOCUMENTS FOR CONTROL FRAMEWORK
http://www.sappro.com/downloads/Settings&SystemAreas.pdf
http://www.sapdesignguild.org/community/design/controls.asp
https://weblogs.sdn.sap.com/weblogs/topic/31
THANKS
MRUTYUN
05-05-2006 6:19 AM
Hi !
The so called "control framework" is part of the SAP-Frontend-Services, as the SAPGUI is one to.
If you run your programm in background (Batch, transactional RFCs, IDOC-Input or sonthing like this) there simply is no frontend service an no control framework.
Tham means everything based an that (ALV...) is not working there.
In your program you can check SY-BATCH to avoid runtime rrrors...
Regards
Rainer
Some points would be fine if that helped a bit.