‎2008 May 19 9:32 AM
Hi,
I have a Internal table from which i need to update to a DB table. while Inserting or modfying record to DB table,I need to capture the standard error message. For ex.. PErsonnel number is Locked.
And i need to dispaly all these error message list in a report.
My Q is, How to get the standard error message.
Thanks,
Kanal.
‎2008 May 19 9:37 AM
loop at itab.
use FM HR_INFOTYPE_OPERATION to update infotype..
this returns message ..
print them ...
endloop.
‎2008 May 19 9:40 AM
Hi,
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0416'
number = p0416-pernr
subtype = p0416-subty
objectid = p0416-objps
lockindicator = p0416-sprps
validityend = p0416-endda
validitybegin = p0416-begda
recordnumber = p0416-seqnr
record = p0416
operation = 'EDQ'
nocommit = nocommit
importing
return = error_message
key = pakey.
‎2008 May 19 9:43 AM
Hi,
Its not an Infotype,Im inserting/updating Ztable.
Update ztest from Wa.
Regards,
Kanal