Import and Export Commands in SAP

Dear Experts,
                      I want to export a internal table called itab from one program to another program.Can you please explain the process with code.
Moderator message: please search for available information/previous discussions.
Edited by: Thomas Zloch on Feb 24, 2011 1:44 PM

I don't think using exp/imp is good way to make backup. There are tools created specially for backups, I suggest reading Oracle Administrator's Guide for more information. Exp/imp/datapump are created for moving data between databases, not for making backups.

Similar Messages

  • Import and export MDM with the SAP Portal

    Would you have any clue on how to handle import and export from the SAP portal ?
    I need your help because I haven't found any standard iView to perform these functions
    The only information i got were some explanations on WebDynpro Java iViews using events to export from the Portal.
    Thank you in advance

    MDM iViews are only meant to perform MDM Data Manager operations but on limited basis. EP-MDM scenario has been designed for end users only which should not allow to perform complex data manager operations and they need not install MDM Clients.
    Thats why importing and exporting functionalities are not possible in standard MDM iviews.
    Jitesh Talreja

  • Import and export a root site in a site collection in sharepoint2010

    I have site-collection in sharepoint2010 i.e. and i have subsites under it that looks like this, etc..
    root site in site-collection i.e. has to be imported from other SharePoint farm but the subsite under it should not changes i mean the HR and Payroll 
    let me know how to import a root site from prod farm with out affecting the subsites or breaking the subsites..
    if this is possible, please let me know the import and export commands without affecting the subsites
    Sarath Sannadi Sharepoint Dev at Saksoft

    If you want to restore it root level in target farm then the Subsite under the site collection will not change.
    you use Backup-SpSite
    Backup-SPSite -Path C:\Backup\site_name.bakand then in the target farm use Restore-SpsiteRestore-SPSite -Path C:\Backup\site_name.bak -Forcechange the path accordingly.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog:

  • Import and Export Script

    Hello All Readers,
    Here I want to know all the parameters of Database Import and Export Command and all the possible methods of Imp/Exp. Please help me to find those.
    Thanks in Advance.......

    May be u can read this to get fair knowledge

  • The Projects screen to import and export SAP xApp Manufacturing Integration

    On my SAP Discovery Server, On the Projects screen to import and export SAP xApp Manufacturing Integration and Intelligence (SAP xMII) projects.
    Under the projects listed I see one Default project, is listed as a System Project.
    I did an import and used one of the sample application, along with the ExportManifest.xml file.
    "You can create an external project structure, include it in a zip file, and import it as a new project. You do not need an ExportManifest.xml file to import a project."
    Now I see two projects listed as System Projects, is that ok, would that cause any issues? Is there any way that I could correct this?
    If you import a project that already exists, the system overwrites the current project structure and files.
    You can import hidden projects that do not appear on the Projects screen or in the SAP xMII Workbench. System-defined projects may appear in the Projects screen and in the SAP xMII Workbench, but you cannot delete them. You can import a project with the same name as a hidden or system-defined project and overwrite its properties. If you do this, they are no longer considered to be hidden or system-defined projects.
    Thank you,

    You could consider creating a project and exporting it to see the proper format of the zip file, including the ExportManifest.  You should find attributes in the xml for setting the description, system type, etc.

  • Problem with Import and Export Data Wizard

    Downloaded and installed SQL Server Express 2008 R2 today because I want to explore how Access interacts with SQL Server (using my home computer). I'm using Access 2010 (under Windows 7), so the 2008 version of SQL Server Express seemed to be the version
    to use.
    After a couple of false starts, installation appeared to go okay. After the installation. My Start menu listed Microsoft SQL Server 2008 and Microsoft SQL Server 2008 R2. The latter listed Import and Export Data (64-bit). When I clicked that, the first Import
    and Export Data Wizard page was displayed. I wasn't ready at that time to explore the wizard, so I closed it. An hour or so later I again attempted to open the Import and Export Data wizard. This time, the wizard didn't open. Instead this error message was
    displayed: "The SSIS Runtime object could not be created. Verify that DTS.dll is available and registered."
    I found DTS.dll on my computer at C:\Program Files\Microsoft SQL Server\100\DTS\Binn, so the file is available, but don't know whether it is registered.
    How can I correct this problem?

    First can you please post all log file errors
    >> I can't really give you a solution or specific recommendation since I did not saw this error yet myself, but on your own risk you can try:
    1. You may try to just register 'dts.dll' using regsvr32.exe, but this error may indicate a bigger problem with setup.
    If you are running SQL Server 64bit then try running this at the command prompt: %windir%\syswow64\regsvr32 "%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll"
    2. You can try reinstall from start (In this case you have to make sure that you un-install all)
    [Personal Site] [Blog] [Facebook]

  • Internal table with Import and Export

    Hi All,
    Hi all
    Please let me know the use of <b>Internal table with Import and Export parameters and SET/GET parameters</b>, on what type of cases we can use these? Plese give me the syntax with some examples.
    Please give me detailed analysis on the above.

    Hi Prabhakar,
    There are three types of memories.
    1.we will use EXPORT/ IMPORT TO/ FROM MEMORY-ID when we want to transfer between ABAP memory
    2. we will use GET PARAMETER ID/ SET PARAMETER ID to transfer between SAP MEMORY
    3. we will use EXPORT/IMPORT TO/FROM SHARED BUFFER to transfer between external memory.
    ABAP MEMORY : we can say that two reports in the same session will be in ABAP MEMORY
    then they both are in SAP MEMORY.
    EXTERNAL MEMORY: TWO different logons will be in EXTERNAL MEMORY.
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
    To fill the initial screen of a program using SPA/GPA parameters, you normally only need the SET PARAMETER statement.
    The relevant fields must each be linked to an SPA/GPA parameter.
    On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.
    On a screen, you link fields to parameters in the Screen Painter. When you define the field attributes of an input field, you can enter the name of an SPA/GPA parameter in the Parameter ID field in the screen attributes. The SET parameter and GET parameter checkboxes allow you to specify whether the field should be filled from the corresponding SPA/GPA parameter in the PBO event, and whether the SPA/GPA parameter should be filled with the value from the screen in the PAI event.
    When an input field is linked to an SPA/GPA parameter, it is initialized with the current value of the parameter each time the screen is displayed. This is the reason why fields on screens in the R/3 System often already contain values when you call them more than once.
    When you call programs, you can use SPA/GPA parameters with no additional programming overhead if, for example, you need to fill obligatory fields on the initial screen of the called program. The system simply transfers the values from the parameters into the input fields of the called program.
    However, you can control the contents of the parameters from your program by using the SET PARAMETER statement before the actual program call. This technique is particularly useful if you want to skip the initial screen of the called program and that screen contains obligatory fields.
    Reading Data Objects from Memory
    To read data objects from ABAP memory into an ABAP program, use the following statement:
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    Saving Data Objects in Memory
    To read data objects from an ABAP program into ABAP memory, use the following statement:
    EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.
    This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    Check this link.
    Reward points for helpful answers.

  • Import and export in linux.

    can anyone guide me how to import and export dump files in Red Hat linux 5.2?
    also i searched over the ineternet but i did not understand because i am newbie to linux.
    can anyone help me out and guide me step by step?
    i also posted on Database-General but i just got links there.
    can anyone guide me step wise?
    i am newbie to linux.
    i tried the following commands.
    $ imp system/[email protected] file=file_name log=log_name full=y
    but it gave me new problem something like this.
    i did not understand the above one.
    thanks in advance.
    Edited by: QGIRCO on Apr 27, 2010 4:58 AM

    Unfortunately based on what you have provided and what I read on your other post you probably won't get much more than links on this forum as well. The documentation is pretty clear on how to use IMP / EXP.
    Have you been able to follow the documentation and the examples provided? You mentioned on your other thread that you know how to do it in Windows. Well the same logic applies in Linux except maybe the path to your file and permissions.
    Also, in the future please don't double post (even across forums).

  • Import and Export transport requests on Netweaver 2004s Sp11 Sneak Preview

    Hi Experts,
    I have configured the transportation system <STMS> in order to import and export transport requests on the NSP system. The configuration is working properly as files can be imported and exported out of the C:\sapmnt\trans directory. (configuration distributed by STMS -> Overview -> Systems -> Extras -> Distribute TMS Configuration, Folder SAPMNT shared).
    The problem I'm facing with the import of some example transports is given by the hanging import queues. In phase 'Import ABAP Dictionary Objects' I have the following message for almost all objects -> '... was not imported in this step'.
    I tried to solve this issue by running SE38->RDDNEWPP with DDIC user to schedule job RDDIMPDP for TP imports. I also made the config in TP_DOMAIN_NSP.PFL with SYSTEM_PF = C:\SAP\NSP\SYS\profile\DEFAULT.PFL.
    The error is still in logfile SLOG0732.NSP
    ERROR:       The following call returned with exit code 7:
    ERROR:         sapevt.exe SAP_TRIGGER_RDDIMPDP -t name=NSP
    and logfile dev_evt
    ERROR ***: MsSndTypeOnce, rc = -20
    ERROR ***: Event raise failed
    With the exports there is a similar issue in the EXPORT phase, given the note
    0 entries from WDY_APPLICATIONT exported.
    Batch process is available (parameter rdisp/wp_no_btc = 1)
    Profile has been activated by rz10->utilities->import profile->ofactive servers.
    Any ideas what still can be wrong? Does the import export and DDIC activation really work with the sneak preview?

    Hi Peter
    First of all thanks for your advice.
    I did No. 1. 2. 3. steps.
    Step 4. reacts with the folowing error message.
    Transport control program tp ended with error code 02008.
    Errors: error in transportprofile (param missing, unknown).
    My  license expires in four days. I tried to extend it via
    1. System-ID *   
    2. Hardware-Schlüssel (HWID) *   ?
    3.Systemnummer  ?
    What is to be entered in 1 and 2.
    Where should I look for HWID and Sysnr ?
    Thanks a lot again for your help
    With regards

  • Regarding import and export statement

    hi experts,
    how to import and export the internal table between programs...
    Nice solutins with maximum points.....

    Example of a program exporting an internal table to ABAP memory.
    Prog 1
    parameters: pa_vbeln like vbak-vbeln.
    data: itab type standard table of vbak.
    * get data to fill the table
    select * from vbak into table itab
                where vbeln = pa_vbeln.
    * now store the internal table to ABAP memory
    export itab to Memory ID 'table''.
    * here we call another program, prog 2
    submit prog2 and return.
    Prog 2  -> This imports the internal table exported by prog 1 and writes the content of the internal table to a list
    data: jtab type standard table of vbak,
           wa_vbak type vbak.
    * importing the itab that was exported by prog1
    import itab to jtab from memory id 'table'.
    loop at jtab into wa_vbak.
    write:/ wa_vbak-vbeln,
    * clear the specific memory id after required processing is complete
    free memory id 'table'
    Hope this solves your problem.
    Copy/paste your code, I'll have a look. First check if data is being selected before Export command.
    Edited by: Sougata Chatterjee on Jan 11, 2008 12:31 PM
    Also make sure you create prog2 as an executable program. Then, run prog1 with a valid Sales Order number. To understand it more clearly run it in debugging mode and step through. It should work fine in any system.
    Edited by: Sougata Chatterjee on Jan 11, 2008 12:42 PM

  • Import and Export  of  R prediction model

    hi ,
    How can i  import and export a oracle R prediction model   e.g  from/to file ?   Basically,   We need it for the following requirements
    1.  We would like to ship a sample prediction model as part a  product.      So, The product will work with sample prediction model for some time after install    till a  newer model is created   with data  in customer env.
    2. Before regenerating a prediction model,   we would like to  take a backup of the existing prediction model.   And if it turns out that  the prediction results are not as good  with new model,  we should be able  to reinstate the older model.
    3. Support a mode where oracle R prediction model can be loaded to an  environment  which is different from the  the source environment where the model was actually generated.
    Please advise

    I tried the above method  but  i am facing an issue that  although the prediction model is imported in to R  using load command,   it  is not loaded in ORE environment.     Due to this i am not able to use the imported predictionmodel for scoring
    I tried the following
    #Generate the prediction model
    >  PREDICTIONMODEL <-  ore.odmKMeans(data= TEST_DATA_TABLE, formulat=  COLUMN1 ~ . )
    [1] "ore.odmKMeans" "ore.model"
    >  save( PREDICTIONMODEL,  file="test.model")
    After this i quit the R session  (without saving my workspace)   and then   create a   new R session  and tried the following
    # load a prediction model from a file
    > load(file="test.model")
    > ls()
    You can see from above that is not printing anything after load(). However,  ls()  prints the loaded  PREDICTIONMODEL.    Now, if i try to do scoring against the loaded predictionmodel,  I get an error
    >  x <- data.frame(COLUMN2="CC_PROCESSING", COLUMN3="CallWorkflow", COLUMN4="CallWorkflow", COLUMN1=NA)
    > X <- ore.push(x)
    > result<- ore.predict(PREDICTIONMODEL, X)
    Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch,  :
      ORA-40284: model does not exist
    So, it seems that  even though i imported the  model from the file,  ORE is still not aware of it .   Any idea about this ?

  • Import and Export variables with same name

    The nco3 throws and exception when a function has Import and Export variables with the same name.
    An example is BAPI_BATCH_CREATE.
    At the moment my solution is create a ZBAPI_BATCH_CREATE that wraps the original BAPI but  has diferent names for import and export variables (IBATCH and OBATCH for BATCH variable).
    Anyone has another more clean solution?
    pFunct = foRFCDest.Repository.CreateFunction(fsFunctionName)
    This is the error message:
    SAP.Middleware.Connector.RfcInvalidStateException was unhandled
      Message=Lookup of function BAPI_BATCH_CREATE metadata failed for destination SAPTST
           en SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadataClassic(String name)
           en SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadata(String name)
           en SAP.Middleware.Connector.RfcRepository.GetFunctionMetadata(String name)
           en SAP.Middleware.Connector.RfcRepository.CreateFunction(String name)
           en SapNetConnectorWrapper.FunctionBase..ctor(RfcDestination foDest, String fsFunctionName) en C:00_Compac201101_LibreriasSapNetConnectorWrapperFunctionBase.vb:línea 11
           en SapNetConnectorWrapper.BAPIS.Bapi_Batch_Create..ctor(RfcDestination foDest) en C:00_Compac201101_LibreriasSapNetConnectorWrapperBAPISBapi_Batch_Create.vb:línea 16
           en clsEtiquetadoTNPCommon.BLLEtiquetadoTNP.CrearLote(DynamicSqlEntity& foRegCabecera, DynamicSqlEntity& foRegNotificacion) en C:00_Compac201100_EtiquetadoTNP_PTEtiquetadoTNP_PTclsEtiquetadoTNPCommonBLLEtiquetadoTNP.vb:línea 515
           en clsEtiquetadoTNPCommon.BLLEtiquetadoTNP.CrearLotesPendientes() en C:00_Compac201100_EtiquetadoTNP_PTEtiquetadoTNP_PTclsEtiquetadoTNPCommonBLLEtiquetadoTNP.vb:línea 602
           en WAEtiquetadoTNP.Form1.Timer1_Tick(Object sender, EventArgs e) en C:00_Compac201100_EtiquetadoTNP_PTEtiquetadoTNP_PTWAEtiquetadoTNPForm1.vb:línea 25
           en System.Windows.Forms.Timer.OnTick(EventArgs e)
           en System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
           en System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
           en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
           en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
           en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
           en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
           en System.Windows.Forms.Application.Run(ApplicationContext context)
           en Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
           en Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
           en Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
           en WAEtiquetadoTNP.My.MyApplication.Main(String[] Args) en 17d14f5c-a337-4978-8281-53493378c1071.vb:línea 81
           en System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
           en System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           en Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           en System.Threading.ThreadHelper.ThreadStart()
      InnerException: SAP.Middleware.Connector.RfcInvalidParameterException
           Message=Cannot add BATCH to FUNCTION BAPI_BATCH_CREATE: an element with that name already exists
                en SAP.Middleware.Connector.RfcContainerMetadata`1.AddElement(T element)
                en SAP.Middleware.Connector.RfcFunctionMetadata.AddParameter(RfcParameterMetadata parameterMetadata)
                en SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadataClassic(String name)

    Hi Raul
    Even I am getting the same error for below BAPI
    Lookup of function BAPI_FAMILY_CREATE metadata failed for destination
    Inner Exception: Message     "Cannot add EMPLOYEENUMBER to FUNCTION BAPI_FAMILY_CREATE: an element with that name already exists"     string
    I am using the new NCO x64 version.
    Is there any other solution other than creation of Z BAPI.

  • Is it possible to import and export Config Toll Configuration  from one sys

    Hi All,
    Is it possible to import and export Config Toll Configuration  from one system to Another system (QUS/PRD), for especific service.
    Kindly let me know the pro and corn of it and step by step process
    Thanks alot for your time.

    Yes...It is certainly possible but then you would need to bring OS level j2ee filestructure as well and there are lots of changes at OS level in *.properties file and then at configtool level changes related to hostname, system numbers and port numbers etc.
    This is not much difficult but not impossible also if you do it very carefully. Please note that SAP DOES NOT SUPPORT THIS METHOD.
    alternatively, you can use sapinst to export-import j2ee filesystem from source to target which inturn would require to do configtool export/import and then changes at configtool level.
    Do let us know your requirement so that we cud help you in case you are facing any issues.
    cheers !!!

  • Oracle Import and Export Utility

    Hello All,
    Could someone please explain me Oracle Import and Export Utility. I've gone through the below link and it has been mentioned to use keyword 'exp' but I'm not getting any idea where to use it. So kindly explain how the util works.

    Export creates a logical backup its great for move tables, schemas etc.
    Import bring that data back in.
    You can use a parm file with either.
    Import example :
    imp parfile=in.parm
    in.parm ( contains )
    log=in.logemp parfile=out.parm
    out.parm ( contains )
    statistics=noneYou can use these commands at the OS level to get quick help.
    imp help=y
    enp help=yYou can export a subset of a table :
    exp scott/t<password> tables=emp query="where deptno=20"You can use options like :
    COMPRESS=yThis utility is being replaced by data pump.
    Best Regards
    There's a short import and export examples here :
    Edited by: mseberg on Sep 17, 2011 6:46 PM

  • Use of Import and Export script

    Can any one tel me what is the use of Import and Export script.
    After moving the pages from / into server what is the need of giving the import / export command.
    export /oracle/apps/ap/setup/webui/customizations/site/0/SetupPG -rootdir <destination path> -username <data base user name> -password <data base password> -dbconnection "(description = (address_list = (address = (community = = tcp)(host =<hostname> (port = <port id>)))(connect_data = (sid = <sid>)))".
    Thanks in Advance,

    And Export/Import is also used to move personalizations and substitutions from one system to another system.
    You can also use Functional administrator UI to export and import pages.
    Functional administrator in turn uses export/import internally.

Maybe you are looking for

  • Capturing Footage From Composite / S-Video into FCE

    I want to capture some footage from analogue sources into my Mac. It can either be via composite or S-Video but my question is : Which gizmo should I use to convert the analogue signal into DV? The Canopus range seems like it would do the trick (ADVC

  • After upgrading to a new 3GS, my original iPhone won't activate...

    After I upgraded to an iPhone 3GS, I restored the original iPhone with iTunes. Now, the iPhone says it's got an invalid SIM in it, and when I plug it into iTunes, it won't activate it. It's basically a brick now. Was I wrong in thinking I could now u

  • Error message without blocking Input fields

    Hi, I want to display an error message in the selection screen. The error is for input date validation. But the once error displays in the status bar, it blocks the input fields in the selection screen. I want to display the error message without blo

  • [CS2/CS3 JS]

    Could someone please tell me why this doesn't work. app.activeDocument.PasteboardPreferences.minimumSpaceAboveAndBelow = 50mm The reported error is "Object does not support the method or property PasteboardPreferences" I has taken this straight out o

  • Mac slow activity monitor wired

    HI, My mac has been slowing down. I have tried to goole how to trouble shoot and was directed to the "activity monitor".. I noted that my "wired" under system memory is 690 mb.... I have 1 program running firefox My disk activity is constantly high r