‎2007 Sep 25 6:16 AM
Hi,
How to setup Background Processing using CALL TRANSACTION ? Whats the steps to do ?
Vinay
‎2007 Sep 25 6:18 AM
Vinay,
Do it like this.
If sy-batch = 'X'.
job_open
job_close.
K.Kiran.
‎2007 Sep 25 6:18 AM
Vinay,
Do it like this.
If sy-batch = 'X'.
job_open
job_close.
K.Kiran.
‎2007 Sep 25 6:27 AM
Hi vinay,
To use call transaction in ur program, u need to find out the Parameter ID field for that field according to which u want to call the transaction.See the code below where i have used the call transaction 'me22'.I am calling this transaction in accordance to purchase order no ie itab_out1-f_ebeln in my program and you have to write HOT SPOT ON after the field acc.to which u r calling the transaction.Here itab_out1 is my internal table for ur reference.
Its a simple code.You will have the idea of using call transaction.
Reward if useful.
loop at itab_out1.
write :
/1 itab_out1-f_ebeln COLOR 5 HOTSPOT ON,
20 itab_out1-f_lifnr,
45 itab_out1-f_name1,
60 itab_out1-f_matnr,
80 itab_out1-f_aedat,100 itab_out1-f_ebelp ,108 itab_out1-f_netpr,/,
/100'TOTAL',
108 itab_out1-f_price color 3.
hide: itab_out1-f_ebeln.
AT LINE-SELECTION.
SET PARAMETER ID 'BES' FIELD itab_out1-f_ebeln.
CALL TRANSACTION 'ME22'.
endloop.
ENDFORM. "GET_DETAILS
‎2007 Sep 25 6:29 AM
for background processing,
CALL TRANSACTION <b>MODE 'N'</b>
MODE N means no screen mode.
now u can set up job in sm37