Difference between Import and Export parameters in Function Module

Hi All,
I am unclear about the import and export parameters, when i create a function module. Can anyone explain abt this. However when i call the function module in any program the import parameters in Function module are displayed as exporting in program amd the export parameters as importing.
Any help on this would be appericiated.
Shejal.

HI,
Import parameter in FM is the value u provide to FM for processing.
export is the value u get from FM after processing.
when u call a FM in a progam the import parameter will appear as Export bcos u r giving value to the FM.
and u r getting value from FM in import parameter(bcos u r importing).
rgds,
latheesh
Message was edited by: Latheesh Kaduthara

Similar Messages

  • Any example to import and export itab to function module

    hi all,
    as the table parameter in function module is obsolete, please advise an example on how to pass in an internal table
    and return back the result in an internal table as well.
    for example, i have itab1 and itab2. By using table parameters i got the following code. Please advise alternative way by using import and export.
    ""Local Interface:
    *"  TABLES
    *"      itab1 STRUCTURE  Zitab1
    *"      itab2 STRUCTURE  Zitab2
    loop at itab1 into wa_itab.
    **do some logic here to assign value to itab2 and return.
      wa_itab2-a = xxx .
      wa_itab2-b = xxx.
    append wa_itab2 to itab2.
    endloop.
    thank you.

    hi,
    suppose you have two structure name struc1 and struc2.
    create table type zitab1 & 2 for both.
    please do the following:
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(itab1) TYPE  Zitab1
    *"  EXPORTING
    *"     VALUE(itab2) TYPE  Zitab2
    you can avoid to use the obsolete table parameters as well as LIKE in function module creation.
    cheers

  • Difference between Import and Add in Itunes

    Hi can Someone Explain the Exact Difference Between Import and Add files To Itunes , as I have done Both and They Both seem to Work for getting Music on to Itunes , However somewhere I am still getting Doubles songs even Though I have No Double files or songs in Music Files ..
    so If someone Knows What is the Difference and What happens to the Files in Add and Import
    that would be Great
    Thanks mark

    Hi mark,
    You should use "Add to Library" to add audio files and other type media files. The "Import" functionality should be used to add playlists and data files (XML file, for example). However, it's also possible to add audio files, using "Import" feature.
    [This link|http://docs.info.apple.com/article.html?artnum=301509] also explains when to use "Add to Library".
    Hope this helps!
    !http://signatures.mylivesignature.com/54486/122/A57996D55BE7ABB4A67DE686D381A27 4.png!

  • Import and export parameters of an FM are passed by value---why?

    Q]      By default the import and export parameters of an FM are passed by value---what is  the advantage of this system?

    Hi,
    Import and export parameters are, by default, passed by value. However, they can also be passed by reference. Tables parameters can only be passed by reference.
    Pass by reference means, passing the address itself rather than passing the value.
    I guess passing by value is easier and advantageous

  • Difference between Import and Add

    Just curious what the difference between Import and Add File/Folder in iTunes is? I know consolidate will create a copy of your files and put them into the iTunes library.

    Import is for audio files.
    Add to library is for MP3, AAC, Apple Aossless, aiff and wav files.
    I know consolidate will create a copy of your files and put them into the iTunes library.
    Close. The iTunes library what is in iTunes.
    Consolidate copies the files into the iTunes music folder.

  • Import and Export Parameters READ_TEXT

    Hi ALL
    I have to read Standard Text through this Function Module and populate that Standard Text into an Internal Table. Kindly let me know about the Import and Export parameterto do this. Also pls let me know a way to accomplish this
    Thanks

    What text are u reading and from which transaction.
    The following are the main parameters,
    ID:
    this is text id(U can find it in ur transaction,generally it will start with z)
    LANGUAGE:
    This depends on the language in which the text is maintained.For example En(english)
    NAME:
    No for which the text id is maintained,it may be deliver no or transport no.Depends on ur case.
    OBJECT:
    This represents mostly wether it is header data or item data respectively.so u can check this in ur transaction.
    A short example as follows,
    FORM read_text1 TABLES   g_t_lines STRUCTURE tline
                    USING    p_var TYPE c
                             p_obj TYPE c.
      READ TABLE xvttp INDEX 1.
      g_f_tdname1 = xvttp-vbeln.
      g_f_obj1 = p_obj.
      g_f_langu1 = 'DE'.
      REFRESH g_t_lines.
      CLEAR g_t_lines.
      CALL FUNCTION 'READ_TEXT'
           EXPORTING
                id                      = p_var
                language                = g_f_langu1
                name                    = g_f_tdname1
                object                  = g_f_obj1
           TABLES
                lines                   = g_t_lines
           EXCEPTIONS
                id                      = 1
                language                = 2
                name                    = 3
                not_found               = 4
                object                  = 5
                reference_check         = 6
                wrong_access_to_archive = 7
                OTHERS                  = 8.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.
    Check this and let me know if u face any problenm.
    Regards

  • Difference between -TlsDomain and -DomainSecureEnabled Parameters for Sendconnectors

    Hi Exchange-Community,
    I just came across with the different possibilties for securing mail flow between Partner companies.
    I'm a little confused by the difference between -TlsDomain and -DomainSecureEnabled. All Whitepapers and tutorials for secured Partner communication refer only to the -DomainSecureEnabled Parameter. (With conjunction of Set-transportConfig -tlssenddomainsecurelist
    etc. of course)
    Can anybody enlight me when I have to use the -TlsDomain Parameter, and what it finally does? 
    Thanks for any response
    Chris

    Hi Chris,
    The DomainSecureEnabled parameter is part of the process to enable mutual Transport Layer Security (TLS) authentication for the domains serviced by this Send connector. Mutual TLS authentication functions correctly only when the following conditions
    are met:
    The value of the DomainSecureEnabled parameter must be $true.
    The value of the DNSRoutingEnabled parameter must be $true.
    The value of the IgnoreStartTLS parameter must be $false.
    The TlsDomain parameter specifies the domain name that the Send connector uses to verify the FQDN of the target certificate when establishing a TLS secured connection.
    This parameter is used only if the TlsAuthLevel parameter is set to DomainValidation.
    A value for this parameter is required if:
    The TLSAuthLevel parameter is set to DomainValidation.
    The DNSRoutingEnabled parameter is set to $false (smart host Send connector).
    For more information about them, please refer to Parameters in Set-SendConnector:
    http://technet.microsoft.com/en-us/library/aa998294(v=exchg.150).aspx
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Import and export parameters.

    Hi Experts,
    If I am using import n export parameters for getting data from a different program into my main program, do i have to declare the variables again in the second program.
    For ex:
    The main report has the following piece of code:
    data: int1 type I,
            int 2 type I.
    export: int1 to memory id 'mem1',
               int2 to memory id 'mem2'.
    submit report 'call_report' and return.
    The call_report has the following piece of code:
    import: int1 from memory id 'mem1',
               int2 from memory id 'mem2'.
    So if I am not declaring int1 n int2 explicitly in this report, i get the syntax error that they r not defined.
    My confusion is that when v r exporting int1 n int2 from the main report, then y is the explicit declaration required?
    Is ther no other way out than decalring int1 n int2 in the call_report.
    I will reward all the helpful answers.
    Thanks,
    Ajay.

    Hi Ajay,
    With EXPORT u r not exporting the variable and its definition but the content(data) of the variable u r exporting. So if u want to get the content in another program then u have to declare the variables of same type in the calling program also. Similarly with IMPORT u are not downloading the attributes of the field but only the content of variable u exported earlier.
    Another point to remember is u have declare the variable in the second report with the same name and type as of first report.
    Also check below piece of code which is similar to ur req
    First report
    REPORT Z75694_TEST .
    DATA: i_data TYPE i VALUE '1111'.
    EXPORT i_data TO MEMORY ID 'VINOD'.
    CHECK sy-subrc IS INITIAL.
    WRITE: 'Exported'.
    SUBMIT Z75694 AND RETURN.
    Second report
    REPORT z75694.
    DATA i_data TYPE i.
    IMPORT i_data FROM MEMORY ID 'VINOD'.
    WRITE:/ i_data.
    It is working fine.
    Hope this clarified ur doubt.
    Thanks,
    Vinod.
    Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:35 AM
    Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:44 AM

  • Whats the difference between PS and Export pdf

    Hi all,
    I need the difference beween PS and Export Pdf. Which one is better for printing. I need the reason as well.
    Thanks in advance

    Distilling is archaic.
    http://indesignsecrets.com/creating-pdf-export-or-use-distiller.php
    Bob

  • Customs Inward processing - Link between Import and Export

    Hello ..
    Scenario in GTS 7.1: materials imported and finished products exported. Authorities want us to show how imports match the finished products exported.
    How do we see the link between Import & Export and how to see the consumption of the goods (from Import into Sales).
    Thanks
    Hymanti

    Hi,
    I would suggest that you migrate to SAP GTS 8.0 - because without that you have no standard functionality available for any Inward Processing. And in my eyes it makes no sense to build a custom made report for a functionality that is available in a standard SAP product.... ?!
    Have a look at the online help - maybe that helps you to get a better understanding about the GTS 8.0 standard for Inward Processing...
    http://help.sap.com/saphelp_gts80/helpdata/en/49/3e3e90a8ad3eeee10000000a421937/content.htm
    In GTS 8.0 you have the functionality to report your imported components against exported products...
    see also:
    http://help.sap.com/saphelp_gts80/helpdata/en/2d/6173586ceb4d29abff5d933521ede6/content.htm
    hope that helps!
    regards,
    Ralf

  • What is the difference between import and merge?

    When setting up my wife's new account on my son's MBP, I did not migrate all of her photos as they were in 2 or 3 separate iPhoto Libraries.  I researched this forum and found the best way to merge all of her libraries is to buy iPLM.  According to a post by Terence Devlin, if I don't use iPLM, thumbnails, previous editing, keywords, etc., will not be imported.  OK, but if we only want the originals photos and there was no editing or ratings or keywords, can't we just use the "Import" feature?
    According to Apple's instructions, the way to import one library is to first switch iPhoto to open using that library (hold down the option key when opeining iPhoto and selecting that Library).  Select your photo's, and the go to File>Export.  Then quit iPhoto and switch to the new iPhoto Library and go to File>Import and select the file that was made during the Export.  I suspect this is the approved method if you are not concerned with importing the edited photo's, keywords, etc.  Is this correct?
    I recognize from LarryHN's posts why you can no longer just drag and drop the files using the Finder, but if we don't use iPLM, I wanted to make sure I use the correct method to combine Libraries.
    BTW, speaking of using the Finder, do any of you remember the Multi-Finder?

    Yes that's correct. Remember you are not importing libraries or merging them or combining. You're exporting from one and then importing those exports to the other. That's getting the photos from one to the Finder. Then importing them.

  • Table in import and export parameters

    Hi,
    this is a general doubt. can we pass an internal table in import/export parameters of FMs. I know there are table parameters, but can this be done in import export parameters.
    Regards,
    Vijay

    Hi vijay,
    1. if we pass thru TABLES,
      then we can pass an internal table,
      WITH HEADER LINE
    2. But if we use import/export,
       it has to be a TABLE TYPE
       defined in the data dictionary.
      (This table type will not have any header line).
    regards,
    amit m.

  • Difference between Import and Add File/Folder to Library options?

    When clicking on the File dropdown menu, what is the difference between using the "Import ..." or the "Add File/Folder to Library ..." options?
    TIA

    Import... means to rip music from a CD.
    Add... means to add existing files to the library.

  • Pass internal tables in Export  Parameters of  Function Module

    Hi
    How to pass internal tables through export parametes of the calling function module. i
    think i can pass it by reference ....
    if so can anyone suggest how to do it?

    Hi,
    You can Export values of an Internal table in two ways, by :
    1) specifying in Tables tab
    (Not recommended since it's an obsolete in ECC 6.0)
    If used, will reduce the performance of the FM
    Tables are always passed by reference
    2) specifying in Exports tab.
    The parameter should be a Table type (created in se11)
    having a Line type that refers to the structure of the data.
    Pass by Value is not used for Normal Function modules.
    Used usually for RFC enabled FMs.
    Cheers,
    Remi

  • Color difference between LR and Export?

    Hey there,
    I've upgrade my system, installed Win 8.1 fresh, latest Lightroom, etc.
    I'm using an Eizo CG 277 Monitor which is calibrated.
    When re-importing my catalog, I noticed that there seemed to be a change in saturation, I had to correct
    many photos.. no idea why.
    I then did a test export, JPEG, 90% Quality, no resizing and compared it in Firefox and other programmes.
    The photo really had different colors in LR and Firefox, and I have no idea why. Here is a sample that should
    show the difference, left is LR, right is Firefox:
    https://dl.dropboxusercontent.com/u/311345/compare.jpg
    Can anyone tell me what I have missed? I don't get it.. but I can't work like this.
    Thanks,
    Christoph

    D'oh...
    I've restarted Windows and now it seems to be gone... is it possible that if I do a calibration while LR is running, it will not
    update the profile somehow? Very weird..
    Is there a way I can undo changes for the current image? If I undo, it always moves around between the images I have last selected etc, I'd like
    the undo history be for the current image I am looking at

Maybe you are looking for