Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR_INFOTYPE_OPERATION

Former Member
0 Likes
563

Hi Experts,

I am working on ECC 6.0 and I have assigned

data: g_pa2003 type pa2003.

I am tring to delete a record in It2003. I am getting a dump which says ' a field should have been assiged to a field symbol, which is shoter then the field symbol'. Please help me out.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '2003'

number = st_rec-employee

SUBTYPE = '01'

  • OBJECTID =

  • LOCKINDICATOR =

VALIDITYEND = '20080426'

VALIDITYBEGIN = '20080426'

  • RECORDNUMBER =

record = g_pa2003

operation = 'DEL'

  • TCLAS = 'A'

  • DIALOG_MODE = '0'

  • NOCOMMIT =

  • VIEW_IDENTIFIER =

  • SECONDARY_RECORD =

  • IMPORTING

  • RETURN =

  • KEY =

.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
507

Best bet. This is specifically for IT2003.

Try this FM HR_QUOTA_CORRECTION_REMOTE

Amandeep

Hi Experts,

I am working on ECC 6.0 and I have assigned

data: g_pa2003 type pa2003.

I am tring to delete a record in It2003. I am getting a dump which says ' a field should have been assiged to a field symbol, which is shoter then the field symbol'. Please help me out.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '2003'

number = st_rec-employee

SUBTYPE = '01'

  • OBJECTID =

  • LOCKINDICATOR =

VALIDITYEND = '20080426'

VALIDITYBEGIN = '20080426'

  • RECORDNUMBER =

record = g_pa2003

operation = 'DEL'

  • TCLAS = 'A'

  • DIALOG_MODE = '0'

  • NOCOMMIT =

  • VIEW_IDENTIFIER =

  • SECONDARY_RECORD =

  • IMPORTING

  • RETURN =

  • KEY =

.

2 REPLIES 2
Read only

Former Member
0 Likes
507

Hi Irfan - this FMod wants a type like P2003, not PA2003

Read only

Former Member
0 Likes
508

Best bet. This is specifically for IT2003.

Try this FM HR_QUOTA_CORRECTION_REMOTE

Amandeep