I have included JOB_CLOSE in my function module.
Here the job which i am passing is running in background and sends out a spool which i need to send to specified receipient immediately as the job finishes.
I found that JOB_CLOSE has a parameter RECEIPIENT_OBJ where i can give the receipient to whom i can send the spool of the job.
I want to know how do i pass a value to it..because it is of type structure SWOTOBJID.
So i defined a work area like this structure.
I do not know what values i should assign to OBJTYPE,OBJKEY,DESCRIBE etc..
Can anyone throw some light on this??