‎2009 Feb 07 5:30 PM
Hi All,
I need to write a program that would schedule another program in background multipul times according to input we provided on different application servers.
For ex:- In table FKKVKP, i am having 2.1 millons contract accounts. I need to write a program(A) that should take 5000 contract accounts at a time as a input and schedule another program(B) in background with input of 5000 contract accounts. And program A ,again schedule program B on differrent application servers , till 2.1 millions contract accounts get used.
Thanx in advance.
Regards,
Dilip Kushwah
‎2009 Feb 08 3:37 AM
Hi,
In your custom prpgram use the FM
JOB_OPEN
SUBMIT statement.
CLOSE_JOB
JOB_SUBMIT
you can use the options available in the submit statement to process 5000 records in a single job.
‎2009 Feb 07 5:50 PM
hi,
1) Carry out the recording for the required transaction using SHDB.
2) Use batch input method to create session this is done by three FMs
bdc: open_group, bdc_insert, close_group.
3) A session is created , which can be seen in transaction SM 35.
4) Use the standard program RSBDCSUB to configure the session created in SM35.
This way you can achieve your requirement.
Check this links too for more information
Batch input [http://help.sap.com/saphelp_nw04/helpdata/en/fa/097015543b11d1898e0000e8322d00/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0e8a725311d396a80004ac96334b/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0e8a725311d396a80004ac96334b/content.htm]
Thanks
Sharath
‎2009 Feb 08 3:37 AM
Hi,
In your custom prpgram use the FM
JOB_OPEN
SUBMIT statement.
CLOSE_JOB
JOB_SUBMIT
you can use the options available in the submit statement to process 5000 records in a single job.