Skip to Content
0
Apr 01, 2011 at 03:06 AM

get abkrs(payroll area) from 'HR_FEATURE_BACKFIELD'

1233 Views

Hi all,

i am using the fm 'HR_FEATURE_BACKFIELD' to try fetching the payroll area.

i am passing the structure pme17 to STUC_CONTENT and ABKRS to Feature.

But the value for payroll_val is always returning ZZ.

pme17-tclas = 'A'.

And also i am passing BUKRS,PERG,PERSK,WERKS and BTRTL to this structure.

CALL FUNCTION 'HR_FEATURE_BACKFIELD'

EXPORTING

FEATURE = 'ABKRS'

STRUC_CONTENT = pme17

IMPORTING

BACK = abkrs_val

CHANGING

STATUS = stat

Is this the correct way of passing data to the fm to get the payroll value.

Tried searching in the forum for this but could not find correct ones.