Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Express Document "update was terminated" received from author

Former Member
0 Kudos

Hi all,

I was trying to post Create Purchase Order (ME21N) and material document is Created. Immediately after that i see a message

Express Document "Update was terminated" received from author

Any help would be appreciated.

Thanks!

sagar dev

6 REPLIES 6

Sougata
Active Contributor
0 Kudos

Post your source code please.

Former Member
0 Kudos

Error analysis

    An exception occurred that is explained in detail below.

    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was

     not caught in

    procedure "INVOKE_EVENT_FB" "(FORM)", nor was it propagated by a RAISING

     clause.

    Since the caller of the procedure could not have anticipated that the

    exception would occur, the current program is terminated.

    The reason for the exception is:

    When calling the function module "SWE_EVENT_CREATE", one of the parameters

    needed according to the interface description was not specified.

    This parameter was "OBJKEY".

  456   IF p_swecdobj-fbtyp IS INITIAL.

  457 *-- classic fb-interface

  458     lt_events[] = pt_events[].

  459     l_event     = p_event.

>>>>>     CALL FUNCTION p_swecdobj-eventfb

  461       EXPORTING

  462         changedocument_header   = p_chdoc_header

  463         event                   = l_event

  464       TABLES

  465         changedocument_position = pt_chdoc_position

  466         events                  = lt_events

  467       EXCEPTIONS

  468         OTHERS                  = 1.

  469     IF sy-subrc = 0.

  470       pt_events[] = lt_events[].

  471     ENDIF.

  472   ELSE.

Sougata
Active Contributor
0 Kudos

Is value of p_swecdobj-eventfb = SWE_EVENT_CREATE at runtime?

If so, then for FM SWE_EVENT_CREATE param OBJKEY is mandatory.

You don't seem to be passing any of the params of FM SWE_EVENT_CREATE.

Cheers,

Sougata.

Former Member
0 Kudos

Dear Sougata,

Its standard coding and this point active debugger but point terminted.

Former Member
0 Kudos

Dear Sougata,

I am go to sm30 error is Error during COMMIT WORK

nabheetscn
Active Contributor
0 Kudos

Have you done any custom enhancement in it...? is there any custom event getting raised..?

Nabheet