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

SAP-Script Control on a Dynpro

Former Member
0 Likes
319

Hello to all

I am trying to implement a SAP-Script control on a Dynpro (a PA-Infotype) using the class CL_GUI_SAPSCRIPT_EDITOR.

Basically this works pretty smooth but I am facing an odd problem:

How can I determine that the user made changes to the text and I therefor need to save the Infotype and the content of the control? I found this suitable looking method IS_MODIFIED of said class which seems to return a boolean value that indicates wether there have been changes made or not.

Sadly though this method always returns false.

Has anybody a clue as to what needs to be done here?

Cheers

Markus

1 REPLY 1
Read only

Former Member
0 Likes
293

I think, one should flush the changes before requesting the modification status.