‎2007 Jul 15 2:24 PM
what is the purpose of keywords using,chnging,tables rgarding subroutines and what are main differeneces between them
‎2007 Jul 16 6:28 AM
- If the form definition has a parameter USING VALUE(p_var1) then any changes will NOT be passed back to the caller.
- Any other parameter definitions will result in changes being passed back to the caller.
- For readability, if the form is going to pass back a changed value for a parameter, then you should use a CHANGING parameter.
- The TABLES parameter is obsolete. You should use a using/changing parameter with a table type.
For more info, please refer below link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm
‎2007 Jul 16 6:28 AM
- If the form definition has a parameter USING VALUE(p_var1) then any changes will NOT be passed back to the caller.
- Any other parameter definitions will result in changes being passed back to the caller.
- For readability, if the form is going to pass back a changed value for a parameter, then you should use a CHANGING parameter.
- The TABLES parameter is obsolete. You should use a using/changing parameter with a table type.
For more info, please refer below link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm
‎2007 Jul 16 6:31 AM
HI,
PLEASE CHECK OUT THE LINK BELOW IT WILL HELP YOU
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db975c35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db976935c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
***********PLEASE REWARD POINTS IF THE INFORMATION IS HELPFUL TO YOU************
‎2007 Jul 16 6:39 AM
hi,
using is used for passing parameters to sub routines.
changing is used for passing values and and returning the changes to the called area.
tables are used for passing tables from calling area to sub routines.
values is the keyword which can be used for using and changing.
generally if u dont specify any thing then call by reference mode is used by default.
if helpful reward some points.
with regards,
Suresh.A