Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

VC table refresh w/ RFCs not stored procedures

I've got a complex model, but I'll separate out just a piece that represents what I want to do..I'll try to describe it. This particular example is for a list of approvers.

main model-> select "approvers" tool bar button->pop up iview that contains: start pt->RFC to get existing data from R/3 -> table view allowing user to add/edit/save/get defaults

Save button->RFC to save data->end pt->return to main model.

add or Edit button-> popup iview to form to input details w/ insert button to return entry to table view.

Get Defaults button -> popup iview to call RFC to read list of default approvers from r/3 and return all of them to table view.

The table will not refresh with the all of data returned from either popup iview. I have to save the data, sight unseen, return to the application and re-enter the approval iview before the table shows all of the data.

Here are the issues.

1. I've read the blogs and threads on the refresh button (which I tried, but since the records from the default and edit events hadn't been saved at that point, didn't work because they weren't in the database to be re-read.). I've also read about the timer, but can't figure out how to implement since (pulling from thread 3105110), it says use a timer as the start point of a table view...and I don't have anyway to have a start point of the table view since it is populated by the RFC that reads the database and the added/edited data is only in "memory" at this point.

2. The pop-up iview to return defaults will only return one record at a time. Even with the mapping set to all data rows and multiple selection allowed. Is there a way to just return all rows?

Can anyone point me in the right direction? My training is limited to reading here and the book SAP NetWeaver Visual Composer.

Former Member
Not what you were looking for? View more on this topic or Ask a question