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: 

RFC to create record in database table

Former Member
0 Kudos

Hi all,

Anyone know about RFC to create a new data entry in database table in SAP.

Please let me know.

Regards

Natasha Garg

11 REPLIES 11

Former Member
0 Kudos

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.

amit_khare
Active Contributor
0 Kudos

How about using BAPI.....

Former Member
0 Kudos

Hi:

Lot of RFC are in SAP, it depends completely on your requirement like which table do you want to update/ create.

Regards

Shashi

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Hi,

Actually its not an RFC. Its a normal FM. I needed an RFC.

Regards

Natasha Garg

0 Kudos

Hey buddy,

Create a FM make it Remote enabled .... and inside that call that FM..... then call the custom created RFC from ur xls

0 Kudos

hi,

Create a Z RFC and call above FM in that RFC and then call the RFC from VBA Excel.

0 Kudos

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