Processing session

Hi,
whether is is  possible to process a session created with function module bdc_open_group without closing it using function module bdc_close_group, in BDC.
Regards,
Mani

Hi,
In BDC session method when you are open the session using BDC_OPEN_GROUP compulsary to close the group using BDC_CLOSE_GROUP ,if it is not closed in SM35 session in not created,we cannot process the session.
please check below code
FORM BDC_BATCH_INPUT_SESSION.
  CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
              CLIENT              = SY-MANDT
              GROUP               = I_SESSIONNAME
              USER                = SY-UNAME
              KEEP                = 'X'
         EXCEPTIONS
              CLIENT_INVALID      = 1
              DESTINATION_INVALID = 2
              GROUP_INVALID       = 3
              GROUP_IS_LOCKED     = 4
              HOLDDATE_INVALID    = 5
              INTERNAL_ERROR      = 6
              QUEUE_ERROR         = 7
              RUNNING             = 8
              SYSTEM_LOCK_ERROR   = 9
              USER_INVALID        = 10
              OTHERS              = 11.
BDC Insert
LOOP AT it_employee INTO wa_employee.
      PERFORM bdc_dynpro      USING 'SAPMP50A' '1000'.
      PERFORM bdc_field       USING 'RP50G-PERNR'
                                    wa_employee-pernr.
      PERFORM bdc_field       USING 'RP50G-TIMR6'
                                    'X'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RP50G-CHOIC'.
      PERFORM bdc_field       USING 'RP50G-CHOIC'
                                    '0002'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=MOD'.
      PERFORM bdc_dynpro      USING 'MP000200' '2044'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=UPD'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'P0002-RUFNM'.
      PERFORM bdc_field       USING 'P0002-BEGDA'
                                    wa_employee-begda.
      PERFORM bdc_field       USING 'P0002-ENDDA'
                                    wa_employee-endda.
      PERFORM bdc_field       USING 'P0002-MIDNM'
                                    wa_employee-midnm.
      PERFORM bdc_field       USING 'P0002-RUFNM'
                                   wa_employee-rufnm.
CALL FUNCTION 'BDC_INSERT'
         EXPORTING
              TCODE            = 'PA30'
         TABLES
              DYNPROTAB        = it_bdcdata
    EXCEPTIONS
         INTERNAL_ERROR   = 1
         NOT_OPEN         = 2
         QUEUE_ERROR      = 3
         TCODE_INVALID    = 4
         PRINTING_INVALID = 5
         POSTING_INVALID  = 6
         OTHERS           = 7.
clear it_bdcdata.
    ENDLOOP.
Closing Batch Input
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
ENDFORM.
Regards,
Madhu

Similar Messages

  • How to process Sessions

    Hi,
      I Would like to know how to process sessions.
    Regards,
    Prasad

    Refer to these links
    <b>Managing Batch Input Sessions</b>
    http://help.sap.com/saphelp_46c/helpdata/en/69/c2501a4ba111d189750000e8322d00/frameset.htm
    <b>Processing Sessions Automatically</b>
    http://help.sap.com/saphelp_46c/helpdata/en/69/c250414ba111d189750000e8322d00/frameset.htm
    Regds
    Manohar

  • Open Process Session.vi

    Hi
    I am trying to create an unix console appliacations in LV 8.2 using cygwin 1.5.25. However when i am trying to build the applications it is giving the following error (see image).
    "Failed to build executable!
    Error message:
    Error output:
    Open Process Session.vi
    Can anybody help me to solve this problem?????/
    Attachments:
    error.jpg ‏36 KB

    Hi
    I get the same error message if I try to build the Filter-Example of the following tutorial: http://zone.ni.com/devzone/cda/tut/p/id/5412
    Error Message:
    Error Output: Open Process Session.vi
    I added the system path variable "C:\cygwin\bin" and I also choosed the DOS/text radio button.
    But at the installation of Cygwin I didn't found a package called "tclck" although this name is mentioned in the tutorial.
    So I installed the tcltk-package and now I get the error message above.
    Can anybody help me to solve this problem?
    Urs Kuenzle
    The System:
    LV 8.2
    Win XP

  • Apex 4.1: Error processing session sentry function. ORA-01403

    Hi,
    I have developed an application in Apex 4.0. I've translated the application into one additional language, and set the language to be derived from the browser. On the 4.0 instance, this works as expected (changing the preferred language in the browser and reloading a page uses the translated app).
    I then deployed the main app and the translated app to an Apex 4.1 (runtime-only) instance. If I access the application with the browser set to the primary language (English), it works, but if I change it to the secondary language and reload the page, I get:
    Error processing session sentry function.
    ORA-01403: no data foundThis also happens if I try to access the translated application directly via the URL.
    (I'm not sure what "session sentry function" means; in my application I have a custom authentication scheme with a custom "authentication function", but I have not specified anything for "session verify function" -- which is close but not exactly the same as "session sentry function", so I am not sure if they are the same thing.)
    Anyway, as this works on Apex 4.0 and not on Apex 4.1, I wonder if it is a bug... ?
    - Morten
    http://ora-00001.blogspot.com

    Anyway, as this works on Apex 4.0 and not on Apex 4.1, I wonder if it is a bug... ?Pretty sure it's a bug.
    I looked at APEX_040100.WWV_FLOWS and noticed that the AUTHENTICATION_ID column was NULL for my translated application (app id 301), whereas the main application (app id 300) has a value in that column. (This appears to be a new column for Apex 4.1.)
    The export file for the translated app creates my custom authentication scheme:
    wwv_flow_api.create_auth_setup (
      p_id=> 1711018744328150.301 + wwv_flow_api.g_id_offset,So what I did to fix this was to run:
      update apex_040100.wwv_flows
      set authentication_id = 1711018744328150.301
      where id = 301;That solved the problem, although the question still remains: Why didn't this get set automatically when importing the translated app?
    - Morten
    http://ora-00001.blogspot.com

  • How to procession session in foreground and errore mode from the program.

    hi ALL
    i have a requirement in wich i had to create a session and procession the sesion in foreground or back ground from the program it self (with out going to SM35)
    argent can any body answer to my question, please
    reward gauranty.
    thanks in advance
    sindu.

    refer to this link....
    Running a session from the zprogram
    regds,
    kiran

  • Hi is there any excutable to process Session BDC

    Hi Friends
    For sesion we will process with SM35 tcode, is there any exuctable other than this,
    Regards
    Jagadeeshwar.B

    hi
    You can try to use this program: RSBDCSUB. You have to create session using ur BDC program.. then can process it using the above mentioned program.
    Regards,
    Vishwa.
    Edited by: vishwa sri hari on Oct 1, 2008 12:08 PM

  • While processing session

    Hi Gurus
    I am reprocessing session which is incompletely processed. It is giving Error
    "Incorrect doc.no.: 400000009. Select document number between 0400000000 and 0499999999"
    I have checked document number range intervals also. every thing is correct.
    But it is not posting and giving above error.
    Please any one guide me. Please it is very urgent
    Thanks in Advance
    Krishna

    Hi Krishna,
    add 0 and try again"0400000009"
    Regards
    Prasad
    Accenture

  • CJQ0 process session is in idel stat

    Session Idel
    Hi,
    Version 10204.
    All my database jobs are running using dbms_scheduler as you can see :
    select count(*) from dba_jobs;
      COUNT(*)
             0
    SELECT COUNT(*) FROM DBA_SCHEDULER_JOBS;
      COUNT(*)
            20
    show parameter job_q
    NAME                                 TYPE        VALUE
    job_queue_processes                  integer     10        I am using the following statment to get a list of all session that in "idel" stat more than 10 hours.
    I found that the oracle process: CJQ0 is in idel stat about 12 hour :
    SELECT sess.username,proc.program,round(last_call_et/3600) idel_hr
      2  from v$session sess, v$sesstat stat, v$statname name , v$process proc
      3  where sess.sid = stat.sid and stat.statistic# = name.statistic#
      4  and sess.username is not null
      5  and name.name =  'recursive calls'
      6  and sess.paddr=proc.addr
      7  and sess.USERNAME NOT IN ('TIBCO','ONG')
      8  and sess.osuser NOT IN ('Tuxedo','psoft','appl11i','wmc')
      9  and sess.last_call_et/3600 >= 10
    10  and machine !='xyz';
    USERNAME                       PROGRAM                                             IDEL_HR
    SYS                            oracle@xxx (CJQ0)                                      12Oracle documentation : http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#sthref1602
    say :
    "The coordinator process, named CJQ0, periodically selects jobs that need to be run from the system JOB$ table"
    But my JOB$ is empty :
    select count(*) from sys.job$;
      COUNT(*)
             0Whey the process is in this stat ?
    Thanks

    Hi,
    Does someone can help on this issue ?
    I did not get any feedback in the last few days.
    Best Regards

  • How to diagnose a hanging process/session?

    Hello,
    I've got a user that has a stored procedure that (I'm still waiting to get the code from him) he says basically drops a table, then recreates it by a select on another table. He says this only involves tables of about 600 rows.
    He has run this numerous times with no problems and it usually completes immediately.
    However, since yesterday, he fires this off, and it seems to just sit there hung forever. Even killing it takes a good bit of time.
    Strangely enough, this seems to have started happening on all 3 instances on the same box (3 different test environments, all approximately the same) at the same time.
    Can someone give me some good steps and suggestions to try to help troubleshoot this?
    Thank you,
    cayenne

    Oracle prevents modification of a procedure under certain conditions.
    1) Procedure does DML
    2) No COMMIT has been issued.
    No session is allowed to change procedure until either COMMIT or ROLLBACK is issued by session that did DML.
    In other words, user is blocking himself by invoking multiple sessions & never issuing COMMIT or ROLLBACK.
    Edited by: sb92075 on Sep 1, 2009 7:11 AM

  • BDC-Process session in back ground

    HI to all,
    Is there any FM to call session in back ground
    i am using RSBDCSUB apart form this if there is any FM please tell me.
    regarda
    raadha

    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.
    Regards
    Krishna

  • The session status is procession

    hi expert,
    when process batch input session  , some of the session status is always in processing .
    and check in the session some of the items most of them are correct and some of them are
    incorrect .
    doese anybody can tell me why , any advice will be appreciate  .
    And can we just release the session and reprocess it again?
    and is there any duplicate posting since most of them shows correct in the processing session ?
    many thanks

    hi, chk this,
    what is the difference between call transaction and session input method?
    cheers,
    Hema.

  • Session Status is in processing with one error

    Hi All,
    While doing session processing user canceled the session. Now session status is in processing and it is showing one error.
    How can i process again. Please guide me regarding again i want process session .  It is very very urgent
    Thanks in Advance.
    Krishna

    Hi Krishna,
    Are you referring to SM35 session? If so release (flag icon or  SHIFT+F4) your session and process it again.
    Rgds
    Nadini

  • Question on Processing Pattern Sessions - not behaving as expected

    I have implemented some schedulable jobs in my extensible cache configuration that are scheduled at a fixed rate and then use the processing pattern to submit work to the grid.
    However I am seeing some unexpected behaviour which does not seem to make much sense. My jobs are submitted to the grid as follows (some code edited for brevity):-
    @Override
         public void run() {
              ProcessingSession session = null;
              try {
              session = new DefaultProcessingSession(StringBasedIdentifier.newInstance("MySession"));
              SubmissionOutcome outcome = session.submit(this, new DefaultSubmissionConfiguration(),
         new TaskSubmissionCallback(taskName));
              catch (Throwable t) {
                   log.error("Failed to Submit Process Pattern Task [{}] For Session [{}]", taskName, nodeName);
              finally {
                   try {
                        session.shutdown();
                   catch (Throwable t) {
                        log.error("[{}] Failed to Shutdown Processing Pattern Session [{}]", this, nodeName);
    My tasks get scheduled and then submiited and executed in the grid. I am currently only running a single node through eclipse for testing.
    But after the task has excecuted my TaskSubmissionCallback class gets invoked and the onDone() gets called and returns my result:-
    public void onDone(Object oResult)
         log.debug("[{}] Submission done - Result = [{}]", m_sTaskName, oResult);
    So all is working. However a couple of milliseconds later I see the following in the logs:-
    2012-04-03 17:15:50.407/19.274 Oracle Coherence GE 3.6.0.4 <Error> (thread=DistributedCache:DistributedServiceForProcessingPatternSubmissionResults:EventDispatcher, member=1): The following exception was caught by the event dispatcher:
    2012-04-03 17:15:50.407/19.274 Oracle Coherence GE 3.6.0.4 <Error> (thread=DistributedCache:DistributedServiceForProcessingPatternSubmissionResults:EventDispatcher, member=1):
    java.util.concurrent.RejectedExecutionException
         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760)
         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
         at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:216)
         at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:366)
         at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:438)
         at com.oracle.coherence.patterns.processing.internal.DefaultProcessingSession.removeCacheObjectsAsynch(DefaultProcessingSession.java:313)
         at com.oracle.coherence.patterns.processing.internal.DefaultProcessingSession.handleResultChange(DefaultProcessingSession.java:288)
         at com.oracle.coherence.patterns.processing.internal.DefaultProcessingSession$1.onMapEvent(DefaultProcessingSession.java:204)
         at com.tangosol.util.MultiplexingMapListener.entryUpdated(MultiplexingMapListener.java:42)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
         at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:557)
         at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
         at com.tangosol.coherence.component.util.SafeNamedCache.entryUpdated(SafeNamedCache.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap$ProxyListener.dispatch(PartitionedCache.CDB:22)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap$ProxyListener.entryUpdated(PartitionedCache.CDB:1)
         at com.tangosol.util.MapEvent.dispatch(MapEvent.java:270)
         at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:26)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:619)
    I have managed to solve this by removing the session.shutdown() call in the class that submits the job for processing using the Processing Pattern. However this seems odd to me
    as the submitter should not need to hang around until the job completes (as that is surely the point of the Callback handler). I can of course code around this by having a Singleton
    class which keeps the Processing session alive constantly and stores this in the Environment. But the question is why ???
    This is running Coherence 3.6 and coherence-processingpattern-1.3.423238.
    Would be grateful to know if this is a bug or my understanding is somehow confused !
    TIA
    Martin

    I agree, believe me. However, one goes to war with the army one has, not the army one wishes one had, to quote somebody who, um... okay, failed miserably. Hmm...
    It's a flat-rate project, so the troubleshooting isn't costing them any more, and their IT department wags the rest of the company and won't buy stuff. Eventually they'll have CS4 and these problems will go away, but probably not until next year.
    If I were willing to give up the CS4-specific features (which I'm not; maximum efficiency in long documents is the core competency of my business), working in CS3 still wouldn't be an option because I don't own it. I'm also not likely to be able to talk the client into the idea that I'll take care of the last-minute tweaks instead of their having to do it all.
    (Keep in mind, too, that there's more behind the scenes than I'm necessarily sharing in a quick forum post. If I can keep the typesetting from shifting in the .inx for now, I'm good.)
    I filed that bug report--thanks!
    UPDATE: Client says it looks right. Off we go...

  • Message E FPRUNX 001 cannot be processed in plugin mode HTTP

    Hi,
    I am getting an error when i execute BSP application error is as follows.
    Exception Class     CX_SY_MESSAGE_IN_PLUGIN_MODE
    Error Name     
    Program     Z_GET_BOOKING_FORM_NET========CP
    Include     Z_GET_BOOKING_FORM_NET========CM001
    ABAP Class     Z_GET_BOOKING_FORM_NET
    Method     DO_REQUEST
    Line     74
    Long text     -*
    coding in the method is as follows
    method DO_REQUEST.
    *CALL METHOD SUPER->DO_REQUEST
      runtime->server->response->delete_header_field( name = 'Expires' ).
      runtime->server->response->delete_header_field( name = 'Pragma' ).
      DATA: l_name TYPE funcname.
      TRY.
          CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
            EXPORTING
              i_name     = 'Z_CUST_FLIGHT_BOOKING_GEBO'
            IMPORTING
              e_funcname = l_name
            EXCEPTIONS
              OTHERS     = 0.
        CATCH cx_fp_api_repository.                         "#EC NO_HANDLER
        CATCH cx_fp_api_usage.                              "#EC NO_HANDLER
        CATCH cx_fp_api_internal.                           "#EC NO_HANDLER
      ENDTRY.
      DATA: l_outputparams TYPE sfpoutputparams.
    *Start Form Processing.
      l_outputparams-getpdf = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = l_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Add a call to the Formu2019s function module. Notice the
    settings on fp_docparams that allow for the generation
    of an Interactive form Without these settings the form
    will be generated as standard print form. Hint: Get the
    form functional moduleu2019s generated name by testing it in
    transaction SFP, and then use the Pattern wizard to insert
    the function callin your code.
      DATA: fp_docparams TYPE sfpdocparams,
            reservedonly TYPE bapisbodat-reserved,
            booking_data TYPE bapisbonew,
            fp_result    TYPE fpformoutput.
      fp_docparams-fillable = 'X'.
      fp_docparams-langu = sy-langu.
      CALL FUNCTION l_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          reserved           = reservedonly
          booking_data       = booking_data
        IMPORTING
          /1bcdwb/formoutput = fp_result
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Get the returned PDF, and store it in a
    fpformoutput-pdf type variable.
      DATA: pdf TYPE fpformoutput-pdf.
    _  pdf = fp_result-pdf._
    *Close the form processing session by calling the
    *FP_JOB_CLOSE function.
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Set the content type to be of u201Capplication/pdfu201D. This way,
    the client will know what kind of format the response is,
    and will start the adobe reader to display it.
      CALL METHOD response->set_content_type
        EXPORTING
          content_type = 'application/pdf'.
    *Put the PDF into the response.
      CALL METHOD response->set_data
        EXPORTING
          data = pdf.
    endmethod.
    error is in the line 74 in this coding line 74 is
      pdf = fp_result-pdf.
    Can any one suggest me some solutions.
    Thanks,
    Nethaji.

    Hi,
    I'm facing the same problem.
    I wrote an very easy report. It works as intended, but when i set fillable='X' i get the error FPRUNX 001.
    FP_GET_LAST_ADS_TRACE return following:
    Begin operation:
    Render, elapsed time = 16 ms.
    #   End operation: Render, elapsed time = 89 ms.
    #   Begin operation: UsageRights, elapsed time = 89 ms.
    #   End operation: UsageRights, elapsed time = 97 ms.#
    ...and the error string of FP_GET_LAST_ADS_ERRSTR is:
    ADS: Request start time: Wed Jul 01 14:44:26 CEST 2009(200.101).
    Any idea what the problem might be?

  • Session method and call transaction methos which one is the sap recomonded

    hi
    PLease give me the answer to these questions.
    session method and call transaction methos which one is the sap recomonded why .
    2) if we want to maintain BDC program in all the systems.wt to d0

    Hi Revethi,
    Here is the difference between the Session and Call Transaction method.
         Session
    Session method supports both small amount of data aswell as large amount of data
    2) data processing is asynchronus and data updation is synchronus.
    3) it process multiple apllication while perfomaning validations.
    4) in session method data will be updated in data base only after processing session only.
    5) system provide by default logfile for handling error records.
    6) it supports both foreground aswell as background process
    in bdc we use FM ... bdc_open_group " for creating Session
    bdc_insert " adding transaction and bdcdata table for updating database
    bdc_close_group " for closing Session
          Call Transaction
    Call transaction exclusively for small amout of data
    2) it supports only one apllication while perfoming validations
    3) there is no default logfile, We can explicitly provide logic for creating logfile for handling error records.
    we can create logfile by using structure....BDCMSGCOLL
    4) it doesn't support background processing.
    5) data processing is synchronous and Data updation is Synchronous( default), in
    this method also supports daya updation in asynchronus process also.
    Syntax:
    Call transaction <transaction-name> using BDCDATA
    mode <A/N/E> update <L/A/S>
    messages into BDCMSGCOLL.

Maybe you are looking for