Skip to Content
0
Former Member
Dec 09, 2008 at 04:10 AM

Feature LGMST and Batch input failure

28 Views

Hi -

My bdc recording is not taking into a account HR feature LGMST. The feature LGMST is automatically recalculating and replacing the exempt wagetype with a non-exempt wagetype when exempt employees move from an exempt position to a non-exempt position. When I use PA30 to copy the old infotype 8 record I get the normal expected LGMST behavour, but when I do a BDC recording it is not taking into account the Feature. What am I doing wrong?

l_opt_bdc-dismode = 'N'.

l_opt_bdc-UPDMODE = 'S'.

perform bdc_dynpro using 'SAPMP50A' '1000'.

perform bdc_field using 'RP50G-PERNR'

'15545'.

perform bdc_field using 'RP50G-CHOIC'

'0008'.

perform bdc_field using 'BDC_OKCODE'

'=COP'.

perform bdc_dynpro using 'MP000800' '2010'.

perform bdc_field using 'BDC_OKCODE'

'UPD'.

perform bdc_field using 'P0008-BEGDA'

'12/01/2006'.

perform bdc_field using 'P0008-ENDDA'

'12/31/9999'.

perform bdc_field using 'P0008-WAERS'

'USD'.

CALL TRANSACTION 'PA30' USING bdcdata

OPTIONS FROM l_opt_bdc

MESSAGES INTO MESSTAB.