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

wat are import and export parameters?diff b/w them?

plz reply

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 04:52 AM

    Hi

    Parameters in FM:

    Import : These are the Values passed from Program to FM

    Export : These are the Values returned from FM to Program

    Changing: These are bi directional

    Tables: These are internal Tables and also bi directional

    please go through this link ... here it was given with example of each parameters

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

    apart from FM

    We use export and import statements to pass parameters or internal tables from one program to another

    for example, if one program calls another in background, you cannot pass an internal table to it directly, so we pass it using export and import statements

    the data is stored in the database table table indx

    for exporting...

    data: wa_indx type indx.

    export tab = itab to database indx(xy)

    from wa_indx client sy-mandt

    id 'DETAILLIST'.

    for importing...

    data: wa_indx type indx.

    import tab = itab from database indx(xy) to wa_indx

    client sy-mandt

    id 'DETAILLIST'.

    • deletes the data to save wastage of memory

    delete from database indx(xy)

    client sy-mandt

    id 'DETAILLIST'.

    Note: itab must be declared on both sides

    The name of the internal tables in the import and export should be same.

    export tkomv[] TO MEMORY ID 'ZPB1'.

    IMPORT tkomv[] FROM MEMORY ID 'ZPB1'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 04:59 AM

    hi vara,

    ABAP/4 functions use the following types of parameters:

    <b>Import parameters</b> are passed into an ABAP/4 function.

    <b>Export parameters</b> are passed out of an ABAP/4 function.

    Tables are passed into, out of, or both into and out of an ABAP/4 function. Tables are similar to arrays, consisting of 1+ rows, where each row is a specific type (such as a string) or a structure. Tables are passed by reference.

    Exceptions are defined error messages that are passed out of an ABAP/4 function if R/3 raises an exception (a business-level error).

    reward points if helpful..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 05:06 AM

    <b>EXPORTING</b> - We must supply all non-optional import parameters with values appropriate to their type. We can supply values to optional import parameters if you wish.

    <b>IMPORTING</b>- We can receive the export parameters from the function module by assigning them to variables of the appropriate type.

    Check the below link.

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm

    Regards,

    Maha

    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.