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

Function Module

Former Member
0 Likes
455

Hi ,

I need to create a function module that extract data from some 3 data base tables , How to do that in SE37 . Can you provide the sample code and what are the import , Export parameters . What must be in tables .

Say VBAK , VBAP ,MARA

i can select fields using this condition

VBAK-VBELN = VBAP-VBELN

VBAP-MATNR = MARA-MATNR

Step by step procedure will be helpful , How to send result of function module to ABAP program

Kumar

Points Will be assured

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
405

Hi

creating function module:-

called program - se37-creating funcgrp, func module by assigning attributes, importing, exporting, tables, exceptions.

calling program - SE38-in pgm click pattern and write function name- provide export, import, tables, exception values.

The above method, create a function using VBAK, VBAP and MARA and join together and get the data.

3 REPLIES 3
Read only

Former Member
0 Likes
406

Hi

creating function module:-

called program - se37-creating funcgrp, func module by assigning attributes, importing, exporting, tables, exceptions.

calling program - SE38-in pgm click pattern and write function name- provide export, import, tables, exception values.

The above method, create a function using VBAK, VBAP and MARA and join together and get the data.

Read only

Former Member
0 Likes
405

I DONT KNOW WHAT IS YOUR REQUIREMENT BUT IF YOU WANT TO SEE THE DATA FROM THOSE THREE TABLES THEN WHY ARE NOT YOU GOING FOR DATABASE VIEW?

REGARDS

SHIBA DUTTA

Read only

SantoshKallem
Active Contributor