Application Development and Automation 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: 
Read only

Passing by parameter for Update set (param)

Former Member
0 Likes
673

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
615

Hi Sid,

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

3 REPLIES 3
Read only

Former Member
0 Likes
616

Hi Sid,

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

Read only

0 Likes
615

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

Read only

Former Member
0 Likes
615

I forgot the '`' within my CONCATENATE.