ABAP command IMPORT/EXPORT

Hi!
I would like to know whats the replacement for the IMPORT and export commands used in 4.7c  in ECC6. Can anyone tell me whats the replacement commands for import and export command that is used in abap/4 4.7c for ECC6.
Thanks

Hi Aarav,
there is nothing like replacement for import/export.there is another statements to transferdata which are Set/Get.
when you are working with sap you have sessions.so in between session if you want to transfer data then you will use set/get parameters.import/export are used within the session.means you opened se38 and written a program and then go back to se38 initial screen and entered another program name and in that program you want the data which is in the previous program you have written in the se38 in same session.
reward points if helpful.

Similar Messages

  • ABAP command "import from database..."

    Can someone in this forum explain to me the low level  details behind the ABAP command "import from database"?
    The select in tables like stxl, indx, moni just retrieves data in hex format for the fields of type raw or lraw.
    But the command import from database works fine!
    What's the magic? Compression? Hash algorithms? etc?
    Thanks!

    When you import a field from a database, it should be the same name and format when it was exported. These databases are a cluster table where data is stored in raw. I assumed it will read the cluster portion of the record and convert it into the field structure byte by byte. These tables have field CLUSTR which store the byte size of the record. So if you are willing to program the read, where you find out the length of the field you want to IMPORT, then read that number of byte from the cluster data, move it to the field you are importing, you should be able to do your own read. However, if we can do it in 1 statement using IMPORT, we don't need to program it.
    Cluster table is used to save space since you don't need to create a new database record for each line of internal table you stored into them. Hope this helps.

  • Get-Mailbox PS command import/export csv - need help

    Greetings,
    I know this should be simple but I'm having trouble.  I have about 500 users that have left the company and I want to verify their Exchange 2010 mailbox have been disabled.  If I just run the basic command "Get-Mailbox -identity alias"
    I see all I need to see.  The Name, Alias, and ServerName (that their mailbox is on).  If I check someone whose mailbox has been disabled I get "object could not be found."  Perfect, then I know their mailbox no longer exists. 
    In trying to import a csv file of the 500 users - and export it I'm having trouble. There are a few posts on these forums for similar issues but none are working or the conditions are different.  I'm not too good and PS scripting so I am hoping someone
    can assist.  I pieced this together.
    import-csv C:\temp\DisabledMBs.csv | get-mailbox >c:\temp\DisabledMBsOutput.csv
    The csv output file is blank.  The PS screen outputs this error for each user.
    The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
        + CategoryInfo          : InvalidArgument: (@{Name=Heaton; ...er Logon Name=}:PSObject) [Get-Mailbox], ParameterBindingException
        + FullyQualifiedErrorId : InputObjectNotBound,Get-Mailbox
    I guess I'm missing something here but stuck.  Any help is greatly appreciated!
    thank you!

    If you use a CSV for input, you need to tell the Get-Mailbox command what field is the identifier.  So if you have an alias field in your CSV, you would run your command as follows:
    import-csv C:\temp\DisabledMBs.csv | % { get-mailbox $_.Alias } | Export-Csv c:\temp\DisabledMBsOutput.csv -NoTypeInformation
    BTW, you'll notice that I've also piped your output to the Export-Csv command.  If you just pipe the output of Get-Mailbox to a file with a CSV suffix, you don't get a CSV - you get a text file with only one field named "Name                     
    Alias                ServerName       ProhibitSendQuota" (note, not "Name", "Alias", "ServerName", and "ProhibitSendQuota"
    separately).

  • ABAP for Super Dumps: Import- & Export-Parameter for a Table in a FM

    Hello ABAP Profs,
    sorry I am BW.
    <b>Import- & Export-Parameter for a Table in and out of an Function Modul.</b>
    I want to import a table into a Function Module, change it and export it again.
    How do I have to define the Import- and Export- Parameters in the FM ?
    The table looks looks this:
    DATA: zvpshub_tab TYPE SORTED TABLE OF /bic/pzvpshub WITH UNIQUE KEY
    /bic/zvpshub objvers /bic/zvpsoursy INITIAL SIZE 0.
    Thanks a lot
    Martin Sautter

    Hi Clemens,
    <u>in SE11</u> I defined a datatype of Type Structure: ZVPSHUB_ROW.
    <u>in SE11</u> I defiend a datatype of Type Tabletype: ZVPSHUB_TAB,
    bases on Rowtype ZVPSHUB_ROW.
    <u>in SE 80</u> I creates an FM with a CHANGEING Parameter referencing ZVPSHUB_TAB:
    FUNCTION ZVP_SHUB_TAB_LOAD.
    ""Lokale Schnittstelle:
    *"  CHANGING
    *"     VALUE(SHUB_TAB) TYPE  ZVPSHUB_TAB
    <u>in RSA1</u> in BW in the Startroutine of the Upload Rules in defined the table:
    DATA:shub_tab          TYPE zvpshub_tab.
    <u>in RSA1</u> in BW in the Startroutine of the Upload Rules in defined the table:
    DATA:shub_tab          TYPE zvpshub_tab.
    <u>in RSA1</u> in BW in the Startroutine i called the FM
    CALL FUNCTION 'ZVP_SHUB_TAB_LOAD'
        CHANGING
          shub_tab = shub_tab.
    and it works ..
    Thank You
    Martin Sautter

  • HR ABAP : Need more information for Import/Export files in HR

    Hi Everybody,
    I have been in ABAP programming for pretty long but very new to ABAP HR.I am making a Self-Learning attempt in ABAP HR where I have been able to acheive a fair understanding of Infotype,LDB,Screen Modifications,RMAC macros... But presently I cannot very clearly understand the accessing of PCLn files specially PCL2 (payroll derivations).I am using SAP Help for it. I would highly appreciate if anybody could provide me with some documents to understand Import/Export files in HR.
    Any kind of personal tricks or tips to understand the same would also be very helpful.
    Best Regards,
    Sangeeta.

    Hi Suresh,
    Your reply was very comforting... I have been literally struggling to understand the includes for data definitions and Key.It would be great if you could just provide me a sample program with the Read Payroll and Write Payroll in case you have any.
    Other than that as per your suggestions I would then just concentrate on the modules..
    Once again I would like to thank you for your reply.
    Best Regards,
    Sangeeta

  • Command Line Export/Import Utility

    Hi,
    Is there a way to perform a command line export/import as if you were doing this via the Oracle ApEx GUI?
    If so, what is involved?
    Thanks.
    Tony.

    To import using SQL*Plus you are limited to installing an application as the original application ID and into the original workspace (both being the IDs contained in the file itself in various places). You can connect as any schema assigned to the workspace so long as that schema is not also assigned to other workspaces. If it is, you can connect as SYS, SYSTEM, or the FLOWS_xxxxxx schema, options that should be reserved as a last resort because of the undesirability of connecting as these privileged accounts.
    Scott

  • Import/Export tool Command line syntax for R2

    Would anyone please advise the syntax of command line import/export tool for XIR2?
    Read this post below for importing from a biar file but not sure how to export from BO into a biar file.
    How to log BIAR export/import from command line
    We're in fact trying to migrate from R2 into R3. The import wizard provided by BO doesn't work well with favorites and inboxes migration due to the large volume of data we need to migrate, hence looking for alternatives.
    Any advice around this line would be much appreciated.
    Thanks in advance.
    GM

    Denis,
    Thanks for your reply. This at least saved my effort to explore further.
    Would you offer any advice for migrating large volume of personal folders from R2 into R3?
    We're integrating with AD, so everytime listing users for selection taking ages and often times out.
    Even if we managed to export the biar file for a group of users, exporting them into R3 fails quite often as well.
    The whole process is simply very unpredictable and unreliable.
    Thanks.
    GM
    Edited by: Xu Guoming on Apr 21, 2009 4:13 PM

  • Import Export command

    Hi
    I just finished a sketch of my project and I'm about to build it in siena. I'll be able to build almost everything with this version of siena. However one important feature is still missing and before I start to build it I would like to know if you planning
    to implement the feature into siena or no.
    I need a command for importing and exporting data or ability to chose a location for saving and loading data. I need to share app data with other users on company network and I don't want the data to be save on device. I can't use a internet so the
    only way is local network
    Please answer this. It's very important. I don't want to start something what I can't finish
    Thanks

    Hi thorwn
    In today version:
    You can save load data but only somewhere in your device so the saved data can not be shared with other device
    You can import export data even multiple data but only by pressing import export button so an importing or exporting can not be done without user intervention.
    I need to save or export data each time I collect or update collection into already predefined location
    so the data can be shared between multiple devices
    without user intervention.
    For example: I have two users in one company with two devices. First user collect a collection in the app and automatically save it on a network. Second user open the app and he will see the change what first user did.
    (Once again I can't use internet connection)
    The solution: In collect button
    OnSelect: Collect(collection: ID:1, Name:"XYZ"); Export(collection, "C:\Shared\Appdata\collection")
    In screen with collection
    OnScreenLoad: Import(collection,"C:\Shared\Appdata\collection")
    The location for saving and loading can be saved and modified on device. Import(collection, savedLoacation)

  • ABAP Export in MSCS ABAP+Java Import

    Hi,
    I have an ABAP export from an HRP system (not a cluster one). I 've set up a new MSCS system for HRP, which is ABAP+Java and I know want to import the db to this new system. Should  I consider anything before or after the import? Will the Java work correctly after the import? Or should I set up again the MSCS system with ABAP only, import the db from old HRP system and then install a Java Add-In in order to work correctly?
    Any help will be greatly appreciated. And pointly appreciated also. Thx in advance.

    Hi,
    As per your query you can check below link.
    http://help.sap.com/saphelp_nw70/helpdata/en/04/285ea6a87f11d194a400a0c930df15/content.htm
    Anil

  • Import/Export webdynpro ABAP application

    Hi all,
    I was wondering whether there is any way to export/import the local object/web dynpro application that we have created(like the import/export in web dynpro java). I would like to keep a copy of the application developed in my local machine using this method.
    Thanks
    Kukku

    even me also tried imported webdynpro plug in but not showing in object type.
    i am getting only class and program.
    please let me know what to do.
    Regards,
    Mahesh

  • How to run others applications with abap commands

    Is there a mothed that can use it to run an application with abap statement?
    for example: how to open a text file in program with abap command?
    thank you very much.

    CALL FUNCTION '<b>WS_EXECUTE'</b>
    EXPORTING
      DOCUMENT                 = ' '
      CD                       = ' '
       <b>COMMANDLINE</b>              = ''
      INFORM                   = ' '
      <b> PROGRAM                 </b> = 'NOTEPAD'
      STAT                     = ' '
      WINID                    = ' '
      OSMAC_SCRIPT             = ' '
      OSMAC_CREATOR            = ' '
      WIN16_EXT                = ' '
      EXEC_RC                  = ' '
    IMPORTING
      RBUFF                    =
    EXCEPTIONS
      FRONTEND_ERROR           = 1
      NO_BATCH                 = 2
      PROG_NOT_FOUND           = 3
      ILLEGAL_OPTION           = 4
      GUI_REFUSE_EXECUTE       = 5
      OTHERS                   = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Here...
    In the <b>CommandLine</b> you can give the path where the file is located like for Example
    C:\Test\Hello.txt.
    In the <b>Program</b> you need to give the application that you want to open that file.
    if helpful reward points...
    Regards,
    Vivekananda Varma Dandu

  • The current ABAP command is obsolete

    Hi Experts,
    please let me know how this error can be removed.
    The current ABAP command is obsolete                                           
    The variant " WITH KEY k" is no longer supported in the OO context. Use an    
    explicit key specification instead . . . .                                    
    Internal Message Code: READ 022                                                
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET    
    EXTENDED CHECK OFF/ON)                                                        
    Thanks and Regards,
    Johny

    Hi Experts,
    Iam having no key to compare with.
    The scenario is as follows:
    *If it is PaymentLot,retrieve Payment method,Gpart,Banknumber,Bank accountnumber,paymentcard number and amount
    from DFKKZP and DFKKOP for the cleared document
    CALL FUNCTION 'FKK_PAYMENT_BATCH_FIND_PAYMENT'
    EXPORTING
    i_opbel = wa_cleareditem-augbl
    IMPORTING
    e_dfkkzp = et_dfkkzp
    EXCEPTIONS
    not_found = 1
    OTHERS = 2.
    IF sy-subrc <> 0. "#EC NEEDED
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF et_dfkkzp-bankl IS NOT INITIAL. "Check for Bank key and Card number
    lv_bankl = et_dfkkzp-bankl.
    ENDIF.
    IF et_dfkkzp-ccnum IS NOT INITIAL.
    lv_ccnum = et_dfkkzp-ccnum.
    ENDIF.
    IF et_dfkkzp-bankl IS INITIAL AND et_dfkkzp-ccnum IS INITIAL. "If both bank key and Card number are initial
    e_pymet = c_pymet. "Populate payment method as 'K'
    ENDIF.
    *For the obtained Business partner,fetch Bankdetails id and Payment card id from
    *exporting parameters of F.M 'FKK_BUPA_READ_SINGLE'
    CALL FUNCTION 'FKK_BUPA_READ_SINGLE'
    EXPORTING
    i_partner = lv_partner
    i_xbank = 'X'
    i_xccard = 'X'
    TABLES
    t_bank = it_bank
    t_ccard = it_ccard
    EXCEPTIONS
    partner_not_found = 1
    partner_in_role_not_found = 2
    internal_error = 3
    OTHERS = 4.
    IF sy-subrc <> 0. "#EC NEEDED
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE it_bank INTO wa_bank WITH KEY bankl = lv_bankl BINARY SEARCH. "Pick the entry which has bankl value as from et_dfkkzp
    IF sy-subrc = 0.
    e_pymet = c_pymetb.
    e_bkvid = wa_bank-bkvid.
    ENDIF.
    READ TABLE it_ccard INTO wa_ccard WITH KEY ccnum = lv_ccnum BINARY SEARCH. "Pick the entry which has ccnum value as from et_dfkkzp
    IF sy-subrc = 0.
    e_pymet = c_pymetd.
    e_ccard_id = wa_ccard-ccard_id.
    ENDIF.
    ENDIF.
    ENDFORM. " ORIGINKEY_V1

  • How to pass import/export parameters while event handler call in OOABAP?

    Hi Experts,
    Is it possible to use export parameter in set handler method?
    Actually my requirement is while creating customer through XD01 after committing to data base i want that customer.
    So i exporting  customer no. in one of the badi before commit  and importing in my custom class (zabc) after commit.
    Using event TRANSACTION_FINISHED and checking KIND eq C.
    My question is instead of using import export abap command  is it possible to pass those parameters in ??
    Sample : SET HANDLER zcl_sd_after_commit=>get_kunnr.
    Regards,
    Raj....

    Yes it can
    but the event should be defined in the BADI so why do you need to do it?
    CLASS MY_CLASS_1 DEFINITION FINAL.
       PUBLIC SECTION.
         METHODS GET_KUNNR IMPORTING KUNNR TYPE KUNNR.
         EVENTS MY_EVENT EXPORTING VALUE(KUNNR) TYPE KUNNR.
    ENDCLASS.
    CLASS MY_CLASS_2 DEFINITION FINAL.
       PUBLIC SECTION.
         METHODS MY_METHOD FOR EVENT MY_EVENT OF MY_CLASS_1
            IMPORTING KUNNR.
    ENDCLASS.
    CLASS MY_CLASS_1 IMPLEMENTATION.
       METHOD GET_KUNNR.
         RAISE EVENT MY_EVENT EXPORTING KUNNR = KUNNR.
       ENDMETHOD.
    ENDCLASS.
    CLASS MY_CLASS_2 IMPLEMENTATION.
       METHOD MY_METHOD.
         WRITE KUNNR.
       ENDMETHOD.
    ENDCLASS.
    So it can move KUNNR from class1 to class2
    DATA: MY_OBJ_1 TYPE REF TO MY_CLASS_1.
    DATA: MY_OBJ_2 TYPE REF TO MY_CLASS_2.
    PARAMETERS: P_KUNNR TYPE KUNNR.
    START-OF-SELECTION.
       CREATE OBJECT MY_OBJ_1.
       CREATE OBJECT MY_OBJ_2.
       SET HANDLER MY_OBJ_2->MY_METHOD FOR MY_OBJ_1.
       MY_OBJ_1->GET_KUNNR( P_KUNNR ).

  • Re : The ABAP Command

    Is there is any ABAP Command such that my input is program name and output is the program output

    Hi ,
         There is no such ABAP command, but you can create a function module and call it from anywhere with your import parametres. You can get back the output using export parameteres of function module. Syntax is as below.
    CALL FUNCTION 'XYZ'
    IMPORTING
    EXPORTING
    Also, You can call a public Method implemeted in a class.
    Regards,
    Harpal

  • Homgeneouos system copy - Import/Export

    Hello everybody,
    I have successfully upgrade system( ECC 5.0) m from windows 2003 (32)+ SQL 2000 to windows 2003 (64-bit) + SQL 2005. using attach /detach method, in post processing execute STM tool, update stats etc.
    But we found performance is not much of improve previous system with only 4 GB RAM, new one with 32 GB RAM.
    I have remove the parameter PHYS_MEMSIZE parameter from the profile so it is under ZERO MEMORY MGT.
    This above said in testing environment till.
    For testing, I planning for the same using export/import
    Plan :
    Source system
    1. Now, Export the database by executing sapinst.exe and then
    select ABAP system-->MS SQL server -->Unicode -->ABAP Database content export
    and continue with the Export procedure.
    On the Target system
    1. Create a directory EXPORT and copied all the exported data.
    2. Start the SAP installation(only start database instance installation), enter the required parameters up to the
    window selecting the database instance installation method, on this
    I will choose System copy/migration(R3load based)
    3. provide the path of the Export directory.
    4. Specify the order in which the package are loaded - I select alphabetical order
    5. No other option will select on this screen.
    So for testing, I simply database export from source system and on target system I execute only Database instance installation, all process successfully done.
    We have not any BW client so I am generate the DDL statement
    Pleas suggest above plan is correct or anything missing?
    will improve performance of system?
    Thanks
    Ganesh

    HI!
    As per suggested for DDL statement generation, we have no any productive BW client,
    i tried on our Qaulity system by logging on regular using client, message display DDL statement
    generated successfully,. but when I check in usr\sap\tmp folder there no file
    1. Unicode migration option selection is necessary?
        in installation directory path is only /tmp so I checked in ( usr\sap\tmp) directory.
    2. 
    Above procedure is correct, but during target system installation please continue with SAPinst to install SAP instance as well.
    As above statement, I started installation on Target system by SAPinst then from option
      mySAP EPR 2004 SR1
         System copy
              Target system
                 ABAP system
                    MS SQL Server
                        Unicode
                              Central instance installation
                              Database instance installation
                              MSCS Node A Configuration
                              MSCS Node B Configuration
                              Dialog instance installation
                              internet graphic server upgrad
    I select  Database instance installation Database instance installation option. No any other process I have done.
    3. is same procedure for  system copy in clustering environment ( because our Production system in windows 2003 (64 -bit) clustering environment.
    4. After installation complet, in post processing  need to use STM tool, update static etc.
    Please suggest.
    Thanks
    Ganesh

Maybe you are looking for

  • "Show All" in Spotlight missing the number of items that were found?

    how do i allow Spotlight results page to display the total number of results for the search? say i search for "compare" the top result would be Show All (427), the 427 being the number times Spotlight found the word "compare" anyone have a solution?

  • One-step checkout, possible?

    Is one-step checkout supported in BC, if integrating with a merchant account for payments? I.e. cart, customer details, shipping and payment details are all shown on the one page.

  • Why can't I open Quicktime files in Safari

    Other brousers work, but not Safari.

  • MRP -- MM point of view

    hi all pls give me the different examples and scenarios to understand the MRP process in MM point of view I was already study the sap help but I did not see the result how the MRP work in mm point of view thanks in advance

  • Issue with the Graph in Tree

    Hi, I have a tree binding which will show Departments and Employees in tree structure in the UI as below. Department 1 |_________Employee 1 |_________Employee 2 |_________Employee 3 Department2 |_________Employee 1 |_________Employee 2 |_________Empl