2008 Feb 12 4:12 PM
Hi Experts,
I have recently created a program to extract activity information with the use of GUID retrieval from CRMD_ORDER_H table and a BAPI call with the guids returned.
I have selection screen criteria for process type and a date range. I've had problems with the program completing due to the volumen of info that is being pulled. The program manages to pull data for a week at a time (and also for the process type range i want ) without failing.
My problem is that i have to extract information up til the beginning of the last year and i dont want to have to create multiple variants within sm36 (There would end up being to many)
Is it possibe to create a secondary program that will kick start a job and also supply the correct parameters (i.e date range) from within this program???
Thanks in advance
Confused!!
Hi Experts,
I have recently created a program to extract activity information with the use of GUID retrieval from CRMD_ORDER_H table and a BAPI call with the guids returned.
I have selection screen criteria for process type and a date range. I've had problems with the program completing due to the volumen of info that is being pulled. The program manages to pull data for a week at a time (and also for the process type range i want ) without failing.
My problem is that i have to extract information up til the beginning of the last year and i dont want to have to create multiple variants within sm36 (There would end up being to many)
Is it possibe to create a secondary program that will kick start a job and also supply the correct parameters (i.e date range) from within this program???
Thanks in advance
Confused!!
2008 Feb 13 3:26 AM
Hi,
Ya u can use the foll FMs(together) to schedule a job from ur pgm......
Job_open
Job_submit
Job_close
u can pass variants,spool recipients.......anything u can do in SM36.......
Cheers,
jose.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |