Enhancing a TYPES definition in a TYPE-POOLS

I'm trying to add a new field to the following type:
shipment cost document item
TYPES: BEGIN OF V54A2_VFKP.
         INCLUDE STRUCTURE VFKP.
TYPES:   ACR_AMT_LOCC LIKE VFKP-NETWR,
         ACR_AMT_FORC LIKE VFKP-NETWR,
         INV_AMT_LOCC LIKE VFKP-NETWR,
         INV_AMT_FORC LIKE VFKP-NETWR,
         OPN_AMT_LOCC LIKE VFKP-NETWR,
         OPN_AMT_FORC LIKE VFKP-NETWR,
         COLOR(3),
         CHECKBOX,
"""""""*"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1 ) Typ V54A2_VFKP, Final                                                                                S
$$-Start: (1 )----
$$
ENHANCEMENT 1  Y_AGENTE_DE_SERVICIO.    "inactive version
       Descripción de agente de servicio.
include structure YSDS001,
ENDENHANCEMENT.
$$-End:   (1 )----
$$
       END OF V54A2_VFKP.
The point is that I can't activate the enhancement because I get a syntax error. Is it possible to enhace the TYPES declaration. What is missed?
Thanks in advance.

Hi Susana,
Try the following to rectify the error. I have given my comment against the statement INCLUDE STRUCTURE YSDS001.
* shipment cost document item
TYPES: BEGIN OF V54A2_VFKP.
INCLUDE STRUCTURE VFKP.
TYPES: ACR_AMT_LOCC LIKE VFKP-NETWR,
ACR_AMT_FORC LIKE VFKP-NETWR,
INV_AMT_LOCC LIKE VFKP-NETWR,
INV_AMT_FORC LIKE VFKP-NETWR,
OPN_AMT_LOCC LIKE VFKP-NETWR,
OPN_AMT_FORC LIKE VFKP-NETWR,
COLOR(3),
CHECKBOX,
"""""""*"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1 ) Typ V54A2_VFKP, Final S
*$*$-Start: (1 )--------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 Y_AGENTE_DE_SERVICIO.
Descripción de agente de servicio.
include structure YSDS001, "Here instead of a COMMA(,) replace it with DOT (.)
ENDENHANCEMENT.
*$*$-End: (1 )--------------------------------------------------------------------------------$*$*
END OF V54A2_VFKP.
This worked for me and should work for you as well. If it doesn't work then please let me know the exact error so that I can resolve the issue.
Reward accordingly.
Thanks and Regards,
Maddineni  Bharath.

Similar Messages

  • Oracle.jbo.NoDefException: JBO-25058: Definition AltKey of type Key Definit

    hi i have done Synchronization in My EO but when i test my view am geting this error ,am in jdeveloper 11.1.1.6.0
    racle.jbo.jbotester.ErrorHandler$ExceptionWrapper: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25058: Definition AltKey of type Key Definition is not found in UamOrganisations.
         at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96)
         at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:437)
    Caused by: oracle.jbo.NoDefException: JBO-25058: Definition AltKey of type Key Definition is not found in UamOrganisations.
         at oracle.jbo.server.RowDef.findAltKeyDef(RowDef.java:1220)
         at oracle.jbo.server.RowDef.getAltKeyAttrDefs(RowDef.java:1283)
         at oracle.jbo.server.EntityDefImpl.addUniqueKeyValidation(EntityDefImpl.java:5449)
         at oracle.jbo.server.EntityDefImpl.loadValidators(EntityDefImpl.java:4808)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3941)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3531)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3515)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:550)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:661)
         at oracle.jbo.server.ViewDefImpl.doAddRowReference(ViewDefImpl.java:7293)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:7570)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4188)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
         at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    ## Detail 0 ##
    oracle.jbo.NoDefException: JBO-25058: Definition AltKey of type Key Definition is not found in UamOrganisations.
         at oracle.jbo.server.RowDef.findAltKeyDef(RowDef.java:1220)
         at oracle.jbo.server.RowDef.getAltKeyAttrDefs(RowDef.java:1283)
         at oracle.jbo.server.EntityDefImpl.addUniqueKeyValidation(EntityDefImpl.java:5449)
         at oracle.jbo.server.EntityDefImpl.loadValidators(EntityDefImpl.java:4808)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3941)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3531)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3515)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:550)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:661)
         at oracle.jbo.server.ViewDefImpl.doAddRowReference(ViewDefImpl.java:7293)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:7570)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4188)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
         at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    ----- Level 1: Detail 0 -----
    oracle.jbo.NoDefException: JBO-25058: Definition AltKey of type Key Definition is not found in UamOrganisations.
         at oracle.jbo.server.RowDef.findAltKeyDef(RowDef.java:1220)
         at oracle.jbo.server.RowDef.getAltKeyAttrDefs(RowDef.java:1283)
         at oracle.jbo.server.EntityDefImpl.addUniqueKeyValidation(EntityDefImpl.java:5449)
         at oracle.jbo.server.EntityDefImpl.loadValidators(EntityDefImpl.java:4808)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3941)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3531)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3515)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:550)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:661)
         at oracle.jbo.server.ViewDefImpl.doAddRowReference(ViewDefImpl.java:7293)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:7570)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4188)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
         at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)Edited by: adf009 on 2013/01/28 4:07 PM

    i did add the attribute AltKey but still giving the same error
    VO
    <ViewAttribute
        Name="Altkey"
        PrecisionRule="true"
        EntityAttrName="Altkey"
        EntityUsage="UamOrganisations"
        AliasName="ALTKEY"/>
    EO
    <Attribute
        Name="Altkey"
        Precision="50"
        ColumnName="ALTKEY"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        TableName="UAM_ORGANISATIONS">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="50"/>
        </DesignTime>
      </Attribute>another thing when i try to remove the view with error from applictionModule the error is disable i can't be removed
    Edited by: adf009 on 2013/01/28 4:11 PM
    Edited by: adf009 on 2013/01/28 4:11 PM
    Edited by: adf009 on 2013/01/28 4:12 PM
    Edited by: adf009 on 2013/01/28 4:24 PM
    Edited by: adf009 on 2013/01/28 4:24 PM

  • Declaring type definition dynamically

    hi guys,
    i have a strange issue. i need to define a varaible that refers to a below type definition.
    types : begin of t_str,
            var1 type string,
    vcar2 type string,
    end of t_str,
    data:  variable type t_str.
    the problem is i do not know how many var's will be there until run time. so my type definition needs to be dynamic. is there any way to do it.
    thanks

    You can create a dynamic structure like this.   <fs_structure> will be the structure with 20 string fields.
    TYPE-POOLS: abap.
    DATA:
      lr_structdescr    TYPE REF TO cl_abap_structdescr,
      lr_datadescr      TYPE REF TO cl_abap_datadescr,
      lt_components     TYPE abap_component_tab,
      ls_component      TYPE LINE OF abap_component_tab,
      lr_struct         TYPE REF TO data.
    DATA: lv_index_num(3) TYPE n.
    DATA: lv_index_char(3) TYPE c.
    FIELD-SYMBOLS: <fs_structure> TYPE ANY.
    START-OF-SELECTION.
      DO 20 TIMES.
        lv_index_num = sy-index.
        lv_index_char = lv_index_num.
        CONCATENATE 'value' lv_index_char INTO ls_component-name.
        ls_component-type ?= cl_abap_elemdescr=>get_string( ).
        INSERT ls_component INTO TABLE lt_components.
      ENDDO.
    * get structure descriptor -> lr_STRUCTDESCR
      lr_structdescr ?= cl_abap_structdescr=>create( lt_components ).
    * create a structure
      CREATE DATA lr_struct TYPE HANDLE lr_structdescr.
      ASSIGN lr_struct->* TO <fs_structure>.
    Regards,.
    Rich Heilman

  • What's wrong with this content type definition?

    Could someone tell me what's wrong with this content type definition? When I click "New Folder" in a custom list, it should bring two fields 1) Name 2) Custom Order. However in my case when I click new folder, I see 1) Member (which is totally
    weird) 2) custom order. Where is it getting that Member field from?
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Folder (0x0120) -->
    <ContentType ID="0x012000c0692689cafc4191b6283f72f2369cff"
    Name="Folder_OrderColumn"
    Group="Custom"
    Description="Folder with order column"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{35788ED2-8569-48DC-B6DE-BA72A4F87B7A}" Name="Custom_x0020_Order" DisplayName="Custom Order" />
    </FieldRefs>
    </ContentType>
    </Elements>

    Hi,
    According to your post, my understanding is that you had an issue about the custom content type with custom column.
    I don’t think there is any issue in the content type definition, and it also worked well in my environment.
    Did you have the Member field in the project?
    I recommend you create a simple project only with one custom Order column and one custom Folder_OrderColumn, then you can add more fields one by one.
    By doing this, it will be easier to find out the root cause of this error.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Shipment cost - Change definition of condition types

    Change definition of condition types in work pricing procedure
    hey all ,
    we implemented the shipment cost module and now we have to make some changes
    in working condition types because the requirements of the customer changed .
    is it recomended and what are the effects of changing the definition of condition types
    and by that changing working pricing procedures .
    for example if i change condition type from D - wight, V - Volume F - Formula to   T scale
    ( and makeing the properchanges in the scale )  or add some more condition the existing pricing
    procedures ?
    BR
    ASA
    Edited by: ASA MOKED on May 22, 2009 3:33 PM

    hey and thanks for the reply ,
    did you make changes in the definition of existing condition types ?
    for example change condition calc.type from d-weight to t-scale ?
    BR
    ASA .

  • Dynamic Variable In a Type Definition

    Can someone tell me how to define and use a dynamic variable, which resides in a Type Definition.  I.E...
    Type: beg of type1,
            field 1 type c,
            field 2 <---this dynamic
            field 3 type c.
          end of type1.
    Can this be done in Netweaver 2004.  And if so, can you show me how?
    Thanks for your time.
    Kind Regards,
    Jason

    Don't think it is available now, but I do believe they are working on this for a future release.
    Regards,
    Rich Heilman

  • Bind FPGA host reference to type definition in labVIEW 2012 crashes labVIEW

    Hi,
    I am using FPGA target device 5641R and labview FPGA 2012 with 5640R ver 1.7.
    On the configure window of open FPGA VI reference function, choosing the dynmaic mode shows broken arrow when wired to the 5640R configuration VIs (i.e. Configure timebase, Configure ADC default, Configure ADC NCO functions). So i tried the other option which is binding the FPGA host reference to type definition and choose the control from path C:\Program Files\National Instruments\LabVIEW 2012\instr.lib\ni5640R\Configuration\NI-5640R VIs\ni5640R FPGA VI Reference.ctl. But after that when i try to save the VI on which open FPGA VI reference function is placed, labVIEW crashes. I am unable to figure out the reason. Earlier I was working with labVIEW 2011 and it was working fine there. Any suggestions would be highly appretiated. 
    Please see the attached images for more details.
    Thanks
    Attachments:
    1.png ‏33 KB
    2.png ‏71 KB
    3.png ‏40 KB

    Check out this thread.  It looks like someone else ran into a similar issue and made changes that fixed their application.
    http://forums.ni.com/t5/IF-RIO/correct-5640r-template-use-recommendation/td-p/1331918
    Jeff B.
    Applications Engineer
    National Instruments

  • Passing a reference to a type definition to a SubVI

    I have created a type definition that I would like to use across my application. This particular type definition is also the front panel control to my top level VI. I wanted to pass a reference to this control to my SubVi's so that they could dereference as needed and in very rare cases update the values on the front panel. However, as I built the application I noticed that I was breaking the control reference as I updated the type definition. This implies that they type of the reference changes as I change the type definition.
    How do I go about building the reference I need or is there some other way to do this that works just as well. Even if I can't make a reference to the control that is tied to the type definition, I'm willing to pass in a variant who can house the reference as long as I can build the data type (the reference) inside my SubVis.
    Solved!
    Go to Solution.

    Okay, so I tried all three approaches in a SubVI, here's what happened.
    My approach was simply to create a Type Def control, right-click and create a Reference. Then create a control from that reference by right-clicking the output of the reference and selecting the Create Control option. I then pasted this 'cluster' reference into my SubVi, made it an input and then wired up the reference in the parent to the control in the SubVi.
    Result: This breaks when you update the Type Definition.
    Next, Ben's approach (or my best effort at doing what he suggested). I created a control from reference to the type def. I cut it from the parent VI and pasted it into a new type def. I then put the type def in the SubVI and set it as an input.
    Result: This breaks when you update the Type Definition (but it actually takes a bit longer for the error to propogate).
    Finally, Christian's solution (or my best effort). I took the type def reference and put it through a To More Generic Class guy, casting it to a Control Refnum. I put a Control Refnum on the front panel of my SubVI and wired it to a To More Specific Class guy. I created a control of the type def in the subvi, hid it, and created a reference. I wired the reference to the more specific guy and verified I was getting the right data.
    Result: It works!
    It's possible I just didn't understand how to make the reference type def you were referring to Ben. I would prefer a method with less verbage. I pass this refnum into a class which holds it. Since I can't replicate the type exactly prior to run time (i.e. create a control that is exactly a reference to the type definition of my front panel), I have to save the reference as a Control Refnum and cast it every time I need it (i.e. create a control from the typedef, create a reference frome the type def, etc). More verbage than optimal, but still good!
    Thanks for the help.

  • How to include structure in Types Definition ???

    Hello All,
          I want a declaration like this in BSP :-
    DATA : BEGIN OF imkop OCCURS 100.
                   INCLUDE STRUCTURE mkop.
    DATA :   waers LIKE mepro-waers.      
    DATA : END OF imkop.
    <b>In BSP: Type Definitions</b>
    I wrote like this :-
    Types : BEGIN OF imkop.
                    INCLUDE STRUCTURE mkop.
    Types :   waers type mepro-waers.      
    Types : END OF imkop. 
                   I'm getting an error saying that I can't use structures in this .
    Now what should I do ?
    Can anyone help me out ?
    Regards,
    Deepu.K

    deepu,
    we can declare structures as below.
    DATA:  event_data      TYPE REF TO cl_htmlb_event.
    TYPES: BEGIN OF row_iid_type,
           row_iid  TYPE hap_row_iid,
           END OF row_iid_type.
    DATA:
           t_row             TYPE STANDARD TABLE OF row_iid_type,
           t_row_wa          TYPE row_iid_type,
           t_message  TYPE STANDARD TABLE OF bal_s_msg .
    DATA:
           lw_body_element   TYPE hap_s_body_elements,
           lw_body_column    TYPE hap_s_body_columns,
           lw_body_cell      TYPE hap_s_body_cells,
           lw_return         TYPE bal_s_msg,
           warning TYPE i.
    regards,
    manasa

  • How can I modify the "Type definition​s" of "Function Prototype" if I want build a DLL in Labview 8.5.1.?

    Hello,
    We have a library with several VIs (API - Interfaces to our Real Time Target). This VIs we provide to our customer to generate own VIs to control the Real Time Target.
    Now we want to provide the functionality of this VI-library as DLL to our customer. The problem is, that labview use self definite name of type definitions. Also if I use "strict Type definition".
    Example:
    void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], TD1 *errorIn, VARIANT *Scale_Out, TD2 *Data, TD1 *errorOut, int32_t len)
    It is possible to modify "TD1" and "TD2"? I want to give useful names.
    Greetings
    Steffen

    Hi Steffen,
          Try editing the .h file as follows:
    CHANGE FROM:
    typedef struct {
     LVBoolean status;
     long code;
     LStrHandle source;
     } TD1;
    CHANGE TO:
    typedef struct {
     LVBoolean status;
     long code;
     LStrHandle source;
     } TD1;
    typedef struct {
     LVBoolean status;
     long code;
     LStrHandle source;
     } LVErrorCluster;
    then your GetOutputValues prototype becomes:
    void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], LVErrorCluster *errorIn, VARIANT *Scale_Out, TD2 *Data, LVErrorCluster *errorOut, int32_t len)
    If your source-code doesn't refer to "TD1", then you probably won't need to keep the TD1 prototype!
    Cheers.
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Control Value:Set [Variant] Method - how can i use this with strict type definitions?

    I want to pass default values to a strict type definition from a mainVI to a subVI, but I'm not allowed to use the "Control Valueet [Variant] Method" invoke node to do it.  How else can I achieve this?
    thanks,
    Z

    Hi Z,
    If you use strict type defintion references you can use Call by reference Node. Depending on the connector pane for the subvi which is referenced you just wire your data to the corresponding terminals. I attach an easy example which dynamically opens and writes to an arbitary number of a template.
    Hope it helps
    Pelle S
    District Sales Manager
    National Instruments Sweden
    Attachments:
    Call by reference node.zip ‏20 KB

  • JAXB compiler error : Complex Type Definition Representation Error

    Hi,
    I have a problem when I try to generate Java classes for the XML Digital Signature schema along with the XAdES extension. Apparently, we got an XML validation issue when the XAdES schema is parsed.
    Here is the xjc tool ouput :
    [ERROR] src-ct.1: Complex Type Definition Representation Error for type 'IdentifierType'.  When complexContent is used, the base type must be a complexType.
      line 33 of XAdES.xsd
    [ERROR] src-ct.1: Complex Type Definition Representation Error for type 'EncapsulatedPKIDataType'.  When complexContent is used, the base type must be a complexType.
      line 57 of XAdES.xsdNow these are the schema lines from XAdES.xsd that cause the problem :
    <xsd:complexType name="IdentifierType">
      <xsd:complexContent>
        <xsd:extension base="xsd:anyURI">
          <xsd:attribute name="Qualifier" type="QualifierType" use="optional"/>
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="EncapsulatedPKIDataType">
      <xsd:complexContent>
        <xsd:extension base="xsd:base64Binary">
          <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>The most disturbing thing is that those two schemas I used (e.g. xmldsig-core-schema.xsd and XAdES.xsd) come directly from the W3C, so they should be fully compliant to the XML schema spec, shouldn't they ?
    Moreover, I tried to validate these two schemas with XML Spy 4.3 and the problem occurs in slightly different way. In fact, the <xsd:complexContent> tags are replaced silently by XML Spy with <xsd:simpleContent> tags in order to validate the schema. So XML Spy seems to have a problem too with these complex type definitions. Besides, if I replace the <xsd:complexContent> tags the same way as XML Spy does, and if I run again the JAXB compiler, it works fine...
    Does anyone have any knowledge about this issue ? I'd like very much to hear about anyone who has experienced or better solved the same kind of issue.
    By the way, here is the version of JAXB that I use :
    xjc version "1.0.2-b15-fcs"
    JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build 1.0.2-b15-fcs)Any help appreciated.
    Thanks,
    Gregory

    <xsd:extension base="xsd:anyURI">
    <xsd:extension base="xsd:base64Binary">
    The base attribute of the xs:extension elements shoule refer to a complexType.
    For example,
    <xs:complexType name="complexTypeA">
    </xs:complexType>
    <xsd:complexType name="IdentifierType">
    <xsd:complexContent>
    <xsd:extension base="complexTypeA">
    <xsd:attribute name="Qualifier" type="QualifierType" use="optional"/>
    </xsd:extension>
    </xsd:complexContent>
    </xsd:complexType>

  • Import external definition to message type

    Hello
    I have scenario file to IDOC.
    I don’t know way in this time I not successful to import my external definition to message type.
    Any idea?
    Elad

    Hello again,
    I try to solve mapping problem
    Hello again,
    I have scenario from file(xml) to IDOC.
    In outbound side I have XSD file and I imported this file and I use with him in outbound interface.
    In inbound side I have IDOC.
    I have mapping problem issue.
    When I test this mapping I have this error message:
    Cannot produce target element /ZORD_CREATE. Check xml instance is valid for source XSD and target-field mapping fulfills requirements of target XSD
    Any idea?
    Elad

  • Error in OAF page (Definition CLOSE_PO_FLAG of type Attribute not found)

    Hi All,
    In OAF, When we go to receive a requisition order, on that page for a column called PO Close, below this column in the value text, I am getting the below error:
    Error
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Click here for exception details.
    About Previous Page
    When I click the here for exception details. I see the below error. What is this error. Any idea.
    =============
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition CLOSE_PO_FLAG of type Attribute not found
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2946)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2743)
         at oa_html._OA._jspService(_OA.java:101)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:94)
    ===========
    Help greatly appreciated.
    Thanks
    Aman

    Hi JulianE.
    Looks good. But strange .Please bounce the middletier once and set the permissions of this file to 7777
    Thanks
    Sandeep

  • Error Master Type definition could not be found : FPGA

    I am having similar/exact error condition as in the below post..
    http://forums.ni.com/t5/LabVIEW/Error-Master-Copy-for-Type-Definition-Could-Not-Be-Found/m-p/1496866...
    The *.lvbit file i am using was compiled in Labview 8.2.1 and I am now using 2009 version of Labview.  Unlike the suggested solution, recompilation of *.lvbit file is ruled out due to lack of source code access.
    Any help towards troubleshooting is appreciated...

    Because I am a bad scientist, I do not know exactly what fixed my problem because I changed more than one variable at once.
    Here's what I did:
    Removed auto-populating folder from project (doubt this mattered, still broken after this)
    Changed my open FPGA VI reference from using a bitfile to using a VI, selected my FPGA VI, NO MORE BROKEN RUN ARROW! YAY.
    The above finding led me to go look at my FPGA bitfiles on disk -- I had two of them (weird). Usually a compilation just overwrites the older file.
    Just in case the names give any insight, they are:
    Older:  NASATTRControlCo_FPGATarget_FPGAMain_25B3817B.lvbitx
    Newer: NASATTRControlCo_FPGATarget_FPGAMain_25AF817B.lvbitx
    I went back to my open FPGA VI reference, and selected the most recent bitfile that I compile this morning -- No more broken run arrow.
    I have a feeling this may be due to selecting an old bitfile, but usually if the bitfile doesn't include the control, it won't show up in the read/write control node. If anyone from NI would like to comment on this I'd appreciate the insight on what may have happened.
    I am wondering if it's because I installed 2010 SP 1? Who knows but it's fixed now.
    CLA, LabVIEW Versions 2010-2013

Maybe you are looking for

  • SOAP Adapter: java.io.IOException: unable to create a socket

    Hi, I am trying to use the soap adapter to connect to a URL and post a document. When I try, the adapter throws the following java.io.IOException: unable to create a socket Does anyone know what causes this? I get it both with the SOAP Envelope turne

  • Using AppleTV 2 with a VPN

    Hey,      I have seen lots of discussion on whether you can setup a VPN on an AppleTV 2. The short answer in my experience is no.  However you can setup a VPN on an attached MacMini for example and then share its internet connection with the AppleTV.

  • Understanding Console: appfirewall.log

    I was looking through console and saw some really funky messages in the appfirewall.log. (I am only showing parts of the messages) stealth mode connection attempted krb5kdc is listening from :::88 proto=6 krb5kdc is listening from 0.0.0.0:88 proto=6

  • How to avoid page break up in background

    hi all,           i have developed new report i don't given page break statement .. in foreground it s coming correct  without any page break.. when i have  schedule in background page break is coming please let me know how to avoid page break in bac

  • "error initializing import libraries"

    Hi, I've spent a week designing all the parts of a portfolio online and now, when I'm trying to open the file from Flash Catalyst to create the interactions, I can't... I've tried everything.. My file have a lot of layers (about 100-125), linked 72pp