cancel
Showing results for 
Search instead for 
Did you mean: 

ECC Ehp7: Event CREATED or CHANGED not triggered anymore for BO DRAW

sebastian_hockmann2
Participant
0 Kudos

Hi.

after upgrading to ECC EhP7 we got the following problem:

The Events CREATED and CHANGED are not triggered

for object type DRAW. I tested it in CV01N/CV02N and

see no events in event trace.

But when i create manually the workflow starts. So the main

thing is, that the events are not triggered anymore.

I checked wf-customizing already in SWU3 and the verification

workflows are running without errors.

Here some data:

- WF WS90000040

- WF should start after DRAW-CREATED in CV01N with document type AE1

- SWETYPV is maintained:

Object-Cat: BO

Object-Type: DRAW

Event: CREATED

Consumer type: WS90000040

Consumer-FM: SWW_WI_CREATE_VIA_EVENT

Check-FM: SWB_2_CHECK_FB_START_COND_EVAL

Any ideas on that topic ?

Best regards,
Sebastian

Accepted Solutions (0)

Answers (2)

Answers (2)

subbu4sap
Explorer
0 Kudos

Hello,

Use SWELS & SWEL for event trace . Still if you did not get the inputs, search for SAP notes or raise the issue with SAP .

Regards,

SK

sebastian_hockmann2
Participant
0 Kudos

Hello.

SAP told me that there is a OSS note 2207636. They advised to rollback implementation in SNOTE. But this is not possible since it was implemented during EhP7.

Main problem is that in LCV111F01 following coding is active. In Tx DC10 we had set "Change docs" for the document type EZ active. So AENBL is not empty.

DATA : lf_no_raise(1).                                               " begin 2207636

    IF ls_tdwa-aenbl IS NOT INITIAL.

       lf_no_raise = 'W'.

    ENDIF.           

So now in CV200_DB_DOC_UPDATE following happens:

*-----------------------------------------------------------------------

** Create event for workflow

*-----------------------------------------------------------------------

  IF ps_no_raise IS INITIAL.                                              " By 2207636

    PERFORM wf_create_event

      USING pf_tacode

            ps_draw

            ps_draw_old.

  ENDIF.                                                                   " By 2207636

And now the WF is not triggered.

Or maybe is there some issue with the Change Docs and the workflow ?

BR,
Sebastian Hockmann

former_member185167
Active Contributor
0 Kudos

Hello,

You can check in SWEL (as you did) if the events are being created. If it's not the case then forget everything to do with workflow - the fault does not lie there. It could be a customisation issue.