How to select a row from SAP Table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-11-18 12:21 PM
Dear experts,
BP has successfully identified a SAP Table.
I want to select a row from this table but I found that for SAP table, BP only has "GetAllItems" action in read stage.
NO other actions / stages can be found.
I'm new to BP, could anyone advise how to select a row from SAP Table?
Thanks in advance.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-11-18 01:56 PM
Hi,
it is possible to do it with code stage:
var grid = (GuiGridView)GetSession().FindById(elementId);
grid.SelectedRows = selectedRows;
2 inputs:
SelectedRows - indexd of selected row (starting from 0 I think)
elementId - Element Id of table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-02-19 03:15 AM
How do you setup your object global code to be able to use code stages with SAP ? I can't seem to find this information anywhere.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-03-19 05:39 PM
Hello,
If code doesn't works.
Then fetch all the rows to collection and use the required row.
Good Luck.
Regards,
Sukesh.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-03-19 04:05 AM
I would like to know about this code too, I've never used the code stage so not really sure how to set it up to work with SAP
I need to navigate within a SAP table, but getting the values and trying to navigate by scrolling down is unreliable at best, coding this will be a much better approach, I'd highly appreciate if someone can provide more info on this
thanks in advance
