Skip to Content

Error when calling an outbound plug from BADI

Jan 10 at 02:15 PM


avatar image


I modified the BADI "COM_PARTNER_BADI", so that it checks if the partners of a service requests (created in web ui) are related to each other (via table "but050").

If they are not related, the BADI calls an outbound plug the method "BP_ACCOUNT_SEARCH" to open a pop up, used to search for business partners.

The problem is that a dump occurs ("OBJECTS_OBJREF_NOT_ASSIGNED") in the outbound plug at this line:

lr_partner_set ?= me->typed_context->btpartnerset->collection_wrapper->get_current( ).

In debugging I noticed, that the "me" is empty.

So I guess the outbound plug doesn't know it's context because it's called by a BADI?

Cann you tell me how I can get the data from the service request, whose partners are checked by the BADI?

Thank you very much and best regards


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers