‎2008 Feb 12 9:53 AM
Hi,
When I call any FM , how do I know which fields of (import-tables-exceptions) to uncomment?
Thanks
‎2008 Feb 12 9:56 AM
Hi,
The import parameters in the FM are the export parameters in abap programs. Goto se37 give any function module name and then click on display, then after goto Import tab there is one column Optional if the parameter as marked as optional then it should be optional other wise it is mandatory.
Rgds,
Bujji
‎2008 Feb 12 9:55 AM
hi Shaheen,
THat is purely based on the requirement for which you are making use of the FM.
Regards,
Santosh
‎2008 Feb 12 9:55 AM
go to SE37
open the FM
watch IMPORT and EXPORT tabs.
If OPTIONAL is checked, U gave to use that parameter
Reward if useful
‎2008 Feb 12 9:56 AM
Hi,
The import parameters in the FM are the export parameters in abap programs. Goto se37 give any function module name and then click on display, then after goto Import tab there is one column Optional if the parameter as marked as optional then it should be optional other wise it is mandatory.
Rgds,
Bujji
‎2008 Feb 12 9:56 AM
Whenever U call a FM .. if any field is mandatory .. then
automatically U'll get that field uncommented ...
‎2008 Feb 12 9:56 AM
When you call FM you will automatically get the commented for the fields that are not mandatory.
Otherwise go to that FM and check if pass value check box is selected against the fields or table. If it is checked means those parameters or mandatory.
Reward points if useful.
Regards,
Nageswar
‎2008 Feb 12 9:56 AM
Hi shaheen khan,
It is fully based on your requirment, but atleast you should uncomment mandatory fields otherwise it is going to dump..
How to see Mandatory fields in function module?
Goto SE37-> give function module name -> press F7-> In importing (or) Exporting (or) Changing *See the optional (5th one from left) column-> If it is unchecked then it is the mandatonal otherwise it is mandatory...
Plzz reward if it is useful,
Mahi.
‎2008 Feb 12 9:57 AM
Hi,
It depends upon your requirment which fields needs to be passed.
Thanks,
Sriram Ponna.
‎2008 Feb 12 9:58 AM
Hi,
The required Export and tables parameters are generally uncommented when u call an FM using Pattern. Others are optional.
It is generally a good practise to uncomment all the exception parameters.
Import parameters are not mandatory so use them only if u need some info back from FM.
Regards
Gaurav