2009 Mar 06 12:12 PM
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
2009 Mar 06 12:26 PM
Change the parameter to Select Option and use LOOP-ENDLOOP and call FM inside that.
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
2009 Mar 06 12:26 PM
Change the parameter to Select Option and use LOOP-ENDLOOP and call FM inside that.
2009 Mar 06 12:27 PM
Hi
Once spool is created, read table TSP01 based on u r spool details and get the latest spool number
Pass this to FM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |