HR_INFOTYPE_OPERATION - Infotype 0008 - basic pay
I am using the function module HR_INFOTYPE_OPERATION to create the 0008 (Basic Pay ) Infotype. I am passing
the values for p0008 structure as
P0008-PERNR = it_pa0000-pernr.
P0008-INFTY = '0008'.
P0006-SUBTY = '0'.
P0008-ENDDA = '99991231'.
P0008-BEGDA = SY-DATUM.
P0008-TRFAR = '01'.
P0008-TRFGB = '06'.
P0008-TRFGR = 'GRD01'.
P0008-TRFST = '03'.
P0008-LGA01 = '1002'.
p0008-BET01 = '568'.
This is working in the dialog_mode = 2 (with the screen).
when i make dialog_mode as 0 (background) a message is shown like
"Impossible to create an adjustment reason for a non-main pers. assignment"
Any idea what is this.
Any suggestions in this would be helpful
Thanks and Regards,