2007 Oct 14 12:22 PM
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**
2007 Oct 14 12:35 PM
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
2007 Oct 14 12:44 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |