Skip to Content
author's profile photo Former Member
Former Member

Export parameters for subroutines in abap programs

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 02:18 PM

    Hi,

    Are you using this subroutin in the SAP Script?

    thanks

    nayan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 02:21 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 02:22 PM

    use REturning

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 02:22 PM

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

    Regards,

    Pra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 02:25 PM

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

    Regards,

    Pra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.