Skip to Content
author's profile photo
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 30, 2007 at 02:58 PM


    Instead of passing the data to the forms or tables by directly connecting them to the data sources, try and use signal out and signal in, if a table gets data from either of 2 sources then each source should have a signal out with the same name and the signal in should have the same name.

    Jarrod Williams

    Add comment
    10|10000 characters needed characters exceeded