Application Development 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: 

Create a Function module with import parameter accepting more than 1 value

Former Member
0 Kudos

Hi,

I need to create a function module, Is it possible to create a function module which can accept more than one value as input. For Eg: Can i create a function module that accepts more than one Purchase Order. If so how to create a function module like that

5 REPLIES 5

Former Member
0 Kudos

Hi Preethi,

I think its not possible to do like that. you can search only with one import parameter as PO numbner.

But you can use Table parameters to do the same.

Regards,

Ram

Message was edited by: Ram Mohan Naidu Thammineni

Former Member
0 Kudos

You can use the tables parameter to pass multiple values to the function module

Go to SE37-> create a new FM

give short decspn

define IMPORT parameters

EXPORt parameters

TABLES

t_ebeln TYPE ebeln

Former Member
0 Kudos

You can use TABLES parameter for taking multiple values.

T_VBELN LIKE EKKO-EBELN under TABLES

Kind Regards

Eswar

Former Member
0 Kudos

hi,

Decalare it in TABLES.. it accepts multiple Values.

Examples:

Tables:

EBELN like <Structure Name>

Create a structure like ekko-ebeln.

Thanku

Former Member
0 Kudos

Hellom

Use the TABLES parameters..

Regards,

Shehryar