cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow issue- Dereferencing of the NULL reference

Former Member
0 Kudos

Hello All,

I have an issue with sending mails to external e-mail ids through a workflow process. I am using the FM SO_DOCUMENT_SEND_API1 for sending mails. However, because of the latest Basis version I need to call this FM in a seperate task when the process is in BACKGROUND mode.

The current scenario is, my workflow will trigger a method, which internally call this FM in a seperate TASK. When I run the workflow/process I get an error in the method, which triggers this FM. The erro says "Dereferencing of the NULL reference"

Is this because of calling the FM in a seperate task, as the workflow already has a pre-defined TASK? if yes, how do we go about this?

Thanks,

Anil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The problem was related to Object Instance.

Former Member
0 Kudos

Hello Anil,

I am facing a similar message when i am running the SAP standard workflow 18900044 for leave encashment. I am calling a class CL_HRPBSIN_HANDLE_LEREQ_WF and the method CALL_WORKFLOW.

Can you please tell me how you managed to solve your issue.

Regards,

Ritwik