Skip to Content
0
Former Member
Jun 04, 2009 at 09:59 AM

Recursive call of function module 'CRM_ORDER_MAINTAIN'

126 Views

Hi together,

I have got the follwoing problem.

We have to implement a proof on a partner function regarding the role.

I found the BADI IF_EX_COM_PARTNER_BADI~COM_PARTNER_CHECK

I implement the the follwoing coding:

IF is_partner_wrk-partner_fct = 'ZADI0012'.

SELECT SINGLE * INTO ls_but100

FROM but100

WHERE partner = is_partner_wrk-external_partner_number

AND rltyp = 'BUP004'.

IF sy-subrc = 4.

MESSAGE e003(crm_ic_partner) WITH is_partner_wrk-external_partner_number.

ENDIF.

ENDIF.

when I enter a partner with a wrong role, I got the message I have implemented. Afterwards I type in a partner with the correct role I got a short dump.

Recursive call of function module 'CRM_ORDER_MAINTAIN'

Has anybody an idea how to solve this issue?

Thanks and best regards,

Sylvia