cancel
Showing results for 
Search instead for 
Did you mean: 

ESS - Implementation of BADI PT_GEN_REQ

Former Member
0 Kudos

Hi everyone!

I have implemented BADI PT_GEN_REQ for a user defined suggetion of the next processor (method FIND_RESP_AND_DEFAULT_NEXT_PRC). This part works fine. When the user overwrite the suggestion with his own value i want to check his input. But the method CHECK_SELECTED_NEXT_PROCESSOR has no interface. How could i point out to the system, that a user defined input is incorrect.

ThX!

Harald

Accepted Solutions (0)

Answers (2)

Answers (2)

SCHEFFLM
Explorer
0 Kudos

Hi Harald,

Can you please give us your coding as a example? I have the same requirement as you but currently I get a dump due to the export parameter EX_DEF_NEXT_PROC_ACTOR (which does have the type TYPE REF TO IF_PT_REQ_A_WF) within my BAdIn implementation Something is wrong with this interface - but what?!

Thank you very much for your help!!

Regards

Michael

Former Member
0 Kudos

Hi Harald,

to check the user defined entries, I suggest you implement it in the START_WF method. There's a method call:

    CALL METHOD lc_step->agent_append
      EXPORTING
        agent          = l_agent
      EXCEPTIONS
        already_exists = 1
        locked         = 2
        OTHERS         = 3.

which adds the agents to the recipient list. The validation could be put before this I think.

Hope this helps,

Mikko