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

Interface

Hi All,

I am working on few interfaces where we have the following requirement:

I need to upload the data using a BDC (Session Method)

and after proceesing the session i have to send the log of session to the legacy owners to conform the status of the upload.

The issues here are:-

1. How to collect the log of the session method?

2. How to change the log into an understandable form(Text Format) so that the user can trace the error records easily and resend it?

3. Can the log of SM35 transaction be send to the user using an FTP?

Hoping for a postive response from every one.

Thanks in advance.

Regards

Satish.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 05, 2005 at 05:13 AM

    check out the function modules in function group

    <b>SBDP</b>

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2005 at 01:33 PM

    Hi Satish,

    Once you have extracted the BDC session logs, why don't you <b>email</b> them to the users rather than using FTP.

    Check out the two blogs from Thomas:

    Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface:

    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

    Sending E-Mail from ABAP - Version 46D and Lower - API Interface

    /people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface

    Cheers,

    Brad

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Brad ,

      I have tried sending a mail after creating the function module and than calling it in my program.

      I done all the settinga and it is working fine when i am sending a test mail as mentioned.

      But the problem here is that when i am sending it through my mail i am getting an error:

      <Internal error: SO_OBJECT_MIME_GET Exception: 2>.

      The code that i have written is :

      data : i_doc type ZTCS_EMAIL_docs_tab,

      i_recp type ZTCS_EMAIL_RECIPIENTS_tab.

      field-symbols: <wa_doc> like line of i_doc.

      append initial line to i_doc assigning <wa_doc>.

      <wa_doc>-type = 'INT'.

      <wa_doc>-subject = 'TEST MAIL FROM SATISH THROUGH SAP'.

      field-symbols: <wa_recp> like line of i_recp.

      append initial line to i_recp assigning <wa_recp>.

      -C_ADDRESS = 'AJAY.KOLLI@YAHOO.COM'.

      Field-symbols <wa_line> type SOLI.

      append initial line to <wa_doc>-CONTENT_TEXT assigning <wa_line>.

      <wa_line>-line = 'TEST LINE 1'.

      call function 'ZSEND_EMAIL'

      exporting

      REQUESTED_STATUS = 'E'

      documents = i_doc

      recipients = i_recp.

      if sy-subrc = 0.

      write: 'SUCESSFUL MAIL'.

      endif.

      Please tell me what was the problem and how to rectify it.

      Thanks a bunch.

      Regards

      Satish.

  • Posted on Jun 05, 2005 at 09:08 PM

    Hi,

    Try FM: RSTS_OPEN_RLC, RSTS_READ, RSTS_CLOSE.

    Krzys

    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.