Skip to Content

Error-IM258-Object does not exist (Status Management)

Dear All

We have used the enhancement "MCI10001" for triggering the external E mail while scheduling the maintenance plan using T code IP10.

System will fetch the E mail ID from the equipment master -partner function either Vendor or User responsible and sends the mail

But while executing IP10 system throws an error message as follows

Error Msg no: IM 258- Object does not exist (Status Management)

This refers to an error in central status management.

Kindly help on the above issue

Regards

Thyagarajan

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Feb 18, 2011 at 01:04 PM

    Hi,

    Can you check if the generated order or notification has inconsistent status setting? It is usually the notification when this error is issued. The new notification with inconsistent status can be fixed with report ZPMNOT_STATUS01 from note [437878|https://service.sap.com/sap/support/notes/437878].

    Obviously this does not explain why the issue is happening. Do you know if the problem occurs when the exit is deactivated? Are you issuing any commit work statments in the exit?

    -Paul

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Thyagarajan Krishnamurthy

      Hi,

      I think this is because SAP reads the user responsbile to send an email for one particluar notification and it just reads the first line item and get terminated. Possible you could change some coding to read all the notifications pertaining to an order based on the miantenance item.

      Mahee

  • Posted on Jun 13, 2011 at 10:55 AM

    Abap coding has changed, since some commit work has written inside the statement

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      l have same problem my code below

      help me please .

      if email is not INITIAL and ulke is not initial and sy-tcode eq 'QM01' and sy-ucomm eq 'BUCH' and I_VIQMEL-QMART = 'Q1'.

      CALL FUNCTION 'POPUP_TO_CONFIRM'

      EXPORTING

      TITLEBAR = 'E-mail'

      TEXT_QUESTION = 'E-mail Göndermek istiyormusunuz ?'

      IMPORTING

      ANSWER = answer

      EXCEPTIONS

      TEXT_NOT_FOUND = 1

      OTHERS = 2.

      if answer eq 1 and ulke = 'TR'.

      lt_mailtxt ='Değerli Müşterimiz,'.

      APPEND lt_mailtxt.clear lt_mailtxt.

      lt_mailtxt = 'Şikayetiniz sistemimize alınmıştır. Müşteri şikayeti sorumlularımız sizlerle en yakın zamanda irtibata '.

      APPEND lt_mailtxt.clear lt_mailtxt.

      lt_mailtxt = 'geçeceklerdir. Şikayetiniz için teşekkür eder, saygılarımızı sunarız.'.

      APPEND lt_mailtxt.clear lt_mailtxt.

      lt_mailtxt =''.

      APPEND lt_mailtxt.clear lt_mailtxt.

      data: it_packing_list like sopcklsti1 occurs 0 with header line,

      it_receivers like somlreci1 occurs 0 with header line,

      gd_cnt type i,

      gd_sent_all(1) type c,

      gd_doc_data like sodocchgi1,

      gd_error type sy-subrc.

      gd_doc_data-doc_size = it_packing_list-body_num * 255.

      • Populate the subject/generic message attributes.

      gd_doc_data-obj_langu = sy-langu.

      gd_doc_data-obj_name = 'SAPRPT'.

      gd_doc_data-obj_descr = 'Naksan KGM'.

      gd_doc_data-sensitivty = 'F'.

      • Describe the body of the message

      clear it_packing_list.

      refresh it_packing_list.

      it_packing_list-transf_bin = space.

      it_packing_list-head_start = 1.

      it_packing_list-head_num = 0.

      it_packing_list-body_start = 1.

      describe table lt_mailtxt lines it_packing_list-body_num.

      it_packing_list-doc_type = 'RAW'.

      append it_packing_list.

      CLEAR it_receivers.

      it_receivers-receiver = email.

      it_receivers-rec_type = 'U'.

      it_receivers-com_type = 'INT'.

      it_receivers-notif_del = 'X'.

      it_receivers-notif_ndel = 'X'.

      append it_receivers.

      call function 'SO_DOCUMENT_SEND_API1'

      exporting

      document_data = gd_doc_data

      put_in_outbox = 'X'

      sender_address = 'sinan.tataroglu@***.com'

      sender_address_type = 'INT'

      commit_work = 'X'

      importing

      sent_to_all = gd_sent_all

      tables

      packing_list = it_packing_list

      contents_txt = lt_mailtxt[]

      receivers = it_receivers

      exceptions

      too_many_receivers = 1

      document_not_sent = 2

      document_type_not_exist = 3

      operation_no_authorization = 4

      parameter_error = 5

      x_error = 6

      enqueue_error = 7

      others = 8.

      IF sy-subrc EQ 0.

      • COMMIT WORK.

      • Push mail out from SAP outbox.

      • SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.

      ENDIF.

      elseif ulke ne 'TR' and answer eq 1.

      lt_mailtxt ='Dear Customer,'.

      APPEND lt_mailtxt.clear lt_mailtxt.

      lt_mailtxt = 'Your compliant has just entered to system. Customer complaint responsible will contact with you ASAP.'.

      APPEND lt_mailtxt.clear lt_mailtxt.

      lt_mailtxt = 'Thanks for your complaint.'.

      APPEND lt_mailtxt.clear lt_mailtxt.

      gd_doc_data-doc_size = it_packing_list-body_num * 255.

      • Populate the subject/generic message attributes

      gd_doc_data-obj_langu = sy-langu.

      gd_doc_data-obj_name = 'SAPRPT'.

      gd_doc_data-obj_descr = 'Naksan KGM'.

      gd_doc_data-sensitivty = 'F'.

      • Describe the body of the message

      clear it_packing_list.

      refresh it_packing_list.

      it_packing_list-transf_bin = space.

      it_packing_list-head_start = 1.

      it_packing_list-head_num = 0.

      it_packing_list-body_start = 1.

      describe table lt_mailtxt lines it_packing_list-body_num.

      it_packing_list-doc_type = 'RAW'.

      append it_packing_list.

      CLEAR it_receivers.

      it_receivers-receiver = email.

      it_receivers-rec_type = 'U'.

      it_receivers-com_type = 'INT'.

      it_receivers-notif_del = 'X'.

      it_receivers-notif_ndel = 'X'.

      append it_receivers.

      call function 'SO_DOCUMENT_SEND_API1'

      exporting

      document_data = gd_doc_data

      put_in_outbox = 'X'

      sender_address = 'peykan.samli@****.com'

      sender_address_type = 'INT'

      commit_work = 'X'

      importing

      sent_to_all = gd_sent_all

      tables

      packing_list = it_packing_list

      contents_txt = lt_mailtxt[] "it_message

      receivers = it_receivers

      exceptions

      too_many_receivers = 1

      document_not_sent = 2

      document_type_not_exist = 3

      operation_no_authorization = 4

      parameter_error = 5

      x_error = 6

      enqueue_error = 7

      others = 8.

      IF sy-subrc EQ 0.

      COMMIT WORK.

      • Push mail out from SAP outbox.

      SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.

      ENDIF.