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

Export parameters for subroutines in abap programs

Former Member
0 Likes
4,217

Hi,

I have a sub routine to which parameters are passed as input.How to get the output of that sub routine in the actual program?

I meant to ask do we have export parameters as present for function modules in abap programs.

Please give me some examples programs to use the same.

Regards,

Pra

Hi,

I have a sub routine to which parameters are passed as input.How to get the output of that sub routine in the actual program?

I meant to ask do we have export parameters as present for function modules in abap programs.

Please give me some examples programs to use the same.

Regards,

Pra

6 REPLIES 6
Read only

Former Member
0 Likes
1,764

Hi,

Are you using this subroutin in the SAP Script?

thanks

nayan

Read only

Former Member
0 Likes
1,764

Hi,

Check the below code

PERFORM get_materialbatch CHANGING i_mchb.


FORM get_materialbatch  CHANGING fp_i_mchb TYPE ty_tab_mchb

.

The values that are changed will get updated in the i_mchb..

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 10, 2008 3:13 PM

Read only

Former Member
0 Likes
1,764

use REturning

Read only

Former Member
0 Likes
1,764

No , I am not using any sap scripts.I am just using abap code.

Regards,

Pra

Read only

Former Member
0 Likes
1,764

Please can i have some what detail code instead of single line in using returning and changing keywords

Regards,

Pra

Read only