Skip to Content
0
Former Member
Jul 10, 2007 at 06:46 AM

regarding function module error

42 Views

hi experts,

i m using hr_infotype_operation....the syntax is like this..

loop at info_table.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

INFTY = '0015'

NUMBER = info_table-pernr

SUBTYPE = '6500'

  • OBJECTID =

  • LOCKINDICATOR =

VALIDITYEND = jtab-begda

VALIDITYBEGIN = jtab-endda

  • RECORDNUMBER =

RECORD = info_table

OPERATION = 'INS'

  • TCLAS = 'A'

  • DIALOG_MODE = '0'

  • NOCOMMIT = NOCOMMIT

  • VIEW_IDENTIFIER =

  • SECONDARY_RECORD =

IMPORTING

RETURN = W_RETURN.

  • KEY = PERSONALDATAKEY.

endloop.

but it is giving this error:::

ShrtText

Error in ASSIGN in the program "SAPLHRMM".

What happened?

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.

Error analysis

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

STRUCTURE addition.

plz help me to solve this problemmmmm