‎2007 Jul 20 12:22 PM
Hi ,
I have written an extract program which will extract data from specified table and places in directory mentioned .
my requirement is
1) i need to include code in my program which should invoke program in other system(say md).( this program which is written in other system(md) is used to pick the file which was extracted earlier ,to that system( md system.)
2) After that program written in other system picks up file,the file need to be deleted in our system.
plz provide me the code to handle above requirement.
‎2007 Jul 20 12:28 PM
Hi
Create an RFC Function module and do it
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
check out the following link it might help you
http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCFESDE2/BCFESDE2.pdf
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 20 12:28 PM
Hi
Create an RFC Function module and do it
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
check out the following link it might help you
http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCFESDE2/BCFESDE2.pdf
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 23 12:59 PM
Hi Anji,
Thanks for info you provided.
As you mentioned to use RFC,is there any othergo like useing some unix commands to invoke scrpit(program ) from other system.If so can you pls let me know wht are all the mandatory things i need to know to invoke tht program in other system.
‎2007 Jul 24 1:18 PM
> Hi ,
> I have written an extract program which will extract
> data from specified table and places in directory
> mentioned .
> my requirement is
> 1) i need to include code in my program which should
> invoke program in other system(say md).( this
> program which is written in other system(md) is used
> to pick the file which was extracted earlier ,to
> that system( md system.)
> ) After that program written in other system picks up
> file,the file need to be deleted in our system.
>
> plz provide me the code to handle above requirement.
As of one of friend(Anji Reddy) suggested to use RFC concept for this reqirement.
But my reqirement is to use unix commands to invoke scrpit(program ) in other system.
pls send me the needed code.
‎2007 Jul 24 1:21 PM
pls provide me needfull code to invoke scrpit written in other system by useing unix commands