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: Method FLUSH of Class: CL_GUI_CFW.

Former Member
0 Kudos

Hi All,

In the standard help it has been specified that calling this method establishes an RFC between the Application Server and the Presentation Server. Does it exactly mean that a link is established between my Computer System and the Application Server.

When i run a report that uses this method in background what exactly happens?

I have a report which displays the tree using the standard class: CL_GUI_ALV_TREE which displays the data in the form of a tree. This report works fine in DEV where the data is less. But when it moved to PRD as the data was huge the report was run in background and the output spool no longer displays tree. It looks different. Does it mean the CFW reports cannot be used in background?

I understand there are too many questions in this thread, But points will be awarded for each answer.

Thanks in advance for your replies.

Regards,

Goutham.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

That is correct, a lot of the control framework classes are hightly dependent on the frontend gui, meaning that they in some way, call code in the SAPgui on your PC. Running such applications in background would mostly likely give you some control error. If you know, that you program will need to run in background, the safest thing to do is use a standard list display.

Regards,

RIch Heilman

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

That is correct, a lot of the control framework classes are hightly dependent on the frontend gui, meaning that they in some way, call code in the SAPgui on your PC. Running such applications in background would mostly likely give you some control error. If you know, that you program will need to run in background, the safest thing to do is use a standard list display.

Regards,

RIch Heilman

Former Member
0 Kudos

Hi Rich,

Thanks for your early reply.

It would be very kind of you, if you can throw some light on the other two questions.

1. In the standard help it has been specified that calling this method establishes an RFC between the Application Server and the Presentation Server. Does it exactly mean that a link is established between my Computer System and the Application Server.

2. When i run a report that uses this method in background what exactly happens?

Regards,

Goutham

0 Kudos

1) Yes, the application server is of course the remote system and the presentation refers to your PC which is running SAPgui.

2) I have no idea. I would say that there is something probably built in, that if it fails, it simply does nothing.

Regards,

Rich Heilman