Skip to Content
avatar image
Former Member

Passing by parameter for Update set (param)

Hi everybody,

how can i pass by the needed parameter for a Update statement?

The method contains the following importing parameter:

IMPORTING:

im_tabname type tabname

im_expre type string

im_where type string

In this method i use the statement:

update (im_tabname)
set (im_expre)
where (im_where).

I get the exception: CX_CY_DYNAMIC_OSQL_SEMANTICS.

Which kind of types should i use instead of string for: im_expr and im_where?

regards,

Sid

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 11, 2009 at 02:34 PM

    Hi Sid,

    Check the parameter type used in the method,, define your parameters of the same type.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Seema,

      in my method i create the importing parameter:

      IMPORTING:

      im_tabname type tabname

      im_expre type string <-- wrong type!?

      im_where type string <-- wrong type!?

      i have no local parameter!

      The question is, which type should i use for im_expre and im_where. Until now it's not working with the type string.

      regards,

      sid

      Edited by: Sid on Jul 11, 2009 5:32 PM

  • avatar image
    Former Member
    Jul 11, 2009 at 03:39 PM

    I forgot the '`' within my CONCATENATE.

    Add comment
    10|10000 characters needed characters exceeded