11-07-2007 6:46 PM
I am trying to make the RSCRMBW_GET_CELL_DATA_BAPI function remote-enabled by choosing remote-enabled in the attributes tab in the function builder. When I try to activate the function, I get an error telling me that Reference parameters are not allowed with RFC. In order to get around this, I set each of the import parameters to pass value. This time, I get an error for Generic types not allowed in RFC. I change the I_NO_TEXTS type from C to CHAR50. Finally, I get an error for Type RSCRM_BAPI6111CD_LARGE_T is unknown. I am able to see this type in both the RSCRM type pool (to which the 'unknown' type belongs) and CL_RSCRMBW_BAPI>GET_CELL_DATA_V2 method (which calls the function). However the function builder still tells me that the Type RSCRM_BAPI6111CD_LARGE_T is unknown.
11-07-2007 6:51 PM
Hi,
You need to use Disctionary objects to declare the paramaters. Cannot use Type pool or Class elements.
Thanks & regards,
Dharitree
11-07-2007 6:51 PM
Hi,
You need to use Disctionary objects to declare the paramaters. Cannot use Type pool or Class elements.
Thanks & regards,
Dharitree
11-07-2007 6:51 PM
You cannot use types from type pool. Yoe need to have them in your data dictionary.
11-07-2007 6:52 PM
Hi,
You need do this in a work around way. My suggestion is you need to create wrapper function module (RFC enabled) with same paramters of fm RSCRMBW_GET_CELL_DATA_BAPI and inside this function module pass these parameters and call fm RSCRMBW_GET_CELL_DATA_BAPI, then there is no need to change fm RSCRMBW_GET_CELL_DATA_BAPI
a®