04-12-2007 5:33 AM
Hi,
1) Can we use both Tables and Changing parameters while creating Function modules and BAPI? Please tell the difference b/w Tables and Changing?
2) Is it mandatory that we should pass internal tables with out header line through FM and BAPI?
3) Is it mandatory that Parameters that we pass should be "pass by value"?
Thanks in advance...
04-12-2007 6:00 AM
Hi.....
Import and export parameters can only be BY VALUE for an RFC enables Function module..
Reward points if useful......
Suresh......
04-12-2007 5:54 AM
04-12-2007 5:58 AM
Hi
1) Yes. A table parameter is by definition a structured multi line parameter, a changing parameter is a single line (or value) fulfilling the requirement of both import and export parameters.
2) No. You may pass an itab with a header line.
3) See the help for each parameter type:
You pass the parameter with values. This means that the parameter contents are copied both when the parameter is passed and when it is transferred back to the calling parameter. For structures that contain tables, performance may be reduced considerably. Therefore, you should not do this.
(SAP Online help for Function Builder(SE37))
Regards
Gareth
04-12-2007 6:00 AM
hi,
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/d1/801f50454211d189710000e8322d00/frameset.htm
1. we can use both changing and tables parameters.. if itr is required.
tables parameters is for passing tables
changing is for passing the variables with pass by value.
3. when you pass the values with import and export parameters.. by default it is passed by referance.. whereas changing is used for passing by value..
tables are always passed by referance.
regards,
pankaj singh
reward points if helpful
04-12-2007 6:00 AM
hi,
the diff b/w table and changing is that in table we specify the table structure which we gona use in our FM and in changing we difine the object which is going to change i.e getting some new values . u dont have much idea abt BAPI's if u let me know ur mail id i will send some materials on BAPI that i got
ravi
04-12-2007 6:05 AM
Hi Ravi,
Can you send me the material of BAPI to my id ravikanthgupta_g@yahoo.com. It will helpful to me
Thanks
Ravi
04-12-2007 6:08 AM
04-12-2007 6:12 AM
04-12-2007 6:26 AM
Hi Ravi,
Please send it to my mail id naveen2283@rediffmail.com
Thanks,
04-12-2007 6:44 AM
Hi Ravi
Can you pls send BAPI Documents to vijayalaxmi_madiwala@yahoo.co.uk
Thanks and Regards
Vijaya
04-12-2007 6:00 AM
Hi.....
Import and export parameters can only be BY VALUE for an RFC enables Function module..
Reward points if useful......
Suresh......
04-12-2007 12:43 PM