‎2006 Sep 11 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
‎2006 Sep 11 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
‎2006 Sep 11 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
‎2006 Sep 11 7:58 AM
You can use TABLES parameter for taking multiple values.
T_VBELN LIKE EKKO-EBELN under TABLES
Kind Regards
Eswar
‎2006 Sep 11 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
‎2006 Sep 11 8:14 AM