cancel
Showing results for 
Search instead for 
Did you mean: 

Auto refresh of Web UI screen after calling event handler

Former Member
0 Kudos

Hi All,

I have requirement that I need to update the marketing attributes of a BP in event handler by using standard FM. I am calling this event handler in the overview page of the account details screen by clicking on the button. Marketing attributes are updated in the background but it will not refresh the screen. so that it will not display the updated marketing attribute values. After calling event handler it is invoking getter method also, but it is fetching old values only. 

Please guide me how to refresh the screen to display the updated values in the account details screen.

Many thanks in advance.

Kind Regards,

Manjunatha.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188098
Active Contributor
0 Kudos

hi Manjunatha,

Have you checked with save and commit statement , i think it is picking data from buffer.

Regards,

Former Member
0 Kudos

Even if we use reread method also it is fetching data from database. It is getting the updated methods.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Manjunatha

Right now you are in header page ( ie., overview page ) . may be you are getting the data from search page and when you enter into the header page the data from search page will be displayed ( particular nodes will be binded with the data you got from search page ).

And you are updating data in the backend ( event handler ) using a FM and it will be updated in the database but the data which you get from search page will not be updated

[ because the data which you got by searching from search page  is before updating and you passed it to header page and you are using there by binding it to the required nodes and no where you are changing ( old data ) it by updated data so you will get the previous data only ]

Hope i am clear . Let me know i f any issue with this

Regards

Dinesh Gurram

chetan_mishra
Participant
0 Kudos

Manjunatha,

Check in the debugger if the changes in the Marketing Attributes are being shown in the BOL.

If the field is a drop down field, please check that the new value is available in the drop down list, otherwise the changes will not be reflected.

Regards,

Chetan Mishra