on 06-02-2014 5:32 AM
Hi,
I cannot find a way in getting the row number based on certain column content for the tables and grids in the SAP GUI using SAP TAO 2.0 or greater version.
Similarly also for the if condition and loops , which are present in the TAO 1.0 but not in SAP TAO 2.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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
Please use the component "FindRowByContent" of Controls\GuiGridView\.
This component provides the ability to search for a row by content.
Regards,
Dasaratha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dasaratha,
Thanks for your reply. But this component is basically for SAP TAO v1 right?.
Can you send me any document related to the components.
For me the Front end folder in the QC doesn't have the FindRowByContent component.
Or at least can you just send me the screen shot of the folder structure in QC, so i can understand if any component is missing from my folder structure.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.