In SAP Read Column A and match to a Value-A and Update Column B with the Value-B

srikanthp

New Member
Hi Everyone,
I am kind of clueless of how I have to handle the following situation.
I have a table in SAP Modal window and in that table I have 4 Columns. In the Column 'Plant' I have to check if the value "2470" exists and if exists I have to update the corresponding Column 'Vendor' with "123456" value. I am able to spy the Column Plant and Vendor but the situation is the Plant value might be anywhere in the table. The following is the image of the table. and the spied element values are
View attachment 1565285818319.png
View attachment 1565285841132.png
View attachment 1565285857818.png


Any help would be appreciated. Thank you in advance.
 

ShubhamJangam

New Member
Hi Srikanthp,

If you have seen ID attribute it is same till txtVA_

For Element Input Plant> Make ID Attribute as Dynamic
**txtVA_WERKS[0,Row Count]
0 stands for Column
Row Count stand for row in that column.
and read value.
do similar for Input Vendor Plant element Input Vendor
 
Top