Regd BDC Session Log

Hi All,
  I want to retrive the BDC Session Log from the already processed Session by a program.
Is there any table that holds the BDC Session Log?
Regards,
Siva

Siva,
Have a look at program RSBDC_PROTOCOL. When you debug this program you can see that Function Modules RSTS_OPEN_RLC and RSTS_READ are used for reading the session logs from the Temse.
Regards,
Arjan Aalbers

Similar Messages

  • Report for Session Log

    Dear All,
    I am trying to develop a report to read the log of a bdc session.
    I have a BDC session named Test1 created on 26.09.2008.
    Once  the session is finished i need to get the log using a report.
    Can any one please suggest if something could be done in his regard
    Thanks and best regards
    Sivaprasad

    Hi,
    The issue does not pertain to SAP Business One. Please check the following threads if of help in your case :
    regarding BDC Session
    want to access the BDC Session log
    You can get the solution for your issue by posting  a thread in the following forum :
    ABAP Connectivity
    Please close the thread here.
    Regards,
    Jitin

  • Storing of log file in A/P Server while running BDC session in SM35

    Hi All,
    I have issue when running BDC session in SM35.
    The actual issue is
    I need to store of log file generated while running BDC session in <b>SM35</b> in <b>Application/Presentation</b> Server path.
    When ever we run single session the Log file regarding that session we need to store in Application/Presentation Server.
    Can anybody have solution for this issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi
    See the std report RSBDC_ANALYSE, here you can know how to find out the log of B.I..
    You can create a program like that to load the log into file instead of showing it.
    Max

  • Capturing Batch Input Log without keeping BDC session

    Hi all -
    Would like to capture the Batch Input log and keep it persistent in some manner (for example using an application log) without keeping the corresponding BDC session.  The reason for this is that any manual corrections to data interfaces through BDC sessions MUST be logged indefinitely for audit purposes.  The actual BDC sessions are HUGE and therefore precludes saving the entire BDC session.  My thoughts are user-exit'ing in BDC session either as a Batch Input Log is being created or when a Session is being deleted (NOTE: running ECC 6.0 which has new enhancement concept permitting extremely flexible user-exit'ing so exit points are NOT an issue and repair/core mode not required).  Anyone see any flaws with this approach or can recommend perhaps a simpler or standard approach so that Batch Input Logs are retained indefinitely whereas the Session is deleted?
    Many thanks,
    Pat

    Hi Pat,
    Why dont you try archiving?
    For archiving, archive object BDCLOGPROD can be used. if archived, then you can read the archived logs using program RSBDC_ARCHREAD (also accessible from SARA->Read).
    See some notes if it is helpful:
    147354, 18319, 24438, 18307
    Also have a look at the Data Management Guide available at service.sap.com/data-archiving.
    Hope this helps,
    Naveen

  • URGENT - HOW TO PROCESS A BDC SESSION (IN BACKGROUND) FROM INSIDE A REPORT

    Hi All,
    I have a requirement wherein I need to create a BDC session for mass update(from file) of one transaction and check if at all that update has taken place and proceed with the same session for another transaction.
    For this I need to know how to process the session in background in a report, so that if the processing is done, the next set of data to update a different transaction can happen.
    All inputs are welcome and highly valuable to me.
    If someone is unable to intrepret this, I'll detail it again.
    Thanks in advance,
    Vaishnavi Varadarajan

    Hi,
    1.Use RSBDCDRU is an exe pg.With this u can download the logs into local file.
    2.It will create the spool request .from there u can download or print.
    OtherWise:
    Use the code from the link below. U need to provide the session queue id as input and it will download the log to an excel file. U can change it to  ur reqmt.
    Re: BDC
    regards
    kiran

  • How to handle the errors in BDC Session method

    Hi All,
    I am uploading Material Master (MM01) records using BDC Session Method.my problem is when i am running the program, all the error records are going to flat file.how can i correcting the error records and after correction how can i re-process the error records.tell me with example.
    i have around 70,000 records in my flat file.

    Hi,
    I am attaching few threads.Hope these will help you.
    If there are any error records in session, all those error records will get poulated in log .SM35 and after the session is completed , u can see error records which can be corrected and reprocessed again
    We have the structures BDCLD and BDCLM, which will capture the log details inthe session. Firstly, sesssion should be processed. After that log will be created. Then caputure the information into an internal table using BDCLM and BDCLD.
    and refer the link.
    error correction in bdc session
    regards
    Madhu

  • How to overcome view changes in bdc session method  using recording ?

    how to overcome view changes in bdc session method  using recording ?
    ex-for mm01 in recording if i selected views basic data1 and basic data2.
    i seheduleded for background for after 3 days .
    if any body changes views by selecting other views also.
    how to overcome this with out programming ?
    is there any settings ?

    Hi,
    I am attaching few threads.Hope these will help you.
    If there are any error records in session, all those error records will get poulated in log .SM35 and after the session is completed , u can see error records which can be corrected and reprocessed again
    We have the structures BDCLD and BDCLM, which will capture the log details inthe session. Firstly, sesssion should be processed. After that log will be created. Then caputure the information into an internal table using BDCLM and BDCLD.
    and refer the link.
    error correction in bdc session
    regards
    Madhu

  • In which table we can find the sessions log

    Hi all,
    I am using BDC using session method,I need to know the  table in which session log is getting updated, one more thing could I able to find the session log for the past one year in SM35, plz help me out.
    regards
    paul

    hi see the below table for logs in session method.
    BDCLM
    regards,

  • Updating a DB table by a BDC session in background

    Hi,
    I need to  update a DB table with records using a BDC session. I need to run this session in background. But the Error Log I'm getting suggests that Table Maintenance is required for the same.
    Note that I can very well insert records in this table thru se11 and also by running the session in foreground.
    Is there any work-around for this issue?
    Thanks.

    Hi
    If at all you are using any DOWNLOAD and UPLOAD related function modules you can't run the BDC program in the background.
    If it is a Z table update you can create the table maintenance generator.
    other wise you can do it.
    You can run session in background.
    Reward points if useful
    Regards
    Anji

  • BDC Sessions in Error Status

    Hello!
    I have a customer that usually have error status in BDC Sessions and they expect that original users clean up their sessions.
    But they are looking for some task in background to help them, is it possible?
    And he has another doubt:
    "How does the system store the data used in the BDC session?  If we have an error and need to correct the data or re-run the session, where will the tool pull the data for that session?  We are trying to determine if failed sessions are leaving data on the unix filesystems, etc."
    Thanks in advance,
    Daniel Kaoro Kobashigawa

    Hi,
    If you are using the BDC session methos then the error logs and other ino are stored in teh session in SM36
    We can re-process the sessiions that are error ones seen in the Error records.
    Search SDN more on this.
    We have many threads on this issue.
    If you are using the Call Transaction then we dont get the exact error but we can see the error records using BDCMSGCOLL.
    Usually both are combined to handle the data in a accurate manner.
    Regards
    Lekha

  • Incorrect state of bdc-sessions after system-termination

    Hello,
    following situation:
    I've run 8 bdc-sessions and system breaks down becaus of to less table space.
    After correction of table space and activating update (sm13)
    the job's go on.
    But 2 bdc-sessions have a false state - they show processing but sm50 and log shows that they do nothing. The creation of customers is not complete (only 50 %). How can I correct the state of the bdc-sessions and process the jobs further???
    1 BDC is finished but the state is false too (processing) How can i correct the state of tht session ?=
    thanks and regaards
    Andreas

    Good morning Rob,
    I've tried to release it but I get the following "false" message:
    Could not release folder "MIARMD_1029"  since it still contains a background job
    Message no. 00299
    -> there's no background job any longer!
    any ideas except creating new bdc-sessions???
    thx and greetings
    Andreas Mann

  • Lsmw, bapi, bdc- session, bdc-calltransaction

    Hi Experts,
       Can you please tell me which method should be used to upload data
    1. lsmw
    2. bapi
    3. bdc-session
    4. bdc-calltransaction
      which method should be used when?, why?, advantages?
    I know the process of doing all this but my question is which method should be followed and when, what will be the advantages and disadvantages.
    points will be rewarded.
    Thank you.
    regards,
    Admir.

    hi,
    To decide which method shukld use, we have to understand the differences first.
    for 10000 records i will go for session method
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Session method is to populate the data by filling BDC structure
    and keep as session to process from SM37 to post in appropriate Transaction.
    Call transaction method is to post the data directly into the Transaction from an Executable program.
    Session method SAP defined Function modules.
    Regards,
    Reshma

  • CTU_PARAMS in BDC Session

    Hi,
    I am trying to use the option <b>NOBINPT</b> of CTU_PARAMS in BDC Session. i.e filling ctu_params-nobimpt = 'X' and passing this in <b>BDC_INSERT</b>. But it doesn't work as expected.
    It works as expected in CALL TRANSACTION. Is there any other parameters to Set in BDC Session?
    Grateful for your opinions on this.
    Regards,
    Siva

    Can you check whether the field is NOBINPT or NOBIMPT
    It should be NOBINPT.
    Regds
    Manohar

  • Listing BDC session method error records

    Hi ABAP'rs,
                     Can any one help me, how to show error records of BDC session method on the List screen.
                                        Thanks and Regards,
                                                              Param.

    Hi,
    goto sm35 and find the error logs.
    what do you mean by list screen...do you mean in ort output ?
    Regards,
    pankaj singh

  • Session log from SM35-not fully displayed

    Dear Freinds,
    My requirement is to read the log of SM35, that is my intenstion is after my report being executed (BDC session method ) the session get processed in background only as i have used  rsbdcsub .
    Now i want to display the log which find in the SM35 for processed session i have tried below in my program
    i.e after running the session I should read log and store for which legacy numbers SAP customer is created and for which its failed.
    As specified in one of the logs in the SDN i have written as below.
    Get your TEMSEID MANDANT from APQL table, and call these four function modules in sequence.
    DATA: CHARCP LIKE RSTSTYPE-CHARCO VALUE '0000'.
    CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
    EXPORTING
    AUTHORITY = ' '
    CLIENT = APQL-MANDANT
    NAME = APQL-TEMSEID
    IMPORTING
    CHARCO = CHARCP
    EXCEPTIONS
    FB_ERROR = 1
    FB_RSTS_OTHER = 2
    NO_OBJECT = 3
    NO_PERMISSION = 4
    OTHERS = 5.
    CALL FUNCTION 'RSTS_OPEN_RLC'
    EXPORTING
    NAME = APQL-TEMSEID
    CLIENT = APQL-MANDANT
    AUTHORITY = 'BATCH'
    PROM = 'I'
    RECTYP = 'VNL----'
    CHARCO = CHARCP
    EXCEPTIONS
    FB_CALL_HANDLE = 4
    FB_ERROR = 8
    FB_RSTS_NOCONV = 12
    FB_RSTS_OTHER = 16
    NO_OBJECT = 20
    OTHERS = 24.
    IF SY-SUBRC > 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'RSTS_READ'
    TABLES
    DATATAB = LOG_TABLE
    EXCEPTIONS
    FB_CALL_HANDLE = 4
    FB_ERROR = 8
    FB_RSTS_NOCONV = 12
    FB_RSTS_OTHER = 16
    OTHERS = 16.
    IF SY-SUBRC > 0.
    EXIT.
    ENDIF.
    CALL FUNCTION 'RSTS_CLOSE'
    EXCEPTIONS
    OTHERS = 4.
    LOG_TABLE is having only  the below
    ENTERDATE LIKE BTCTLE-ENTERDATE,
    ENTERTIME LIKE BTCTLE-ENTERTIME,
    LOGMESSAGE(400) TYPE C,
    In t´he log message I am not getting any exact message displayed in SM35 log  . Please suggest me what i have to do
    regards
    divya

    better use:
    CALL TRANSACTION tcode USING bdcdata MODE mod MESSAGES INTO itab.
    and analyse sy-subrc and itab for every customer
    A.

Maybe you are looking for

  • Regarding Financial report in Business object

    Dear All, https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm We have download the zip file for Financial report from the above link. When we open this report in Crystal report we can not find the query written for tha

  • Using webservice as datasource, don't get any fields

    I am trying to use CR 2008 using a webservice as datasource. To test this I tried some webservices from www.webservicex.net, like this wsdl: http://www.webservicex.net/country.asmx?wsdl I am trying to use the method GetCountries. I am able to connect

  • Adobe flex and SRM

    Hello  friends, Adobe flex is coming up in the market with rocket speed?  If I want to compare this product with SRM, what would you think will be the pros and cons/ advantages and disadvantages of Flex over SRM? Thanks, Pat.

  • Column for password

    How can i define a column for a password in a table? Seek help here, thanks in advance Maz

  • Resume listening to itunes radio

    Has anyone else had the issue where iTunes Radio will stop playing after a couple of hours and ask "resume listening to itunes radio?" and make you click a button to continue?  As soon as I click it, it resumes.  This is pretty annoying since I run i