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

Similar Messages

  • 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.

  • "Import string" method not supported in LabVIEW 7.1

    We have made an application that support multi-language (English, French, etc.). In LabVIEW 6.1, we used the "import string" VI method to support this option. The method was executed just before to open front panel. The code was based on this example found in NI Developer Zone:
    Translation/Localization Tools in LabVIEW
    (http://sine.ni.com/apps/we/niepd_web_display.disp​lay_epd4?...
    But surprise in version 7.1, this method can't be loaded without the diagram block. So the built application doesn't support it! It works only in the development interface. Why this change?
    If someone has an idea to solve this, let me know.

    If you build that example into an EXE under LabVIEW 7.1, it should work fine as long as you add the non top-level VIs as Dynamic VIs and add the language files as Support Files when you create the executable, making sure to specify in "Custom Destinations" that you want the string files to end up in the same directory as the EXE.
    Your point about the method requiring the block diagram is correct, according to the help for the method. However, I think the diagrams will be available to the run-time engine as long as you haven't purposefully removed them prior to creating the EXE in the manner described above. Maybe someone else can chime in on this point, because I know the App Builder changes a lot with every new major LabVIEW version (and sometimes, with minor versions too!).
    In any case, I just did a test where I downloaded the example you referenced, created a .BLD file as I indicated above, and got a successful executable that was able to use the Import VI Strings method to load the desired language at run-time.
    Regards,
    John

  • 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

  • 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

  • Unable to call exported client methods of EJB session bean remote interface

    I am unable to call client methods of a BC4J application module deployed as a Session EJB to Oracle 8i at the client side of my multi-tier application. There is no documentation, and I am unable to understand how I should do it.
    A business components project has been created. For instance, its application module is called BestdataModule. A few custom methods have been added to BestdataModuleImpl.java file, for instance:
    public void doNothingNoArgs() {
    public void doNothingOneArg(String astr) {
    public void setCertificate(String userName, String userPassword) {
    theCertificate = new Certificate(userName, userPassword);
    public String getPermission() {
    if (theCertificate != null)
    {if (theCertificate.getPermission())
    {return("Yes");
    else return("No, expired");
    else return("No, absent");
    theCertificate being a protected class variable and Certificate being a class, etc.
    The application module has been tested in the local mode, made remotable to be deployed as EJB session bean, methods to appear at the client side have been selected. The application module has been successfully deployed to Oracle 8.1.7 and tested in the remote mode. A custom library containing BestdataModuleEJBClient.jar and BestDataCommonEJB.jar has been created.
    Then I try to create a client basing on Example Oracle8i/EJB Client snippet:
    package bestclients;
    import java.lang.*;
    import java.sql.*;
    import java.util.*;
    import javax.naming.*;
    import oracle.aurora.jndi.sess_iiop.*;
    import oracle.jbo.*;
    import oracle.jbo.client.remote.ejb.*;
    import oracle.jbo.common.remote.*;
    import oracle.jbo.common.remote.ejb.*;
    import oracle.jdeveloper.html.*;
    import bestdata.client.ejb.*;
    import bestdata.common.ejb.*;
    import bestdata.common.*;
    import bestdata.client.ejb.BestdataModuleEJBClient;
    public class BestClients extends Object {
    static Hashtable env = new Hashtable(10);
    public static void main(String[] args) {
    String ejbUrl = "sess_iiop://localhost:2481:ORCL/test/TESTER/ejb/bestdata.BestdataModule";
    String username = "TESTER";
    String password = "TESTER";
    Hashtable environment = new Hashtable();
    environment.put(javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    environment.put(Context.SECURITY_PRINCIPAL, username);
    environment.put(Context.SECURITY_CREDENTIALS, password);
    environment.put(Context.SECURITY_AUTHENTICATION, ServiceCtx.NON_SSL_LOGIN);
    BestdataModuleHome homeInterface = null;
    try {
    Context ic = new InitialContext(environment);
    homeInterface = (BestdataModuleHome)ic.lookup(ejbUrl);
    catch (ActivationException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    catch (CommunicationException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    catch (NamingException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    System.exit(1);
    try {
    System.out.println("Creating a new EJB instance");
    RemoteBestdataModule remoteInterface = homeInterface.create();
    // Method calls go here!
    // e.g.
    // System.out.println(remoteInterface.foo());
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    It doesnt cause any errors. However, how must I call methods? The public interface RemoteBestdataModule has no such methods:
    void doNothingNoArgs();
    void doNothingOneArg(java.lang.String astr);
    void setCertificate(java.lang.String userName, java.lang.String userPassword);
    java.lang.String getPermission();
    Instead of that it has the following methods:
    oracle.jbo.common.remote.PiggybackReturn doNothingNoArgs(byte[] _pb) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn doNothingOneArg(byte[] _pb, java.lang.String astr) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn customQueryExec(byte[] _pb, java.lang.String aQuery) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn setCertificate(byte[] _pb, java.lang.String userName, java.lang.String userPassword) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    oracle.jbo.common.remote.PiggybackReturn getPermission(byte[] _pb) throws oracle.jbo.common.remote.ejb.RemoteJboException, java.rmi.RemoteException;
    I cannot call those methods. I can see how they are called in BestdataModuleEJBClient.java file:
    public void doNothingNoArgs() throws oracle.jbo.JboException {
    try {
    oracle.jbo.common.remote.PiggybackReturn _pbRet = mRemoteAM.doNothingNoArgs(getPiggyback());
    processPiggyback(_pbRet.mPiggyback);
    if (_pbRet.isReturnStreamValid()) {
    return;
    catch (oracle.jbo.common.remote.ejb.RemoteJboException ex) {
    processRemoteJboException(ex);
    catch (java.rmi.RemoteException ex) {
    processRemoteJboException(ex);
    throw new oracle.jbo.JboException("Marshall error");
    However, I cannot call getPiggyback() function! It is a protected method, it is available to the class BestdataModuleEJBClient which extends EJBApplicationModuleImpl, but it is unavailable to my class BestClients which extends Object and is intended to extend oracle.jdeveloper.html.WebBeanImpl!
    It seems to me that I mustnt use RemoteBestdataModule interface directly. Instead of that I must use the public class BestdataModuleEJBClient that extends EJBApplicationModuleImpl and implements BestdataModule interface. It contains all methods required without additional arguments (see just above). However, how must I create an object of BestdataModuleEJBClient class? That is a puzzle. Besides my custom methods the class has only two methods:
    protected bestdata.common.ejb.RemoteBestdataModule mRemoteAM;
    /*This is the default constructor (do not remove)*/
    public BestdataModuleEJBClient(RemoteApplicationModule remoteAM) {
    super(remoteAM);
    mRemoteAM = (bestdata.common.ejb.RemoteBestdataModule)remoteAM;
    public bestdata.common.ejb.RemoteBestdataModule getRemoteBestdataModule() {
    return mRemoteAM;
    It looks like the remote application module must already exist! In despair I tried to put down something of the kind at the client side:
    RemoteBestdataModule remoteInterface = homeInterface.create();
    BestdataModuleEJBClient dm = new BestdataModuleEJBClient(remoteInterface);
    dm.doNothingNoArgs();
    Of course, it results in an error.
    System Output: null
    System Error: java.lang.NullPointerException
    System Error: oracle.jbo.common.PiggybackOutput oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyForRemovedObjects(oracle.jbo.common.PiggybackOutput) (ApplicationModuleImpl.java:3017)
    System Error: byte[] oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyfront(boolea
    System Error: n) (ApplicationModuleImpl.java:3059)
    System Error: byte[] oracle.jbo.client.remote.ApplicationModuleImpl.getPiggyback() (ApplicationModuleImpl.java:3195)
    System Error: void bestdata.client.ejb.BestdataModuleEJBClient.doNothingNoArgs() (BestdataModuleEJBClient.java:33)
    System Error: void bes
    System Error: tclients.BestClients.main(java.lang.String[]) (BestClients.java:76)
    I have studied a lot of documents in vain. I have found only various senseless discourses:
    "Use the Application Module Wizard to make the Application Module remotable and export the method. This will generate an interface for HrAppmodule (HrAppmodule.java in the Common package) which contains the signature for the exported method promoteAllEmps(). Then, deploy the Application Module. Once the Application Module has been deployed, you can use the promoteAllEmps() method in your client-side programs. Calls to the promoteAllEmps() method in client-side programs will result in calls to the promote() method in the application tier."
    However, I have failed to find a single line of code explaining how it should be called.
    Can anybody help me?
    Best regards,
    Svyatoslav Konovaltsev,
    [email protected]
    null

    Dear Steven,
    1. Thank you very much. It seems to me that the problem is solved.
    2. "I logged into Metalink but it wants me to put in both a tar number and a country name to see your issue." It was the United Kingdom, neither the US nor Russia if you mean my issue.
    I reproduce the text to be written by everyone who encounters the same problem:
    package bestclients;
    import java.util.Hashtable;
    import javax.naming.*;
    import oracle.jbo.*;
    public class BestdataHelper {
    public static ApplicationModule createEJB()
    throws ApplicationModuleCreateException {
    ApplicationModule applicationModule = null;
    try {
    Hashtable environment = new Hashtable(8);
    environment.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    environment.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_EJB);
    environment.put(Context.SECURITY_PRINCIPAL, "TESTER");
    environment.put(Context.SECURITY_CREDENTIALS, "TESTER");
    environment.put(JboContext.HOST_NAME, "localhost");
    environment.put(JboContext.CONNECTION_PORT, new Integer("2481"));
    environment.put(JboContext.ORACLE_SID, "ORCL");
    environment.put(JboContext.APPLICATION_PATH, "/test/TESTER/ejb");
    Context ic = new InitialContext(environment);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup("bestdata.BestdataModule");
    applicationModule = home.create();
    applicationModule.getTransaction().connect("jdbc:oracle:kprb:@");
    applicationModule.setSyncMode(ApplicationModule.SYNC_IMMEDIATE);
    catch (NamingException namingException) {
    throw new ApplicationModuleCreateException(namingException);
    return applicationModule;
    package bestclients;
    import bestdata.common.*;
    import certificate.*;
    public class BestClients extends Object {
    public static void main(String[] args) {
    BestdataModule bestdataModule = (BestdataModule)BestdataHelper.createEJB();
    Certificate aCertificate = new Certificate("TESTER", "TESTER");
    //calling a custom method!!
    bestdataModule.passCertificate(aCertificate);
    Thank you very much,
    Best regards,
    Svyatoslav Konovaltsev.
    [email protected]
    null

  • Java exception: Planning Data Form Import/Export Utility: FormDefUtil.sh

    Hi,
    We have the following in our environment
    Oracle 10gAS (10.1.3.1.0)
    Shared Services (9.3.1.0.11)
    Essbase Server (9.3.1.3.01)
    Essbase Admin Services (9.3.1.0.11)
    Provider Services (9.3.1.3.00)
    Planning (9.3.1.1.10)
    Financial Reporting + Analysis UI Services (9.3.1.2)
    I got the following error while using the Planning Data Form Import/Export Utility. Does anyone have any idea?
    hypuser@server01>$PLANNING_HOME/bin/FormDefUtil.sh import TEST.xml localhost admin password SamApp
    [May 6, 2009 6:25:11 PM]: Intializing System Caches...
    [May 6, 2009 6:25:11 PM]: Loading Application Properties...
    [May 6, 2009 6:25:11 PM]: Looking for applications for INSTANCE: []
    [May 6, 2009 6:25:13 PM]: The polling interval is set =10000
    Arbor path retrieved: /home/hypuser/Hyperion/common/EssbaseRTC/9.3.1
    [May 6, 2009 6:25:14 PM]: Setting ARBORPATH=/home/hypuser/Hyperion/common/EssbaseRTC/9.3.1
    Old PATH: /home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/AnalyticServices/bin:/home/hypuser/Hyperion/common/JRE-64/IBM/1.5.0/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/hypuser/bin:/usr/bin/X11:/sbin:.
    [May 6, 2009 6:25:14 PM]: Old PATH: /home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/common/JRE/IBM/1.5.0/bin:/home/hypuser/Hyperion/AnalyticServices/bin:/home/hypuser/Hyperion/common/JRE-64/IBM/1.5.0/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/hypuser/bin:/usr/bin/X11:/sbin:.
    java.lang.UnsupportedOperationException
    at com.hyperion.planning.olap.HspEssbaseEnv.addEssRTCtoPath(Native Method)
    at com.hyperion.planning.olap.HspEssbaseEnv.init(Unknown Source)
    at com.hyperion.planning.olap.HspEssbaseJniOlap.<clinit>(Unknown Source)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
    at com.hyperion.planning.HspJSImpl.createOLAP(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.utils.HspFormDefUtil.main(Unknown Source)
    Setting Arbor path to: /home/hypuser/Hyperion/common/EssbaseRTC/9.3.1
    [May 6, 2009 6:25:15 PM]: MAX_DETAIL_CACHE_SIZE = 20 MB.
    [May 6, 2009 6:25:15 PM]: bytesPerSubCache = 5654 bytes
    [May 6, 2009 6:25:15 PM]: MAX_NUM_DETAIL_CACHES = 3537
    Setting HBR Mode to: 2
    Unable to find 'HBRServer.properties' in the classpath
    HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    java.lang.Exception: HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    HBRServer.properties:HBR.embedded_timeout=10
    HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
    at com.hyperion.hbr.api.thin.HBR.<init>(Unknown Source)
    at com.hyperion.hbr.api.thin.HBR.<init>(Unknown Source)
    at com.hyperion.planning.db.HspFMDBImpl.initHBR(Unknown Source)
    at com.hyperion.planning.db.HspFMDBImpl.initializeDB(Unknown Source)
    at com.hyperion.planning.HspJSImpl.createDBs(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.utils.HspFormDefUtil.main(Unknown Source)
    Caused by: Exception HBR Configuration has not been initialized. Make sure you have logged in sucessfully and there are no exceptions in the HBR log file.
    ClassName: java.lang.Exception
    at com.hyperion.hbr.common.ConfigurationManager.getServerConfigProps(Unknown Source)
    at com.hyperion.hbr.cache.CacheManager.<clinit>(Unknown Source)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
    ... 11 more
    [May 6, 2009 6:25:15 PM]: Regeneration of Member Fields Complete
    [May 6, 2009 6:25:16 PM]: Thread main acquired connection com.hyperion.planning.olap.HspEssConnection@5f0e5f0e
    [May 6, 2009 6:25:16 PM]: Thread main releasing connection com.hyperion.planning.olap.HspEssConnection@5f0e5f0e
    [May 6, 2009 6:25:16 PM]: Thread main released connection com.hyperion.planning.olap.HspEssConnection@5f0e5f0e
    [May 6, 2009 6:25:16 PM]: Need to create an Object. pool size = 0 creatredObjs = 1
    java.lang.RuntimeException: Unable to aquire activity lease on activity 1 as the activity is currently leased by another server.
    at com.hyperion.planning.sql.actions.HspAquireActivityLeaseCustomAction.custom(Unknown Source)
    at com.hyperion.planning.sql.actions.HspAction.custom(Unknown Source)
    at com.hyperion.planning.sql.actions.HspActionSet.doActions(Unknown Source)
    at com.hyperion.planning.sql.actions.HspActionSet.doActions(Unknown Source)
    at com.hyperion.planning.HspJSImpl.aquireActivityLease(Unknown Source)
    at com.hyperion.planning.HspJSImpl.reaquireActivityLease(Unknown Source)
    at com.hyperion.planning.utils.HspTaskListAlertNotifier.reaquireTaskListActivityLease(Unknown Source)
    at com.hyperion.planning.utils.HspTaskListAlertNotifier.processTaskListAlerts(Unknown Source)
    at com.hyperion.planning.utils.HspTaskListAlertNotifier.run(Unknown Source)
    [May 6, 2009 6:25:16 PM]: Fetching roles list for user took time: Total: 42
    [May 6, 2009 6:25:16 PM]: Entering method saveUserIntoPlanning
    [May 6, 2009 6:25:16 PM]: User role is:0
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HP:0005,ou=HP,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:1,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:9,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:3,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:7,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:14,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:15,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:10,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:12,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:13,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:1,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:9,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:3,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:7,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:14,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:15,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:10,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:12,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Skipping unused HUB role: native://DN=cn=HUB:13,ou=HUB,ou=Roles,dc=css,dc=hyperion,dc=com?ROLE
    [May 6, 2009 6:25:16 PM]: Hub Roles for user is:991
    [May 6, 2009 6:25:16 PM]: Exiting method saveUserIntoPlanning
    [May 6, 2009 6:25:16 PM]: Saved the user admin to Planning
    [May 6, 2009 6:25:16 PM]: Entering method persistUserChanges()
    [May 6, 2009 6:25:16 PM]: Exiting method persistUserChanges()
    [May 6, 2009 6:25:16 PM]: Before calling getGroupsList for user from CSS
    [May 6, 2009 6:25:16 PM]: After getGroupsList call returned from CAS with groupsList [Ljava.lang.String;@705c705c
    [May 6, 2009 6:25:16 PM]: Fetching groups list for user took time: Total: 4
    [May 6, 2009 6:25:16 PM]: Entering method persistGroupChanges()
    [May 6, 2009 6:25:16 PM]: Exiting method persistGroupChanges()
    [May 6, 2009 6:25:16 PM]: User synchronization of 1 user elapsed time: 81, Users: 72, Groups: 9.
    [May 6, 2009 6:25:16 PM]: Didnt add child Forms, couldnt find parent 1
    Add/Update form under form folder - Corporate
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspObject Object Type: -1 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspPDFPrintOptions Object Type: -1 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspForm Object Type: 7 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspPDFPrintOptions Object Type: -1 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspAnnotation Object Type: 14 Primary Key: 1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspAccessControl Object Type: 15 Primary Key: 50001,1454699 ]
    [May 6, 2009 6:25:21 PM]: Propegating external event[ FROM_ID: 7a7ebc1d Class: class com.hyperion.planning.sql.HspFormDef Object Type: -1 Primary Key: 1454699 ]
    Form imported complete.
    [May 6, 2009 6:25:21 PM]: Could not get HBR connection.

    Hi,
    When I run the Formdefutil command, forms were imported successfully. But I got the following message.
    Could not get HBR connection.
    What does it mean?
    Thanks & Regards,
    Sravan Kumar.

  • 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

  • How to export string in CDATA with the jaxb xml writer?

    How to export string in CDATA with the jaxb xml writer?
    It read CDATA no problem but it is lost on write.

    Found it:
    ### THIS WORKS WITH SUN JAXB REFERENCE IMPLEMENTATION. ###
    (Not tested with any other)
    In the xsd, you must create a type for your string-like element.
    Then associate a data type converter class to this new type, which will produce CDATA tags.
    Then you must set a custom characterEscapeHandler to avoid the default xml escaping in order to preserve the previously produced CDATA tag.
    Good luck.
    -----type converter-----
    import javax.xml.bind.DatatypeConverter;
    public class ExpressionConverter {
         * Convert an expression from an XML file into an internal representation. JAXB will
         * probably have already stripped off the CDATA encapsulation. As a result, this method
         * simply invokes the JAXB type conversion for strings but does not take any other action.
         * @param text an XML-compliant expression
         * @return a pure string expression
         public static String parse(String text) {
              String result = DatatypeConverter.parseString(text);
              return result;
         * Convert an expression from its internal representation to an XML-compliant version.
         * This method will simply surround the string in a CDATA block and return the result.
         * @param text a pure string expression
         * @return the expression encapsulated within a CDATA block
         public static String print(String text) {
              StringBuffer sb = new StringBuffer(text.length() + 20); //should add the length of the CDATA tags + 8 EOLs to be safe
              sb.append("<![CDATA[");
              sb.append(wrapLines(text, 80));
              sb.append("]]>");
              return DatatypeConverter.printString(sb.toString());
         * Provides line-wrapping for long text strings. EOL indicators are inserted at
         * word boundaries once a specified line-length has been exceeded.
         * @param text the string to be wrapped
         * @param lineLength the maximum number of characters that should be included in a single line
         * @return the new string with appropriate EOL insertions
         private static String wrapLines(String text, int lineLength) {
              //wrap logic, watchout for quoted strings!!!!
              return text;
    ------in caller----
    Marshaller writer = ......
    writer.setProperty("com.sun.xml.bind.characterEscapeHandler", new NoCharacterEscapeHandler());
    -----escaper-----
    import java.io.IOException;
    import java.io.Writer;
    import com.sun.xml.bind.marshaller.CharacterEscapeHandler;
    public class NoCharacterEscapeHandler implements CharacterEscapeHandler {
         * Escape characters inside the buffer and send the output to the writer.
         * @param buf buffer of characters to be encoded
         * @param start the index position of the first character that should be encoded
         * @param len the number of characters that should be encoded
         * @param isAttValue true, if the buffer represents an XML tag attribute
         * @param out the output stream
         * @throws IOException if the writing process fails
         public void escape(char[] buf, int start, int len, boolean isAttValue, Writer out) throws IOException {
              for (int i = start; i < start + len; i++) {
                   char ch = buf;
                   if (isAttValue) {
                        // isAttValue is set to true when the marshaller is processing
                        // attribute values. Inside attribute values, there are more
                        // things you need to escape, usually.
                        if (ch == '&') {
                             out.write("&");
                        } else if (ch == '>') {
                             out.write(">");
                        } else if (ch == '<') {
                             out.write("<");
                        } else if (ch == '"') {
                             out.write(""");
                        } else if (ch == '\'') {
                             out.write("&apos;");
                        } else if (ch > 0x7F) {
                             // escape everything above ASCII to &#xXXXX;
                             out.write("&#x");
                             out.write(Integer.toHexString(ch));
                             out.write(";");
                        } else {
                             out.write(ch);
                   } else {
                        out.write(ch);
              return;

  • Data Import error - Valuation Method (ODBC -1029)

    Hello all, first post on the SCN. I did some search for similar problems, but nothing seemed to help here.
    We are using Business One, two different companies and databases. We were at the time of the year to update the price list, so we used the Administration -> Data Import/Export -> Data Import -> Import from Excel.
    One company (US only) imports perfectly, but the other database (Canada + US) gives me the following error message on 91 / 1036 entries.
    Row Number xxx : [Items - Valuation Method] , 'Field cannot be updated (ODBC -1029)
    Since the errors only appears on one of the two databases, I ruled out that the excel sheet we used to be the problem.
    The excel sheet only has 4 columns : The item identification, the price list that it needs to update, the price, and the currency (USD or $ for us).
    Neither of the two companies use any valuation method. In fact, neither companies have the field at all in Item Master Data, and its grayed out in the Company Details.
    We also made a dump of the entire item database, and compared what items were imported successfully and those that generated the error, and while the column Valuation Method either had nothing or A, there was no pattern to it. Some errors had nothing, some had A in it.
    I checked for any other differences between items that were imported and the ones with error, and cannot see any visible differences, so all I can think here is that its either an invisible setting when the item was created, or there's some character that is creating a fault somewhere (like an empty space).
    One of the topics found on this error message (ODBC -1029) said that we might need to request a script to fix the database, but that topic was back in 2006, I'm not sure if it still applies, 8 years later.
    Essentially I ran out of things to try on my end. Now I can only ask to the experts.
    Thank you for your time!

    The company that has troubles importing does not allow us to change the Valuation Method for each item. The field is missing entirely from the Item Master Data. I included a screenshot.
    The field is grayed out in the Company Details, but its set as Moving Average. The other company uses Moving Average by default as well, from the looks of it (the field does appear in Item Master Data, but its grayed out).
    We used the same excel sheet to import data in both companies, just need to figure out why its 100% on one side and not on the other side.
    Just to be a bit more clear, we cannot select or visualize the Valuation Method on the items that are not getting imported. Its invisible.
    When we exported the full list of items, there was no pattern between the items that are not imported and those that are imported properly.
    To be clear, the Valuation Method for :
    Items that are imported properly are A or blank.
    Items that are not imported and generate an error are A or blank.
    There is no logic between those that work and those that do not, which is why I can't figure it out on my own.
    Thank you!

  • Import/export in abap oo

    i want to write import and export in method.
    what is thye syntax.
    i write:
    get free memory : zflag.
    if zflag is initial.
    bla bla.....
    zflag= 1
    endif.

    Try as below:
    IMPORT zflag = zflag FROM MEMORY ID <mid>.
    and
    EXPORT zflag = zflag TO MEMORY ID <mid>.
    Make sure the definition of ZFLAG is same in both methods should they be used in different methods.
    Regards
    Eswar

  • IMPORT/EXPORT statement in Background Mode

    Hey dudes,
    I am facing a problem in my coding. I am dealing with coding in several events in IS-U, transaction FPY1.
    However, it's not so important ya. Now I am written some code on IMPORT and EXPORT some parameters between 2 program code. It's work very fine only in 'DEBUG MODE', but when it's running not debug mode (Is BACKGROUND MODE), coz it's massive run program.
    I suspect it's because of the background job. Does background job using ABAP Memory? IMPORT/EXPORT is only for dialog work process, not background work process?? I have a lot of question mark on my head now..
    Hope anyone facing dis issue before can help.
    Cheers,
    Isaac.

    Are you trying to pass data via EXPORT/IMPORT between two programs that are both running in background, or from an online session to a background process?... i.e. what are the two lots of program code that you are wanting to pass parameters between? 
    It would be fine for a background program to "export" data to a memory ID, then for the same batch program to submit another program that does the "import" from the same memory ID... but this method won't work for an online user doing an "export" and a batch job doing an "import" -> for this to work, you would need to persist the parameters so that the batch job can retrieve them.
    If you can explain the scenario a bit more, will try to offer more help...
    Jonathan

  • 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

  • IMPORT/EXPORT in RFC

    Hello,
    I am programming an RFC that sends a XSTRING a Java web portal, and in this case I have to send a PDF XSTRING generated on the SAP server.
    Therefore I am calling the program that generates the PDF and the return string of bits through the RFC IMPORT / EXPORT, and the problem I have that I do not get the RFC, but the program is making the process well.
    As I do?
    I've checked several forums on SDN and I have not seen anything that I have fixed the problem.
    Greetings.

    Hi
    Have you tried with a debug??
    the destination is correct??
    regards
    Marco

  • 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

Maybe you are looking for

  • Xml Publisher  run time error '5148'

    Dear I am using XML publisher to convert data in excel from the oracle,so first i have generated data in xml by report builder and open xml file in Word document through >template builder >data > load xml data,it's find but i use insert menu and sele

  • Rerouting or transfering the customer through PSTN

    Dear Sir, i need help in configuring ICM script ,CVP,and other need compoents to acheive  the following : simply , the customer dialed certain DN to hit the Ingress gateway ,trigers ICM Microapplication script ,hears menu options,one of options allow

  • Purchase Order Pricing tables

    Hi all, Please help me with the table that holds the pricing condition values in purchase order. Requirement is that abaper need the table that holds the value given against the condition type in conditions tab in PO item level, for a particular PO.

  • Customer Hierarchies

    Hi All, I have never done customer Hierarchies in SAP I need to do for one of my clinets. Can someone has some write up including screenshots regarding the basics, config to be done, master data and transaction data , condition records etc to be main

  • Query in understanding of htf.anchor

    Hi , Can someone help me in understanding the below piece if plsql code which is embedded in htf.anchor. Is the following code will show the output like the one table will be formed with one row where a link will be visible and if we click on that th