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

cl_gui_textedit - set_textmodified_status - cached properties

apoeschl
Participant
0 Likes
846

Hello everybody,

i'm having some trouble using the methods "set_textmodified_status" and "get_textmodified_status" in class cl_gui_textedit.

I want to set the modified status at PAI and get the modified status at my PBO Module (same dynpro, same dynpro cycle), but it seems the cache won't be updated in one cycle ( PAI -> PBO ). So i set the Status to "cl_gui_textedit=>true" at my PAI Module

and "get_textmodified_status" returns me at PBO "cl_gui_textedit=>false".

I found an OSS note ( 510866 ) which is similar to my problem, but i'm not using the methods described in this note.

Is there any way to invalidate the cached property or am I doing something wrong?

I hope my question is understandable and thanks in advance for any help.

Regards,

Andreas

Hello everybody,

i'm having some trouble using the methods "set_textmodified_status" and "get_textmodified_status" in class cl_gui_textedit.

I want to set the modified status at PAI and get the modified status at my PBO Module (same dynpro, same dynpro cycle), but it seems the cache won't be updated in one cycle ( PAI -> PBO ). So i set the Status to "cl_gui_textedit=>true" at my PAI Module

and "get_textmodified_status" returns me at PBO "cl_gui_textedit=>false".

I found an OSS note ( 510866 ) which is similar to my problem, but i'm not using the methods described in this note.

Is there any way to invalidate the cached property or am I doing something wrong?

I hope my question is understandable and thanks in advance for any help.

Regards,

Andreas

2 REPLIES 2
Read only

Former Member
0 Likes
570

Hi,

Could you please try call the following methods after you set the status in PAI?

CALL METHOD CL_GUI_CFW=>DISPATCH.

CALL METHOD CL_GUI_CFW=>FLUSH.

Cheers,

Read only

Former Member
0 Likes
570

Hi,

Can you please elaborate your problem???

Regards,

Pranaam.