cancel
Showing results for 
Search instead for 
Did you mean: 

Custom component not clearing data on or refresh

Former Member
0 Kudos

Hi Experts,

I created a new custom component. when i fill data in that view and do some processing after that if i do refresh of the screen and come back and login again to web ui .....data is not clearing.... it is showing me the last entries filled by me.

I tried binding my view with coponent controller but it is also not helping.

I tried debugging before opening the view when i goto do prepare output entity is blank but when i open the screen data is there.

When i do endcall and open the screen in the same session it clears the data

problem only comes when i close the screen without logoff.

if i log off data is getting cleared completly.

Please guide me .

Thanks

Anit

Accepted Solutions (1)

Accepted Solutions (1)

faisal_pc
Active Contributor
0 Kudos

Hi TCS(I don't see a name. ),

This seems to be because of the auto save functionality enabled as mentioned in note  2046890. Could you check the note 2104051 which should actually resolved your issue.


Thanks,

Faisal

Former Member
0 Kudos

Hi Faisal,

THanks for the reply.

I badly need any help here.

I tried doing transaction SMICM and by following the menu path Goto->HTTP Plug-In -> Server Cache -> Invalidate Globally.

mentioned in the note to remove the cache entries but somhow it didnt work.

I tried doing binding of view with component controller but it didnt work either.

My view is a value node and added on a overview page.

Any other suggestion?

Or can you tell me how to switch off this autosave feature so that i can check after switching it off.

I will reward for any help.

thanks in advance.

THanks
Anit

faisal_pc
Active Contributor
0 Kudos

Hi TCS,

Hoow to deactivate the auto save is clearly mentioned in the note. It's a new feature to keep the old data when you navigate from the page without saving/canceling the order. It expects that your browser got crashed and preserve the data. This can be deactivated by going to Customer relationship Management->UI framework->Technical profile->Parameters->Here the parameter 'WCF_AUTO_SAVE' and give the value as 'OFF'. This is to be done per business role profile. (I remember this is the path. I don't have system access now and thus can't confirm. I can confirm on Monday however, it's very clearly mentioned in the note I given.). Please go through the note given by me.

Thanks,

Faisal

Former Member
0 Kudos

Hi Faisal,

I check that note.

i tried writing this code in my htm of the view which is restoring the data

<input type="hidden" name="thtmlbAutoSave_Off" id="thtmlbAutoSave_Off"/>

but somehow it didnt work.

I tries adding parameter in the SU3 but this parameter does not exist in the system.

I was trying to add a technical profile but there was no option t add a paramaeter in technical profile.

is it a function profile? could you please check and give me steps to add it in technical profile.

Good new is i tried using viewset in place of overview page and viewset is not restoring the data so the problem is only with overview page.

I think we are close.

THanks

ANit

faisal_pc
Active Contributor
0 Kudos

Hi Anit,

I doubt whether you have gone through the whole note. In the note it is mentioned about some manual activity if you are in a lower version than SP03.

"Creating User Parameter:

You need to create a new entry in the package BSP_DYN_CONFIG_TAG_LIB

Folder SET/GET Parameters

- Tcode: SE80

- Select Package in the dropdown list.

- Enter "BSP_DYN_CONFIG_TAG_LIB" in the input field

- Press Enter

- Expand the folder " SET/GET Parameters "

- Right Click the folder and click "Create"

- Enter the "Name": "WCF_AUTOSAVE_SWITCH" and "Desciption": "Switch to turn AutoSave Feature On/Off" and save.

================================================================

Creating Customization Parameter

1) Tcode: wcf_cust

2)Technical Role definition

3)Define Parameters

4)double click Parameter Definition

5) add the parameters: "WCF_AUTOSAVE_SWITCH" with description: "ON/OFF autosave feature"

6) Go back

7) in the profile definition table, select the profile you want to enable this feature for. and double click Parameter Assignment

8)add parameter WCF_AUTOSAVE_SWITCH that can take the following values:

OFF: Feature will be turned off.

ON: Feature will be turned on

Note: if the parameter is not added or left empty the Feature will be turned On by default."

Also, why are you not able to add the parameter?. Use the following path.

Thanks,

Faisal

Former Member
0 Kudos


Hi Faisal,

U r d best man.

Thanks Aloooooooooot.

It solved my problem.

THanks

Anit

faisal_pc
Active Contributor
0 Kudos

Hi Anit,

Happy to know that your issue is resolved. However as per my understanding, there is a chance that this can still occur. Consider applying note 2144604 in that case. If that is also not enough, wait for some more time. SAP has a pilot note getting ready as they had lots of issue from different clients on this auto save functionality.

Thanks,

Faisal

Answers (1)

Answers (1)

Former Member
0 Kudos


Hi ALl.....any suggestions?