Session in background

Hi All,
My program is generating a session . Now i need to process this session in background without going to the SM35
Is there any other alternative to do so using the FMs or by settings any options in the SUMBIT statement .
Thank you,
Regards.
Padmasri.

Yes Option is there byusing SPOOL Generation.
Create a new program and Copy same Internal table into it.
Use SUBMIT for that program in your main program as follows:
  SUBMIT (P_REPID)  TO SAP-SPOOL WITHOUT
                   SPOOL DYNPRO
                   SPOOL PARAMETERS MSTR_PRINT_PARMS
                   AND RETURN .
Use FM as follows to sent spool for execution in background.
  EXPORT T_MAIN = T_MAIN TO MEMORY ID 'T.Code'.
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
            AUTHORITY              = SPACE
            COPIES                 = '1'
            COVER_PAGE             = SPACE
            DATA_SET               = SPACE
            DEPARTMENT             = SPACE
            DESTINATION            = 'LOCL'
            EXPIRATION             = '1'
            IMMEDIATELY            = SPACE
            IN_ARCHIVE_PARAMETERS  = IN_ARC_PARAM
            IN_PARAMETERS          = IN_PARAM
            LAYOUT                 = SPACE
            MODE                   = SPACE
            NEW_LIST_ID            = 'X'
            NO_DIALOG              = 'X'
            USER                   = SY-UNAME
       IMPORTING
            OUT_PARAMETERS         = MSTR_PRINT_PARMS
            VALID                  = MC_VALID
       EXCEPTIONS
            ARCHIVE_INFO_NOT_FOUND = 1
            INVALID_PRINT_PARAMS   = 2
            INVALID_ARCHIVE_PARAMS = 3
            OTHERS                 = 4.
Regds,
Anil

Similar Messages

  • URGENT - HOW TO PROCESS A BDC SESSION (IN BACKGROUND) FROM INSIDE A REPORT

    Hi All,
    I have a requirement wherein I need to create a BDC session for mass update(from file) of one transaction and check if at all that update has taken place and proceed with the same session for another transaction.
    For this I need to know how to process the session in background in a report, so that if the processing is done, the next set of data to update a different transaction can happen.
    All inputs are welcome and highly valuable to me.
    If someone is unable to intrepret this, I'll detail it again.
    Thanks in advance,
    Vaishnavi Varadarajan

    Hi,
    1.Use RSBDCDRU is an exe pg.With this u can download the logs into local file.
    2.It will create the spool request .from there u can download or print.
    OtherWise:
    Use the code from the link below. U need to provide the session queue id as input and it will download the log to an excel file. U can change it to  ur reqmt.
    Re: BDC
    regards
    kiran

  • SM35 Re-processing of Incorrect/Error session in Background Mode

    Hi all,
    I am trying to reprocess a session in SM35 which is in Error status. Here I am a facing an issue, if I reprocess this session in background mode then it says that Batch input data is not available for a screen which is already processed. Ideally it should start from the screen where it threw error in the first run. If I select mode as Foreground or Display error then session is getting processed correctly.
    Note:
    If the session is in Ready to Process state then processing in background works perfectly fine. Has anyone came across this problem ?
    Has anyone tried reprocessing Incorrect Session in background mode ??????
    Regrads,
    Antony

    Thanks Sandra,
    Indeed I understood the problem. And the problem is that transaction KEBC is always executed correctly & since its processed correctly its removed from the BDC Queue
    Here transaction KEBC, sets a Memory Parameter, and transaction KEU2, first checks whether the memory parameter is initial, if found intial it pops-up a screen and makes the user enter it. In my case KEBC  always run successfully
    As you rightly suggested when session is in error, transaction KEBC is not getting called again to set the memory parameter & its throwing the pop-up from the transaction KEU2 to be entered by the user. ( BDCDATA currently dosent handle this Pop-up).
    I could have omitted the KEBC transaction, but handling this pop-up from transaction KEU2 becomes tricky since it will only pop-up if the memory parameter is initial. And unfortunately Pop-up is the first screen in the sequence for transaction for KEU2 & nothing can be done in coding level to call KEU2 with the pop-up in all scenarios(Even when Memmory varaible is set) !
    So I am kind of in a dilema, how to handle this? What I am suggesting to the Functional consultant is that let the session be only run in background mode (as it will be always in a new internal session memory variable will always be inital ) & I will record this pop-up in my BDC omitting transaction KEBC.
    Do you have anyother solution for this?
    Or is there any option to re process even the successfull transacations ?

  • Processing the session in background

    Hi experts,
    I have created a BDC program in session method. Once i executed the program, it creates a session name.
    Then i select the corresponding session name in SM35 and process it in background.
    But i dont want to goto SM35 and process the session explicitely.
    How to process the session in background without going to SM35 tcode?
    Regards,
    Shanthi

    Hi shanti,
    check with below code... but one point keep remember. when your trying to  post a question check SDN and if your not succeeded then only post the question. so it will avoid the duplicate postings on the same topic  i am right ?.
    Hi,
    Use this sample code
    DATA: RUNTIME TYPE I. "Runtime
    DATA: GROUP LIKE APQI-GROUPID, " Mappenname
    BDCIMMED LIKE RFIPI-BDCIMMED, " nur BDC: sof. Abspielen
    BDCSTRTDT LIKE TBTCJOB-SDLSTRTDT, "nur BDC: Startdatum
    BDCSTRTTM LIKE TBTCJOB-SDLSTRTTM. "nur BDC: Startzeit
    form mappe_abspielen_im_batch.
    GET RUN TIME FIELD RUNTIME.
    JOBNAME = 'RFEBFD00-FIEB'.
    JOBNAME+14 = RUNTIME.
    eak-point.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = JOBNAME
    JOBGROUP = 'FIEB'
    IMPORTING
    JOBCOUNT = JOBCOUNT
    EXCEPTIONS
    CANT_CREATE_JOB = 01
    INVALID_JOB_DATA = 02
    JOBNAME_MISSING = 03.
    IF SY-SUBRC NE 0.
    MESSAGE E015 RAISING SESSION_NOT_PROCESSABLE.
    ENDIF.
    SUBMIT RSBDCSUB AND RETURN
    USER SY-UNAME
    VIA JOB JOBNAME NUMBER JOBCOUNT
    with mappe = group
    WITH MAPPE = BI-NAME
    WITH VON = SY-DATUM
    WITH BIS = SY-DATUM
    WITH Z_VERARB = 'X'.
    BDCSTRTDT = SY-DATUM.
    BDCSTRTDT = SPACE.
    BDCSTRTTM = SPACE.
    BDCIMMED = 'X'.
    bdcstrttm = runtime.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBNAME = JOBNAME
    JOBCOUNT = JOBCOUNT
    STRTIMMED = BDCIMMED
    SDLSTRTDT = BDCSTRTDT
    SDLSTRTTM = BDCSTRTTM
    EXCEPTIONS
    CANT_START_IMMEDIATE = 01
    JOBNAME_MISSING = 02
    JOB_CLOSE_FAILED = 03
    JOB_NOSTEPS = 04
    JOB_NOTEX = 05
    LOCK_FAILED = 06.
    IF SY-SUBRC NE 0.
    MESSAGE E015 RAISING SESSION_NOT_PROCESSABLE.
    ENDIF.
    CLEAR BDCIMMED.
    BDCSTRTDT = SPACE.
    BDCSTRTTM = SPACE.
    ~lingannna

  • Updating a DB table by a BDC session in background

    Hi,
    I need to  update a DB table with records using a BDC session. I need to run this session in background. But the Error Log I'm getting suggests that Table Maintenance is required for the same.
    Note that I can very well insert records in this table thru se11 and also by running the session in foreground.
    Is there any work-around for this issue?
    Thanks.

    Hi
    If at all you are using any DOWNLOAD and UPLOAD related function modules you can't run the BDC program in the background.
    If it is a Z table update you can create the table maintenance generator.
    other wise you can do it.
    You can run session in background.
    Reward points if useful
    Regards
    Anji

  • Batch input session in background

    hai guys,
    Can we execute Batch input session in background scheduling thru jobs.
    i tried with sm37. but there is not option i guess.
    could you pls guide us.
    ambichan.

    Hi Ambi,
    As Anand and Wolfgang suggested, what you need to do in your ZFB05 program is as follows. Insert this after you create the sessions.
    Add parameters to your ZFB05 program for the session background processing like date, session name etc.
    Then after you create your sessions, insert the following code
    *-- run in the background
          CALL FUNCTION 'JOB_OPEN'
               EXPORTING
                    jobname          = 'YOURJOBNAME'
               IMPORTING
                    jobcount         = v_jobcount
               EXCEPTIONS
                    cant_create_job  = 1
                    invalid_job_data = 2
                    jobname_missing  = 3
                    OTHERS           = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            EXIT.
          ENDIF.
          submit rsbdcsub  with mappe    = 'YOURSESSIONNAME'
                           with z_verarb = 'X'
                           with fehler   = 'X'
                           USER sy-uname
                           VIA JOB 'YOURJOBNAME'
                           NUMBER v_jobcount AND RETURN.
    *-- close the job
               CALL FUNCTION 'JOB_CLOSE'
               EXPORTING
                    jobcount             = v_jobcount
                    jobname              = 'YOURJOBNAME'
                    strtimmed            = 'X'
               EXCEPTIONS
                    cant_start_immediate = 1
                    invalid_startdate    = 2
                    jobname_missing      = 3
                    job_close_failed     = 4
                    job_nosteps          = 5
                    job_notex            = 6
                    lock_failed          = 7
                    OTHERS               = 8.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'W' NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Hope this helps,
    Srinivas

  • BDC Session in background

    Hi...
    I write a BDC Program using Session method.
    Now the requirement is , it should be run every 1 hour in background..
    Can U Please tell me the procedure to do this background process.
    Thanks in advance
    Ganesh Reddy

    Hello,
    Search in sap formus you will find the options
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=bdcSessioninbackground+&adv=false&sortby=cm_rnd_rankvalue

  • Executing Excel Session in Background

    All,
    In SAP BW 3.5 we created a recording (through transaction SHDB) of accessing transaction UPSPL (is a SAP transaction with an Excel session embedded in it, data in the excel is written to the SAP database). Then generated an ABAP report of the recording. When running the ABAP report  through se38 in the background, the excel mentioned above is not called/executed correctly i.e. the macros in the excel are not executed (probably because simulating running Excel macros in background is technically not possible?).
    When running the ABAP report in the foreground (setting 'call transaction'), the report perfectly executes the macro i.e. result is the same as accessing and saving the excel manually through UPSPL.
    Read somewhere that installing Excel on SAP (BW) server could be an idea? Because in the above the Excel desktop version is called?
    Would you know how to solve the above? Or experiences with it? Thanks.
    Regards, Meindert Postma
    PS also posted the above on the SAP BW/BPS forum, from a more BPS point of view.
    Running BPS planning folder in background - possible?

    Hi Meinder Postma
    I don't know exactly how this works but I think it is like this:
    The embedded excel functionality is obtained via SAPgui objects.
    The application communicate with excel via a program-to-program-to-program interface between a program in the SAP kernel on the application server, via a SAPgui object on the PC with SAPgui installed and to excel on the same PC.
    Like this:
    Server SAP kernel <=> PC SAPgui <=> PC excel
    In this setup I see no possible way that this can run in background, because in background you have no SAPgui communication at all.
    best regards
    Thomas

  • Delete a session in background form SM35

    Hi experts:
    I have a doubt. Is it possible to delete a Session from SM35 in background? We have executed a session with too many records, and we need to stop it. Is it possible? We have tried to delete session, to stop it from sm50, but it is not possible.
    How we can do this? Any idea?
    Thanku2019s in advance for your help.
    Best regards.

    Hi,
    This might be helpful for you to stop the process
    http://forums.sdn.sap.com/thread.jspa?threadID=107060

  • Process bdc session in Background

    Hi all,
    I have created a BDC Session, Now i want to process it in Foreground not in Background.
    I know taht we use report RSBDCSUB for background processing but don't know the procedure for Forground.
    Sugess.
    Points will be sured for valuable answers.
    Thanks
    Sanket sethi

    hi,
    if you want it to be done by program then try this which is done through program
    TABLES: LFA1,
            RF02K.
    TYPES: BEGIN OF TY_ITAB,
            LIFNR LIKE RF02K-LIFNR,
            KTOKK LIKE RF02K-KTOKK,
            NAME1 LIKE LFA1-NAME1,
            SORTL LIKE LFA1-SORTL,
            LAND1 LIKE LFA1-LAND1,
            SPRAS LIKE LFA1-SPRAS,
            END OF TY_ITAB.
    DATA: T_ITAB TYPE TABLE OF TY_ITAB,
           W_ITAB TYPE TY_ITAB.
    DATA: I_BDCDATA TYPE TABLE OF BDCDATA,
           WA_BDCDATA TYPE BDCDATA.
    DATA : ITAB1 LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA : JOBNAME(32) TYPE C,
            JOBCOUNT(8) TYPE C.
    DATA: R1 TYPE I VALUE 1,
           C1 TYPE I VALUE 1,
           R2 TYPE I VALUE 4,
           C2 TYPE I VALUE 8,
           FILEPATH LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN: BEGIN OF BLOCK B1.
    PARAMETERS:P_SRCFIL LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_SRCFIL.
    PERFORM SELECT_FILE USING P_SRCFIL.
    START-OF-SELECTION.
    FILEPATH = P_SRCFIL.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
       EXPORTING
         FILENAME                      = FILEPATH
         I_BEGIN_COL                   = 1
         I_BEGIN_ROW                   = 1
         I_END_COL                     = 8
         I_END_ROW                     = 4
       TABLES
         INTERN                        = ITAB1.
    PERFORM ORGANIZE_UPLOADED_DATA.
    CALL FUNCTION 'BDC_OPEN_GROUP'
      EXPORTING
        CLIENT                    = SY-MANDT
       DEST                      = FILLER8
        GROUP                      = 'XK01'
       HOLDDATE                  = FILLER8
        KEEP                       = 'X'
        USER                       = SY-UNAME.
    LOOP AT T_ITAB INTO W_ITAB.
    PERFORM BDC_DYNPRO USING 'SAPMF02K' '0100'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'RF02K-KTOKK'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/00'.
    PERFORM BDC_FIELD USING 'RF02K-LIFNR'
    W_ITAB-LIFNR.
    PERFORM BDC_FIELD USING 'RF02K-KTOKK'
    W_ITAB-KTOKK.
    PERFORM BDC_DYNPRO USING 'SAPMF02K' '0110'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'LFA1-SPRAS'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/00'.
    PERFORM BDC_FIELD USING 'LFA1-NAME1'
    W_ITAB-NAME1.
    PERFORM BDC_FIELD USING 'LFA1-SORTL'
    W_ITAB-SORTL.
    PERFORM BDC_FIELD USING 'LFA1-LAND1'
    W_ITAB-LAND1.
    PERFORM BDC_FIELD USING 'LFA1-SPRAS'
    W_ITAB-SPRAS.
    PERFORM BDC_DYNPRO USING 'SAPMF02K' '0120'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'LFA1-KUNNR'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '/00'.
    PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM BDC_DYNPRO USING 'SAPMF02K' '0380'.
    PERFORM BDC_FIELD USING 'BDC_CURSOR' 'KNVK-NAMEV(01)'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE' '=ENTR'.
    CLEAR W_ITAB.
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
       TCODE                   = 'XK01'
      TABLES
        DYNPROTAB              = I_BDCDATA.
      REFRESH I_BDCDATA.
    ENDLOOP.
    CALL FUNCTION 'BDC_CLOSE_GROUP' .
    JOBNAME = 'JOB'.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
      DELANFREP              = ' '
      JOBGROUP               = ' '
          JOBNAME                = JOBNAME
    IMPORTING
       JOBCOUNT               = JOBCOUNT
    CHANGING
      RET                    =
    EXCEPTIONS
      CANT_CREATE_JOB        = 1
      INVALID_JOB_DATA       = 2
      JOBNAME_MISSING        = 3
      OTHERS                 = 4
      IF SY-SUBRC = 0.
       MESSAGE I000(0)      WITH 'SUCCESSFUL JOB OPENING'.
    SUBMIT RSBDCSUB
    WITH MAPPE = 'XK01'
    WITH VON = SY-DATUM
    *WITH Z_VERARB = 'X'
    WITH ERR = 'X'
    WITH LOGALL = 'X'
    AND RETURN EXPORTING LIST TO MEMORY.
    ENDIF.
    CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          JOBCOUNT                          = JOBCOUNT
          JOBNAME                           = JOBNAME
    EXCEPTIONS
       CANT_START_IMMEDIATE              = 1
       INVALID_STARTDATE                 = 2
       JOBNAME_MISSING                   = 3
       JOB_CLOSE_FAILED                  = 4
       JOB_NOSTEPS                       = 5
       JOB_NOTEX                         = 6
       LOCK_FAILED                       = 7
       INVALID_TARGET                    = 8
       OTHERS                            = 9
      IF SY-SUBRC <> 0.
       MESSAGE I000(0)   WITH 'JOBCLOSE'.
    ENDIF.
    *&      Form  ORGANIZE_UPLOADED_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM ORGANIZE_UPLOADED_DATA .
    SORT ITAB1 BY ROW COL.
    LOOP AT ITAB1.
    CASE ITAB1-COL.
    WHEN 1.
    W_ITAB-LIFNR = ITAB1-VALUE.
    WHEN 2.
    W_ITAB-KTOKK = ITAB1-VALUE.
    WHEN 3.
    W_ITAB-NAME1 = ITAB1-VALUE.
    WHEN 4.
    W_ITAB-SORTL = ITAB1-VALUE.
    WHEN 5.
    W_ITAB-LAND1 = ITAB1-VALUE.
    WHEN 6.
    W_ITAB-SPRAS = ITAB1-VALUE.
    ENDCASE.
    AT END OF ROW.
    APPEND W_ITAB TO T_ITAB.
    CLEAR W_ITAB.
    ENDAT.
    ENDLOOP.
    ENDFORM.                    " ORGANIZE_UPLOADED_DATA
    *&      Form  select_file
          text
         -->P_P_SRCFIL  text
    FORM SELECT_FILE  USING    P_SRCFIL.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = P_SRCFIL
    ENDFORM.                    " select_file
    *&      Form  bdc_dynpro
          text
         -->P_0131   text
         -->P_0132   text
    FORM BDC_DYNPRO  USING   PROGRAM LIKE BDCDATA-PROGRAM DYNPRO LIKE BDCDATA-DYNPRO.
      CLEAR WA_BDCDATA.
      WA_BDCDATA-PROGRAM  = PROGRAM.
      WA_BDCDATA-DYNPRO   = DYNPRO.
      WA_BDCDATA-DYNBEGIN = 'X'.
      APPEND WA_BDCDATA TO I_BDCDATA.
    ENDFORM.                    " bdc_dynpro
    *&      Form  bdc_field
          text
         -->P_0136   text
         -->P_0137   text
    FORM BDC_FIELD  USING    FNAM LIKE BDCDATA-FNAM  FVAL TYPE ANY  .
        CLEAR WA_BDCDATA.
        WA_BDCDATA-FNAM = FNAM.
        WA_BDCDATA-FVAL = FVAL.
        APPEND WA_BDCDATA TO I_BDCDATA.
    ENDFORM.                    " bdc_field
    reward if useful,
    thanks and regards

  • Batch input session in background BDC

    Hi to all,
    Please clarify me about below BDC point.
    Call to the transaction should be in background through batch input session. does It mean that we have to use session method and call this in back ground through RSBDCSUB, is this approach is correct or some thing else i  nend to do.Please tell me briefley.
    I want to track all the errors, how to track the errrors with out using call tranaction.
    could any one help me on this issue please.
    Regards
    Raadha

    Hi,
    as per your approach is correct in BDC session method ,in session method generally you want run the bdc in backgroung using in RSBDCSUB is used for scheduling .
    in program after writing bdc_close_group ,just use submit statement and schedule the background.
    and generally in session method  execute the program and going to the sm35 selcting particular session name manually processing that session,when schedule rsbdcsub it is directly going to the background screen ,then give the session name and run the program.
    Regards,
    Madhu

  • Error While Processing Batch Session in Background Mode

    Hi,
    I am creating batch input sessions for Transaction FB01. Each Batch Session will have multiple transactions for FB01. My Batch Session is getting created. But when i am trying to process that batch session in backgroung mode ( thru SM35 ), it is failing. The Error says "Transaction Error". And when i process the same session in foreground mode, it is getting successfully processed. Any suggestion in this will be very helpful.

    Hi,
    Check in your program if you have properly handled the OK codes.after every transaction is complete the 'Back' button has to be triggered.That could be the reason it's working in FG mode and not BG mode.Generally,OK Code is '/EBCK'.This should work.

  • Background scheduling the sessions

    hi,
    i want to schedule the session in background without going to sm35.  i want to schedule it using rsbdcsub please give some idea or some code

    hi,
    After calling FM BDC_CLOSE_GROUP for closing the session, process that session without going to SM35 with submit instruction.
    here p_v_group is session name, which have been passed in FM BDC_OPEN_GROUP
    *SUBMIT rsbdcsub
                  WITH mappe EQ p_v_group
                  WITH logall EQ c_x
                   AND RETURN.*
    Reward points if it is helpful.
    Regards,
    Srilatha

  • Problem in background session processing

    Hi Experts,
    I am performing BDC by batch input session method.
    I acheved BDC by traditional recording method and able to create batch input session in SM35.
    Whenever I process batch input session in FOREGROUND it processes successfully.But whenever I processes it in BACKGROUND it throws an exception
    runtime error.
    This recording is for transaction CK74.this transaction screen contains some table controls.Error is "Control Framework: fatal error: GUI cannot be reached".
    Please let me know if anybody has solution for this.
    Thanks,
    Yogesh.

    Hi yogesh,
        I think u might be using the function module upload or ws_upload to upload the data to the internal table. Try to use GUI_UPLOAD, while processing the session on background.
    I think it will solve ur problem.
    Regards...
    Arun.
    Reward points if useful.

  • How to run the Batch input session(SM35) in background thru Report program

    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.

    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

Maybe you are looking for