Skip to Content
0
Former Member
Mar 06, 2009 at 12:12 PM

Multiple Spool download

361 Views

Hi Friends,

I am using a FM RSPO_RETURN_SPOOLJOB inside a program to download the spool request to a file in Appln.Srvr ,if i input the spool number on the selection-screen as a Parameter, iam able to get the spool request downloaded to a file, but if i give a range of Spool number for INSTANCE from 1203 to 1206 i get a run time error with the following details with the error pointing at the below code.

Currently p_spool is being passed as Parameter in the program.

How could this be changed to download multiple spool request at a time .Please suggest.

|

The call to the function module "RSPO_RETURN_SPOOLJOB" is incorrect:

The function module interface allows you to specify only

fields of a particular type under "RQIDENT".

The field "P_SPOOL" specified here is a different

| field type

CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'

EXPORTING

rqident = p_spool

Thanks

Meenakshi