‎2008 Jan 15 6:18 AM
Hi all,
I am creating a FM which will have an input field as a table name and structures to the corresponding table. So is there any generic structure available in the DDIC that can be used as a base for the fields coming in.
If not available what should i consider while creating a structure for the same.
Regards,
Stock
‎2008 Jan 15 6:26 AM
You can leave the type reference blank so that system can accept any structure.
For reference check REUSE_ALV_GRID_DISPLAY. This FM accepts an internal table without generic references
‎2008 Jan 15 6:26 AM
You can leave the type reference blank so that system can accept any structure.
For reference check REUSE_ALV_GRID_DISPLAY. This FM accepts an internal table without generic references
‎2008 Jan 15 6:28 AM
Hi,
don't specify any type....in the tables paramter just give itab.
TABLES
ITAB
regards,
Nagaraj
‎2008 Jan 15 6:57 AM
I intend to have an IMPORT parameters as
TABLE --> any DB table (dynamic as per requirement)
WA_STRUCT---> a single record entry with all the columns for the above table
Can we specify the same in the importing section and have the same functionality as in tables section.
IMPORT
wa_struct
without the type and associated type.
Regds,
Stock
‎2008 Jan 15 7:04 AM
Hi,
generally import parameters don't handle multiple values,inorder to handle multiple values we have to create table type in SE11,so try to create table type in SE11 and then try to specify only itab without any structure and see..i have never done this..plz try and let me know, if it works..
Regards,
Nagaraj