cancel
Showing results for 
Search instead for 
Did you mean: 

Object with runtime number '7' not defined

former_member696081
Participant
0 Kudos

Hi Experts,

I am facing an issue in Production system. In my workflow when an inovice is created based on cost center it will route to the approvers. when an invoice is created with a cost center say 100504 it send to one approver say "A", once he rejects it its sending to initiator for review. if the initiator changed the document with another cost center say 100104 then the workitem is going to another approvers say B. Once the approver B rejects the document the workflow is getting error out. THe error is occuring at send mail step (once it is rejected an external e-mail will be send to initiator).

below is the error description:

EXECUTE_METHOD_OBJECT_SYNC                      Object with runtime number '                  7' is not defined
  EXECUTE_METHOD_BOR                                     Object with runtime number '                  7' is not defined
    EXECUTE_METHOD_BOR                                     Object with runtime number '                  7' is not defined

This is working fine in ERQ, its happening only in PRD. please suggest.

Thanks,

Ranganadh.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185167
Active Contributor
0 Kudos

Hello,

Have you tried filling in equivalent data in ERQ system? It could be because of the change of cost centre, that the workflow doesn't handle it properly.

What step does it error out on? What is that step supposed to do?

I'd have a close look at the workflow log.

regards

Rick Bakker

hanabi technology

former_member696081
Participant
0 Kudos

HI Rick,

Thanks. The same kind of data I entered in ERQ. Its getting error out ine send mail step. Method: SENDTASKDESCRIPTION and Object type: SELFITEM. this method is supposed to send an e-mail to initiator once document is rejected.

Thanks,

Ranganadh.

former_member696081
Participant
0 Kudos

Hi Rick,

I found the issue causing the workflow to throw into status error. Once the approver rejecting the document then the initiator adding an attachment to the workitem and then parking it. when the second approver rejects it again then send mail step is getting into error status.

Can anybody suggest how to handle the attachments? I am not sure why its getting into error if there is an attachment.

Thanks.

Ranganadh.

former_member185167
Active Contributor
0 Kudos

Hello,

Replicating the problem is halfway to solving it.

Well, how are you handling them now? I'm not sure SENDTASKDESCRIPTION will work with attachments.

You could try it with fm SO_NEW_DOCUMENT_ATT_SEND_API1.

The error message seems to suggest that a object isn't being initiated properly.

regards

Rick Bakker

hanabi technology

former_member696081
Participant
0 Kudos

Hi Rick,

Thanks for your help. Issue got resolved. This is happening because of attachment sending throgu "SENDTASKDESCRIPTION" method of SELFITEM. SAP suggested a note to resolve this issue. Note# "SAP Note 1115440 - Error OL 808 for e-mails from the

workflow"

Regards,

Ranganadh.

former_member185167
Active Contributor
0 Kudos

Many thanks for the follow-up.

Answers (0)