Import/Export   From database

Hi,
I am trying to use "FKK_SAMPLE_1720" FM in my program .
And this FM has a statement 
Pick up add-on parameters
  IMPORT addons TO h_addons FROM DATABASE rfdt(kk) ID h_runkey.
1. If want to export values to this id, can any tell me how i can give the code to export the values to this ID? (little more detailed with at least one value appending into structure.)
2. This FM is calling in other SAP transactions(FPCOPARA) , when other programs also export values to this ID is it going to effect any way when I execute  my program?( like is this export ID is local to every ABAP program?) ..
Please let me assp.
Thanks in advance for ur time..
Rajesh.

Hi,
Any one got a chance to look at this issue?
thanks.

Similar Messages

  • Export/import to/from database

    hi,
    i do not know what is this for. i read the help but still no idea.
    i know to use export/import to/from memory id and also set/get but not export/import to/from database.
    1) what help says it stores data cluster? what is data cluster
    2) can have example of export/import to/from database?
    3) what is the different for export/import to/from memory id and database?
    thanks

    Hi,
    1) A data cluster is a set of data objects grouped together for the purpose of storage in a storage medium(Like database, local memory or shared meomory etc), which can only be edited using ABAP statements like EXPORT, IMPORT and DELETE.
    2) Suppose you want to export the data in a internal table to database.
    Here TABLE_ID is the identifer of your data cluster. You are exporting your data to a SAP table INDX and giving it an ID (TABLE_ID in this case and this ID you are giving it an area by name XY where your data will be stored). EXPORT tab = itab
      TO DATABASE indx(XY)
      CLIENT '000'
      ID 'TABLE_ID'.   
    You can get this data as follows.
    IMPORT tab = itab
      FROM DATABASE indx(xy)
      CLIENT '000'
      ID 'TABLE_ID'.
    3) The difference is simple when you use MEMORY ID the data you export is stored in the application server MEMORY where as in the case of DATABASE it is stored in the database.
    Regards,
    Sesh

  • OBIEE Error while importing table from database

    Hi
    I am getting the following error when i am trying to import table from database.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    Any idea y such error.
    Thanks and Regards,
    Andy

    Looks like an error in the ODBC driver, not OBIEE as such.
    Have you tried googling it?
    Can you post details about your OS and DB.

  • Memory Limit for "IMPORT/EXPORT from MEMORY ID" statement

    Hi All,
    Can anyone tell me whether there is any memory limit exists for "IMPORT/EXPORT from MEMORY ID" statement.
    Like may be we can transfer xx MB of data via this......or it is open, we can transfer any amount of data to ABAP memory via this.
    Regards
    Munish Garg

    1. Each user sessions have external sessions and each external sessions have internal sessions.
    2. The programs being executed in the internal sessions can access ABAP memory
    3.ABAP memory is a storage area for internal program variables like fields, structures, internal tables,,They can be passed  between internal sessions of an external session.
    4. you can transfer data through ABAp memory using IMPORT and EXPORT statements
    5. after IMPORT FROM MEMORY ID <id> , you can use sy-subrc to check the existance of the cluster ID. here sy-subrc is not used to check whether the Import was successful or not.

  • Import Error - IMPORT hist FROM DATABASE MONI(DB) ID MONIKEY

    Hi,
       Iin my program I am using the statement
    IMPORT hist FROM DATABASE MONI(DB) ID MONIKEY.
    and Internal table structure of HIST is
    DATA: BEGIN OF HIST OCCURS 0,
              DATE LIKE SY-DATUM,
              TIME LIKE SY-UZEIT,
              SIZE      TYPE P,
              FREE      TYPE P,
              USED      TYPE I,
              TABLES    TYPE I,
              INDICES   TYPE I,
              TSIZE     TYPE I,
              ISIZE     TYPE I,
             END OF HIST.
    This IMPORT STatement is giving dump :
    Runtime Errors         CONNE_IMPORT_WRONG_COMP_TYPE
    Except.                CX_SY_IMPORT_MISMATCH_ERROR
    Is that any way to check before this IMPORT statement,that HIST structure should be like this or like that.If I can find out the correct structure.I can change the HIST's structure and avoid the dump.
    Guide me on this.
    Regards,
    Ashok

    please refer to the  SAP note 1000275
    i got the same error so i rectified it by changing  fields type of hist2 .
    below declaration of hist2 data is giving error
    data: begin of hist2 occurs 0,
            date like sy-datum,
            time like sy-uzeit,
            size      type p,     "Changed to 'p'
            free      type p,     "Changed to 'p
            used      type i,
            tables    type i,
            indices   type i,
            tsize     type i,
            isize     type i,
          end of hist2.
    error rectified with below hist2 data( tsize and isize type is changed to p)
    data: begin of hist2 occurs 0,
            date like sy-datum,
            time like sy-uzeit,
            size      type p,     "Changed to 'p'
            free      type p,     "Changed to 'p
            used      type i,
            tables    type i,
            indices   type i,
            tsize     type p,
            isize     type P,
          end of hist2.

  • How to import/export   from d2k

    hi
    hi please could you help me in how to import/export from d2k.
    M.P.Kiran Kumar

    FUNCTION open_ldr RETURN varchar2 IS
    out_file Text_io.File_Type;
         v_filename varchar2(255);                              
    Begin
    out_file := Text_IO.Fopen('C:sqlldr.ini', 'R'); /* create a file so that u can store sqlldr path first time it wont be there so write the path after verifying */
    text_io.get_line(out_file,v_filename);
    --message(v_filename);
    return(v_filename);
    Exception when others then
         --message('Check For Sqlldr73.exe or Sqlldr*.exe');
    v_filename := get_file_name(File_Filter=>'sqlldr Files (*.exe)|*.exe|');
    out_file := Text_IO.Fopen('C:\sqlldr.ini', 'W');     
         Text_IO.Put(out_file,v_filename);
    Text_IO.Fclose (out_file);
    if v_filename is null then
         Message('Please Select The Sqlldr Path ');
         Message('Please Select The Sqlldr Path ');
         raise form_trigger_failure;
    end if;
    return(v_filename);
    End;
         Declare
              The_userid varchar2(100):='';
              The_Password varchar2(100):='';
              The_connectstring varchar2(100):='';
              Con_Info varchar2(100):='';
              the_command varchar2(200):='';
              v_filename varchar2(100);
              cursor c1 is select tname from <table_name > /* create a table in ur schema and put all the tables which u want to export */ where tabtype = 'MASTER';
         Begin
              v_filename:=open_ldr;
         The_userid := Get_Application_Property(UserName);
                   The_Password := Get_Application_Property(Password);
                   The_connectstring := Get_Application_Property(Connect_String);
                   Con_Info := The_userid||'/'||The_Password||'@'||The_connectstring;
                   for c1rec in c1 loop
                   C2K_TRUNC_HLL_MASTERS(c1rec.tname);
                   the_command := v_filename||' Control=c:\'||c1rec.tname||'.ctl userid='||Con_Info; -- Change This According To The Path
                   -- message(the_command);message(the_command);
    Host(the_command);
                   End Loop;
                   the_command := v_filename||' Control=c:\control'||'.ctl userid='||Con_Info; -- Change This According To The Path
                   host(the_command);
                   Exception When Others Then
                        Message('Error'||' '||sqlerrm);
                        Message('Error'||' '||sqlerrm);
         End;
    If u have any problems please contact me on [email protected]
    furnish the details properly .
         

  • [nQSError: 46115] - Admin Tools: can't import table from database .

    hi all,
    Need your help, i am using Bi Administration Tool, and i try to import tables from database,but encounter issue:
    (1)."File->import->from database...",select connection type as OCI 10g/11g, type TNS Name,User Name and Password,then click "OK".
    (2).select table "BI_DATA",and then click button "import",it show prompt:"Failed to perform requested action".
    (3).i try to click the symbol "+" on the left of table "BI_DATA", it show below prompt:
    [nQSError: 46115] No Unicode translation is available for some of the input characters for MultiByteWideChar().
    is there anyone can help me? thanks.
    the BI version is:
    Build: 10.1.3.4.1.090414.1900
    Release Version: Oracle Business Intelligence 10.1.3.4.1
    Package: 090414.1900

    I meet the problem, too! I can't solve it. Is anyone who can help me.
    My email is [email protected]
    thanks in avdvanced!

  • Help export from database P1 Partition and Import into databaseT1 Partiton

    Hi,
    I need to export one of the table partition(Range Partition) data from production database P1, and Import into another table partition of database T1.
    Means export from one partiton to another partition, from database is P1, To database is T1.
    exp command not worked in sqlplus prompt at SQL>.
    Regards,
    Venkat.

    Hello,
    I don't know exactly your Oracle release, but since Oracle 10.1 you can use either the Original export/import utility (exp/imp) or the DATAPUMP (expdp/impdp) which is recommended.
    As previously posted, export/import is not launched from SQL prompt but straightly from a DOS session (for Windows) or a Unix session (on Unix/Linux).
    These links will give you example about partition-level export and import, using the Original export/import utility:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/original_export.htm#SUTIL2750
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/original_import.htm#SUTIL1758
    You have the same feature in DATAPUMP with the TABLES parameter:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_export.htm#i1006816
    Hope this help.
    Best regards,
    Jean-Valentin

  • Address book : provide contact list import/export from other software

    There should be an easy way to import contact information from Gmail accounts, Hotmail, and so forth. They're providing efficient ways to export their database, so it shouldn't be too hard for developers to add this usual feature.
    I would agree that the contact export/import procedures usually offered are not user-friendly. But it's not user-friendly either to recreate a contact list of 200+ contacts manually.
    I hope this feature will be added in a near future. Thanks. Rodan

    Thanks, I'll definitely use this bugreporter in the future.
    Concerning this case, I've just found this feature is already implemented.
    Address Book > File > Import
    Strange I couldn't find any documentation about it online. Well, here it si now, I hope people will see it. Bug closed anyway. :-)

  • Issue with IMPORT/EXPORT to database INDX

    There is an include program 'MMCP6F02' in which the user exit 'ZXSOPU11' is called and this happens soon after the below code which passes a table to INDX..
          EXPORT CE_SXYZ TO DATABASE INDX(BB) ID 'PDATA'
                             USING INDX_LIS_EXPORT4.
    In the user exit, I am trying to read the above table entry with the following code
          IMPORT CE_SXYZ = IS_SXYZ_U FROM DATABASE
                           INDX(BB) ID 'PDATA'.
    But this does not seem to fetch any data even though the declarations are the same. But when the same IMPORT is used again in the include program, right after the call to user-exit, it fetches the values.
    IMPORT CE_SXYZ = IS_SXYZ_I FROM DATABASE
    INDX(BB) ID 'PDATA' 
    USING INDX_LIS_IMPORT4.
    Can someone please help me out to solve this issue?

    I have an open OSS-Call at the Moment regarding this issue. SAP wants to make me believe that the coding in SAP Note 703770 would help, but it does not.

  • IMPORT/EXPORT FROM DATA BUFFER

    Hi,
    I have some code like this:
    DATA: b type xstring.
    DATA: a type xstirng.
    EXPORT '1234' TO DATA BUFFER b.
    IMPORT a FROM DATA BUFFER b.
    for some reason a does not get set to the value that I assigned to b.
    However, this code works:
    DATA: b type xstring.
    DATA: a type xstirng.
    EXPORT some_internal_table TO DATA BUFFER b.
    IMPORT a FROM DATA BUFFER b.
    Does anybody know why internal tables work but other data types do not?
    Thank you.

    EXPORT '1234' TO DATA BUFFER b, not working because, you did not assign a variable name to '1234' to be stored as in data buffer B.
    Change the code to:
    DATA: b type xstring.
    DATA: a(4) type c.
    EXPORT a = '1234' TO DATA BUFFER b.
    IMPORT a FROM DATA BUFFER b.
    It's working in the second case because, some_internal_table  is the name of the variable in databuffer B and you are importing into the same variable in IMPORT
    Regards
    Sridhar

  • IMPORT & EXPORT from/to compressed files directly...

    for newbies a tip to import(export) directly to(from) compressed files using pipes . Its for Unix based systems only, as I am not aware of any pipe type functionality in Windows. The biggest advantage is that you can save lots of space as uncompressing a file makes it almost 5 times or more. (Suppose you are uncompressing a file of 20 GB, it will make 100 GB) As a newbie I faced this problem, so thought about writing a post.
    Lets talk about export first. The method used is that create a pipe, write to a pipe(ie the file in exp command is the pipe we created), side by side read the contents of pipe, compress(in the background) and redirect to a file. Here is the script that achieves this:
    export ORACLE_SID=MYDB
    rm -f ?/myexport.pipe
    mkfifo ?/myexport.pipe
    cat ?/myexport.pipe |compress > ?/myexport.dmp.Z &
    sleep 5
    exp file=?/myexport.pipe full=Y log=myexport.logSame way for import, we create a pipe, zcat from the dmp.Z file, redirect it to the pipe and then read from pipe:
    export ORACLE_SID=MYDB
    rm -f ?/myimport.pipe
    mkfifo ?/myimport.pipe
    zcat ?/myexport.dmp.Z > ?/myimport.pipe &
    sleep 5
    imp file=myimport.pipe full=Y show=Y log=?/myimport.logIn case there is any issue with the script, do let me know :)
    Experts, please have a look...is it fine ? (Actually I dont have Oracle installed on my laptop(though have Fedora 6) so couldnt test the scripts)
    I posted the same on my blog too. just for bookmark ;)
    Sidhu
    http://amardeepsidhu.blogspot.com

    actually, only the compression thing runs in the background. rest proceeds like normal only. just instead of giving normal file we use pipe as a file.
    nice article about named pipes
    Sidhu

  • Import/Export from Memory ID

    hie guys
    im in a program that is importing values from a memory id however there are no values being imported and thus i want to find out wer the memory id is being given data. i tryd the wer used list and it dd not give me anything, please assist

    I managed to find the program where the export statement for the memory ID was and also where the import statement was and managed to resolve my error.
    many thanks.

  • Arabic support in isqlplus after import export from 7.3.4 to 10.2.0.3

    CANNOT DISPLAY ARABIC IN ISQL*PLUS(JUNK). APPLICATION WORKS FINE WITH ARABIC
    with Taret DB char set to US7ASCII the data is always junk old data +new inserted arabic data inserted thro isqlplus or sqlplus.
    with AR8MSWIN1256 the old data(imported in to new db from old 7.3.4 db export dump) is displayed as junk (what ever in the db) and after creating a new table data inserted, the arabic display is fine.
    How to overcome the problem of displaying old data? we have lots of data for migration.
    Thanks

    Small correction
    In DB with Char set to AR8MSWIN1256.......
    Old data exported from 7.3.4 and imported in new 10.2.0.3 db is showing arabic char as junk
    But new table created and data inserted as arabic is displaying properly.
    What has to be done such that old imported data displays arabic.
    We are using isqlplus and sqlplus to query the data
    Thanks

  • Import/Export from Unix

    hi, there, i just got a problem in exporting my database from unix. the account that i got is from my client, and so i can login as a regular user only.
    my story is, i'm now using unix to access the oracle, but i can't do any exporting action, i got the error as, "unknown command".
    question, is it necessary to be the administrator or some special previlege to be able to export the database.
    can somebody out here give me some advice, i need the solution urgent, thanks in advance.

    Thanks for the feedback, I'll forward it to the Product team.
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

Maybe you are looking for

  • Upgrading from Final Cut Express to Final Cut Pro

    I will be purchasing the new FCP version soon, along with the rest of the stuff in the Final Cut Studio package. Is there anything I might wish to save from Final Cut Express? Thanks, Will

  • How to input color in a data sheet under dropdown

    Hey,  i have set up a drop down selection on the column per cell, but how can i define the select color and represent that on the datasheet example... Column name is "project status"----> drop down per cell options --> "TBD", "GREEN", "Yellow", "Red"

  • How do I straighten images using Photoshop CS2?

    Can someone please tell me how I straighten images like horizons and buildings using Photoshop CS2? I run the software under Windows XP Thank you.

  • Reporting agent document  export to server file

    Hello, we want to export the reporting agent document to an output file in the BW server. I have seen that there is the possibility to export it to a local file, does anybody know if it is possible also for the server file? Another idea is to access

  • .CSS not in Style dropdown box

    I have checked several resources to make sure that I have attached my .CSS properly yet they still do not appear in the "Style" dropdown box. Nor do I see the ability to apply the style in my .CSS panel, yet I do see the external styles listed in the