‎2009 Jan 19 8:09 AM
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
‎2009 Jan 19 1:18 PM
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.
‎2009 Jan 20 3:57 AM
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.
‎2009 Jan 19 1:59 PM
write a BDC Code using SHDB and then customize it.
Try to write a RFC having this BDC Code.
‎2009 Jan 20 5:23 AM
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
‎2009 Jan 20 5:38 AM
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.
‎2009 Jan 20 5:46 AM
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 .
‎2009 Jan 20 5:54 AM
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_TABthanks\
Mahesh
‎2009 Jan 20 5:54 AM
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.
‎2009 Jan 20 6:05 AM
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 .