08-22-2007 2:10 PM
HI all,
I have developed some RFC to be used by EP applications. In these RFC i am using some structures in IMPORT, EXPORT and TABLE . I want whatever structure and source code i have developed to be copy to some file which i can directly use it to create RFC on my client side while deploying rather than creating manually all the structure and pasting the source code on client side again.
08-29-2007 7:55 AM
Hi,
U can use the function module RS_FUNCTIONMODULE_INSERT.
Regards,
jahnavi.
08-29-2007 9:06 AM
Hi Sandeep,
The parameteers passed to the function module are
IMPORTING PARAMETERS
OBJECT LIKE NAST
It contains documents key.
CONTROL_RECORD_IN LIKE EDIDC
It contains the partailly filled control record
EXPORETING PARAMETER
OBJECT_TYPE
CONTROL_RECORD_OUT LIKE EDIDC
TABLES
INT_EDID LIKE EDIDD
The internal table used to fill the data records in the same order as they exists in the IDOC.
The important parameters that should be filled in the custom function module are
CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.
Excuse me if i understood in a rong way.
Reward poins if helpful.
Thanks
12-08-2010 12:32 PM