‎2007 Jun 09 7:29 AM
The requirement is:
i have created YRFC(RFC enabled Function module) from there i have to call a report program passing value to select-options (that i am doing it by using Submit statements & it's doing fine) Now the Problem is i want to export the values(final values from report program) again to the funtion module. kindly help me out if anyone knows.
‎2007 Jun 09 7:32 AM
Hi
RFC (Remote Function Call) is similar to the general SAP fun module: except that in the attributes you click the radio button: RFC enabled;
and you will be passing an Import parameter DESTINATION to it.
Other code and usage will be similar to any fun module;
Have a look at any fun module in SE37 to understand better about the different components of Fun modules;
Refer this link:
http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm
Reward points for useful Answers
Regards
Anji
‎2007 Jun 09 7:34 AM
HI,
in the report programme
what you will do is
export the data into an id
and import the same data in the function module
EXPORT tab_DISCOUNT TO MEMORY ID 'CP_DISCOUNT'.
this is a structure
now import
IMPORT tab_DISCOUNT FROM MEMORY ID 'CP_DISCOUNT'.
in your function module
reward points if helpful
regards,
venkatsh
‎2007 Jun 09 8:12 AM