03-18-2009 9:00 AM
Hi all,
Anyone know about RFC to create a new data entry in database table in SAP.
Please let me know.
Regards
Natasha Garg
03-18-2009 9:14 AM
Hi Natasha,
What is your actual requirement.
We will use RFC function modules to get /put data in a remote system. if your requirement is to update a database table in a remote system then you can write a remote enabled function module which will have the code to update the data base table.
It's simple.
03-18-2009 9:16 AM
03-18-2009 9:20 AM
Hi:
Lot of RFC are in SAP, it depends completely on your requirement like which table do you want to update/ create.
Regards
Shashi
03-18-2009 9:24 AM
Hi,
My requirement is to insert an entry in TADIR table. I want a standard RFC which I can call through VBA code in excel.
Regards
Natasha Garg
03-18-2009 9:37 AM
Hi Natasha,
Hope you are aware that TADIR is the directory of repository objects. means whenever we create any report or any object, an entry will be made with the object details in TADIR table.
So i think it is not possible to create an entry in TADIR without any object creation. It is not recommended.
anyway.. here is one FM.. which will create/modify entries in TADIR.
TR_TADIR_INTERFACE
but oppsssssss.. it is not an RFC. i didnt find any RFC's related to TADIR.
03-18-2009 9:43 AM
Hi,
Yes I know TADIR is for object details. I needed it for one of my requirements.
actually i needed RFC only.
Anyway thanks
Regards
Natasha Garg
03-18-2009 9:53 AM
hello,
i think this RS_DME_COM_TADIR_ENTRY FM can be used to create entry in the TADIR table
--- Close the post once you get the solution
With Regards,
Ajantha R
03-18-2009 10:22 AM
Hi,
Actually its not an RFC. Its a normal FM. I needed an RFC.
Regards
Natasha Garg
03-18-2009 10:26 AM
Hey buddy,
Create a FM make it Remote enabled .... and inside that call that FM..... then call the custom created RFC from ur xls
03-18-2009 10:28 AM
hi,
Create a Z RFC and call above FM in that RFC and then call the RFC from VBA Excel.
03-18-2009 10:29 AM
Hi,
Thanks but I needed a standard RFC because my requirement needs to be run on different servers. so a custom FM will not solve the purpose. Thats why I needed a standard one.
Regards
Natasha Garg