‎2007 May 18 12:20 PM
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.
‎2007 May 18 12:25 PM
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.
‎2007 May 18 12:27 PM
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
‎2007 May 18 12:42 PM
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
‎2007 May 18 2:23 PM
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