Application Development 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: 

creating RFC with out manually creating structure on client place

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

Hi,

U can use the function module RS_FUNCTIONMODULE_INSERT.

Regards,

jahnavi.

Former Member
0 Kudos

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

Former Member
0 Kudos

program available in sdn to download fm