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

Using Importing and Changing parameters together in a method

Former Member
0 Likes
693

Hi,

I am using Importing and Changing parameters together in a method, and calling as:

CALL METHOD set_properties(

im_node = im_node

changing

ch_assoc_instance = l_bo_assoc_instance

).

Definition for calling method is:

methods SET_PROPERTIES importing

!IM_NODE type ref to IF_XML_

changing

!CH_ASSOC_INSTANCE type ref to CL_BO_ASSOC.

But during the activation check i'm getting this error:

*Error / Couldn't find Error Message: E CALL 004. *

Please suggest.

Regards

Piyush

1 ACCEPTED SOLUTION
Read only

karol_seman
Active Participant
0 Likes
663

Hi,

I would say you are missing word exporting?

CALL METHOD set_properties(

exporting im_node = im_node

changing

ch_assoc_instance = l_bo_assoc_instance

).

Hi,

I am using Importing and Changing parameters together in a method, and calling as:

CALL METHOD set_properties(

im_node = im_node

changing

ch_assoc_instance = l_bo_assoc_instance

).

Definition for calling method is:

methods SET_PROPERTIES importing

!IM_NODE type ref to IF_XML_

changing

!CH_ASSOC_INSTANCE type ref to CL_BO_ASSOC.

But during the activation check i'm getting this error:

*Error / Couldn't find Error Message: E CALL 004. *

Please suggest.

Regards

Piyush

4 REPLIES 4
Read only

matt
Active Contributor
0 Likes
663

There's no problem with using importing and changing parameters together. When you say activation check - what are you activating?

matt

Read only

Former Member
0 Likes
663

Hi matt,

By this i mean "Check" - CTRL+F2

Regards

Piyush

Read only

matt
Active Contributor
0 Likes
663

Karol Seman is correct - I should have spotted that! The fact that you're not getting a proper error message indicates to me that you need to patch your SAPGui to a newer version.

Read only

karol_seman
Active Participant
0 Likes
664

Hi,

I would say you are missing word exporting?

CALL METHOD set_properties(

exporting im_node = im_node

changing

ch_assoc_instance = l_bo_assoc_instance

).