Skip to Content
0
Former Member
May 27, 2008 at 10:06 PM

local field in infoset

81 Views

hi,

I want to check personnel 0008 infotype wagetype amount and scale amount.

ex. personnel p0008-bet01 = 2000 but from t510 p0008 scale data derives amount 1800,

To compare these 2 amount, within an ad-hoc query, I added an edditional field to 8 infotype in infoset.

after that no error appears, when query run frım sq01, if added field selected ad hoc does not run, orherwise ad hoc runs.

how should I write code for additionbal field.

here is the code that I added to code part of local field.

tables:t510.

get pernr.

select single betrg from t510 into sklucrt

where molga = 47 and trfar = p0008-trfar and trfgb = p0008-trfgb

and trfkz = 1 and trfgr = p0008-trfgr and trfst = p0008-trfst and lgart = p0008-lga01

and begda le p0008-begda and endda ge p0008-endda.