cancel
Showing results for 
Search instead for 
Did you mean: 

refreshData() doesn't work

08-01-2023 5:13 PM
ypinchuk Explorer
1191 views 4 comments
0 Likes
SAP Managed Tags
Subscribe

Hello,

I faced a certain problem with the refreshing.

I made a script which creates a new member of a dimension and after that, I'd like to see the relevant Table which has that dimension on rows be refreshed automatically, so I can see that table with the new row added with the new dimension member.

I tried to use Application.refreshData() and Table.getDataSource().refreshData() but I still have to press Refresh button

to update the table.

Please advise, how to resolve this!

Best regards,

Yuri

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

JefB
SAP Champion
SAP Champion
0 Likes

Is that dimension in rows configured in 'unbooked' mode?

ypinchuk
Explorer
0 Likes

Yes, looks like that

JefB
SAP Champion
SAP Champion
0 Likes

and is the createMembers() api returning a boolean value = true? (meaning it's succesful)

N1kh1l
Active Contributor
0 Likes

ypinchuk

Assuming the API for create returned true (member created), does the manual refresh from toolbar show the newly created member in rows of the table? If yes may be add some delay using Timer function before Application.refreshData() and Table.getDataSource().refreshData() and see if that works. Its possible that creation of member took some time if the dimension is big on master data.

Nikhil