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

calling a smartform by RFC

Former Member
0 Likes
1,305

Hi, we have developed a smartform in one system and we want to call to these smartform from another system by RFC, Anybody knows if is possible?

We have tried to copy the function module that smartform create and change the attribute in order will be remote function module but the attributes are reference parameters and say that is not possible.

Thanks in advanced.

BR

MANUEL

1 ACCEPTED SOLUTION
Read only

former_member221770
Contributor
0 Likes
855

Manuel,

Not sure why you would do this, but I think it is techniclly possible. But you must create a "shell" FM (which is RFC enabled) and within this FM you call your SmartForm FM (as well as definign all your output settings and also making sure SSFCTRLOP-NO_DIALOG = 'X').

I would be interested to know if this works.

Cheers,

Pat.

Hi, we have developed a smartform in one system and we want to call to these smartform from another system by RFC, Anybody knows if is possible?

We have tried to copy the function module that smartform create and change the attribute in order will be remote function module but the attributes are reference parameters and say that is not possible.

Thanks in advanced.

BR

MANUEL

3 REPLIES 3
Read only

former_member221770
Contributor
0 Likes
856

Manuel,

Not sure why you would do this, but I think it is techniclly possible. But you must create a "shell" FM (which is RFC enabled) and within this FM you call your SmartForm FM (as well as definign all your output settings and also making sure SSFCTRLOP-NO_DIALOG = 'X').

I would be interested to know if this works.

Cheers,

Pat.

Read only

0 Likes
855

Hi, I have solved my problem.

My scenario:

We want create a smartform with color lines and color shadow box.

SYSTEM1 46C-> Not possible have color lines and color shadow box.

SYSTEM2 4.7-> More easy develope smart form and is possible have colors.

SOLUTION: 1.Have smartform in SYSTEM2.

2. Call the smartform from system1 to system2.

The key is do a rfm that call to the function module of the smart form.

BR

MANUEL

Read only

Former Member
0 Likes
855

Hi

You cannot call the smartform Function directly.

Instead create another RFC function which will call this smartform FM. The RFC function can be directly called from other system. Mind it spool cannot be created in accling system as smartform will create spool on the system on which it resides.

Cheers