How to process a batch input session directly from the program

Hi,
I have developed a program which will create a batch input session.
When the program is executed, the session should get processed . ie. the user need not have to go to sm35 to process the session. I am facing some problem in this.
I am using BDC_INSERT by passing the tcode . The session is getting processed, but when i go to sm35, i noticed that the session is still listed under the "New" tab instead of the "Processed" tab.
Also I am not getting the final window with the buttons " Session overview" and "Exit Batch Input".
Please help me out in this.

Hi
U have to submit the program RSBDCSUB:
SUBMIT RSBDCSUB WITH MAPPE = <session>
                WITH VON   = SY-DATUM
                WITH BIS   = SY-DATUM
                WITH FEHLER = ' '
                    EXPORTING LIST TO MEMORY
                                    AND RETURN.
Max

Similar Messages

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • How to Delete file i.e. videos directly from the Playbook

    I know that I can transfer files to the playbook, but How do I delete flies such as videos from the playbook?

    To delete a a video open the videos app and swipe down.  Click on the pencil for "Edit".  Select the videos you want to delete and then click on the delete icon.  Pictures works the same way.

  • Batch input Session  after extending the GL accounts in Chart of Accounts

    I had to go through the process of extending the GL Accounts in Chart of Accounts  T-Code   OBY2
    After executing the  T-Code SM35 
    By  selecting   Display Errors Only   and  Click   Process 
    I kept getting multiple Pop up  like the attached screen
    How can i avoid this in future ?

    1. Go to OBY6 and open company code 3000.
    2. Copy the Chart of Account assigned to company 3000
    3. Go to OBD4 and check all the account groups for copied COA
    4. Now compare all the account groups for COA EKCA
    5 Create the missing account groups for EKCA.
    Unfortunately i did the same steps and now i am stuck with several errors that i need to keep pressing Enter until all are done.    
                    So my question this time :  " How can i get myself out of this instead click Enter for another 200 times. "

  • After a recent update of Photoshop CS6 (via Creative Cloud downloader) I cannot print directly from the program. A print error is shown in the printer document queue.  I can print from all other programs including Illustrator. Any solutions to this proble

    When I copy the Photoshop file to another computer with an old version of Photoshop (CS2) I can print OK from it

    Nobody can help you. You have not provided any proper technical information like system info, what printer, what settings etc.. You need to do a lot better before people can even begin to guess and help you.
    Mylenium

  • 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

  • How to handile errors in batch input(session)method

    Hi Friends..
    How to <b>Re upload the error records</b> in batch input(session)method in BDC Programming?
    Regards
    D Babu

    Hi
    U can do it manually by SM35: the wrong trxs can be run again.
    If you want to do automatically I don't think you can do it easyly, because to know if a record was loaded successfully depends on how you have loaded it and your data source .
    For example:
    if the records have to be loaded are from a file and every record is a trx, you could re-read the file and match it with session log:
    Log--Result--
    Record file
    Trx 1           OK                     1
    Trx 2           OK                     2
    Trx 3           KO                     3 (Re-load it)
    Trx 4           OK                     4
    Trx 5           KO                     5 (Re-load it)
    Trx 6           OK                     6
    How to read session log see trx sm35
    Max

  • How Can we delete automatically Incorrect Batch Input Sessions

    Dear Experts
    As per Note 16083 the Schedule of below program only deletes
    successfully created Jobs
    SAP_REORG_BATCHINPUT | RSBDCREO | yes | daily
    How to delete Incorrect BATCH INPUT SESSIONS AUTHOMATICALLY
    Rgds

    Hi,
    You could use the following code sample on SDN:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4794fc01-0901-0010-0fbf-beadbebbec54
    Regards,
    Gary

  • Creation of batch input session for mass reversal of payment documents

    Hello FI experts,
    There is a business requirement in which the users want to reverse the payments en-masse. This can be achieved by creating a batch input session via a custom program to upload the documents from excel . Then calling FBRA and FB08 to do the resetting and reversal.
    My issue is how to create the batch input session ? Please help.
    Regards,
    Van

    Hi,
    I have got developed such program earlierr.
    You can define your custom program specification as below:-
    (A) Based on the selection screen, the program will read all the records (field document number VBLNR, company code ZBUKR and year from field ZALDT) from table REGUH. (Proposal Run Indicator XVORL should be blank.)
    (B) If Paying company code (REGUH-ZBUKR) is equal to Sending company code (REGUH-ABSBU):-
           Step 1:- For each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) it will call transaction FBRA and will reset the clearing of the document.
           Step 2:- Then call transaction FB08 and pass the data as below:-
                  Document Number     =     Payment Document Number (REGUH-VBLNR)
                  Company Code     =     Company code (REGUH-ZBUKR)
                  Fiscal Year               =     Fiscal Year (REGUH-ZALDT)
                  Reversal Reason, Posting Date and Posting period will be defaulted from the selection screen of out program.
    (C) If Paying company code (REGUH-ZBUKR) is not equal to Sending company code (REGUH-ABSBU):-
           Step 1:- For each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) it will call transaction FBRA and will reset the clearing of the document.
            Step 2:- for each record of (Payment Document Number (REGUH-VBLNR), Company code (REGUH-ZBUKR), and Fiscal Year (REGUH-ZALDT)) get the cross company code document number (BKPF-BVORG) and
                   (ii) Then find out the Document number (BKPF-BELNR) from BKPF matching BUKRS = Sending company code (REGUH-ABSBU) and GJAHR = Fiscal Year (REGUH-ZALDT) and BVORG = cross company code document number (BKPF-BVORG) as obtained above in
                  (iii) Then call transaction FBRA and will reset the clearing of the document passing BKPF-BELNR, BKPF-BUKRS and BKPF-GKAHR as obtained in (ii) above.
           Step 3:- Then call transaction FBU8 and pass the data as below:-
                  Cross CC Doc. Number=     Blank
                  Document Number     =     Payment Document Number (REGUH-VBLNR)
                  Company Code     =     Company code (REGUH-ZBUKR)
                  Fiscal Year               =     Fiscal Year (REGUH-ZALDT)
                  Reversal Reason, Posting Date and Posting period will be defaulted from the selection screen of out program.
    Regards,
    Gaurav

  • LSMW- Batch Input session getting error

    Hi All,
    I created LSMW object for Tcode KO01 and its creating the Internal order as expceted.But even after creating the document the Batch Input session status is showing incorrect.No messages are also displayed in the log.
    Please let me know why this is happening.
    Thanks in Advance,
    Savitha

    Hi,
    Detail Error Message is as follows:
    No batch input data for screen SAPLIMR0 1110
    Message no. 00344
    Diagnosis
    The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.
    Possible reasons:
    1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.
    2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
    3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.
    System Response
    None.
    Procedure
    For 1: Either re-create the session or process it in expert mode. Correct the batch input program.
    For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.
    For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing.
    Regards,
    ababfk

  • Batch input session for Recurring Entry

    Hello All,
    i have created Batch input session for Posting document's for recurring entries creted and job executed in background through SM35 and done successfully, but i am unable to find the Batch input session in SM35 which i have created to run the job.
    i want to see the log file for this Batch Input session.
    Please help me how to get the batch Input Session.
    Thanks
    Shankar

    Hi Murali...
    Thank you a lot for your answer, i have created the Batch input session without selecting the "HOLD Session" Check box..
    Issue Resolved
    Thanks Again
    Shankar

  • Running Batch Input sessions in One program

    Hi Guys.
    I am sure this question might have come up before. Reall y  need quick help in this hence posted the same.
    I need to develop a program which creates several batch input sessions.
    At the end of the program all these sessions should ve triggerred in the background.
    Please let me know if this can be done and if yes can someone send me psuedocode for same.
    This is very urgent.
    thx

    Hi Vijay,
    Using the following function modules you can create a batch input session.
    BDC_OPEN_GROUP
    BDC_INSERT
    BDC_CLOSE_GROUP
    Example - http://www.sap-img.com/abap/auto-disallowed-back-posting-to-previous-period.htm
    You can use the program RSBDCSUB to schedule batch input sessions in background.
    http://www.sap-img.com/abap/learning-bdc-programming.htm - How to write BDC program
    Executing batch-input sessions in background jobs - Example for how to call the bdc session.
    Hope these are helpful.
    Thanks
    Vinod

  • LSMW Batch input  session issue

    We have LSMW project for changing material BOM, object 0030, method 0002 and program RCSBI020 type B. I am passing header and items file. All the steps works until session creation. At session creation step it is just displaying the list of material and doesn't show any session generated.
    In what scenarios usually LSMW doesn't create the sessions? Any help would be appericiated.

    It seems that LSMW always use B (Batch Input). Try running the program RCSBI020 directly, I think you have the option not to create BI (the "Create folder" checkbox must not be selected).
    Thanks & regards,
    Hadiman

  • SM35: Batch-Input Session cannot be released / RSBDCBTC

    Hi,
    a job with ABAP RSBDCBTC, which processed a batch input session, was cancelled due to system shutdown.
    Now the sm35-session has got status 'In processing' and cannot be released ( Message 00299: Could not release folder MM06_XXXX, since it still contains a background job).
    A new Job finishes with 'The requested session cannot be processed'.
    Is there a possibility to get the batch-input-session released ?
    Wolfrad

    Hi,
    It seems the Batch Input Session had schedule a background job which is still running & hence cannot be released.
    Could you please check in transaction SM37 whether any related background job is still running.
    Select the job & click on Cancel to stop the job. Then retry to release.
    Best regards,
    Prashant

  • Batch Input Session Overview

    Happy new year everyone!
    I am writing a piece of ABAP code which creates a batch input session.
    In the code I have the following statement:
      PERFORM session_insert USING 'F-02'.
    However, when I run SM35 and look and display the log, in the transaction
    column FB01 appears. There is no reference to F-02.
    Does anybody know why this is?
    Thanks
    Andy

    Hi andy,
    1. in your subroutine session_insert,
        (or before that, when u open the session),
      the session name must be going as FB01.
    (the session name and tcode can be different)
    regards,
    amit m.

Maybe you are looking for

  • Horizontal Photo Scroll/Swipe Gallery

    Hi All, I am making a horizontal Photo Gallery larger than 10,000 px in width. Users should be able to Swipe  (on touch devices) and Scroll on Pc. I came across some previous posts like this, but i dont know where to begin. https://forums.adobe.com/m

  • Getting  error in using bean:write   tag

    hi , in my logon.jsp i m putting these 2 lines <bean:write name="logonForm" property= "username"/> <html:errors/> i m getting error "cannot find logonForm in scope null" then i added scope ="request" in bean tag i got error "cannot find logonForm in

  • What exactly is a Bluetooth favourite device?

    I am having a hard time looking up documentation for how Mac OS X treats Bluetooth devices marked as "favourites"! What does marking a device as a "favourite" do? Why would I do such a thing? The on-line and built-in documentation on Bluetooth does n

  • Weird compression issues

    I have been trying to compress some animation material for DVD. It is mostly flat colors with black outlines. The past few weeks I've been having trouble exporting to compressor via Final Cut (the connect to background process bug) and so I have been

  • Elim,Of Int .Business Vol " field in th PCA

    Dear All, We have to uncheck the  "Elim,Of Int .Business Vol " field in th PCA: Controling Area settings but unfortunately the setting is not Transport based  because system is not creating Transport  when I uncheck and save  the settings. Does anybo