‎2008 May 20 6:31 PM
I can't seem to find all the possible values for HEADER-OPERA (PCL4). Does anyone out there know where to find them? Thanks in advance.
‎2008 May 20 6:41 PM
hi check this..
this is seen in the idocs..HRMD_A07
regards,
venkat
‎2008 May 20 6:43 PM
Thanks, Venkat. I'm not familiar with IDOCs, however. How do I view this document?
‎2008 May 20 6:49 PM
the opera means operation...
means u want to delete or insert or modified..
if u use the function module or bapi u will see this..
check this example..
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0001'
number = ls_i0001-pernr
validityend = '12302006'
validitybegin = '12012006'
record = ls_i0001
operation = 'INS' "p_opera
IMPORTING
return = return.
here i am hiring the employee in to the organisation..
regards,
venkat
‎2008 May 20 6:55 PM
Venkat:
This is different than the OPERA field on HEADER (PCL4). HEADER-OPERA is a CHAR1 field whereas the "INS" is not (PSPAR-ACTIO). And if you run report RPUAUD00 you'll see that an insert is an "I" not "INS". However, I can't find a list of values for this field as it's domain is simply CHAR1 and there is no lookup table.
‎2008 May 20 7:09 PM
hi check these tables...
T5CPR <-----this is for ur requirement
T588D
regards,
venkat
‎2008 Oct 08 8:03 PM
Instead of posting a new question on this let me ask the question in a different way.
I see instances of a single change that is reported by PCL4 with 2 or more HEADER records. For example, one change (such as delimiting) might be reported with two header records, one for "I" insert followed by "D" for delete. They happened at exactly the same time.
I'm looking for what these combinations mean. For example, I came across "UU" (two simultaneous updates). I've no idea how to interpret this for my report. Showing it as two separate changes doesn't fly with my users because they know it was one change. I want to put logic in my program to recognize certain groupings like this and report them as a single action, if at all possible.
Please help. Thanks.