‎2007 May 17 10:51 PM
I am trying to create a new function module that was there in the previous version(4.6C) but the function module does not let me add parameters in "TABLES" section! It sayd TABLES is obsolete! Any help would be great. I am putting function module declaration in old version below if this could help. thanks.
Function Module declaration in old version:
""Local interface:
*" IMPORTING
*" VALUE(EINF_MEHRF) DEFAULT 'E'
*" VALUE(START_COLUMN) DEFAULT 4
*" VALUE(START_ROW) DEFAULT 4
*" VALUE(WINDOW_TITLE) DEFAULT ' '
*" VALUE(HEADER_LINE) LIKE ZSELTB STRUCTURE ZSELTB OPTIONAL
*" VALUE(HEADER_LINE2) LIKE ZSELTB2 STRUCTURE ZSELTB2 OPTIONAL
*" EXPORTING
*" REFERENCE(SEL_LIN1) LIKE ZSELTB STRUCTURE ZSELTB
*" REFERENCE(SEL_LIN2) LIKE ZSELTB2 STRUCTURE ZSELTB2
*" TABLES
*" SEL_TABLE STRUCTURE ZSELTB OPTIONAL
*" SEL_MULT STRUCTURE ZSELTB2 OPTIONAL
--Mithun
‎2007 May 17 10:53 PM
HI,
It allows.. it only a warning message..Press Enter when the warning message shown.
u can use changing instead of tables..
Regards
SAB
Message was edited by:
Syed A
‎2007 May 17 10:53 PM
HI,
It allows.. it only a warning message..Press Enter when the warning message shown.
u can use changing instead of tables..
Regards
SAB
Message was edited by:
Syed A
‎2007 May 17 10:56 PM
Hi,
Create a table type in SE11 for the structure ZSELTB & ZSELTB2..
INstead of TABLES use CHANGING parameter and give the table type in the TYPE...
1)
Go to SE11
Choose the radio button data type..
Give ZSELTB_T.
Press create..
Choose the radio button..Table type..
Give the structure name ZSELTB..in the row type..
Press save and activate the table type..
Check the existing table type AFVC_T if you have any clarifications..
2)
In the function module..
choose the changing tab...
Give the table type name as below..
CH_ZSELTB TYPE ZSELTB_T
Thanks,
Naren
‎2007 May 17 10:56 PM
what is your latest version?
What are you exactly trying to do in tables parameter? It should allow you to add the parameters. post the code what you are trying to add.
‎2007 May 17 11:02 PM
Dah, I just had to hit enter because it was just a warning. Thanks for your time and I rewarded points to everyone.
Mithun
‎2008 Aug 27 9:11 AM