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

Two internal table

Former Member
0 Likes
574

Is it required to have two internal table while writing RFCs, function modules. If so then itab and itab2 is for what purposes?

And I wonder how you begin to write a function module?

An easy question but required for a good start.

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
548

hi,

to make a fuction module as remote enabled function module just goto that function module and click on attributes section -> select remote enabled radio button.

then Fm acts as remote enabled fm.

if helpful reward some points,

with regards,

suresh babu aluri.

Read only

Former Member
0 Likes
548

internal table is not mandatory for RFC Function module... if you want to pass multiple values then use RFC .

Mandtory : check remote enabled function module

Reward points if it is helpful

Thanks

Seshu

Read only

Former Member
0 Likes
548

Hi,

Let us suppose the data is coming throguh middle ware (like tibco or XI) throguh flat file. They mapped the fields and RFC are called by middle ware. Already we passed the required structures (suppose in FI bbkpf and bbseg are structures). Now we will take 2 internal tables and pass those 2 strucutres data into corresponding internal tables.

I wonder how you begin to write a function module?

First move that data from structures to internal tabels and then do the validations and then post the data into SAP by required t-code.

Hope this helps you. Reply for queries, shall post the updates.

Regards.

Kumar

Read only

Former Member
0 Likes
548

Hi,

--> It is not required (mandatory) to have two internal table while writing RFCs, Function Modules.

--> To write a RFC Function Module

go to --> SE37 --> write Function Module name --> Create --> In Attributes tab --> Choose "Remote-Enabled Module"

If you do not want to make RFC function moudle Choose "Normal Function Module"

IF function module is RFC Function module :

Give Import Parameters & tick Optional and Pass Value

Give Export Parameters & tick Pass Value

Write your code accordingly, & activate Function module, Function Group and its includes in the same time.

Reward points, if helpful

Regards,

Sandeep Kaushik