More than one document in a Batch Input Session?

Hi to all,
I need to post more than one document with a Batch Input of MB1A transaction.
The user asked me to create only one session no mater how meny documents I've to post.
The problem is that when I run the record (SM35), when the first document is saved, the batch input finishes and the rest of de documents in the record can't be processed.
Does anyone knows if this is possible? or I've to create a new session for each document to de treated?
Thanks to all.
Nico.-

You should be able to post all documents in one session.
When you go in SM35 session, can you see multiple transactions in that session?
All transaction postings  should happen within function 'BDC_OPEN_GROUP' and 'BDC_CLOSE_GROUP' in your program.
Cheers,
Vikram

Similar Messages

  • PRoblem when posting more than one document

    Hi all,
    I'm using BAPI    BAPI_GOODSMOVEMENT_CREATE to post the documents for PO_GR.when i post one document through text file it is done succesfuully. when i'm posting more than one document it is giving error "posting not possible".
    My code is as follows:
    loop at i_data.
    concatenate '0'   i_data-stor_loc  into i_data-stor_loc.
    concatenate '00'  i_data-plant     into i_data-plant.
        i_item-po_number  = i_data-po_no.
        i_item-po_item    = i_data-po_item.
        i_item-move_type  = i_data-mvt_type.
        i_head-doc_date   = doc_date.
        i_head-pstng_date = post_date.
        i_head-ref_doc_no = i_data-del_note.
        i_item-entry_qnt  = i_data-entry_qty.
        i_item-stge_loc   = i_data-stor_loc.
        i_item-plant      = i_data-plant.
        i_item-stck_type  = i_data-stk_type.
        i_item-batch      = i_data-batch.
    I_ITEM-move_val_type      = i_data-move_batch.
        APPEND: i_item,i_head.
        CLEAR:i_item.
      ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
       EXPORTING
         goodsmvt_header             = i_head
         goodsmvt_code               = i_code
       TESTRUN                     = ' '
      IMPORTING
      GOODSMVT_HEADRET            =
        MATERIALDOCUMENT            = matdoc
       MATDOCUMENTYEAR             =
       tables
         goodsmvt_item               = i_item
       GOODSMVT_SERIALNUMBER       =
         return                      = return
      IF return IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
      LOOP AT return.
        WRITE: return-message.
      ENDLOOP.
      WRITE: matdoc.
    PLease specify where i'm going wrong.
    Regards,
    SImha.

    Hi,
    I had used the same FM to post multiple documents, but never faced this error.
    *- Header
      MOVE: sy-datum TO bapigm_head-pstng_date,
            sy-datum TO bapigm_head-doc_date,
            sy-uname TO bapigm_head-pr_uname,
            v_mblnr  TO bapigm_head-ref_doc_no,
            con_bfwms_bestand TO bapigm_head-ext_wms.
    *- Item
    *- Populate item data
      LOOP AT i_items_trans.
        CLEAR ibapigm_item.
    *- Convert the matnr backto 18 char form (External)
        CALL FUNCTION 'CONVERSION_EXIT_MATN2_INPUT'
          EXPORTING
            input            = i_items_trans-matnr
          IMPORTING
            output           = i_items_trans-matnr
          EXCEPTIONS
            number_not_found = 1
            length_error     = 2
            OTHERS           = 3.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        ibapigm_item-material   = i_items_trans-matnr.
        ibapigm_item-plant      = i_items_trans-werks.
        ibapigm_item-stge_loc   = i_items_trans-lgort.
        ibapigm_item-move_type  = '101'.   "Goods Receipt
        ibapigm_item-mvt_ind    = 'B'.     "Goods Movement for PO
        ibapigm_item-po_number  = i_items_trans-ebeln.
        ibapigm_item-po_item    = i_items_trans-ebelp.
        ibapigm_item-entry_qnt  = i_items_trans-ktmng.
        ibapigm_item-entry_uom  = i_items_trans-meins.
        APPEND ibapigm_item.
      ENDLOOP.
    *-Call FM
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header  = bapigm_head
          goodsmvt_code    = bapigm_code
        IMPORTING
          goodsmvt_headret = bapigm_headret
        TABLES
          goodsmvt_item    = ibapigm_item
          return           = ibapigm_ret.
    *- Commit on Success
      IF NOT bapigm_headret-mat_doc IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Raj

  • Remove extended features more than one document at a time.

    Does anybody know how to remove the extended features in Adobe files in batch mode? Since the newest upgrade of Adobe reader, we are having to remove the extended features and have 702 forms to do this with! Our users are trying to add their image signature and now it prompts them to do a save as and then locate the saved copy. Seems there must be an easier way or a fix for this?  Thanks all.

    Hi melanie1621
    Yes You can upload more than one document ...
    Please do the following :
    1. Click on upload files button under Acrobat.com
    2. A pop will open .
    3. Select more than one file by keeping the CTRL button pressed.
    4. Once, you select all the files , Click on Open ...
    It Will Start uploading all your files ...!

  • TS3899 Hi. How do I attach more than one document to an email on the iPad, especially if they come from different apps? When writing an email on the iPad there's no option for attachments.

    Hi. How do I attach more than one document to an email originating from my iPad, especially if the documents come from different apps? When starting an email there's no option for attachments, unless you send the document from inside an app like iBook and then you can only send one at a time.

    How to add, send and open iPad email attachments
    http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
     Cheers, Tom

  • How can I send more than one document on an email

    how can I send more than one document on one email

    Thank you but I understand that form of attaching a document. However when I select a document then click 'Share' I have the option of sending the document by email as a word or pages document or pdf, what I want to know is can I use this procedure to send more than one document per email and if I can how?

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

  • Can we upload more than one document at a time ?

    It will take me forever to upload all my documents into the acrobat cloud , ONE at a time....is there a quicker way to do it? If not,  will there be soon? Because that would really help me and possibly others to get it done faster...

    Hi melanie1621
    Yes You can upload more than one document ...
    Please do the following :
    1. Click on upload files button under Acrobat.com
    2. A pop will open .
    3. Select more than one file by keeping the CTRL button pressed.
    4. Once, you select all the files , Click on Open ...
    It Will Start uploading all your files ...!

  • Taking print of more than one document at a time???

    Hi sap experts,
    Presently my client is taking print of one document at a time. Is there any process/system through which he can take print of more than one document at a time in a specified format by putting the document number range.  
    Regards,
    Sumeya offrin

    Hi melanie1621
    Yes You can upload more than one document ...
    Please do the following :
    1. Click on upload files button under Acrobat.com
    2. A pop will open .
    3. Select more than one file by keeping the CTRL button pressed.
    4. Once, you select all the files , Click on Open ...
    It Will Start uploading all your files ...!

  • C7280 - printing more than one document at a time

    Does anyone know a quicker way of scanning in (using the feeder) several different documents at a time, as opposed to different pages of the same document.  At the moment, I seem to have to exit too far out of the software at the end of each doc'.
    This is what I'm doing:
    a) select SCAN DOCUMENT
    b) select file format ie PDF
    c) If document loaded on feeder, printer takes however many pages in the tray and scans into one document.
    d) On pressing Finish, question comes up asking whether you'd like to add another page to the document.  If you press Yes - it simply adds it the exisiting document being scanned and if you press No, it saves the existing document but exits right out  taking you right back to the home page which then remains greyed out for a while until, the previous document has been saved. 
    Very appreciative of a time saving irritation lessening answer!! :-)

    Hi melanie1621
    Yes You can upload more than one document ...
    Please do the following :
    1. Click on upload files button under Acrobat.com
    2. A pop will open .
    3. Select more than one file by keeping the CTRL button pressed.
    4. Once, you select all the files , Click on Open ...
    It Will Start uploading all your files ...!

  • Hi, My printing has suddenly changed in adobe to a large scale, as in, what should be one page of print comes out as 24 pages?   I havent changed anything, its happening on more than one document also, I have to stop my printer before all the pages spew o

    Hi, My printing has suddenly changed in adobe to a large scale, as in, what should be one page of print comes out as 24 pages?   I havent changed anything, its happening on more than one document also, I have to stop my printer before all the pages spew out. I have tried printing 'one single page' and it does exactly the same? Help?

    Is the Poster Print feature turned ON?

  • Adding More than one document to a cell in a dataform

    Hi All,
    I am using EPM 11.1.1.1.0 .
    I have a planing application and I need to add three documents to a cell in a data form.
    Is there a way i can do this...
    I can add one document and can open it as well but did not find a way of adding more than one document. Is it supported on Hyperion Planning ?
    Also if we have a document attached to a cell text ...Is there a way to print it out from Hyperion Planning or Workspace?
    Regards.
    Alicia
    Edited by: Alicia on Aug 6, 2009 6:39 AM

    Hi,
    I believe it will be just one document, I say that because when you go to the cell and choose open document then it is aimed at opening just one document.
    As for printing from cell text, you would have to open the document first before being able to print.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Permit more than one document type per series

    Hi folks,
    Please let me know what is the precise use of :
    "permit more than one document type per series"
    Cheers...
    Jitu

    Hi
    Certain country regulations permit document numbering series that contain more than one document type.
    All of these documents are part of the same numbering series.
    Select this option if these regulations are relevant for the company.
    This setting determines the settings that are displayed in certain Document Numbering windows,
    and cannot be changed after it has been selected.

  • Maping more than one document to calendar week

    how to map more than one document date into a calender week?

    Hi,
    The possbilities are
    1.Create a customer exit variable with processing type as replacement path with the help of abapers
    Assigning points is the way of saying thanks in SDN
    Regards ,
    Subash Balakrishnan

  • How do I attachment more than one document to an email?

    I found out how to send than one photo vie the iPad Guide.....as long as the photos are in the same album, I assume.
    Now....how do I attach more than one document to an email?
    Any help would be appreciated!

    The photos don't need to be in the same album - you can select from the 'all photos' screen.
    In terms of attaching more than one document, I use the GoodReader app, which supports multiple file types e.g. PDFs, pictures, word and excel (read-only) etc and which allows you to select and attach multiple files, which can be of different types e.g. you can attach a picture and a PDF.

  • How do you attach/email more than one document from the pages app?

    How do you send more than one document from the pages app on an iPad?

    This is entirely frustrating and I have yet to find an answer for this question even though people have been asking it on the internet for over a year!
    I am relatively new to apple and I was considering staying with them for my next iphone because of my apps, but after paying for this app and discovering I can't email more than one document "page" at a time? This makes no sense. Please fix this apple, I'd like to say you have replaced my tablet PC for home-office work but now I am reconsidering...

Maybe you are looking for