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

Remote Function Module

Former Member
0 Likes
1,087

hi ,

I need to develop a RFC for the portal application. The requirement is to pass the output of MCE1 Transaction to the portal.The issue is whether to write a similar program related to MCE1 Transaction code or any alternative.

Thanks

9 REPLIES 9
Read only

Former Member
0 Likes
1,056

you can create custom function module (remote enable) & call std program, pass all the parameters received . export the result.

first you need to know the what is input to your RFC.

Read only

0 Likes
1,056

Hi Vivek,

Thanks for the reply . How to export the result from standard . My requirement is to pass the output to an internal table and thru RFC send it to portal . The input parameters will be same as the standard ones .

Thanks.

Read only

Former Member
0 Likes
1,056

write a BDC Code using SHDB and then customize it.

Try to write a RFC having this BDC Code.

Read only

former_member222860
Active Contributor
0 Likes
1,056

Hi,

In order to pass your output through itab, you should maintain an underlying Structure for the output in the dictionary.

Let's say ur itab is having 2 fields like field1, field2 etc.. for this, u define z-table/ structure in the dictionary,

If it's not clear,, pl. get back

thanks\

Mahesh

Read only

Former Member
0 Likes
1,056

if u want to pass the result to portal, if i am not wrong it means that in the portal the same values of ur transaction needs to be updated. this means all the values will be updated in some table. If the table gets populated then the portal will also hve the same values updated as this contains the fields that refer to this same table.

create a RFC enabled FM and call the standard program and pass the values to this program through the parameters. call this FM in the method of the webdynpro comp which is concerned with the portal.

Read only

0 Likes
1,056

hi ,

Main Purpose is to capture the output values of standard report MCE1 into an internal table and pass the internal table thru RFC . Is there any way of doing it .

Read only

former_member222860
Active Contributor
0 Likes
1,056

Hi,

u can't directly pass the itab through RFC, you've to append the values of itab to the structure, which is referred in the Tables Parameter of the FM,, like this

TABLES
*"      ITAB STRUCTURE  ZREF_TAB

thanks\

Mahesh

Read only

Former Member
0 Likes
1,056

on execution of the program, is there any table that gets updated .if so,after calling the prog in the RFC,select all the values that are updated in the table for the gven parametets and pass them to an internal table.think capturing the o/p of the transaction means capturing the values that are updated in the table according to the parameters that u pass.

Read only

0 Likes
1,056

hi kalyan ,

For doing so i need to write the entire logic of the report . my question was can we get the output values of the standard report into an internal tables with writing any logic for retreival of data . I have asked these on the lines of using SAP Memory or any fucntion modules .