‎2007 Jun 21 6:00 AM
<b>How can i Export Custom table through function module.</b> when we add some table in the function module table tab it asks for a ref. table which is some table in database .. but i want to add some custom table with some user defined column names..how can i do this
<b>n plz tell me how to loop thru select options</b>
i have to loop thru select option and assign all the values to a variable.
plz help me out
Message was edited by:
Karan Chopra
‎2007 Jun 21 6:55 AM
‎2007 Jun 21 6:04 AM
Hi karan,
In such cases just define TABLE as TYPE Any.
Reward points if useful.
Regards,
Atish
‎2007 Jun 21 6:12 AM
no i cant do that i have one user def table in my func module source code but it is not def. in the table tab (means cant be exported) and if i use that as ref. then it shows the message table does not exist
‎2007 Jun 21 6:18 AM
Hi Karan,
What I written can be done. Just in your FM define the table in the table tab as type ANY. Now you can use the same for passing any kind of table to the FM.
Regards,
Atish
‎2007 Jun 21 6:25 AM
i wrote "TYPE" in type spec. field and "ANY" in ref. type field in TABLES tab
and gettin error while activating
"for typing of TABLES parameters , only table types shud be used "
‎2007 Jun 21 6:31 AM
‎2007 Jun 21 6:55 AM
‎2007 Jun 21 7:06 AM
Hi Karan,
Do one thing, Just in the tables tab give the name of the table and don't write anything else. no TYPE and no ANY.
Hope it will resolve issue.
reward points if useful.
Regards,
Atish
‎2007 Jun 21 7:33 AM
if i do that wen i run the prog is assigns this table some default type of one table in my prog i used MARA and this new table becomes of this type even if i dont do that
‎2007 Jun 21 7:36 AM
Hi Karan,
Now this FM will behave based on what value you are passing to it.
If you pass table of type MARA it will be like that.
Reward points if useful.
Regards,
Atish
‎2007 Jun 21 7:39 AM
no i am not doin that
i just want ki it shud hav values of my own def. table which i am assigning to it but it is takin type of table MARA and my entries gets mixed in that
‎2007 Jun 21 7:42 AM
hey atish thanx!!!!!
now prob is solved
will reward u full 4 dat
thanx again dude