Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Doubts regarding BAPI

Former Member
0 Likes
1,476

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...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,448

Hi.....

Import and export parameters can only be BY VALUE for an RFC enables Function module..

Reward points if useful......

Suresh......

11 REPLIES 11
Read only

Former Member
0 Likes
1,448

Please some one throw some light on this!!

Its very urgent!!

Read only

Former Member
0 Likes
1,448

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

Read only

Former Member
0 Likes
1,448

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

Read only

Former Member
0 Likes
1,448

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

Read only

0 Likes
1,448

Hi Ravi,

Can you send me the material of BAPI to my id ravikanthgupta_g@yahoo.com. It will helpful to me

Thanks

Ravi

Read only

0 Likes
1,448

check ur inbox ...................

ravi

Read only

0 Likes
1,448

Thanks a lot Ravi

Read only

0 Likes
1,448

Hi Ravi,

Please send it to my mail id naveen2283@rediffmail.com

Thanks,

Read only

0 Likes
1,448

Hi Ravi

Can you pls send BAPI Documents to vijayalaxmi_madiwala@yahoo.co.uk

Thanks and Regards

Vijaya

Read only

Former Member
0 Likes
1,449

Hi.....

Import and export parameters can only be BY VALUE for an RFC enables Function module..

Reward points if useful......

Suresh......

Read only

Former Member
0 Likes
1,448

hi ravi,

can u pls send to this id madhusudhaan@gmail.com

thanks.