i m using hr_infotype_operation....the syntax is like this..
loop at info_table.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
INFTY = '0015'
NUMBER = info_table-pernr
SUBTYPE = '6500'
VALIDITYEND = jtab-begda
VALIDITYBEGIN = jtab-endda
RECORD = info_table
OPERATION = 'INS'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = NOCOMMIT
RETURN = W_RETURN.
KEY = PERSONALDATAKEY.
but it is giving this error:::
Error in ASSIGN in the program "SAPLHRMM".
Error in ABAP application program.
The current ABAP program "SAPLHRMM" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
The source field is too short.
The current program, "SAPLHRMM", tried to assign a field to a field symbol.
However, the field is shorter than the type of the field symbol, which
is not allowed.
The statement in question is in the form ASSIGN f TO <fs> CASTING or
ASSIGN f TO <fs> with a field symbol that was created using the
plz help me to solve this problemmmmm