Application Development and Automation 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: 
Read only

RF Transaction:Control Framework: Fatal Error GUI cannot be reached

Former Member
0 Likes
2,822

Hi All,

I have converted a custom Z transaction into an RF transaction. Everything works fine on the computer but when the RF gun is used to execute the transaction I get the following error.

Control Framework: Fatal Error GUI cannot be reached

Could anyone kindly let me know what must have gone wrong.

Regards,

Karthik

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
2,313

Control framework error means that this transaction has a control in the screen and can not be rendered on your RF screen. The control framework is built on code which is embeded into the SAPgui itself, and if you are running sapconsole or sapwebconsole, then you do not have these controls present, hence the reason for your error. The solutino is to remove such things from the application.

Regards,

RIch Heilman

11 REPLIES 11
Read only

RichHeilman
Developer Advocate
Developer Advocate
2,314

Control framework error means that this transaction has a control in the screen and can not be rendered on your RF screen. The control framework is built on code which is embeded into the SAPgui itself, and if you are running sapconsole or sapwebconsole, then you do not have these controls present, hence the reason for your error. The solutino is to remove such things from the application.

Regards,

RIch Heilman

Read only

0 Likes
2,313

Hi Rich,

I think I understand what you mean to say. Can you give me an example about how this can be taken care of? I was comparing other RF transactions present in the system to check the difference. The only obvious difference to me is the EXIT & CANCEL buttons are active in my transacation whereas they are not in the other transactions. Is this a possible reason?

Regards,

Karthik

Read only

0 Likes
2,313

I don't think so, there is no reason that the buttons within the gui status can not be active. IT is this way for all of my custom RF transactions. We are using one gui status for all though, it was copied from the RLMENU program, and is called Lmob_Group8 . I would suggest that your gui status be exactly like this, and that you have pushbuttons on your screen to handle F1 - F5.

Again, I believe that your issue is something to do with the CFW and the gui. What UI elements are on your screen?

REgards,

RIch Heilman

Read only

0 Likes
2,313

Hi Rich,

Can I email you the screenshot of my UI so that you can have a better look at? There are other RF Transactions which are working fine so I dont exactly know what is wrong with the CFW or the GUI.

If emailing is ok, which ID should I email to?

Regards,

Karthik

Read only

0 Likes
2,313

Go ahead and mail to my email on my business card, also send along all of the code of the program, just to be sure.

Regards,

RIch Heilman

Read only

0 Likes
2,313

Yes and what I observe is all the other GUI are copied from LMOB_GROUP8. Whereas I have created my own? Do you think copying that would help me.

Regards,

Karthik

Read only

0 Likes
2,313

Yes, I do. This gui status is pretty specific, it takes out stuff like F1 on fields and stuff. You need to copy that status from the RLMENU and use it in your program. This may clear up your problem.

Regards,

RIch Heilman

Read only

0 Likes
2,313

Also, if you are not use the correct gui status, then your actions on the screen, such as F1 or F4 will be doing F1 help and F4 possible entries which are not allowed on the sapconsole frontend, hence they may be issuing the control framework error, I would definitly expect it from the F1 button.

So yes, please copy the gui status from RLMENU and use this.

Regards,

RIch Heilman

Read only

0 Likes
2,313

Hi Rich,

I am trying out the solution you suggested. In the meanwhile I sent you the email. Do let me know in case anything else needs to be changed.

Karthik

Read only

0 Likes
2,313

hi guys,

i have same problem BUT i have error (control framework...) on BDC function for std transaction HUINV05.

My RF transaction is OK but BDC function returns that error...

Exist possibily bypass error ?

Read only

Former Member
0 Likes
2,313

Looks like no connection between SAP R/3 to RF ..

Talk to concern person and also do not use GUI when Use RF Transaction ,i mean use Puch buttons for back,canc,exit since RF Machine will not GUI ..

Thanks

Seshu