03-01-2011 5:53 PM
Hi Experts,
I am working in one modification report requirement ,the report is Mass upload will update and run the file via batch input session. The client requirement is to implement the report execution in background mode , the batch input session will process automatically (ie. the job runs the batch input session in background and process the session ends).
Currently, the report calls SM35 to write a batch input session and the user manually selects the session and record the transactions.
Once the Transaction enters and the selection-screen inputs are given, then the transaction executed in background mode and all the above batch input process to be implemented.
Please advise and guide me, how to proceed.
I need your guidance to proceed via Call transaction using bdcdata statement, if it can be achieved the requirement.
Thanks & Regards
San.
03-02-2011 6:19 AM
Use submit rsbdcsub in your program and pass the selection screen parameters.
submit rsbdcsub
using selection screen 1000.
with .....
and return.
Search the forum. It has been answered earlier.
03-01-2011 6:03 PM
Hi,
If you want to use CALL Transaction, than provide mode as 'N' and go forward.
Another way is In your Selection-Screen after you entered all the value -->on the Left top Click on Program >Exceute in background>Give the output device-->select immediate .
It will be scheduled and will process.
Thanks
Arbind
03-01-2011 6:16 PM
Hi Arabind Prasad,
Thanks for your inputs.
I know the process of the report Execution in background and job steps.
I want the inputs for how to upload thru Batch input session in background job and the session should also processed automatically
.
Currently the report logic declared like call transaction 'SM35' and skip first screen.Once the report (tcode) executed (not in background) It writes one session in SM35. The user should select the session and process the transaction manually.
The new requirement is, if the report (tcode) executes in background mode...what and how the batch input session should be declared and how it process automatically (like you said mode 'N').
Hope I am clear in my query.
Please advise.
Regards
San.
Edited by: San Learner on Mar 1, 2011 7:16 PM
03-01-2011 6:43 PM
Hi,
I think you can use the Call transaction process.
e.g.
CALL TRANSACTION 'SE24' USING it_bdcdata
mode 'N'
update 'A'.
Thanks
Arbind
03-01-2011 7:05 PM
Hi San,
you can use report RSBDCSUB this helps you to process the session without using SM35. you can call this report in your program and then schedule your main program to do the mass upload.
Thanks
03-02-2011 6:19 AM
Use submit rsbdcsub in your program and pass the selection screen parameters.
submit rsbdcsub
using selection screen 1000.
with .....
and return.
Search the forum. It has been answered earlier.
03-02-2011 6:29 AM
hi,
For Batch input session you schedule this job in sm36 and assign the parameter according to your requirement.
03-03-2011 8:57 PM
SUBMIT rsbdcsub AND RETURN " return when finished
WITH mappe = w_batch_name " batch session name
WITH z_verarb = 'X' " To process
WITH fehler = ' ' " not batch sessions in error
WITH logall = 'X'. " Extended log
--
Raul Natu