cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Save functionality in Webdynpro ABAP

Former Member
0 Kudos

Hi,

Is there any autosave functionality in webdynpro abap? I have the requirement to auto save the data on the webdynpro screen which is being shown in ESS & MSS.

Regards

Vinay

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

By auto save do you mean that you want to commit the data to the database at certain intervals even if the user hasn't hit the save button? No there isn't anything the framework to do that and I've never seen an SAP applciation or transaction that acted that way. If you wanted to implement I suppose you could use the timedTrigger UI element to save at a certain interval in a custom application.

Former Member
0 Kudos

Thanks Thomas,

I guess thats the only way, will just try it out and let all know.

ChrisPaine
Active Contributor
0 Kudos

Hello Vinjay,

Beware using the the timed trigger if the user is using text edit UI elements. (Which if you're worried about their session timing out, I'd imagine that they are).

There have been multiple threads here (e.g and ) about the text that a user is entering in a text edit UI element not being available in the context until the user actively exits the element (and not available when triggered by a timed trigger event).

I'm not sure if this behaviour is fixed so that the event of the timed trigger updates the user context - it may well have been in later support packs, but before you do a lot of development, it might be worth doing a quick mock-up to check.

Cheers,

Chris

Answers (1)

Answers (1)

Former Member
0 Kudos

the other way will be to provide the SAVE button in ur UI on the screen. If the user presses u can commit the data to the database. u can write the relevant code , by using the OnAction property of the button UI . u can also trigger the popup asking the user whether he is is sure to save the entered data to the database.