Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Automating an interface

Former Member
0 Likes
1,156

Hi,

Currently I have transported my object to QA... how do I automate this interface??

Thank You,

SB.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,114

If you are talking about automatic execution of the program in production on a particular schedule, then you are looking for job scheduling. Once you go production, you can create a variant for your interface. Go to SE38, execute. Once you get to the selection screen, fill in the values you need for running the program in an automated mode and then SAVE. Once you save the variant, go to SM36 and create a job using this program and variant.

Srinivas

10 REPLIES 10
Read only

Former Member
0 Likes
1,114

Hi,

Generally this is not automated,as it requires approval from the business analyst & also the initial testing is through successfully in the development server.

Read only

Former Member
0 Likes
1,114

Hi ,

What do you mean by Automation. Are you want to use work flow for transport requests.

Lanka

Read only

0 Likes
1,114

nopes no work flow involved in this interface... & testing is done thoroughly in dev... I think that this has to do with job scheduling .. but was not sure ... so only asked this question

Read only

0 Likes
1,114

Hi SB,

Ok. Some of the companies using workflow for auto release of CTS.

Then close the Post.

Lanka

Read only

0 Likes
1,114

Hi

Yes you're right!

I'm working on the system where some jobs are periodically scheduladed and they transport all released request.

In my system these job start every 15 minutes.

Anaway the transport from QA to PRD is manually done.

If you're interesting I can look at which programs are in these jobs.

Max

Read only

0 Likes
1,114

Dear Lanka,

Is there any standard workflow setup for CTS or we need it to configureit.Pls let me know if any standard workflow existing.

Best Regards,

Suresh.

Read only

0 Likes
1,114

Hi Suresh

Try to see the transaction STMS and select your queue and Go to->Job Monitor.

Max

Read only

Former Member
0 Likes
1,115

If you are talking about automatic execution of the program in production on a particular schedule, then you are looking for job scheduling. Once you go production, you can create a variant for your interface. Go to SE38, execute. Once you get to the selection screen, fill in the values you need for running the program in an automated mode and then SAVE. Once you save the variant, go to SM36 and create a job using this program and variant.

Srinivas

Read only

0 Likes
1,114

Hi Srini,

So for my interface the vendor invoices comes in a flat file in a particular Unix directory . This should automatically get picked up, executed, create batch sessions, process batch sessions, if sucessfull create a document if unsucessful creates a log in SM35.

My prog. reads the data (by statement open dataset, read dataset, close dataset), creates batch sessions (I have submit RFBIBL00 statement in my prog), process batch session (I have submit RSBDCSUB statement in my program). Here my prg ends. Then to verify I goto SM35 to see the log...

From your solution u say that from SM36, this will take away the manual execution (F8) from the scene. The moment the file comes in the Unix directory it will execute automatically & post the invoices??

Read only

0 Likes
1,114

Yes and No.

Yes, it automatically executes the program, but not as soon as the file appears in the unix directory. It can run at a certain specified time, or a certain period/interval or after an event is triggered or after another job.

Since you are doing all the submits from within your program, you don't need multiple steps. Just one step for your main program is sufficient.

Regards,

Srinivas