on 2005 May 23 10:21 AM
Hi,
I am using the method:
cl_gui_cfw=>set_new_ok_code
to refresh the values within the Main-Dynpro, after the
user has changed some data within a CL_GUI_ALV_GRID-Grid Control.
It works fine. But when I was reading the Description
of the method within the class browser:
"Be Careful: This Sets a new Fcode in Event Handler for PAI"
I was a little bit confused.
Does anybody know what this hint really means?
i suppose it is just a hint, that SY-UCOMM will be
processed in PAI. Thats all and that's what i want. But why should I be careful?
Thanks a lot
Michael
You should always be careful when writing programs...
I agree with you that the statement seems a little obvious. Sometimes, though, the translations from German are done literally and the meaning can be distorted a little bit.
I guess if you used the method in your code and everything works ok, then there is nothing really to worry about.
Cheers,
Brad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I still think it needs some attention that an encapsulated object's method (even it is a class [static] method) changes an attribute of your screen's flow. Nevertheless, I agree that if you have everything on the right way, do not worry about it.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.