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: 

parameter is not defined

Former Member
0 Kudos

I am getting a dump in ECC 6.0

that,"Function module "SAP_WAPI_CREATE_EVENT" was called

with the parameter "EVENT_CONTAINER".

This parameter is not defined."

When i check this FM , there is no table parameter EVENT_CONTAINER defined in it.

CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'

EXPORTING

object_type = c_object_type

object_key = l_objkey

event = c_event

IMPORTING

event_id = l_event_id

TABLES

event_container = l_container

EXCEPTIONS

objtype_not_found = 1

OTHERS = 2.

But in 4.6 C, it executes successfully, even when no parameter is declared there.

Can anyone suggest a solution?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi ,

you have " INPUT_CONTAINER" in ecc6.

change the program.

Atul

2 REPLIES 2

Former Member
0 Kudos

hi ,

you have " INPUT_CONTAINER" in ecc6.

change the program.

Atul

0 Kudos

Check this:


CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
  EXPORTING
    OBJECT_TYPE     = C_OBJECT_TYPE
    OBJECT_KEY      = L_OBJKEY
    EVENT           = C_EVENT
  IMPORTING
    EVENT_ID        = L_EVENT_ID
  TABLES
    INPUT_CONTAINER = L_CONTAINER.

Angelo.