10-07-2008 9:41 AM
HELLO,
HOW TO SETTING THE BACKGROUND CALL TRANSACTION PRIORITY?
THANK'S.
10-07-2008 9:52 AM
Hi,
you can use mode as 'N' or 'P'.
if you use 'N'....alll the processing done in background.
ex:-
call transaction <tcode> using <bdc table> mode 'N' update <> .
if you use 'P' ....all the screens are processed in background mode..but debugging is possible.
Regards,
venkat
10-07-2008 9:55 AM
sorry but i want to setting the priority session of call transaction, for example A, B or C
10-07-2008 10:04 AM
Hi,
Background processing is used to: Reduce the load on the dialog processor, as the dialog wp duration is limited.
You can define and schedule background jobs in two ways from the Job Overview:
Directly from Transaction SM36.
The Job Wizard : To use the Job Wizard, start from Transaction SM36, there you'll find Job Wizard
Procedure
Call Transaction SM36.
Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
Set the jobu2019s Priority or Job Class
High priority: Class A
Medium Priority: Class B
Low priority: Class C
Target server field, indicate whether to use system load balancing.
For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
To use a particular application server to run the job, enter a specific target server.
If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
Define the by choosing Step, then specify the ABAP program,external command or external programe to be used for each step.
Save the fully defined job to submit it to the background processing system.
Status of Background Job:
Scheduled: Job created but start condition not defined.
Released: Job completely defined and is waiting for selection
Ready: Job has been selected for execution
Active: Job is being executed by a Background processor
Finished: Job successfully completed.
Canceled: Job terminated.
Start Condition:
Time Based : Immediate, At a date or time, On a chosen workday
Event Based: After an event, After a Job, After an operation mode switch.
Using SM37 you can monitor the Background Jobs.
Regards,
venkat
10-07-2008 10:16 AM
thank's for the explanation,
perhaps I'm not explain very well my question:
I've this situation:
CALL TRANSACTION 'VA02'
USING t_bdcdata
MODE 'N'
UPDATE 'S'
MESSAGES INTO bi_messaggi. .
IF sy-subrc NE 0.
this extract of code run in background mode but with 'C' priority session default.
how to setting 'B' priority session by ABAP code?