Abap_Session_in_background

I have an ABAP program that creates a batch input session.
I need to submit the program and the batch session in background. How to do it?
Thank You

For submitting the SESSION, you can use below statement.
SUBMIT RSBDCSUB TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH IMMEDIATELY = SPACE
WITH MAPPE = G_SESS " Session Name
WITH VON = SY-DATUM
WITH BIS = SY-DATUM
WITH Z_VERARB = 'X'
WITH FEHLER = SPACE
AND RETURN.
Note that G_SESS is the session name that has been created.
For executing your program in background you can schedule
a job.
Above code is for executing the session immediately after creating one.
Kind Regards
Eswar
Message was edited by: Eswar Rao  Boddeti

Similar Messages

Maybe you are looking for

  • HELP! Started as freezing and now won't start!

    Just to start, I have a Satellite P500 (P500-ST6822 to be specific). Specs:  System Manufacturer/Model Number: TOSHIBA/Satellite P500-ST6822 OS: Windows 7 Professional 64-bit  CPU: Intel Core 2 Duo CPU P8700 2.53GHz  Memory: 6144MB RAM  Graphics Card

  • How to print Korean Language

    Hi I wanted to print the output of the oracle report in Korean language. I registered a report with the output type as text , am i able to display the output of the concurrent program in Korean Language, as the client is looking for pdf format, i cha

  • Adobe Acrobat XI Pro SIGNATURES

    My subject: Employee Onboarding My short-term goal: To allow user to save his or her signature securely, when they access the form with Adobe Reader, so that they can access it for future use. My long-term goal: To set up an employee onboarding acces

  • JDBC Receiver: FATAL ERROR document format: invalid level 4

    Hi, I am creating an IDOC -JDBC scenario . The XML created has action as delete. but in the comminication channel i am  getting an error which is Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing reques

  • Need information about different databases

    Hello everyone, What is the difference between a server and a database? What is a UAT,ODS,SIM databases? please explain them in detail What is the use of synchronising 2 databases? what is a cluster in a database? Thanks Lourdes