Regarding Simple Type

Hi All,
I have created a simple type of Double and binded it to the price attribute.
My aim is to diaplay only two digits after the decimal point.
I have given the format of the simple type as "#.##".
But it is showing even 10 digits after the decimal point.
Please help me with a solution.
Regards
Vivek.

Hi Vivekanandhan,
check this code.
DecimalFormat myformat = new DecimalFormat("0.00");
String fornatedNumber = myformat.format(wdContext.currentContextElement().getDecvar());
wdComponentAPI.getMessageManager().reportSuccess("Formated Number"+fornatedNumber);
or
String fornatedNumber =wdContext.currentContextElement().getDecvar().toString();
     fornatedNumber = fornatedNumber.substring(0,fornatedNumber.length()-2)"."fornatedNumber.substring(fornatedNumber.length()-2);
    wdComponentAPI.getMessageManager().reportSuccess("Formated Number : "+fornatedNumber);
http://www.javafaq.nu/java-article671.html
Regards,
Mithu

Similar Messages

  • Select query based on Simple Type field in JDT

    Hello Experts,
    We have a JDT table consisting of a field "CONSUMPTION_ID" which refers to a Simpletype.So at oracle level the datatype of the field shows as CLOB instead of String. I am unable to use this simple type field in the WHERE clause in my bean .
    Following are the queries i have tried and the errors i have got executing them :
    Query1 -  SELECT * FROM TEST_TABLE WHERE CONSUMPTION_ID <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM "TEST_TABLE " WHERE "REF_MAT_DOC_NO" = ? AND "REF_MAT_DOC_YEAR" = ? AND "CONSUMPTION_ID" <> 'RT'" contains the semantics error[s]: - 1:84 - type check error: the expression >>"CONSUMPTION_ID"<< (CLOB) is not comparable and must not be used with "<>"
    - 1:84 - type check error: the left hand side >>"CONSUMPTION_ID"<< (CLOB) and the right hand side >>'RT'<< (CHAR) of a comparison operator are not comparable
    Query 2 - SELECT * FROM TEST_TABLE WHERE to_char(CONSUMPTION_ID) <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM TEST_TABLE  WHERE REF_MAT_DOC_NO = ? AND REF_MAT_DOC_YEAR = ? AND to_char(CONSUMPTION_ID) <> 'RT'" contains the syntax error[s]: - 1:91 - SQL syntax error: the token "(" was not expected here
    Please let me know if any one has used WHERE clause on fields which refer to a simpletype in JDT, or any other solution to the above problem
    Regards,
    Virag

    Hello Experts,
    We have a JDT table consisting of a field "CONSUMPTION_ID" which refers to a Simpletype.So at oracle level the datatype of the field shows as CLOB instead of String. I am unable to use this simple type field in the WHERE clause in my bean .
    Following are the queries i have tried and the errors i have got executing them :
    Query1 -  SELECT * FROM TEST_TABLE WHERE CONSUMPTION_ID <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM "TEST_TABLE " WHERE "REF_MAT_DOC_NO" = ? AND "REF_MAT_DOC_YEAR" = ? AND "CONSUMPTION_ID" <> 'RT'" contains the semantics error[s]: - 1:84 - type check error: the expression >>"CONSUMPTION_ID"<< (CLOB) is not comparable and must not be used with "<>"
    - 1:84 - type check error: the left hand side >>"CONSUMPTION_ID"<< (CLOB) and the right hand side >>'RT'<< (CHAR) of a comparison operator are not comparable
    Query 2 - SELECT * FROM TEST_TABLE WHERE to_char(CONSUMPTION_ID) <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM TEST_TABLE  WHERE REF_MAT_DOC_NO = ? AND REF_MAT_DOC_YEAR = ? AND to_char(CONSUMPTION_ID) <> 'RT'" contains the syntax error[s]: - 1:91 - SQL syntax error: the token "(" was not expected here
    Please let me know if any one has used WHERE clause on fields which refer to a simpletype in JDT, or any other solution to the above problem
    Regards,
    Virag

  • Error on Activation : BuiltIn Type or Simple Type expected

    Dear All,
    I imported a DC from NWDI and made some changes. When i checked in the changes and clicked on Activate option, i got an error.
    I figured out that certain files related to a simple type were not present on DTR.
    Check this : [Error while activating DC;
    However, when i tried to add these files to the DTR, the activity which I had used previously was not available in Open Activities. It had moved to Closed Activities.
    So I created another activity and added the file to DTR successfully.
    However, the above error still persists when I try to activate the first activity which has all the changes.
    Following is the activation log:
    Development Component Build (2008-12-22 03:34:50)
      Component name: hal/refx/sdbs/request
      Component vendor: halliburton.com
      SC compartment: halliburton_HAL_SDBS_1
      Configuration: PDI_CITSDBS_D
      Location: PDI_CITSDBS_D
      Source code location: http://NWDI:51000/dtr/ws/CITSDBS/halliburton_HAL_SDBS/dev/active/DCs/halliburton.com/hal/refx/sdbs/request/_comp/
      DC root folder: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_comp
      DC type: Web Dynpro
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/cmi"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/logging"
       validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
       validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
       validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/webDynpro
       starting build plugin from : E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCssap.com     c i pwebDynpro\_compgendefaultpublicwebDynpro
    Build Plugin 'WebdynproPlugin', Version 7.00 SP 13 (645_VAL_REL, built on 2007-08-11 18:37:55 CEST, CL72348)
       development component:  hal/refx/sdbs/request (halliburton.com)
          software component:  HAL_SDBS (halliburton)
                    location:  PDI_CITSDBS_D
                        type:  Web Dynpro
               build variant:  default
             source location:  SAPServicePDI@localhost
             output location:  E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefault
           plugin start time:  2008-12-22 03:34:51 GMT-06:00 (CST)
                     Java VM:  Java HotSpot(TM) 64-Bit Server VM, 1.4.2_12-b03 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Warning: Source folder "META-INF" exists but is empty and will be ignored.
    Warning: Source folder "src/mimes" exists but is empty and will be ignored.
    Warning: Source folder "src/configuration" exists but is empty and will be ignored.
    Checking path lengths for sources
    Path length checks finished in 0.078 seconds
    Preparing data context..
    No public part descriptor found for component "tc/cmi" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/ddic/ddicruntime" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/ddic/metamodel/content" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/wd/webdynpro" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/logging" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/wdp/metamodel/content" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.aii.proxy.framework" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.aii.util.misc" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.exception" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.mw.jco" (vendor "sap.com"), public part "default", using legacy mode.
    No 'default' JDK defined, will use running VM.
    Data context preparation finished in 0.297 seconds
    Creating Ant build file..
      Creating output file: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefaultlogs uild.xml
      Using macro file:     E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCssap.com     c i pwebDynpro\_compgendefaultpublicwebDynpromacros uild.vm
    Build file creation finished in 0.281 seconds
    Starting Ant..
      Using build file:     E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefaultlogs uild.xml
      Using build target:   build
      Generation folder:    E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590     8FE455C19F0471A21406A9CE51EECCA0
      Using Ant version:    1.6.2
    compile:
          [echo] Starting dictionary generator
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compsrcpackages
         [ddgen] [Info]    Property targetpath: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590     8FE455C19F0471A21406A9CE51EECCA0gen_ddic
         [ddgen] [Info]    Property archivename: halliburton.comhalrefxsdbsrequest
         [ddgen] [Info]    Property vendor: halliburton.com
         [ddgen] [Info]    Property dcname: hal/refx/sdbs/request
         [ddgen] [Info]    Property projectlanguage: en
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       logging.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.perf.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypeServices.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypesRuntime.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_proxy_rt.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_util_misc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       jrfc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       cmiapi.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproadmin.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynprobasesrvc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository_pmr.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproservices.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproclientserver.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodel_dynamicrfc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodelimpl.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpropdfobject.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproportal.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproprogmodel.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling_api.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       exception.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Fegrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/PackagePointer.java
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vkbur.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vbeln_Va.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Manum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmtxt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Magrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Material_External.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Rcode.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Hequi.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urcod.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aknum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Peturma.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kostl.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ingrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Iwerk.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Balognr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmobjnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Symsgid.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ernam.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Iloan.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urgrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Fld.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bstkd.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aedat.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ort01.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Tzonso.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Tidnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aufnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mzeit.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Addrnum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmanum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmdat.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bdc_Mid.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Erdat.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/J_Objnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Sttxt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Submt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Tlnmbr1.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Assembly_Guid.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Landx.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Gewrk.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Eqart.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qkunum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Warpl.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/I_Count.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qobjkey.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vtweg.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Otgrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Auszt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Daufn.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kzloesch.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/I_Parnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmsm_Parvw.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Oteil.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Auztv.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Swo_Objtyp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Mtype.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ausvn.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ilom_Ordst.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ppsid.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Auztb.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ausbs.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Swerk.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Anln1.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmnum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Msg.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mncod.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_City2.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Binreltyp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Deviceid.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Char1.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmdab.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kdauf.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Roomnum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mfgrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Maueh.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapiwait.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bautl.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Abnum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmart.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Zde_Email.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ktx01.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Name2.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Parvw.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Telnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urnum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Msaus.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Konty.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aezeit.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mfcod.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pstur.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Prq_Spregt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vkorg.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pm_Posid_Header.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Fecod.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bstdk.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Persno.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Felfd.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qlfdpos.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Param.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kokrs.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Symsgv.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmgrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pltxt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bezdt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Gsber.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmzab.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Logsys.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urstx.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapilogsys.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmsmerlnam.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Matxt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Assembly_External.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Natio.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pmloc.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Tdformat.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Assembly_Version.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qsmnum.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bdc_Mnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Line.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Raumnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Land1.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Landx50.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Artpr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Strur.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aenam.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Matnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Txt30.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Psterma.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Erzeit.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Fetxt.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Zlname.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Peter.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Bldng_P.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bezur_D.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pster.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/comp/types/ChargeType.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/comp/types/PackagePointer.java
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Balmnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Swo_Typeid.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Symsgno.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kzmla.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bukrs.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/So_Text255.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Priok.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vkgrp.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bdc_Mart.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Petur.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Cadnr.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Stort.gsimpletype
         [ddgen] [Info]    Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapiret2.gstructure
         [ddgen] [Error]   Structure com.halliburton.esg.erp.re.models.manufacturing.types.Bapi2080_Notcausi is not generated
         [ddgen] [Error]   BuiltIn Type or Simple Type expected
         [ddgen] [Info]    Catching throwable null
         [ddgen] [Info]    com.sap.dictionary.generation.ant.GenerationAntTaskError
         [ddgen]      at com.sap.dictionary.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:171)
         [ddgen]      at com.sap.dictionary.tools.generation.Generation.generatePersistentStructure(Generation.java:480)
         [ddgen]      at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:168)
         [ddgen]      at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:47)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [ddgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [ddgen]      at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:219)
         [ddgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         [ddgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
         [ddgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
         [ddgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [ddgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         [ddgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
         [ddgen]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:59)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:214)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:186)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [ddgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
         [ddgen]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
         [ddgen] ERROR: Unknown exception during generation null (com.sap.dictionary.generation.ant.GenerationAntTaskError)
         [ddgen] ERROR: Generation failed due to errors (3 seconds)
    Error: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefaultlogs uild.xml:80: [Error]   Generation failed!
         at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:59)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:214)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:186)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
         at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
         at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
         at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
         at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
         at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
         at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
         at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
    Ant runtime 3.469 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Build plugin finished at 2008-12-22 03:34:56 GMT-06:00 (CST)
    Total build plugin runtime: 4.954 seconds
    Build finished with ERROR
    Kindly suggest a solution.
    Thanks and regards,
    Mayuresh

    Mayuresh,
    I am not a developer, but it seems to me that just adding required Dictionary DC to DTR is not enough.
    You need to add it as a used DC to your broken DC before your broken DC can be built.
    This might help:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    http://help.sap.com/saphelp_nw04s/helpdata/en/c0/2a6a09e6b9e54aace2adf40260337e/frameset.htm
    Regards,
    Slava

  • How to refer global simple types in another schema?

    Hello All,
    Any help would be greatly appreciated. My problem is , I have a global.xsd schema which declare simple types such as
    <xsd:simpleType name="DecimalMin1Max14Places2Type">
    <xsd:restriction base="xsd:decimal">
    <xsd:totalDigits value="14"/>
    <xsd:fractionDigits value="2"/>
    </xsd:restriction>
    </xsd:simpleType>
    I am referring to this type in my another schema forms.xsd. It is used as an attribute to an element. for example an element in forms.xsd is
    <xsd:element name="BudgetFourthYearAmount" type="glob:DecimalMin1Max14Places2Type"/>
    where glob is the prefix associated with global.xsd
    I am sucessfully able to register global.xsd in xdb, but when i try to register forms.xsd, i get sql mapping error. Oracle is able to resolve all the global elements from global.xsd , but it cannot resolve the global simple types i declared.
    My question is how i can refer global simple types declared in one xsd and use them in another xsd?
    Thank you,
    Maninder

    Using an include statement in forms.xsd to import in the global.xsd
    <xs:include schemaLocation="Global.xsd"/>
    If Global.xsd was the shcema_url that you registered the first xsd to.
    Regards
    Coby

  • How do I get enumeration description from simple type?

    Hello!
    I want to display the value of a simple type in a table and display the description in a tool tip for the cell, how do I do that?
    I'm using Web dynpro for java 7.0 ehp1.
    I'm using an enumeration with 5 possible values with corresponding descriptions.
    If I use a (read only) dropdownByKey the description is shown in the drop down, but I only want to show it as a tooltip since it takes up some screen space.
    I would like to use a textview, is there a simple way to get the description as a tooltip? I thought about doing a calculated attribute that gets the description but I'm not sure about how to do it or if its the easiest way.
    Thank you for any help!

    Hi Richard,
    for getting the description of the simple type attribute ( Ex.X) create a context attribute of type string (Ex. Y) and bind it to the tooltip property of table cell editor.
    Set the read only and calculated property of the attribute Y to true.
    Put this code in the automatic generated method for calculated attribute :-
    String value1 = nodeElement.getX;
    IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("X");
    ISimpleValueSet valueset = attInfo.getModifiableSimpleType().getSVServices().getValues();
    if(valueset.containsKey(value1)){
    String value2 = valueset.getText(value1);
    wdContext.node<NodeName>.setY(value2);
    By this way you can set the description of the simple type as tooltip but by using dropdown by key and index you cannot  show the valueof the simple type in the UI.
    So another way is bind the simple type attribute to a inputfield uielement in the table column.  Your simple type enumeration data will come as a F4 help in the UI and after selection you will be able to see value in inputt field and description as a tooltip.
    Regards
    Ravindra

  • Simple type of type integer

    Hi All,
    I have create simple type which is of type integer. And i have set the maximum and minimum length for the simple type which is bounded with the input field. When i try to display it, it displayes with ",".
         Example 70,000,000.
    My require is to remove the commas in between the number. Is there solution for this.
    Regards,
    Revathy Madhavan.

    Hi Revathy,
    the display of numbers is localized, here in germany I see "70.000.000". So whenever you change the behaviour, consider that you skip the automated localization provided by sap.
    That said: Open your simple type and go to the "Representation" Tab. in the right upper corner, enter "#" into the field format.
    Problem solved.
    If you want to know more, read the java api of NumberFormat which describes various options for Number presentations based on String patterns.
    Jan

  • NWDI - Error on Activation : BuiltIn Type or Simple Type expected

    Dear All,
    I imported a DC from NWDI and made some changes. When i checked in the changes and clicked on Activate option, i got an error.
    I figured out that certain files related to a simple type were not present on DTR.
    Check this : Error while activating DC
    However, when i tried to add these files to the DTR, the activity which I had used previously was not available in Open Activities. It had moved to Closed Activities.
    So I created another activity and added the file to DTR successfully.
    However, the above error still persists when I try to activate the first activity which has all the changes.
    Following is the activation log:
    Development Component Build (2008-12-22 03:34:50)
    Component name: hal/refx/sdbs/request
    Component vendor: halliburton.com
    SC compartment: halliburton_HAL_SDBS_1
    Configuration: PDI_CITSDBS_D
    Location: PDI_CITSDBS_D
    Source code location: http://NWDI:51000/dtr/ws/CITSDBS/halliburton_HAL_SDBS/dev/active/DCs/halliburton.com/hal/refx/sdbs/request/_comp/
    DC root folder: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_comp
    DC type: Web Dynpro
    DC Model check:
    All used DCs are available locally
    validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
    validating dependency to public part "default" of DC "sap.com/tc/cmi"
    validating dependency to public part "default" of DC "sap.com/tc/ddic/ddicruntime"
    validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
    validating dependency to public part "default" of DC "sap.com/tc/wd/webdynpro"
    validating dependency to public part "default" of DC "sap.com/tc/logging"
    validating dependency to public part "default" of DC "sap.com/tc/wdp/metamodel/content"
    validating dependency to public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
    validating dependency to public part "default" of DC "sap.com/com.sap.aii.util.misc"
    validating dependency to public part "default" of DC "sap.com/com.sap.exception"
    validating dependency to public part "default" of DC "sap.com/com.sap.mw.jco"
    DC model check OK
    Start build plugin:
    using build plugin: sap.com/tc/bi/bp/webDynpro
    starting build plugin from : E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCssap.com     c i pwebDynpro\_compgendefaultpublicwebDynpro
    Build Plugin 'WebdynproPlugin', Version 7.00 SP 13 (645_VAL_REL, built on 2007-08-11 18:37:55 CEST, CL72348)
    development component: hal/refx/sdbs/request (halliburton.com)
    software component: HAL_SDBS (halliburton)
    location: PDI_CITSDBS_D
    type: Web Dynpro
    build variant: default
    source location: SAPServicePDI@localhost
    output location: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefault
    plugin start time: 2008-12-22 03:34:51 GMT-06:00 (CST)
    Java VM: Java HotSpot(TM) 64-Bit Server VM, 1.4.2_12-b03 (Sun Microsystems Inc.)
    General options:
    convert *.xlf to *.properties: yes
    include sources for debugging: yes
    Warning: Source folder "META-INF" exists but is empty and will be ignored.
    Warning: Source folder "src/mimes" exists but is empty and will be ignored.
    Warning: Source folder "src/configuration" exists but is empty and will be ignored.
    Checking path lengths for sources
    Path length checks finished in 0.078 seconds
    Preparing data context..
    No public part descriptor found for component "tc/cmi" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/ddic/ddicruntime" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/ddic/metamodel/content" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/wd/webdynpro" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/logging" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "tc/wdp/metamodel/content" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.aii.proxy.framework" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.aii.util.misc" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.exception" (vendor "sap.com"), public part "default", using legacy mode.
    No public part descriptor found for component "com.sap.mw.jco" (vendor "sap.com"), public part "default", using legacy mode.
    No 'default' JDK defined, will use running VM.
    Data context preparation finished in 0.297 seconds
    Creating Ant build file..
    Creating output file: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefaultlogs uild.xml
    Using macro file: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCssap.com     c i pwebDynpro\_compgendefaultpublicwebDynpromacros uild.vm
    Build file creation finished in 0.281 seconds
    Starting Ant..
    Using build file: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefaultlogs uild.xml
    Using build target: build
    Generation folder: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590     8FE455C19F0471A21406A9CE51EECCA0
    Using Ant version: 1.6.2
    compile:
    echo Starting dictionary generator
    ddgen
    ddgen Info Property deployment is true: Deployment information is provided!
    ddgen Info Property sourcepath: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compsrcpackages
    ddgen Info Property targetpath: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590     8FE455C19F0471A21406A9CE51EECCA0gen_ddic
    ddgen Info Property archivename: halliburton.comhalrefxsdbsrequest
    ddgen Info Property vendor: halliburton.com
    ddgen Info Property dcname: hal/refx/sdbs/request
    ddgen Info Property projectlanguage: en
    ddgen Info Property language: Available languages are automatically determined!
    ddgen Info Property addpaths ...
    ddgen Info SapMetamodelWebdynproContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
    ddgen Info SapMetamodelDictionaryContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
    ddgen Info logging.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
    ddgen Info logging.perf.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
    ddgen Info SapDictionaryTypeServices.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
    ddgen Info SapDictionaryTypesRuntime.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
    ddgen Info aii_proxy_rt.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
    ddgen Info SapMetamodelDictionaryContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
    ddgen Info SapMetamodelWebdynproContent.zip - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
    ddgen Info aii_util_misc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
    ddgen Info jrfc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
    ddgen Info cmiapi.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproadmin.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynprobasesrvc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproruntime_repository.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproruntime_repository_pmr.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproservices.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproclientserver.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynpromodel_dynamicrfc.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynpromodelimpl.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynpropdfobject.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproportal.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproprogmodel.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproruntime_designtime_coupling.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info webdynproruntime_designtime_coupling_api.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
    ddgen Info exception.jar - E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
    ddgen Info Initialize generation templates from configuration jar:file:/E:/usr/sap/PDI/J10/j2ee/cluster/server0/temp/CBS/e3/.B/11590/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Fegrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/PackagePointer.java
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vkbur.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vbeln_Va.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Manum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmtxt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Magrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Material_External.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Rcode.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Hequi.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urcod.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aknum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Peturma.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kostl.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ingrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Iwerk.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Balognr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmobjnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Symsgid.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ernam.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Iloan.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urgrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Fld.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bstkd.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aedat.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ort01.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Tzonso.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Tidnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aufnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mzeit.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Addrnum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmanum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmdat.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bdc_Mid.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Erdat.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/J_Objnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Sttxt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Submt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Tlnmbr1.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Assembly_Guid.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Landx.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Gewrk.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Eqart.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qkunum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Warpl.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/I_Count.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qobjkey.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vtweg.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Otgrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Auszt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Daufn.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kzloesch.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/I_Parnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmsm_Parvw.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Oteil.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Auztv.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Swo_Objtyp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Mtype.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ausvn.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ilom_Ordst.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ppsid.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Auztb.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ausbs.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Swerk.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Anln1.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmnum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Msg.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mncod.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_City2.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Binreltyp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Deviceid.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Char1.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmdab.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kdauf.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Roomnum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mfgrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Maueh.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapiwait.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bautl.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Abnum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmart.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Zde_Email.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ktx01.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Name2.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Parvw.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Telnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urnum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Msaus.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Konty.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aezeit.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mfcod.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pstur.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Prq_Spregt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vkorg.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pm_Posid_Header.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Fecod.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bstdk.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Persno.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Felfd.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qlfdpos.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Param.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kokrs.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Symsgv.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmgrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pltxt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bezdt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Gsber.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmzab.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Logsys.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Urstx.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapilogsys.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qmsmerlnam.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Matxt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Assembly_External.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Natio.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pmloc.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Tdformat.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Mgv_Assembly_Version.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Qsmnum.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bdc_Mnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapi_Line.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Raumnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Land1.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Landx50.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Artpr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Strur.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Aenam.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Matnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Txt30.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Psterma.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Erzeit.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Fetxt.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Zlname.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Peter.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Ad_Bldng_P.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bezur_D.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Pster.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/comp/types/ChargeType.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/comp/types/PackagePointer.java
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Balmnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Swo_Typeid.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Symsgno.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Kzmla.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bukrs.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/So_Text255.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Priok.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Vkgrp.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bdc_Mart.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Petur.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Cadnr.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Stort.gsimpletype
    ddgen Info Generating datatypes/com/halliburton/esg/erp/re/models/manufacturing/types/Bapiret2.gstructure
    ddgen Error Structure com.halliburton.esg.erp.re.models.manufacturing.types.Bapi2080_Notcausi is not generated
    ddgen Error BuiltIn Type or Simple Type expected
    ddgen Info Catching throwable null
    ddgen Info com.sap.dictionary.generation.ant.GenerationAntTaskError
    ddgen at com.sap.dictionary.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:171)
    ddgen at com.sap.dictionary.tools.generation.Generation.generatePersistentStructure(Generation.java:480)
    ddgen at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:168)
    ddgen at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:47)
    ddgen at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ddgen at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    ddgen at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    ddgen at java.lang.reflect.Method.invoke(Method.java:324)
    ddgen at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:219)
    ddgen at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    ddgen at org.apache.tools.ant.Task.perform(Task.java:364)
    ddgen at org.apache.tools.ant.Target.execute(Target.java:341)
    ddgen at org.apache.tools.ant.Target.performTasks(Target.java:369)
    ddgen at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    ddgen at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
    ddgen at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:59)
    ddgen at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:214)
    ddgen at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:186)
    ddgen at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    ddgen at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    ddgen at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ddgen at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    ddgen at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    ddgen at java.lang.reflect.Method.invoke(Method.java:324)
    ddgen at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    ddgen at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
    ddgen at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
    ddgen at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
    ddgen at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
    ddgen at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
    ddgen at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
    ddgen ERROR: Unknown exception during generation null (com.sap.dictionary.generation.ant.GenerationAntTaskError)
    ddgen ERROR: Generation failed due to errors (3 seconds)
    Error: E:usrsapPDIJ10j2eeclusterserver0     empCBSe3.B11590DCshalliburton.comhal
    efxsdbs
    equest\_compgendefaultlogs uild.xml:80: Error Generation failed!
    at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:254)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:59)
    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:214)
    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:186)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
    at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
    at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
    at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
    at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
    at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
    at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
    at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
    at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
    at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
    Ant runtime 3.469 seconds
    Ant build finished with ERRORS
    Error Generation failed!
    Error: Build stopped due to an error: Error Generation failed!
    Error: Build stopped due to an error: Error Generation failed!
    Build plugin finished at 2008-12-22 03:34:56 GMT-06:00 (CST)
    Total build plugin runtime: 4.954 seconds
    Build finished with ERROR
    Kindly suggest a solution.
    Thanks and regards,
    Mayuresh

    I think you have missed some of the things in the activity to add,
    go to the DTR prespective, see anythin is in the home sysmbol, add that to new activity except the gen folder and classpath all those files in the below, other than that you can add all those to the acitivity and check in the same,
    Cheers,
    Apparao

  • Reading valueset of a  mapped Simple Type

    Hi,
    We have a attribute coming from a model. This attribute is of a simple type format.
    we have a scenario where we have to read the number of values in the enumeration  of the simple type.
    Since its mapped , it a modifiablesimpletype could not be obtained.
    How else can we get the vaue set ?
    Regards
    Bharathwaj

    Hi,
    Anil : Oh ya.. Just a simple type is sufficient...! I guess it should solve the problem .. ! Will try and update.
    Satyajit : Not sure abt this. It should also work.
    Enumeration might not exist. It throws a NULL pointer in my case.
    Thanks and Regards
    Bharathwaj
    Message was edited by: Bharathwaj R
            Bharathwaj R

  • How to use simple types for table column names ?

    Hi,
    can any one tell how to to use simple types for table column names?
    It is required in internationalizing of webdynpro applications.
    Regards,
    Rajesh

    Hi,
    1: define required column names in <SimpleType>
    2:use the following code to get those values
    3:bind 'text' property of Column headers to context attributes
    4:take a context attribute 'Value' as type of <SimpleType>
    5:set these values to context attributes
    IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
    ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
    Map m=simple.getEnumerationTexts();
    Collection c=m.values();
    Iterator it=c.iterator();
    if(it.hasNext())
    wdContext.currentContextElement.set<att1>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att2>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att3>(it.next().toString);
    Regards
    LakshmiNarayana

  • Simple Type Enumeration Problem

    Hi,
    i have one simple type with an enumeration in a dictionary DC. I use this Simple Type in a WebDynpro Screen for Dropdown Value Help.
    There were some values before and it worked very well. After that I have added one more value with key 40.
    I can see the new value in the dropdown. If I choose this value and click on "OK" I get this error from the screen:
    java.lang.IllegalArgumentException: Value '40' of type ... fails validation check: enumeration="10, 20, 30"
    I tried the following:
    - Reload / Rebuild DC's
    - Delete the simpleType and create it new with new public part and new dependency to WD
    - Complete Undeploy and new deployment of all components
    I still get the same error.  Also when I'm changing the new value I get this error.
    Any suggestions?
    Thanks in advance
    BR, Timo

    HI,
    Please try following, I hope it would be helpful
    1. Close the Dc, go to Navigator and right click on the project and Refresh.
              Try to Delpoy and check
    2. Close NWDS, start again and deploy again.
         This may sound weird.. but this has sometimes managed to remove error like these for me
    Regards,
    Aditya Deshpande

  • Need example for code use with Simple Type Enumeration

    Hello,
    I've created a Simple Type Enumeration in my Web DynPro Project's Local Directory.
    I see that there is an option there to generate a class representation of this Enumeration. Can someone please show me an example code of how to use this Class. For example, to go over the Enumeration and get all the values?

    hi Roy,
    Try this.
    Iterator chk =
    wdContext.nodeB().getNodeInfo().getAttribute("val").getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet().entrySet().iterator();
    I will check it and tel u in some time...
    Regards
    Bharathwaj
    Message was edited by: Bharathwaj R

  • Simple Type Format Validation

    Hi,
    I have a simple type Buil-In Type double with External Representation->Format as follows: "$ ###,##0.00"
    My attribute is binded to an Inputfield and the data is presented correcty, for example "$ 2,000.00".
    But my problem is when the user wants to change that value and gives for example "1000" on that same Inputfield, on any action the framework is validating that the input data is in incorrect format, and the user has to enter explicit the format with the currency symbol "$"...
    Is there a way I can avoid this validation?
    I do want the framework to validate if the value is a Build-in type double and showed as currency on screen, but let the user the capability to enter any number without the format with the sign "$"
    Is this possible???
    Thanks in advance.

    Hi Alan,
    You can use the concept of calculated attribute for achieving this. Create a calculated attribute based on this attribute.
    Once the user enter something in the input field and some action is called by framework, the caculated setter method will be called and then  you can change the format in which ever way you want.
    A calculated attribute is an attribute that is not stored by the element, but calculated each time the attribute is accessed. Therefore it must be marked in the IDE and controller methods must be declared.
    Calculated attributes can have getters and (unless they are read only) setters. The getter calls the declared controller method with the following signature:
                          AttrClass getNodenameAttributename(NodenameElement element);
    It is expected to calculate and return the value based on other values of the element.
    The setter is only generated if the attribute is not marked read only. It has the following signature:
                          void setNodenameAttributename(NodenameElement element, AttrClass value);
    This method is expected to modify other attributes of the element based on the given value. It does not mark anything changed by itself. Only the modification of other attributes leads to updates of the GUI.
    (The above method names are proposals of the IDE. You may change them.)
    Refer to these links as well:
    http://help.sap.com/saphelp_sm32/helpdata/de/7f/a0384162316532e10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/1ee0e990-0201-0010-75bf-a087c241cb83
    https://wwwn.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/0c0dcacd-0401-0010-b4bd-a05a0b4d68c8
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/uuid/bad3e990-0201-0010-3985-fa0936d901b4
    No need to remove the validation code. That is actually a good feature provided by the framework. Why to remove that?
    I hope that helps!! Please revert back in case you have further issues.
    Thanks and Regards,
    Pravesh

  • Simple type enumeration access

    Hello colleagues,
    while creating a data dictionary type, you can define an enumeration with keys and description texts. Additionally you can let the WD generator to create the class representation for this enumeration. So you can use it in your code.
    The generated enumeration only provides the key constant value (enum.getName()) but doesn't bring the description text. Is there any "official way" to read it in code providing certain locale?
    I know, you can create a context attribute of this simple type and go for the following expression:
    wdContext.nodeTableLine().getNodeInfo().getAttribute("attr").getSimpleType().getSVServices().getModifiableSimpleValueSet()
    but I can't imagine the WD doesn't provide any context independent way for this simple operation.
    Regards
    Dimitri

    Hi
    I donu2019t want to populate the list of the enumeration. The list is defined at design time. I just want to read key descriptions of the enumeration programmatically and I donu2019t want to use the context for that.
    To your comment: if you use an input field with an enumerated data dictionary type, only the key of the enumeration will be shown in the field.
    Regards
    Dimitri

  • Integer Validation Simple Type

    Hi to all
    we have requirement that the value entered should be with in the range 0 to 9999
    For this in webdynpro for java i tried to create a simple type of integer  with minimum inclusive as 0 and maximum inclusive as 9999
    but if we give say 99999 it gives valid message -- Value 99999 must be smaller than MaxExclusive 9999
    if we give  23423423423423423423 it gives the java message integer range should be with in this range -2147483648 and  +21...)
    if we give decimal values it gives the same java message integer range should be with in this range
    2147483648 and  +21...)
    For me
    i should always be able to get this message Value 99999 must be smaller than MaxExclusive 9999 or
    Value -1 must be greater than or the same as Minclusive 0
    irrespective of the input
    is there any way that i can have this kind of message
    to conclude what ever the input i give it should give me message value should be with in the range 0 to 9999
    could some one please help in this tricky requirement
    Thanks in advance
    Regards
    Chandra

    Saleem, the user is entering a numeric value, question is which data type it is, int/float/long/double
    Chandra,
    Value 1.1 is not an integer value or a long value. The data type is float.
    when you converted it in a string, look for the indexof(.), and check the value of string after (.), it should not be greater than 0. If it is, the entered number is not an integer.
    so it goes like this
    string a = substring( string after " ." ) ;
    int i = int value of a ;
    if ( i > 0 ) "please enter an integer value " ;
    else{ conver to lang and do remaining process }
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 19, 2009 12:16 AM

  • Is it possible to edit Simple Type enum imported with a model?

    I have a Simple Type enum which has been created from a model. Is it possible for me to edit the list in Web Dynpro as the 'Add' / 'Edit' button are greyed out?

    Hi Adams
    It is not possible to edit Simple Type enumeration imported from model.
    if you want to use your own values under the list create your own SVS and pass those values to the model
    Best Regards
    Chaitanya.A

Maybe you are looking for

  • HD folio in iPad 3 viewer seen as another folio, not rendition

    Hello, we have viewer bundle version "44030" in app store. We just published HD version of folio. Everything except resolution is identical to SD folio, so viewer should see just one folio and download appropriate rendition. However, viewer shows boo

  • Internal-Profit Center Accounts Receivables/Payables

    Dear All, Within a single Company Code, Profit Center 1 is assigned to Plant 1 while Profit Center 2 is assigned to Plant 2. To track inter-divisional revenues and costs between Profit Center 1 & 2 during stock transfer, Transfer Pricing will be acti

  • How to "Run Test UUTs" from ParallelSeq?

    Hello, i´m starting a parallel-sequence in Seq-file load in the model when starting TestStand. How can i execute a "Run Test UUTs (F5)" from wthis parallelsequence to run the currrently loaded sequence? Thx Regards

  • Job error "layout not found"

    hi i've an error when i release my job , in job log, i've msg 017  "layout not found", i've try all the possibilities and i can't resolve this prob can you help please thanks a lot

  • Renaming mutiple files (photos) outside of Iphoto

    Hi, I Take a lot of digital photos, but do not use Iphoto as it puts all the photos in hundreds of different folders. I am wondering if I can use Automator to rename a batch of photos (ie. from dsc100001 to JohnsBirthday1 and so on). Any help would b