Application Development and Automation 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: 
Read only

RFC to create record in database table

Former Member
0 Likes
2,048

Hi all,

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

Please let me know.

Regards

Natasha Garg

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
Read only

Former Member
0 Likes
1,663

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.

Read only

amit_khare
Active Contributor
0 Likes
1,663

How about using BAPI.....

Read only

Former Member
0 Likes
1,663

Hi:

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

Regards

Shashi

Read only

Former Member
0 Likes
1,663

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

Read only

0 Likes
1,663

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.

Read only

0 Likes
1,663

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

Read only

Former Member
0 Likes
1,663

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

Read only

0 Likes
1,663

Hi,

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

Regards

Natasha Garg

Read only

0 Likes
1,663

Hey buddy,

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

Read only

0 Likes
1,663

hi,

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

Read only

0 Likes
1,663

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