2007 Sep 24 10:23 AM
Hi experts,
I sucessfully added infotype crecords in HR-ABAP using function module HR_INFOTYPE_OPERATION. For deleting the same record using the same function module (operation = 'DEL'), i got error message as <b>009No data stored for 0008 in the selected period</b>. What is the problem...?
Can any one pls solve it.
<b><REMOVED BY MODERATOR></b>
Thank u.
Regards,
Murugan Arumugam
Message was edited by:
Alvaro Tejada Galindo
Hi experts,
I sucessfully added infotype crecords in HR-ABAP using function module HR_INFOTYPE_OPERATION. For deleting the same record using the same function module (operation = 'DEL'), i got error message as <b>009No data stored for 0008 in the selected period</b>. What is the problem...?
Can any one pls solve it.
<b><REMOVED BY MODERATOR></b>
Thank u.
Regards,
Murugan Arumugam
Message was edited by:
Alvaro Tejada Galindo
2007 Sep 24 10:30 AM
You can use teh same function module for deletion. Pl check the dates & other parameters of the function call.. you can set the DIALOG_MODE = '2' to verify the values that get passed to the screen..
Arya
2007 Sep 24 10:46 AM
Hi Arya,
it doesn't go to the Dialog mode. simply it is throwing the errors message as i given before.... what r all the parameter for deletion.. can u please give me an example source code for deletion..
Regards,
Murugan Arumugam
2007 Sep 25 1:11 AM
HI Murugan,
Following is the sample code for deletion of a record using the FM...'HR_INFOTYPE_OPERATION'
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '4002'
NUMBER = RECORD_4002-PERNR
SUBTYPE = RECORD_4002-SUBTY
OBJECTID = RECORD_4002-OBJPS
LOCKINDICATOR = RECORD_4002-SPRPS
VALIDITYEND = WENDDA
VALIDITYBEGIN = WBEGDA
RECORDNUMBER = RECORD_4002-SEQNR
RECORD = RECORD_4002
OPERATION = 'DEL'
TCLAS = 'B'
DIALOG_MODE = '0'
IMPORTING
RETURN = RETLIST.
Regards,
Ranganathan.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |