01-07-2008 9:51 AM
Hi all,
I want to create a remote function module.
Just create a simple FM
IMPORT Tab
What must i add?
EXPORT Tab
WHat must i add?
Source code Tab
What must i add?
ThankS
01-07-2008 9:57 AM
to Create RFC
1. goto --> se80
2. give the name of the Function Group to be Created for the Relating RFC.
3. pop-up will appear accept it
4. start the name with FG (mean - Function Group)
5. If the function group is already exist no need of the above steps.
OR
1. goto --> se37
2. goto > GOTO menu>Function Group-->Create Group
3. give the name of the Function Group to Create --> save it
1. goto --> se37
2. give name of the RFC to create
3. a popup apperas asking Function Group to the RFC
4. Give the Created Function Group
3. goto --> Attribute
5. select Remote Function enable Option at the right end of the Tab - this will enable your RFC to call from Non-SAP Systems
if you select Normal Function module it accepts within SAP.
6. goto --> Import Tab
7. enter the Input Parameters i,e from user the program gets the value
8. go to --> Export Tab
9. enter the Output Parameters i,e Program gives value to the User.(ex: Message, etc)
can also display data through Export when it displays a single value.
10. goto --> Tables Tab
11. declare the tables like the structure it needs to be Displayed as Output. i,e when there is a need to display more records choose tables. can create n number of tables for display the data in the final itab of your program are passed through this tables to display.
12 goto --> Exceptions Tab
13. Create Message i,e assign a variable and the Message Description this is used to through error message vis Program.
14. Goto --> SourceCode tab
15. Write Code over here.
Main thing is Pass the Itab data to The Tables declared for Display.
Reward Me if its Useful.