09-11-2006 7:54 AM
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
09-11-2006 7:57 AM
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
09-11-2006 7:58 AM
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
09-11-2006 7:58 AM
You can use TABLES parameter for taking multiple values.
T_VBELN LIKE EKKO-EBELN under TABLES
Kind Regards
Eswar
09-11-2006 8:10 AM
hi,
Decalare it in TABLES.. it accepts multiple Values.
Examples:
Tables:
EBELN like <Structure Name>
Create a structure like ekko-ebeln.
Thanku
09-11-2006 8:14 AM