Skip to Content
author's profile photo Former Member
Former Member

How to find and separate the Erraneous records in Session Method?

Hi,

Currently we are working in SAP-HR.Our programs run using Session method of BDC.We get data from Legacy System through Flat Files which are in text format.First I upload the data for Actions Infotype 0000 and subsequently the other Infotype data.When I run my session if some records go in Error i want to filter out those erraneous records from Actions file and also other Infotype files and then proceed with data upload.Is there any method to do this?

Also when the Session is in process i want to trace the status of each record i.e. Is it processed or rejected. How can i achieve this ?

Can anyone help me in this.

Thanks & Regards

Ravi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 12:00 PM

    Hi Ravindra,

    To process the error records simply process the session again in SM35 . It will only try to post the erroneous transaction.

    You can see the incorrect sessions in SM35. Select the session and goto Analysis . Here you can see the error transactions. If you select the sessions and goto log -> display , you will see all the messages ( I,E, W etc. ).

    Here if you press "Print" a list will be displayed in ALV. Select the column type of message and put a filter on message type "E" . You will see all error messages here.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ravindra,

      To my knowledge we can not automate the process of seperating the error records when the session is processing or finished processing. You can view the error log only.

      It is a manual process to trace out the error records from your original file and place them into a seperate file.

      When the session is running you can check the status of each record by highlighting the sessio name and click Analysis.

      Regards,

      Message was edited by: Naren Somen

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 02:13 AM

    Hi Ravindra,

    In session method you can only see / analyze the logs in SM35 . However if you want error handling in your program you should use call transaction .

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.