on 04-20-2006 3:17 PM
I need to delete the extraction queue's content, before filling the setup table.
While I can schedule the setup job, I can't schedule a job for deleting the queue. I'd like to schedule both the deletion of an extraction queue and the setup job. The start condition for the setup job would be the end of the deletion job.
I'm annoyed at waiting midnight just for deleting the extraction queue with LBWQ...
But what's the name of the report for deleting a particular extraction queue (e.g. for application 13, invoicing)?
Cheers, Davide
Davide,
program name is RMCSBWSETUPDELETE.
Create variant for your application 13 for this program and schedule.
RC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have at looked the source code of the RSTRFCM1 report, which is called when deleting a queue from LBWQ.
This fragment of code deletes a queue. It needs two input parameters: the queue's name and the destination.
REPORT zbw_extractqueue_delete .
PARAMETER: qname LIKE trfcqout-qname DEFAULT 'MCEX??',
dest LIKE trfcqout-dest DEFAULT 'NONE'.
DATA sl_entry(96).
CONCATENATE sy-uname '&' qname ','
dest INTO sl_entry.
CALL 'C_WRITE_SYSLOG_ENTRY' ID 'TYP' FIELD space
ID 'KEY' FIELD 'Q22'
ID 'DATA' FIELD sl_entry.
CALL FUNCTION 'TRFC_QOUT_DELETE_QUEUE'
EXPORTING
qname = qname
dest = dest.
Cheers, Davide
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.