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

Infotype updation ?

Former Member
0 Likes
493

Hi experts,

I am updating the infotype 0001 from a flat file in application server.I am storing the flat file in an internal table.then using the FM "HR_INFOTYPE_OPERATION for updation.In the FM I am passing the values as per given code.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0001'

number = p0001-pernr

subtype = p0001-subty

objectid = p0001-objps

lockindicator = p0001-sprps

validityend = p0001-endda

validitybegin = p0001-begda

  • recordnumber = p0001-seqnr

record = p0001

operation = 'INS'

tclas = 'A'

dialog_mode = '2'

IMPORTING

return = return

key = key.

I am goin to modify the values but its not getting updated.The error shown while updating is " Entry 10 does not exist in T543A(Check Entry)".Flat file structure creates the problem I think so.but I checked the flat file its getting updated properly and proper values are passing into the FM.I think the problem is in given FM.Can Any one suggest me what can I do for clear updation.

Thanks in advance,

Sakthi.C

**Points assured for valid reply**

Hi experts,

I am updating the infotype 0001 from a flat file in application server.I am storing the flat file in an internal table.then using the FM "HR_INFOTYPE_OPERATION for updation.In the FM I am passing the values as per given code.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0001'

number = p0001-pernr

subtype = p0001-subty

objectid = p0001-objps

lockindicator = p0001-sprps

validityend = p0001-endda

validitybegin = p0001-begda

  • recordnumber = p0001-seqnr

record = p0001

operation = 'INS'

tclas = 'A'

dialog_mode = '2'

IMPORTING

return = return

key = key.

I am goin to modify the values but its not getting updated.The error shown while updating is " Entry 10 does not exist in T543A(Check Entry)".Flat file structure creates the problem I think so.but I checked the flat file its getting updated properly and proper values are passing into the FM.I think the problem is in given FM.Can Any one suggest me what can I do for clear updation.

Thanks in advance,

Sakthi.C

**Points assured for valid reply**

2 REPLIES 2
Read only

Former Member
0 Likes
464

Hi

It seems the 10th record in Flat file is creating problem

See the entries in T543A table

May be problem with one of the fields like Country grouping(MOLGA) or Sub type (SUBTY) or STAGB.

check for these fields values and see that they are there in that table

Then only it will update that infotype.

Regards

Anji

Read only

0 Likes
464

HI anji,

Could you please explain me coz' I am updating only one record from flat file.the flat file fields are in following order as I given below.

pernr

werks

persk

vdsk1

abkrs

ansvh

the flat file structure is given below.

00424500 ZZZZ V2 ZS C2

with tab delimited format.

Message was edited by:

Sakthi Saravanan C