Please tell me the cases when I will use Call transaction/ Batch Session.

Can you please tell me when I will use Call transaction or  Batch Session in the time of uploading data through BDC.
Regards,
Subhasish

Hi subhasish,
1. One of the main criteria is
2. If error handling facility is required, then batch session is the best,
  otherwise if we use call transaction, then error handling code,
  has to be written in the program itself.
3. Batch session provides lot of facilities to the user.
regards,
amit m.

Similar Messages

  • While uploading data into the r/3 using call transaction or session method

    hi experts
    while uploading data into the r/3 using call transaction or session method error occured in the middle of the processing then how these methods behaves it transfers next records or not?

    hai
    Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous.
    Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if successful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous.
    While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
    the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
    so the session method should not return any value.
    In call transaction method data is directly pass to the SAP system.
    So its compulsory return the value.
    Because of the call transaction is the function.
    A function should return the value mandatory
    In session method errors stroed in SYSTEM GENRATED ERROR LOG.
    IN CALL TRANSACTION TO CAPTURE THE ERRORS WE SHOULD PERFORM THE FOLLOWING.
    FIRST ME MUST DECLARE AN INTERNAL TABLE WITH THE STRUCTURE OF BDCMSGCOLL TABLE.
    THEN WHILE WRITING THE CALL TRANSACTION STATEMENT WE SHOULD PUT THE 'E' MODE FOR CAPTURING ALL THE ERRORS.
    THEN FINALLY THE CAPTURED ERRORS MUST TO SENT TO THE INTERNAL TABLE WHICH WE DECLARED IN THE BEGINNING WITH BDCMSGCOLL BY USING THE FUNCTION MODULE "FORMAT_MESSAGE"
    AND THUS THE ERROR MESSAGES WILL BE SENT TO THE INTERNAL TABLE WHICH WE DECLARED AT THE BEGINNING.

  • When we use call transaction and session method?

    cud anyone tell me the exact difference between session and call transaction ? when we have to use ?

    hi,
    BATCH INPUT METHOD
    Asynchronous processing     
    Transfer data for multiple transactions.
    Synchronous database update.
    A batch input process log is generated for each session.
    Session cannot be generated in parallel.
    CALL TRANSACTION METHOD:
    Using CALL TRANSACTION USING statement
    Faster processing of data
    Synchronous processing
    Transfer data for a single transaction.
    No batch input processing log is generated.

  • I want to use both call transaction and session method in the same

    Hi,
              1. I want to use call transaction and session method in a single trans..how to do?
              2. I have 1000 records in it 500 records is updated using call transaction remaining 500 i hve to update with session how to do?
              3. Multiple transaction is possible in call transaction how?

    I suggest you try fulfilling your requirements yourself and come back with specific problems along the way.

  • Hello please tell me the Apple Store will be in Ukraine, if so tell me when

    hello. please tell me the Apple Store will be in Ukraine, if so tell me when

    Too cold right now....when do you get summer? You have beer there, right? .

  • Please tell me the use of ranges , when it should be used

    please tell me the use of ranges , when it should be used.

    Anytime you have to equate to multiple values in your programs.  Say for example, you need to get data for two company codes from a table.
    data: it001 type table of t001.
    ranges: r_bukrs for t001-bukrs.
    r_bukrs-sign = 'I'.
    r_bukrs-option = 'EQ'.
    r_bukrs-low = '0010'.
    append r_bukrs.
    r_bukrs-sign = 'I'.
    r_bukrs-option = 'EQ'.
    r_bukrs-low = '0020'.
    append r_bukrs.
    select * into table it001 from t001 where bukrs in r_bukrs.
    Regards,
    Rich Heilman

  • I bought the pkg. of Photoshop & Premiere Elements 10 in 2012.  I now want to update to  Premiere Elements 13 without updating Photoshop.  Can I do this?  Will you please tell me the steps I need to take?

    I purchased Photoshop and Premiere Elements 10 as a package in 2012.  I now want to update the Premiere to the 13 edition, without updating Photoshop.  Can I do this?  Will you please tell me the steps I need to take?

    Just buy version Premiere Elements 13.
    Even if you don't get the "upgrade" price, you can probably find it for about that cost on sites like Amazon.com.
    You can keep Photo Elements 13 if you'd like. The only downside is that Premiere Elements 13 and Photo Elements 10 won't share the same Organizer catalog. Otherwise, they'll get along just fine.

  • HT4314 Please I want my Game Center profile name back I changed it by mistake and when I try to return it it tell me the nickname is already in use!

    Please I want my Game Center profile name back I changed it by mistake and when I try to return it it tell me the nickname is already in use!

    Restore the device from the most recent backup (prior to restoring as new) to put everything back the way it was.

  • Please tell me the way to find the person who has booked the conferenceroom

    HI All,
    When i am trying to book a conference room. it was showing the status a s busy in zimbra.But i am not able to find the person who has booked the room ?? how do i know the person who has booked teh conference room??if i can know that person i can negiotate with him abt the room.
    please tell me the way to find the person who has booked teh conference room ?????
    Thanks in advance
    Venugopal

    Hi Venugopal,
    If you add approvers using beekeeper for that resource AND that you use Outlook, you can see who is 'in charge' of that resource, ie the person that will hand over the keys to that room when you need them. That person is the only one who may be able to tell you who has booked the resource, you can then go and 'negociate' ;o)
    In Zimbra (1.5.1.5) you can't see the contacts..
    hth
    David

  • Please tell me the significance of the alphanumerics in the serial number of my sound ca

    Hi,
    Will you please tell me the significance of the several letters and numbers in the serial number of my sound card. It is: MASB046755000468S.
    I am expecting that it will reveal the model family, the sub classification amongst that family, retail or OEM, date of manufacture, batch, and other interesting details. In case they are of siginificance, other markings on the card are E-G03-05-3757 (B)
    Also the Revision is shown as A00. Is that the earliest version? Are their higher revision numbers than this?
    Many thanks
    Palmer.

    The full series OnDemand was a big selling point for me, but the reality has turned out to less than perfect to say the least. I can remember a while back trying to watch The Sopranos from the start of season 1, but they don't have the episodes on long enough for you to watch them. After a while, they take the 1st episodes off and expect you to watch from mid-way through, without watching from the start of the season, not something I want to do. 
    I've given up trying to watch whole seasons with onDemand, and only use the catch-up service for documentries, Eastenders and the odd comedy show.

  • Could you please tell me the secret of fast graphics operations?

    Could you please tell me the secret of fast graphics operations? you see I am trying to make arcade games but you don't know how my games D R A G! It is terrible! I have tried only repainting the areas that move but it still goes even slower than when I use plain old repaint();
    All advice wanted.
    Thanks
    Joshua

    It is pretty simple actually. I usually use free tools, including simple custom profiling code using System.currentTimeMillis(), and the free "hprof" heap profiler that comes with the JDK.
    To run hprof, you invoke java with the -Xrunhprof parameter, in this manner:
    java -Xrunhprof:cpu=samples,depth=5 -classpath (...)
    my.package.MyProgramand it writes the report out to a test file when your program exits. (By default, java.hprof.txt, but see the output from java -Xrunhprof:help for how to send it somewhere else.)
    To make use of the profiling data, go to the end of the file, and you will see the different stack traces and how much time they took of the total execution time.
    You will want to start at the top, at the traces with the highest percentages. Now each trace has a TRACE NUMBER. So you use the summary at the end, with the percentages, to tell you which trace you're interested in.
    Then go up and you will find the traces. I usually search for "TRACE: xxx" in my editor to find the one I'm looking for.
    Hope this helps get you started.
    Cheers,
    Colin

  • My question is when you will use the android OS? S...

    my question is when you will use the android OS? Stop Symbian & Windows Please

    ITs time to use Android OS for NOKIA Company because people now want expandable memory slot (Mirco SD card ) like Andriod Phone and I heard most windows phone does not support Micro SD card and Bluetooth for file transfer is that righti.e. Bluetooth is only there for listening songs not for file transfer)
    In case of Symbian OS is actually good OS for low cost model means below 4000 Rs. mobile phones only not for smart phone
    Symbian OS doesn't reach to the Android OS because even if Nokia try to do so.. but their prices are more than Android phone with same features and now if we compare Micromax Bolt A51 and new NOKIA ASHA 501 see the difference refer http://www.gsmarena.com/compare.php3?idPhone1=5428&idPhone2=5445 this link
    HENCE WITH THIS CONCLUSION I WANT TO TELL NOKIA COMPANY THAT EITHER THEY REDUCE THE PRICE OF THERE SYMBIAN MOBLIE PHONES OR IT'S TIME TO SWITCH TO THE ANDROID OS DUE TO WINDOWS PHONES HAVE MORE DRAWBACKS THAN ANDROID OTHERWISE THERE IS NO FUTURE FOR NOKIA COMPANY TO RAISE AGAIN IN THE CURRENT MARKET
    WISH YOU BEST OF LUCK NOKIA COMPANY FOR KEEP CONNECTING PEOPLES......I HOPE YOU CHANGE YOUR MIND...

  • I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections

    I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections

    You should be able to just place them in your Books library in iTunes and check to ensure that your Book library is configured to sync to your iPod when you sync your iPod to iTunes.

  • Can someone please tell me the cause of the msg-The song could not be used because the original file could not be found- and how I might correct that problem?

    Can anyone please tell me the cause of the msg-The song"    " could no be used
    because the original file could not be found-and how I might correct that problem?  Lou

    I stupidly tried to copy my music files to an external drive so I could transfer them to my new iMac (old Macbook Pro is being retired). I now know I should've tried home sharing or something to transfer the music.
    Anyway, the situation I am in is that I have not managed to transfer anything and I now cannot access the music on my old Macbook Pro either! I have the message "the song 'xyz' could not be used because the original file could not be found. Would you like to locate it?". I understand that this is because iTunes cannot locate the files. When I try to locate the files I find nothing.
    I have tried searching my whole Macbook Pro for mp3 files and m4a files and Spotlight cant find any! The tracks are all still listed in iTunes. I also searched the external hard drive. I definitely haven't deleted anything. So where could they have gone and is there anything else I can do to search for them? I have a feeling I am just not searching for them in the right way because I have not deleted anything.
    Old computer is Macbook Pro OS X 10.6.8 with iTunes 10.4.1
    New computer is iMac OS X 10.7.2 with iTunes 10.5
    All I want to do is to set everything back to how it was so I can try the transfer a better way.
    Please help. Thanks, Dashford.

  • Please tell me the step by step process of backup and full restore

    Dear all,
    we are using ecc5 and windows and oracle 9i I am going to apply support package .Please tell me the step by step process of backup and full restore . I am using DB13 for backup. Please suggest.
    Regards,
    Shiva

    Hi,
    Login as <SID>adm user & run the following command
    brrestore -b <backup logfilelogfile> -m full
    this command restore the backup.
    you can find backup logfile in /oracle/<SID>/sapbackup/.ant or .aft .
    For backup using brtools follow the following procedure:-
    Run Brtools Than you get the following option
    1 = Database backup
    2 - Archivelog backup
    3 - Database copy
    4 - Non-database backup
    5 - Verification of database backup
    6 - Verification of archivelog backup
    7 + Additional functions
    8 - Reset input values
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    1
    BR280I Time stamp 2008-04-04 18.41.57
    BR663I Your choice: '1'
    BR280I Time stamp 2008-04-04 18.41.57
    BR657I Input menu 15 - please check/enter input values
    BRBACKUP main options for backup and database copy
    1 - BRBACKUP profile (profile) ....... [initPRD.sap]
    2 - Backup device type (device) ...... [tape]
    3 ~ Tape volumes for backup (volume) . []
    4 # BACKINT/Mount profile (parfile) .. []
    5 - Database user/password (user) .... [system/*******]
    6 - Backup type (type) ............... [online]
    7 - Back up disk backup (backup) ..... [no]
    8 # Delete disk backup (delete) ...... [no]
    9 ~ Files for backup (mode) .......... [all]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    3
    BR280I Time stamp 2008-04-04 18.42.25
    BR663I Your choice: '3'
    BR280I Time stamp 2008-04-04 18.42.25
    BR681I Enter string value for "volume" (scratch|<tape_vol>|<tape_vol
    PRDB04
    BR280I Time stamp 2008-04-04 18.43.06
    BR683I New value for "volume": 'PRDB04'
    BR280I Time stamp 2008-04-04 18.43.06
    BR657I Input menu 15 - please check/enter input values
    BRBACKUP main options for backup and database copy
    1 - BRBACKUP profile (profile) ....... [initPRD.sap]
    2 - Backup device type (device) ...... [tape]
    3 ~ Tape volumes for backup (volume) . [PRDB04]
    4 # BACKINT/Mount profile (parfile) .. []
    5 - Database user/password (user) .... [system/*******]
    6 - Backup type (type) ............... [online]
    7 - Back up disk backup (backup) ..... [no]
    8 # Delete disk backup (delete) ...... [no]
    9 ~ Files for backup (mode) .......... [all]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    c
    BR280I Time stamp 2008-04-04 18.43.46
    BR663I Your choice: 'c'
    BR259I Program execution will be continued...
    BR280I Time stamp 2008-04-04 18.43.46
    BR657I Input menu 16 - please check/enter input values
    Additional BRBACKUP options for backup and database copy
    1 - Confirmation mode (confirm) ....... [yes]
    2 - Query mode (query) ................ [no]
    3 - Compression mode (compress) ....... [hardware]
    4 - Verification mode (verify) ........ [no]
    5 - Fill-up previous backups (fillup) . [no]
    6 - Parallel execution (execute) ...... [0]
    7 - Additional output (output) ........ [no]
    8 - Message language (language) ....... [E]
    9 - BRBACKUP command line (command) ... [-p initPRD.sap -d tape -v
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    c
    BR280I Time stamp 2008-04-04 18.44.29
    BR663I Your choice: 'c'
    BR259I Program execution will be continued...
    BR291I BRBACKUP will be started with options '-p initPRD.sap -d tape
    E'
    BR280I Time stamp 2008-04-04 18.44.29
    BR670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to
    c
    BR280I Time stamp 2008-04-04 18.45.13
    BR257I Your reply: 'c'
    BR259I Program execution will be continued...
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    BR051I BRBACKUP 6.20 (113)
    BR189W Expiration period equal 0 - backup volumes could be immediate
    BR055I Start of database backup: bdxpzadt.ant 2008-04-04 18.45.13
    BR319I Control file copy was created: /oracle/PRD/sapbackup/cntrlPRD
    BR280I Time stamp 2008-04-04 18.45.13
    BR057I Backup of database: PRD
    BR058I BRBACKUP action ID: bdxpzadt
    BR059I BRBACKUP function ID: ant
    BR110I Backup mode: ALL
    BR077I Database file for backup: /oracle/PRD/sapbackup/cntrlPRD.dbf
    BR061I 25 files found for backup, total size 45884.883 MB
    BR143I Backup type: online
    BR113I Files will be compressed by hardware
    BR130I Backup device type: tape
    BR102I Following backup device will be used: /dev/rmt0.1
    BR103I Following backup volume will be used: PRDB04
    BR280I Time stamp 2008-04-04 18.45.13
    BR256I Enter 'c[ont]' to continue, 's[top]' to cancel the program:
    c
    BR280I Time stamp 2008-04-04 18.45.50
    BR257I Your reply: 'c'
    BR259I Program execution will be continued...
    BR208I Volume with name PRDB04 required in device /dev/rmt0.1
    BR210I Please mount BRBACKUP volume, if you have not already done so
    BR280I Time stamp 2008-04-04 18.45.50
    BR256I Enter 'c[ont]' to continue, 's[top]' to cancel the program:
    c
    BR280I Time stamp 2008-04-04 18.46.26
    BR257I Your reply: 'c'
    BR259I Program execution will be continued...
    BR280I Time stamp 2008-04-04 18.46.26
    BR226I Rewinding tape volume in device /dev/rmt0 ...
    BR351I Restoring /oracle/PRD/sapbackup/.tape.hdr0
    BR355I from /dev/rmt0.1 ...
    BR241I Checking label on volume in device /dev/rmt0.1
    BR280I Time stamp 2008-04-04 18.46.26
    BR226I Rewinding tape volume in device /dev/rmt0 ...
    BR202I Saving /oracle/PRD/sapbackup/.tape.hdr0
    BR203I to /dev/rmt0.1 ...
    BR209I Volume in device /dev/rmt0.1 has name PRDB04
    BR202I Saving init_ora
    BR203I to /dev/rmt0.1 ...
    BR202I Saving /oracle/PRD/920_64/dbs/initPRD.sap
    BR203I to /dev/rmt0.1 ...
    Let me know If you have any problem regarding backup & restore
    karan

Maybe you are looking for

  • (2ndPost) Problems opening a .fla (flash) file.

    I was sent a link via email to download an .fla file. When it was downloading it said that the file may contain an application. Then when I check the file info, it says open with flashplayer (but the icon is older looking). I have updated my flashpla

  • Dreamweaver / Flash CS3 Host Server problem

    I've created my flash inserted it into dreamweaver, previewed it and uploaded the pages and the JS files to my host server again and again and it everything shows up but the flash, nothing, not even a box. Any ideas on what the problem could be? They

  • Xbox live to airport extremed???

    I have my new airport extreme (ver 7.7.3) plugged into the cat5 outlet in our condo.  We have webpass service so there is no modem.  I have my xbox 360 wired to my ae and can't get a connection.  Ive tried manual ip/dmz/port forwarding but still get

  • More granular geo-location from the MSE?

    I have a WCS 7.0.xx and a MSE 7.0.xx installed and working fine. I have managed to get an geo-location answer from the MSE, but it  appears like it has low accuracy. Eg: 63:24:59N 10:24:9E. As far as I  can see, It contains only degrees, minutes and

  • Volume Manager

    We are connecting a Sun 3500 to an HP VA7400 storage device, we require redundant paths to our volumes and it has been suggested that we need to purchase Veritas Logical Volume Manager, can we accomplish the above using Solstice Disk Manager? Any adv