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

Object parameter to smartform

rosenberg_eitan
Active Contributor
0 Likes
1,200

Hi all,

I am trying to pass an object to smart form I am getting an error message.

Is it posible to do that or am I doing somthig wrong ?

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
943

Hallo!

Yout have to create new Datatelemet that refers to class. Thus OB_R_EITAN_TEST_02 will be defined in interface of smartform as "type" and not as "type ref to".

Hope this helps

BACR

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
943

Hi Eitan,

I think (I'm not sure) SAP would like only to see an interface not a Class.

regards

Fred

Read only

Former Member
0 Likes
943
Read only

Former Member
0 Likes
944

Hallo!

Yout have to create new Datatelemet that refers to class. Thus OB_R_EITAN_TEST_02 will be defined in interface of smartform as "type" and not as "type ref to".

Hope this helps

BACR

Read only

RaymondGiuseppi
Active Contributor
0 Likes
943

DId you (forget to) check the "pass by value box" ?

Regards,

Raymond

Read only

0 Likes
942

Hi all,

Thank you all.

I change the smartform interface as Raymond suggested .

Here is some debug screen shots:

The content of the object:

But I have a dump 😞


It seeems that Raitis Pastars is right .

Unless some one come up with a simpler solution (Without using a structure).

Someone from SAP give us a clue please.

Regards.