Posted: Wed Oct 29, 2003 8:59 pm Post subject: Error on DB LOOKUP inside a function
Novice
Joined: 20 Aug 2003 Posts: 18
I am trying to excute it inside a function. My requirement is that to hold these db look up values in a Environment variable called rDBLookup, which is a reference, sending by REf to the function.
SET rDBLookup.DATA[] = (SELECT T.ZUPDMAT,T.ZUPDMAU,T.ZUPDMIP FROM Database.ZCS_G7TDMS_CFG_SAP_UPDATE AS T WHERE
T.ZSTAT_TO = rInMfcRefTarget.statusind AND
T.ZCURR_ST = rInMfcRefTarget.statusonsap AND
T.ZMAT_TYPE = rInMfcRefTarget.sapmattypform) ;
Function is getting all input values properly but createing problem when it trying to store values in rDBLookup.DATA[] .
Below error is getting through trace file.
BIP2536E:The dynamic field reference supplied to the SET statement does not resolve to a non-list field in a modifiable message tree. The dynamic field reference supplied to the SET statement must resolve to a non-list field in a modifiable message tree.Ensure that only non-list references to modifiable trees are passed to the SET statement.
Can i do this in other way out???
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum