Can we create multiple session in BDC using Call session?

Hi Experts,
Can we create  multiple sessions in BDC using Call Session?
Scenario:
Program has to upload 1 million records,so can we programmatically create multiple sessions such that after every 50thousand records we create a different session.
For moment due to large number of records BDC DYNPRO and BDC Field are unable to hold the large number of records,due to which we get a Out of memory error.
Thanks in advance.
Shilpa

Hi
If ITAB is your table with the data to be transfered:
Open the first session:
CALL FUNCTION 'BDC_OPEN_GROUP'.........
IF SY-SUBRC = 0.
  FL_OPEN = 'X'.
ENDIF.
LOOP AT ITAB.
IF FL_OPEN = SPACE.
Create new session
CALL FUNCTION 'BDC_OPEN_GROUP'.........
IF SY-SUBRC = 0.
   FL_OPEN = 'X'.
ENDIF.
ENDIF.
Here elaborate your data and fill BDCDATA
Insert the transaction:
CALL FUNCTION 'BDC_INSERT'
IF SY-SUBRC = 0.
  COUNT = COUNT + 1.
  IF COUNT = COUNT_MAX.
    COUNT = 0.
Close the session
    IF FL_OPEN = 'X'.
      CALL BDC_CLOSE_GROUP
      IF SY-SUBRC = 0.
        FL_OPEN = SPACE.
      ENDIF.
    ENDIF.
  ENDIF.
ENDLOOP.
Max

Similar Messages

  • How can i create multiple key-btree DB using bsddb3?

    Hi
    I use python language api.
    I couldn't create multiple data . I know when I use DB_MULTIPLE I must set flags DB_DBT_USERMEM how can I set this flag in python?
    please help me.
    Thanks.
    regards

    Hi thanks for reply.....
    PBP (CLAD)
    Labview 6.1 - 2014
    KUDOS ARE WELCOMED.
    If your problem get solved then mark as solution.

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • Can i create additional apple id's using the same email address for using multiple products with iCloud?

    can i create additional apple id's using the same email address for using multiple products with iCloud?

    Hi Anne,
    I'm pretty sure different eMail addies are needed for different Apple IDs.

  • In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph?

    In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph. 
    I need to make a table of contents for my Mater's Thesis and want to use the automatic table of contents feature.  I want the first sentence of a paragraph to have a different paragraph setting than the rest of the paragraph.  Is this possible?
    Thanks!

    Nice of you to be doing this for your Mother's Thesis.
    There are several issues here:
    1. A Paragraph Style is what it says, the style for the paragraph
    2. You can format text within a paragraph by applying a Character Style
    3. Pages 5.5.1 lets you apply formatting to overall text for the T.O.C. but not parts of it and you can not retain that formatting as a Paragraph style
    So in answer to your question, no.
    You will need to create the T.O.C. manually and unfortunately as Pages 5.5.1 can't create bookmarks (just one of over 100 missing features) you will be unable to link the T.O.C. to the referred pages in the list.
    Peter
    Apple's marketing slogan:
    Pages 5.5.1 - Can't Do That!

  • How can I create multiple versions of a video within the same project?

    OK...this is a probably a very basic question but I'm not sure how to word it clearly.
    How can I create multiple versions of a video within the same project? What I mean is that I have a bout 50 minutes of video and I want to make two DVDs using different clips from this original 50 minutes of footage. It would be a real pain to have to re-import the video AGAIN for the second DVD. I suppose I could drop anything I don't want to burn to DVD back into the clips pane but that would wipe out all my transitions wouldn't it? I want to save each project in their “raw” form so I can burn additional DVDs later otherwise I would just do them one at a time and not care about one of them being destroyed.
    Wow...that was a mess. Does anyone understand what the heck I’m asking? I hope so.

    How can I create multiple versions of a video within the same project?
    You can't. You make separate projects using the same or different clips, segments, transitions, titles, etc. You can even duplicate the first project and then modify/make the desired changes in the duplicated project. Each project can then be burned as a different DVD or as different titles on the same DVD if there is enough room.

  • How can i create multiple versions of a photo in ios8?

    I Often want to create different versions of the same photo....with different crops, contrast, etc and keep them.  In iPhoto, that was done with the duplicate command, but there does not seem to be the same capability in ios8.  Any ideas?

    How can I create multiple versions of a video within the same project?
    You can't. You make separate projects using the same or different clips, segments, transitions, titles, etc. You can even duplicate the first project and then modify/make the desired changes in the duplicated project. Each project can then be burned as a different DVD or as different titles on the same DVD if there is enough room.

  • Can I create multiple instances of  realplayer plug-in in one jsp page?

    I want to play meny video files in one jsp web page, these video files are to be played with the embeded plug-in of realplayer, each plug-in was linked(use its SRC property) a different video file. But, to my surprise, when I press the play button, every player played the same video file,not its specified file.
    I have no idea why it did so and what can I do?
    Whether can I create multiple instances of realplayer plug-in in one jsp page, that is to say, each instance is independent of others?
    thanks in advance!

    Generally speaking, Internet Explorer tries not to launch multiple versions of a plug-in. So what's happening is that you load the first video clip, and then before it has a chance to play, you load the second video clip into the same window. (It's like changing songs in WMA.)
    In some cases - this may not work for Real Player, but it's worth trying - if you spawn a new window through a hypertext link and then launch the plug-in in that window, IE will treat it separately. Otherwise, you could not, for example, run two Macromedia Flash applications from different web sites at the same time.
    Keep in mind that only one program can access the soundcard at a time, so Real Player may purposely "pause" or "cancel" other video streams until the active one finishes. If you were using the desktop version, selecting another video by any means aborts the currently running video (i.e., RP won't let you create a separate instance of it).
    The easiest solution is to create a wrapper JSP file that takes the name of the video clip, and plays it. Call that JSP and specify that it should be opened in a new window via the TARGET keyword in the anchor tag. Then hopefully RP itself won't block a second window from running.

  • How to create multiple users in solaris using script

    hi
    how i can create multiple users (2000 users) using shell script with a common password .
    useradd is creating one user at a time.
    thanks

    I m new to solaris and scripting also.
    how i can write a script for this .

  • Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?

    Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?
    My client requirement is process 100 files  from biztalk with in 5 min ,actually it is taking 20 min .
    So I decided to created same instance of the application with multiple time in BTS admin console ,as I understand biztalk admin console never allow to install same
    schema’s with multiple  time .
    Any help can be  appreciate ..

    BizTalk will automatically process multiple messages on separate threads so you may need to tune your system. The following link should get you started:
    http://social.technet.microsoft.com/wiki/contents/articles/7801.biztalk-server-performance-tuning-optimization.aspx
    Another possibility is to set the Batch Size property on your receive location if the adapter uses batch size to determine how messages are picked up.  As an example, it you want  the MSMQ adapter to immediately pick up messages and start
    to process them, set the batch size to 1.
    You may also need to distribute the processing across multiple BizTalk servers by installing BizTalk on additional servers and joining the existing BizTalk group.
    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

  • Can we create multiple records before navigation to that block

    Can we create multiple records and assign values in Forms, before navigation to that block (in a trigger ), and populate ?

    Hello,
    No you cannot. You need to be inside the block in order to use the Create_Record built-in.
    Francois

  • Can we create multiple admin servers in one one weblogic domain.

    Hi All,
    Can we create multiple admin servers in one one weblogic domain.
    if yes, please let me know.
    Thanks

    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13716/toc.htm
    Not through the configuration wizard.
    To handle admin server availability (the admin server is not clusterable). This means that if the admin server goes
    down, you cannot administer your WebLogic Server domain until you bring it back up. In most cases, you may
    not be too concerned if the admin server goes down because all you need to do is restart it. If you use the node
    manager to start the admin server, the node manager can automatically restart a failed admin server just like it can any other server.
    What happens if the machine where the admin server runs fails in such a way that you cannot restart the admin server?
    The answer is simple if you prepare for this event. Proper operation of the admin server relies on several configuration files
    and any application files it controls. Typically, the best thing to do is to store the admin server's directory tree on a shared disk.
    As long as the configuration and application files are accessible, you can restart the admin server on another machine. It is up
    to you to make sure that you don't have more than one admin server running at a time. If the new machine can assume the
    original admin server's Listen Address (or if it was not set), you can simply start the admin server on the new machine without
    any configuration changes.
    Otherwise, you will need to change the admin server's Listen Address. Since the managed servers ping the admin server URL every
    10 seconds until it comes back up, you need to devise a way for the admin server URL to allow the managed server to find the restarted
    admin server on the new IP address. The easiest way to achieve that is using a DNS name that maps to both IP addresses, or better yet
    that is dynamically updated to point to the correct location of the admin server. If this is a graceful shutdown and migration, use the
    WebLogic Console to change the Listen Address just before shutting down the admin server. If not, you will need to edit the config.xml
    file by hand to replace the old Listen Address with the new one. Typically, it is recommended to plan ahead so that everything you need is
    already in place to make admin server failover as painless as possible.

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • HT204053 how can i create multiple icloud accounts for my family members

    how can i create multiple icloud accounts for my family members

    Thanks...  I appreciate the reply.  Since I wrote the previous email, I actually went and changed my apple id (the main id) and the documentation I looked at said iCloud will set mail up automatically(?)...  I had it working before. 
    Also, I tried to manually set up the ID via the Mail Accounts screen(s) and I can't figure out what my server information is...  Pop or Imap?  What's the outgoing server and the incoming server?
    I typically have never had problems setting up mail accounts (in apple mail) with no problem.
    Can anyone point me in the right direction?
    Thanks in advance!

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

Maybe you are looking for

  • How to change tax code in sc with BAPI_SCEC_CREATE or other function

    I'm creating shoppingcarts with BAPI_SCEC_CREATE but I can't figure out how I can give a taxcode to the function or with any other function like BBP_PD_SC_UPDATE? anybody got a clue how to change the taxcode of a shoppingcart ? kind regards arthur

  • WLS http access logs not written to when starting WLS instance using nodemanager

    When starting managed WLS instances using node manager the HTTP access logs are not written to (the WLS log in the same directory is written to). All other functionality of the WLS instances seem to operate just fine when started using node manager.

  • Problème inDesign CS6 (version d'éssai)

    Bonjour, je viens de télécharger inDesign Cs6 sur mon nouveau mac retina 15" seulement j'ai une sorte de problème d'affichage. Lorsque je lance mon application, il n'y a pas de fond ni d'ailleurs d'option de fermeture (bouton rouge, jaune et vert) al

  • Intsalling existing products onto a new computer.

    Hi, I recently purchased Lightroom 3 and CS5 and succesfully installed them onto my laptop. However, my laptop is coming to the end of its life. When I get my new laptop, is it OK to re-install the programs? I have the disks. Is there anything I need

  • RVS4000: Need help with out-of-the-box device

    The router is performing very badly. 1. Router's "INTERNET" is connected to ADSL cable modem, providing automatically an IP address. 2. The device is getting "freezed"/"stoned" very often. The longest time record for up-time was just over 1 hour. The