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

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

Former Member
0 Likes
1,627

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
Read only

Former Member
0 Likes
879

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

Read only

Former Member
0 Likes
879

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

Read only

Former Member
0 Likes
879

You can use TABLES parameter for taking multiple values.

T_VBELN LIKE EKKO-EBELN under TABLES

Kind Regards

Eswar

Read only

Former Member
0 Likes
879

hi,

Decalare it in TABLES.. it accepts multiple Values.

Examples:

Tables:

EBELN like <Structure Name>

Create a structure like ekko-ebeln.

Thanku

Read only

Former Member
0 Likes
879

Hellom

Use the TABLES parameters..

Regards,

Shehryar