2007 Dec 04 2:20 AM
Hi, all.
Just now I learned the FM ENQUEUE_ESFUNCTION.
ENQUEUE_ESFUNCTION - Lock an abap program so that it cannot be executed. Set the parameters as follows:
RELID = 'ZZ'
SRTF2 = 0
SRTF = (your report name)
Please note that you should not use SY-REPID to pass your report name to the function. The value of SY-REPID will change as it is being passed to the function module, and will no longer hold the value of the calling report.
But I see it's parameters in SE37, I didn't find the parameters like RELID, SRTF2, SRTF.There are MODE_TFDIR, FUNCNAME, X_FUNCNAME, _SCOPE, _WAIT, _COLLECT.
Can you explain this? Thanks in advance!
2007 Dec 04 4:04 AM
Hi,
See this thread i found in this forum, May this will help you out.
a®
Hi,
See this thread i found in this forum, May this will help you out.
a®
2007 Dec 04 4:04 AM
Hi,
See this thread i found in this forum, May this will help you out.
a®
2007 Dec 04 4:57 AM
Thanks, a®s.
I have read the thread that you recommended, and I think "RELID = 'ZZ'
SRTF2 = 0
SRTF = (your report name) " is wrong, am I right?
Regards,
feng.
2007 Dec 04 5:05 AM
2007 Dec 04 5:12 AM
Thanks again, a®s.
I think all this is wrong:
"ENQUEUE_ESFUNCTION - Lock an abap program so that it cannot be executed. Set the parameters as follows:
RELID = 'ZZ'
SRTF2 = 0
SRTF = (your report name)
Please note that you should not use SY-REPID to pass your report name to the function. The value of SY-REPID will change as it is being passed to the function module, and will no longer hold the value of the calling report. ", because there no such parameters, such as relid, srtf2,srtf.
Am I right?
Regards,
feng.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |