Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8652

Re: How to get a row number based on a content in SAP TAO 2.0

$
0
0

 

Hi Jose,

You can use the following script as a scripted component in your application area and you can use the same for table by modifying the script.

 

ComponentPath =Components\SAP R3\Common Functions\GUI Functions\Grids

Get_Grid_RowNumber_By_Content :

SetExitConsolidatedComponentOnFailure(True)

Grid = GetParameterValue("C5_C9_Get_Grid_RowNumber_By_Content_Grid")

RefColumn = GetParameterValue("C5_C9_Get_Grid_RowNumber_By_Content_RefColumn")

RefValue = ResolveParameter("C5_C9_Get_Grid_RowNumber_By_Content_RefValue")

FromStartingRow = GetParameterValue("C5_C9_Get_Grid_RowNumber_By_Content_FromStartingRow")

val = SAP_get_Grid_RowNumber_By_Content (Grid, RefColumn, RefValue, FromStartingRow)

GS_StoreValue GetParameterValue("C5_C9_Get_Grid_RowNumber_By_Content_TargetField"),val-1

 

Thanks,

Venkatesan M


Viewing all articles
Browse latest Browse all 8652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>