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

Function Module to get central instance - /SDF/INSTANCE_INFO

joo_gaia
Explorer
0 Likes
848

Hi All

Inside an abap program it is necessary to create a job. This job must run at the central instance with high priority.

I am going to use the FM /sdf/instance_info to obtain the central instance and export it at the targetserver parameter of the function JOB_CLOSE.

At the FM JOB_OPEN I will export 'A' to the parameter job_class.

My question:

- This function /SDF/INSTANCE_INFO may somehow cause damage to the production environment?

- Submitting a job with class 'A' may harm the production environment?

Could you please advise?

Thanks in advance.

João Gaia

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
551

Hi,

The FM only reads the central instance, it wont update anything so you can use the FM.

A-High priority, the system reserves at least one separate background work process for your job. Class A jobs are always processed before jobs of other classes.

If your job is a critical job then use this class otherwise use default class C.

Regards

Praveen

2 REPLIES 2
Read only

Former Member
0 Likes
552

Hi,

The FM only reads the central instance, it wont update anything so you can use the FM.

A-High priority, the system reserves at least one separate background work process for your job. Class A jobs are always processed before jobs of other classes.

If your job is a critical job then use this class otherwise use default class C.

Regards

Praveen

Read only

0 Likes
551

Thanks a lot. I am going to implement it at the production environment.