Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Control Framework in Background

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

0 Kudos

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?

0 Kudos

Yes you are right, the control framework does not work in the background.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

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.

Former Member

Former Member
0 Kudos

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.