cancel
Showing results for 
Search instead for 
Did you mean: 

trigger actions through a program

Former Member
0 Kudos

Hi experts,

Here is my business functionality.

I have to implement a badi for a customer request in crm. this would check the product against the reason code entered. If both match then i need to trigger action (actions are already defined) otherwise i have to collect error message in application log. I am through with the later half but dont know how to proceeed to action triggering.

Can somebody pls help me out. Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

P000636
Active Contributor
0 Kudos

Hi karan,

Look at maybe it helps you

Regards.

Manuel

Former Member
0 Kudos

Hi Manuel,

I have already seen that blog but when i copied the program , it gave me the error when the method for triggering the action is called. it gave me a short dump sayin

"

Access via 'NULL' object reference not possible.

The reason for the exception is:

You attempted to use a 'NULL' object reference (points to 'nothing')

access a component (variable: "LV_ACTION").

An object reference must point to an object (an instance of a class)

before it can be used to access components.

Either the reference was never set or it was set to 'NULL' using the

CLEAR statement.

at line CALL METHOD lv_action->set_is_inactiv( space ).. "

and since i have never used this method, i dont know how to solve this error. so can you please help me out with this