Hi all,
I have seen how to create a servergroup in Tx RZ12 joining servers into a group and leaving free Workprocesses (for other users).
Now I want to execute a program in parallel using this server group and I do not know how.
(How) Can I use a servergroup executing a standard program? and/or using a self;written program?
I would appreciate if someone could geive me examples/explanation.
Thanks in advance
Thomas
Hi Prabhu,
I think this fm is used to check the free Workprocesses of the servergroup.
My question was how can I use servergroups for
a) standard reports/programs
b) customer reports/programs
with reference to a):
is there an option in an standard program where I can select the servergroup to be used?
what have I to implement in my programs if I want them to be executed by a servergroup?
Perhaps someone can explain this to me???
Thanks,
Thomas
check this FM
* Optional call to SBPT_INITIALIZE to check the * group in which parallel processing is to take place. * Could be used to optimize sizing of work packets * work / WP_AVAILABLE). * call function 'SPBT_INITIALIZE' exporting group_name = group "Name of group to check importing max_pbt_wps = wp_total "Total number of dialog work "processes available in group "for parallel processing free_pbt_wps = wp_available "Number of work processes "available in group for "parallel processing at this "moment exceptions invalid_group_name = 1 "Incorrect group name; RFC "group not defined. See "transaction RZ12 internal_error = 2 "R/3 System error; see the "system log (transaction "SM21) for diagnostic info pbt_env_already_initialized = 3 "Function module may be "called only once; is called "automatically by R/3 if you "do not call before starting "parallel processing currently_no_resources_avail = 4 "No dialog work processes "in the group are available; "they are busy or server load "is too high no_pbt_resources_found = 5 "No servers in the group "met the criteria of "two work processes defined. cant_init_different_pbt_groups = 6 "You have already initialized "one group and have now tried "initialize a different group. others = 7..
regards
Prabhu
Add a comment