Use of IMPORT/EXPORT in methods

Hi,
Is it possible to use IMPORT/EXPORT statements in the methods which are part of BADI's.
Thanks
Rajavardhana reddy

HI,
Import
TYPES: BEGIN OF OBJ_LINE,
        CLUSTERNAME(30),
        PROGRAMNAME(10),
      END OF OBJ_LINE,
      BEGIN OF B_LINE,
        FIELD_1    TYPE I,
        FIELD_2(1) TYPE N,
      END OF B_LINE.
DATA: OBJ_TAB TYPE STANDARD TABLE OF OBJ_LINE,
      OBJ_WA  TYPE OBJ_LINE,
      B_PROG  TYPE STANDARD TABLE OF B_LINE,
      B_WA    TYPE B_LINE,
      A(10),
      C_PROG LIKE SYST.
MOVE:  'A'    TO OBJ_WA-CLUSTERNAME.
APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
MOVE:  'B'      TO OBJ_WA-CLUSTERNAME,
       'B_PROG' TO OBJ_WA-PROGRAMNAME.
APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
MOVE:  'C'      TO OBJ_WA-CLUSTERNAME,
       'C_PROG' TO OBJ_WA-PROGRAMNAME.
APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
IMPORT (OBJ_TAB) FROM MEMORY ID 'ABCD'.
export
TYPES: BEGIN OF OBJ_LINE,
         CLUSTERNAME(30),
         PROGRAMNAME(10),
       END OF OBJ_LINE.
DATA: OBJ_TAB TYPE STANDARD TABLE OF OBJ_LINE,
      OBJ_WA  TYPE OBJ_LINE.
TYPES: BEGIN OF B_LINE,
         FIELD_1    TYPE I,
         FIELD_2(1) TYPE N,
       END OF B_LINE.
DATA: B_PROG TYPE STANDARD TABLE OF B_LINE.
DATA: A(10),
      C_PROG LIKE SYST.
MOVE:  'A'      TO OBJ_WA-CLUSTERNAME.
APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
MOVE:  'B'      TO OBJ_WA-CLUSTERNAME,
       'B_PROG' TO OBJ_WA-PROGRAMNAME.
APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
MOVE:  'C'      TO OBJ_WA-CLUSTERNAME,
       'C_PROG' TO OBJ_WA-PROGRAMNAME.
APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
EXPORT (OBJ_TAB) TO MEMORY ID 'ABCD'.
Regards,
Laxmi.

Similar Messages

  • Using XML Import/Export in Transport Connection

    Hi, I was investigating the feasibility of copying a query definition from one BW system to another using the XML Import/Export functionality in Transport Connection.  This is not to replace our current transport process across the landscape (Dev -> QA -> Prod), but merely just looking at possibilities for end users who develop queries in QA & then recreate them in Prod.
    My question is: has anyone worked with the XML Export/Import for types Queries & Query Elements?  I was trying this out between a Dev and Sandbox system and only had limited success.  I was able to take a small query and perform the Export to a local .xml file without much difficulty.  But when I try to do the Import, my query never shows up.  The Import function shows a green light, but I get a couple of error messages on the Import such as the following:
    ==========================================================
    SAP object 3WROG4HZ3NKP1PIYHCR1H24CQ () cannot be imported
    Diagnosis
    You attempted to import SAP object 3WROG4HZ3NKP1PIYHCR1H24CQ of type into the system via the XMI interface. However, you are not allowed to import SAP objects.
    System response
    The object was ignored during the import.
    Note: It can be that the import is incomplete when the required SAP objects are still not active in the system.
    Procedure
    Install the specified objects from Business Content. Only import the metadata afterwards.
    =========================================================
    The portion returned for Saving and Activating returns green lights.  The two sample objects mentioned appear to just be custom InfoObjects used in my query & don't look to be any different than others that work OK. 
    Just curious if anyone else has worked with this and could help advise. 
    Thanks...  Jody

    This is an old subject, but I think XML import only works for datamodeling objects like InfoObjects, InfoCubes, and ODS objects. If you try to export a query, and open the XML file in a text editor, there is not enough information (in my opinion) to build the query. As an example you don't see how key figures are to be displayed, filter or free characteristics.
    However, when an InfoObject is collected, you get all the attributes, texts in all languages.
    If anyone has more insight, please enlighten us.
    -John

  • Import & Export Strings method

    Hi,
    I have a multilanguage application. I have used export & import
    strings methods. I have one .txt file for each language but when I
    modify something in my vi I must export all again and then modify the
    tags again for each language file... Is there a way that I can modify
    my vi and I don't have to export all again?
    Thanks,
    ToNi.

    As far as i know you need to export strings again only if you have made any changes on front panel.
    exported file is nothing but a xml file so that you can manually edit it instead of exporting everything again (helpfule if you have done very small changes on front panel)
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Error message using SQL import and Export Wizard with Excel spread sheet

    I am trying to import an Excel spreadsheet using the Import export wizard that is provided with SQL 2014.  
    Everything seems to set up OK but then when I go to do the transfer "error message" comes up saying:
    External Table is not in the expected format.(Microsoft Jet Database Engine).   
    This is a spreadsheet and there is no database, that is why I want to import it into a database!!  So the reference to JET is a tad disappointing.
    So why the error and how do I fix the problem?
    As there are over 100 variables in the spread sheet rows, it would be great to have this automatically create the database and populate the fields.
    I am using SQL 2014  Express and Office Excel 2013.
    Thank you in  advance for taking the time to read this, and hopefully sheading some light on the issue.

    Hi AWlcurrent,
    When import a .xlsx file to SQL Server using SQL Server Import and Export Wizard, you see a “External Table is not in the expected format.(Microsoft Jet Database Engine).” error message. This error message seems that the Microsoft JET Database Engine is
    unable to handle something that is contained in the file.
    So please make sure there is no unsupported content in the Excel file. Alternatively, we can use ‘Microsoft Excel’ as the Data Source, then Select ‘Microsoft Excel 2007’ as the Excel version to import the excel file.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Using Parentheses to Call a Method?

    So my code looks like this:
    DATA: o_ztransload_tools TYPE REF TO zcl_transload_toolbox.
               CREATE OBJECT o_ztransload_tools.
             o_ztransload_tools->zzcreate_date_range( zzobjin_dtlw    = zzin_dtlw
                                                      zzobjin_dthigh  = zzin_dthigh )  .
    This class method returns a date range. I would like to understand how to write this code without using the 'IMPORT' 'EXPORT' , parameter identifiers...if possible., and just using parentheses, as a shorthand way of writing the call method. So, from what I've read, it is possible to write the code this way.But when I try to add code for the single returning value, I get syntax errors.  How should the code be written for the method's returning value to be syntactically correct?
        Thank-You, Tom

    There would a several different combinations you may have to use depending on the type of parameters.
    If you have a single RETURNING parameter and single IMPORTING parameter, you can receive the results in that variable directly. Llike:
      lv_Day = zcl_Test=>give_day( sy-datum ).
    If you have multiple Importing parameters, you call the method like:
    zcl_test=>get_data(
      io_data = o_data
      io_data2 = o_data ).
    You can also set the the preferred parameter, when you have more than one importing parameter. Like IO_DATA and IO_DATA2. If make the preferred parameter as the IO_DATA2, than you can use pass this parameter without specifying parameter name.
      zcl_test=>get_Data( o_data_second ).
    If you have importing, exporting, changing parameters; than you have to explicitly mention the word EXPORTING, IMPORTING ... etc to let the system know what to change
      zcl_test_alv=>factory(
        EXPORTING
          iv_alv_type = alv_1
        IMPORTING
          eo_alv = me->o_alv
        changing
          ct_Data = t_Data ).
    You can't have Receiving parameter along with Changing and Exporting parameters in the same method.
    Regards,
    Naimesh Patel

  • Import/Export in back stage view

    What is the use of import/Export in back stage view of customize ribbon and Quick access toolbar

    Shiv --
    Pardon me for bumping into this thread.  Here is a scenario that might answer your question:
    You create a customized ribbon and Quick Access Toolbar.  Your ribbon has a new tab called Initiate which contains the commands you use to initiate a new project, such as setting the Start date of the project, setting the Project and Nonworking Time
    calendars, etc.  Your customized Quick Access Toolbar contains the buttons you most frequently use, such as Zoom In, Zoom, Out, Scroll to Task, etc.
    A fellow PM sees how you have customized the ribbon and Quick Access Toolbar in your copy of Microsoft Project and asks if you would give him/her the customizations.
    You navigate to the Backstage and export your ribbon and Quick Access Toolbar customizations to an *.exportedUI file and you e-mail the customization file to your fellow PM.
    Your fellow PM launches Microsoft Project, navigates to the Backstage, walks through the import process, and imports the ribbon and Quick Access Toolbar customizations from the customization file you sent him/her.
    As Guillaume correctly points out, this is how to transfer ribbon and Quick Access Toolbar customizations from one computer to another, or from one user to another.  One of the things I have done since Microsoft released the 2010 version Microsoft Project
    is to give my students a customization file that has customizations they can use in the real world with their ribbon and Quick Access Toolbar.  The export/import process is very easy, and very useful.  Hope this extra helps.
    Dale A. Howard [MVP]

  • Import/Export wizard auto-generates all columns as DATE

    Hi
    I'm trying to use the Import/Export Wizard as I used to, as a handy tool to figure out what a series of T-SQL statements (in an SSIS package) is doing - or, if I'm lucky, what on earth the original dev
    intended them to do.
    Version: SQL 2014 64-bit running on Win 7 64-bit
    The code is pretty dreadful:
    SELECT DISTINCT on one set of column names,
    join this set to another table but not on exactly the same set of column names,
    embedded (SELECT MAX(bla) FROM SameTable WHERE [match to outer set on another set of columns] GROUP BY [hey, yet another set of columns!]) inside the SELECT column list...
    and it all goes to a nasty #Tmp, which is then abused with further bad code further down.
    Imp/Exp is always handy to quickly get the intermediate results into an auto-created real table, so I can figure out exactly what the effect of this is.  I use it to export from the database back to the same database, but to a persisted table.
    This time (first time with SQL2014) it's not working.  The source is "write a query" (paste the actual query).  The destination I set to a new table.  The auto-generation of the new table creates every column as type
    date.  Not surprisingly, this doesn't work, as the original data is mostly not of
    date time.
    Looks like a bug.  Any idea of a workaround or fix?
    thanks!

    Sorry, but I think you're still not getting what I'm saying.
    This is not a production SSIS package design, but a quick'n'nasty diagnosis technique I'm used to using:
    - Find some SQL in an existing query/script that I'm trying to debug
    - Paste it into Import/Export wizard as a source
    - Wizard creates a new table for the result - I then have the results persisted for examination, comparison with the results from refactored code, etc.
    And I can't even put suitable CAST/CONVERT statements in, because the wizard is mis-identifying the
    input column data types, with no way to change them.   It's somehow thinking that every column in the input (the SQL query) is of type
    date(500), when the columns are obviously not of this type.

  • IMPORT/EXPORT problem.

    Hi,
    I am using a import export statement in my program.
    REPORT  ZKATEST.
    data : w_test type c value '1'.
    data : w_test1 type c.
    export w_test to memory id 'ZKAPIL'.
    import w_test1 from memory id 'ZKAPIL'.
    write : w_test1.
    Here the value gets exported to memory, but while importing its not getting populated (w_test1 is blank).
    Please suggest the solution.
    Thanks
    Kapil

    Hi kapil,
    1.  This kind of problems happen
        because the variable name,
        for export
        and import are different.
    2.  While exporting,
        Under memory id ZKAPIL,
        Value of W_TEST is stored with the name W_TEST.
    3. From the syntax,
        <b>import w_test1 from memory id 'ZKAPIL'</b>
       while importing,  from memory id ZKAPIL,
        the sysetm will , by default,
        try to search the value stored under name W_TEST1.
    (But it won't be found, because the orignal value is stored
      under the name W_TEST and not W_TEST1)
    <b>4. So just modify the syntax with this, and it will work fine.</b>
    <b>import W_TEST = w_test1 from memory id 'ZKAPIL'.</b>
    regards,
    amit m.

  • Cannot open Import/Export Properties Tool

    Hello all,
    I am working with NI TestStand 2014 and I am trying to use the "Import/Export Properties" tool from Tools -> Import/Export Properties... but when I click it, nothing happens, no window, no warning, nothing.
    The option is obviously enabled in the menu but are there other conditions that I might be missing? Looking the internet for exemples, it just appears trivial that this tool should at least show up...
    Any suggestion would be very welcome.
    Thank you very much in advance!
    Matt.
    Solved!
    Go to Solution.

    Hello jigg and thank you for your support.
    Follwing your advices, I found the "Customize Tools Menu" for which the options of "Import/Export Properties" appear to be correct. I have attached a sceen shot of this window.
    I followed the path to the sequence file "GenericImportExport.seq" given under:
    C:\Program Files (x86)\National Instruments\TestStand 2014\Components\Tools
    I launched this sequence from testStand, the sequence makes a call to a "TSDBComponents.dll" under:
    C:\Program Files (x86)\National Instruments\TestStand 2014\Components\StepTypes\Database\TSDBComponents.dll
    The run fails immediately. The best piece of information I could get is "Error - System Level Exception"...
    By the way, running the sequence "ImportExport.seq" sitting aside the so called "generic" one works properly. However this sequence does not call the same dll so, well...
    Here is a another clue in case it may help:
    - I open TestStand and login as administrator
    - I click on "Tools" -> "Import/Export Properties..." and nothing happens.
    - I close TestStand and get a "TestStand Debug Options Warning"
    I have attached a screen shot of this window. Here is the text it contains:
    References to PropertyObjects were not released properly.
    Total number of objects: 37
    Number of top-level objects: 5
    Note: Some top-level objects may be included if they are referenced by
    an incorrectly released top-level object. For example, an unreleased
    SequenceContext object references a SequenceFile object.
    The following top-level objects were not released:
    Type Definitions [3 object(s) not released]
    Type Definition #1:
    Name: DatabasePropertyMapping
    Type Definition #2:
    Name: DatabaseColumnValue
    Type Definition #3:
    Name: Expression
    PropertyObjects [2 object(s) not released]
    PropertyObject #1:
    Name: PropertiesList
    Type: Array of Containers
    PropertyObject #2:
    Name: ExtraInfo
    Type: Array of Containers
    My TestStand installation comes from "Labview 2014 Automated Test Suite", I am running a windows 7 SP1 64 bits. The TestStand version I have is version 2014 (14.0.0.274) 32-bit under the "Development System" license...
    Since the error I am facing is related to a "system level exception", I wonder if running a 32bit  teststand on a 64 bit machine may be the root cause. Who knows... We have other computers here running the 64 bit version of TestStand and I cannot reproduce this problem there.
    I will try  fresh install and see how further I can go.
    Regards,
    Matt.
    Attachments:
    Customize Tools Menu.png ‏31 KB
    error window.png ‏18 KB

  • Import / Export Script Presets problem

    Hi all,
    I've an issue when trying to import / export custom scripts using the import/export presets command in CS6.
    I like to have custom scripts accessible under the File > Scripts menu, so I keep them in the Application / Presets Folder. I've found if I store them in the Users/ Presets folder they don't appear under the File > Scripts menu.
    If I use the Export Presets command, I can't export custom scripts stored in the application folder, only if I have them stored in the User/Preset directory.
    If I go to another machine and use the Import Preset Option, I can get it to import the custom scripts from a back up folder, but they get installed in the User/Presets directory, so I end up having to manually move them afterwards.
    Is there a way around this ? It's great being able to package the presets and quickly install them elsewhere, but at the moment I'm still having to move the scripts by hand
    Mac 10.6.8 PS 13.01

    HI,
    I've no idea why you get that error, but there's a simpler way to transport your bookmarks to another machine.
    /Users/YourUsername/Library/Safari/Bookmarks.plist
    Copy that file to the equivalent location on the other machine and that's it.

  • Submit or Import / Export Memory?

    Hi Forums,
    I have to two reports which are exactly the same. One is called from the Portal (which is a Function Module) and one is run in ECC (so it is an ABAP report). These both exist now today.
    To avoid duplicate effort I would like to have the Portal Report (Function Module) call the ABAP report where I would like to keep all main report logic and any future changes.
    What I would like to accomplish is to have the FM call the ABAP report passing in a table of records (what would be entered on selection screen on ECC report) and then the ABAP report would pass back a table of COMPLETED records and leaving the function module only to pass back this table to calling program.
    Would a SUMBIT <program> etc work for this? OR would this be better suited for a using a import \ export?
    Any further questions let me know.
    Cheers

    My code is currently setup like this and I am now getting the error:
    IMPORT_ALIGNMENT_MISMATCH
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "IMPORT_SELTAB_FROM_MEM" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        When importing object "%_SELTAB", the structure did not match the
        structure of the target object. The error occurred in component
        no. 2.
        This may be due to one of the following reasons:
        - the structure is actually different (the next field has, for
          example, a different data type) or
        - the same sequence of components were exported and imported,
          but the fields were from other include units.
      DATA: txtlines(3000) TYPE c OCCURS 0 WITH HEADER LINE.
      DATA:lt_listobject TYPE TABLE OF abaplist.
      DATA: lt_passed_ee TYPE RANGE OF pernr WITH HEADER LINE,
            ls_passed_ee LIKE LINE OF lt_passed_ee.
      "ls_passed_ee-selname = 'PNPPERNR'.
      ls_passed_ee-sign    = 'I'.
      ls_passed_ee-option  = 'EQ'.
    *load each pernr that is passed in from the UI and pass to report
      LOOP AT lt_ee INTO ls_direct_ee.
        ls_passed_ee-low = ls_direct_ee-objid.
        APPEND ls_passed_ee TO lt_passed_ee.
      ENDLOOP.
      SET PARAMETER ID 'PER' FIELD space.
      SUBMIT zhrecm_spend_ee WITH SELECTION-TABLE lt_passed_ee
                                     WITH  pnppernr IN lt_passed_ee
                                     EXPORTING LIST TO MEMORY
                                     AND RETURN.
    * read list from memory into table
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = lt_listobject
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.

  • Import/Export code using Memory ID in BO Method

    Hi experts,
    I am having a approver name and other relevant data in my report. I don't want to write the entire code I want to bring it into my BO method by using import/export memory id. Pl. guide me what should I do ? Is it possible or not?
    Thank you,
    Saquib

    I am a bit confused that what you are trying to achieve. In any case I think you can forget any export/import memory ID related solutions - they will not work!
    The workflow (or its step/task) is executing your BO method, right? You want this method to have some data when it gets executed? Normally you would want to populate the data to the workflow (or task) container, for example with function SAP_WAPI_WRITE_CONTAINER (you just need the work item ID). Then when this data is in the container, you can use it in your method (binding required).
    Somehow I feel that you looking a difficult solution for a simple problem. If you need some relevant data in your workflow, let the workflow to find it (add a new step to the workflow, and copy/paste the relevant part of the code of your report to this step). (Or try to give the data to the workflow already when it gets started, if possible). Don't try to mix things with some separate report, unless it is completely necessary, and if it is, then writing into the container is most likely the best approach.
    Regards,
    Karri

  • Improving Oracle9i DB performance using IMPORT/EXPORT

    Hi,
    I'm experiencing wrong performance on Oracle9.2.0.6 DB for production system.
    I have one schema and two tablespaces: the first one for data (18 datafiles sized each 1GB), and the second one for indexes (15 datafiles sized each 1GB).
    I tryed to tune the db using statpack and noticed "Waits due to Row being locked by an active Transaction".i couldn't do very much for solving this issue.
    So, I'm wandering if using import/export utility against database would be a solution to obtain better performance. I can follow two methods for I/E:
    FIRST METHOD:
    1. Take a good export (with COMPRESS=n).
    2. drop the tablesapces.
    3. recreate the same tablespaces (data and index).
    4. make data as default and revoke RESOURCE role from user.
    5. grant quota unlimited on DATA TABLESPACE and INDEX tablespace to the user.
    6. Just import (single import would do). imp user/pass fromuser=x touser=y indexes=y constraints=y.
    Now since both data/index tablespaces already exist, the indexes will be created in their intended tablespaces.
    SECOND METHOD
    Instead of Imp or exp I can use move tablespace cmd to avoid fragmenation.
    1.create new tbs.
    2.move all objects to new tbs.
    - rebuild all indexes to new tbs.
    3.drop old tbs.
    4.rename new tbs name to old tbs names.
    Please, could you suggest If I'm following the right way to achieve better performance?
    Thanks in advance.
    Claudia

    "Waits due to Row being locked by an active Transaction" is an indicator that you have a blocking problem, not fragmentation. Do you have long transactions? In Oracle, only writers block writers so it appears you have multiple sessions trying to modify the same row(s).
    And, on the import/export - What type of disk is attached to the system? If it is a SAN it is likely that you already have a decent degree of data distribution between data and indexes.

  • Import/Export publishable packages using WLPI APIs

    Hi,
    I have been trying to create a utility to perform import/export of publishable
    packages. Here is the problem that I encountered:
    When creating the PackageEntry, I need to have a map of all references that a
    publishable object has, however, the method to retrieve the referenced publishables
    is no longer in the Publishable interface
    public java.util.List getReferencedPublishables( java.util.Map publishables)
    If I pass a null for the referenced publishables, then the export will work, but
    when I tried to import the package, I got the following error. Any workaround
    to the problem or is there something that I missed?
    Here is the error:
    The server was unable to complete your request.
    null
    null
    Start server side stack trace:
    Unknown error: com.bea.wlpi.common.WorkflowException: The server was unable to
    complete your request.
    null
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1168)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Nested exception is: java.lang.NullPointerException
         at com.bea.wlpi.server.admin.ImportManager.resolveTDReferences(ImportManager.java:787)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:659)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    Start server side stack trace:
    java.lang.NullPointerException
         at com.bea.wlpi.server.admin.ImportManager.resolveTDReferences(ImportManager.java:787)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:659)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    Unknown error: com.bea.wlpi.common.WorkflowException: The server was unable to
    complete your request.
    Start server side stack trace:
    java.lang.NullPointerException
         at com.bea.wlpi.server.admin.ImportManager.resolveTDReferences(ImportManager.java:787)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:659)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
         at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:135)
         at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
         at $Proxy4.importPackage(Unknown Source)
         at com.worldchain.wlpiAdmin.WlpiAdmin.handleImport(WlpiAdmin.java:201)
         at com.worldchain.wlpiAdmin.WlpiAdmin.main(WlpiAdmin.java:83)
    Nested exception is: java.lang.NullPointerException
         at com.bea.wlpi.server.admin.ImportManager.resolveTDReferences(ImportManager.java:787)
         at com.bea.wlpi.server.admin.ImportManager.importTemplateDefinition(ImportManager.java:659)
         at com.bea.wlpi.server.admin.ImportManager.importPackage(ImportManager.java:293)
         at com.bea.wlpi.server.admin.AdminBean.importPackage(AdminBean.java:1164)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl.importPackage(AdminBean_11ksof_EOImpl.java:301)
         at com.bea.wlpi.server.admin.AdminBean_11ksof_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    There may be options to your process, but as I have mentioned in other strings, the Journals in the BPC for Microsoft version are sequenced.  That means that there is a system generated sequence ID for each journal.  Any individual selection of journals would possibly cause an issue for the sequence. I have not seen any past work in SSIS to detach the records for export or import.  It may be possible, but I would assume it will take some core SQL coding.
    Regarding your error, you may need to verify that you have the security set correctly to use Journals and use the Data Manager capabilities.  Typically, when security tasks are not correct, you will get an error similar to your HRRESULTX.... error.
    An option for loading the details is to build a worksheet in EVDRE, aggregate the data and send it to the cube at a level that is easy to save the file and submit consolidated results.  Just make sure you send all "like" records at an aggregated to a base member, and send to a datasrc to identify the extra details. Then store the excel file with the input values.
    Hope this helps.
    Edited by: Petar Daniel on Feb 16, 2009 10:06 PM

  • Acessing BSEG by import/export method

    hi !
    anyone please gexpalin me or give me links to how to access the BSEG TABLE  by IMPORT EXPORT OR macros method! o
    reward points will be given to best answer

    IMPORT - Get data
    Variants
    1. IMPORT f itab FROM MEMORY.
    2. IMPORT f itab FROM DATABASE dbtab(ar) ID key.
    3. IMPORT DIRECTORY INTO itab FROM DATABASE dbtab(ar) ID key.
    4. IMPORT f itab FROM DATASET dsn(ar) ID key.
    Variant 1
    IMPORT f itab FROM MEMORY.
    Additions
    1. ... TO g (for each field f to be imported)
    2. ... ID key
    Effect
    Imports data objects (fields or tables) from the ABAP/4 memory (see EXPORT ). Reads in all data without an ID that was exported to memory with "EXPORT ... TO MEMORY." . In contrast to the variant IMPORT FROM DATABASE , it does not check that the structure matches in EXPORT and IMPORT .
    The return code value is set as follows:
    SY-SUBRC = 0 The data objects were successfully imported.
    SY_SUBRC = 4 The data objects could not be imported, probably
    because the ABAP/4 memory was empty.
    The contents of all objects remain unchanged.
    Addition 1
    ... TO g (for each field f to be imported)
    Effect
    Takes the field contents stored under f from the global ABAP/4 memory and places them in the field g .
    Addition 2
    ... ID key
    Effect
    Imports only data stored in ABAP/4 memory under the ID key .
    The return code value is set as follows:
    SY-SUBRC = 0 The data objects were successfully imported.
    SY_SUBRC = 4 The data objects could not be imported, probably
    because an incorrect ID was used.
    The contents of all objects remain unchanged.
    Variant 2
    IMPORT f itab FROM DATABASE dbtab(ar) ID key.
    Additions
    1. ... TO g (for each field f to be imported)
    2. ... MAJOR-ID maid (instead of ID key )
    3. ... MINOR-ID miid (together with MAJOR-ID maid )
    4. ... CLIENT h (after dbtab(ar) )
    5. ... USING form
    Effect
    Imports data objects (fields, field strings or internal tables) with the ID key from the area ar of the database dbtab (see also EXPORT )
    The return code value is set as follows:
    SY-SUBRC = 0 The data objects were successfully imported.
    SY_SUBRC = 4 The data objects could not be imported, probably
    because an incorrect ID was used.
    The contents of all objects remain unchanged.
    Example
    Import two fields and an internal table:
    TABLES INDX.
    DATA: INDXKEY LIKE INDX-SRTFD,
          F1(4), F2 TYPE P,
          BEGIN OF TAB3 OCCURS 10,
            CONT(4),
          END OF TAB3.
    INDXKEY = 'INDXKEY'.
    IMPORT F1 F2 TAB3 FROM DATABASE INDX(ST) ID INDXKEY.
    Notes
    The structure of fields, field strings and internal tables to be imported must match the structure of the objects exported to the dataset. In addition, the objects must be imported under the same name used to export them. If this is not the case, either a runtime error occurs or no import takes place.
    Exception: You can lengthen or shorten the last field if it is of type CHAR , or add/omit CHAR fields at the end of the structure.
    Addition 1
    ... TO g (for each field f to be imported)
    Effect
    Takes the field contents stored under the name f from the database and places them in g .
    Addition 2
    ... MAJOR-ID maid (instead of ID key )
    Addition 3
    ... MINOR-ID miid (together with MAJOR-ID maid )
    Effect
    Searches for a record with an ID that matches maid in the first part (length of maid ) and - if MINOR-ID miid is also specified - is greater than or equal to miid in the second part.
    Addition 4
    ... CLIENT h (after dbtab(ar) )
    Effect
    Takes the data from the client h (only with client-specific import/export databases).
    Example
    TABLES INDX.
    DATA F1.
    IMPORT F1 FROM DATABASE INDX(AR) CLIENT '002' ID 'TEST'.
    Addition 5
    ... USING form
    Effect
    Does not read the data from the database. Instead, calls the FORM routine form for each record read from the database without this addition. This routine can take the data key of the data to be retrieved from the database table work area and write the retrieved data to this work area schreiben; it therefore has no parameters.
    Note
    Runtime errors
    Depending on the operands or the datsets to be imported, various runtime errors may occur.
    Variant 3
    IMPORT DIRECTORY INTO itab FROM DATABASE dbtab(ar) ID key.
    Additions
    1. ... CLIENT h (after dbtab(ar) )
    Effect
    Imports an object directory stored under the specified ID with EXPORT into the table itab .
    The return code value is set as follows:
    SY-SUBRC = 0 The directory was successfully imported.
    SY_SUBRC = 4 The directory could not be imported, probably because an incorrect ID was used.
    The internal table itab must have the same structure as the Dictionary structure CDIR (INCLUDE STRUCTURE ).
    Addition 1
    ... CLIENT h (after dbtab(ar) )
    Effect
    Takes data from the client h (only with client-specific import/export databases).
    Example
    Directory of a cluster consisting of two fields and an internal table:
    TABLES INDX.
    DATA: INDXKEY LIKE INDX-SRTFD,
          F1(4), F2 TYPE P,
          BEGIN OF TAB3 OCCURS 10,
            CONT(4),
          END OF TAB3,
          BEGIN OF DIRTAB OCCURS 10.
            INCLUDE STRUCTURE CDIR.
    DATA  END OF DIRTAB.
    INDXKEY = 'INDXKEY'.
    EXPORT F1 F2 TAB3 TO
           DATABASE INDX(ST) ID INDXKEY.    " TAB3 has 17 entries
    IMPORT DIRECTORY INTO DIRTAB FROM DATABASE INDX(ST) ID INDXKEY.
    Then, the table DIRTAB contains the following:
    NAME OTYPE FTYPE TFILL FLENG
    F1 F C 0 4
    F2 F P 0 8
    TAB3 T C 17 4
    The meaning of the individual fields is as follows:
    NAME : Name of stored object OTYPE : Object type ( F : Field, R : Field string / Dictionary structure, T : Internal table) FTYPE : Field type ( C : Character, P : Packed, ...)
    Field strings and internal tables have the type C. TFILL : Number of internal table lines filled FLENG : Length of field in bytes
    With internal tables: Length of header line.
    Variant 4
    IMPORT f itab ... FROM DATASET dsn(ar) ID key.
    Note
    This variant is not to be used at present.
    Regards,
    Jagadish

Maybe you are looking for

  • Error when opening a pdf file

    I have QTP 10.0 and Adobe reader 9.3 installed on my machine. The machine I am using is a VMware device. I have downloaded and installed the PDF Test Toolkit and the Adobe SDK. For QTP I have the ActiveX, Web and Adobe add ins loaded. I do not have A

  • Calculating CPI and SPI based on Costs Only - No Hours

    Sometimes on our projects, our vendors provide a SOW in dollars, no hours and our internal customers work on projects as needed, also only assigning a dollar value to their efforts without hours. Based on the calculations for CPI (EV/AC) and SPI (EV/

  • Moving 2 photos from LR to PS to work in layers.

    I have LR 5 and PS 6.  I have a Mac OSX 10.6.8  Shoot with a  D800.  When I select 2 photos and right click on edit in PS as layers, it gives me the message "may require ACR plug in 7.2 for full compatibility"  I called Adobe and I paid someone $19.0

  • Unzip flat file in pipeline

    Hello All, One of my requirement is to unzip the flatfile in pipeline and process it and convert it in XML. Can some one give me reference link or article... ??? Thanks and Regards, Nitin.

  • Error on the updating program

    I intalled the Nokia Software Updater(the us version and the ro version) and both give me the same error when I try to start them. I tried to plug first my phone to the pc and I also tried to plug it after the program should start. In both situation