I don't think there is straight way of getting the field name.
You can also try to have different versions of Script_NoDataErr, one for each field.
I hope that helps
Hm...I thought as much. The datawarehouse delivers close to a hundert fields so I was hoping to avoid replicating scripts for each field.
If you don't want to have multiple scripts then you have alternate solution
You can easily find the field as you have strField and strRecord
For example, if you can uniquely identify values so all field values in the data row are different:
strField = "B"
strRecord = "A;B;C"
intIndex = getIndex("B", "A;B;C")
1: strFieldName = "Account"
2: strFieldName = "Entity"
You can easily build getIndex with string operations.
Or prefix your field value with field id.
In your import format you will have to repeat lines for same dimension:
Line 1 for Account -> Expression = 1_
Line 2 for Acocunt --> Expression = your script