Creating component types in N1sps

First, I have created a simple base type called wfbSimpleBase. The contents of which are the following:
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated by N1 SPS -->
<component modifier='ABSTRACT' installPath=':[installPath]' xmlns='http://www.sun.com/schema/SPS' name='wfbSimpleBase' version='5.1' description='Wells Fargo Simple Base type' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' author='system' softwareVendor='WellsWare' xsi:schemaLocation='http://www.sun.com/schema/SPS component.xsd'>
     <varList>
          <var name='installName' default=':[sys.name]'></var>
          <var name='installPath' default=':[container:installPath]'></var>
          <var name='installUser' default=''></var>
          <var name='installGroup' default=''></var>
          <var name='installPermissions' default=''></var>
          <var name='installDeployMode' default='REPLACE'></var>
          <var name='installDiffDeploy' default='TRUE'></var>
          <var name='overrideRsrcInstallPath' default=''></var>
     </varList>
     <resourceRef modifier='ABSTRACT'>
          <installSpec deployMode=':[installDeployMode]' permissions=':[installPermissions]' name=':[installName]' user=':[installUser]' diffDeploy=':[installDiffDeploy]' path=':[overrideRsrcInstallPath]' group=':[installGroup]'></installSpec>
     </resourceRef>
     <installList>
          <installSteps name='default'>
               <deployResource></deployResource>
          </installSteps>
          <installSteps name='markOnly'></installSteps>
     </installList>
     <uninstallList>
          <uninstallSteps name='default'>
               <undeployResource></undeployResource>
          </uninstallSteps>
          <uninstallSteps name='markOnly'></uninstallSteps>
     </uninstallList>
     <snapshotList>
          <snapshot name='default'>
               <capture>
                    <addResource></addResource>
               </capture>
          </snapshot>
     </snapshotList>
</component>
This step went smoothly.
Next I tried to extend a new abstract type from it called: wfb_ct. The content of which is the following:
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated by N1 SPS -->
<component xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' name='wfb_ct' version='5.1' xsi:schemaLocation='http://www.sun.com/schema/SPS component.xsd' xmlns='http://www.sun.com/schema/SPS' path='/wfbTypes'>
     <extends>
          <type name='system#container'></type>
     </extends>
</component>
When I try to change the name attribute of the type element of the extends to wfbSimpleBase as in the following:
     <extends>
          <type name='wfbSimpleBase'></type>
     </extends>
I get the error:
Unable to check in component
Unable to find component type with name "wfbSimpleBase". (023061)
It does not matter where I move wfbSimpleBase in the folder tree within the N1 repository N1 is simply unable to associate the wfbSimpleBase as the parent type for wfb_ct. When I try to supply a folder path in the name attribute I get a name format error. The only information that I have found in the 5.1 Schema reference that appears to be associated with this is:
<type> Element
The <type> element names the base component type of this component. This element is a child of the <extends>, <componentRefList>, and <componentRef> elements.
The <type> element has one required attribute of type systemName, name, which is the name of the system type component that serves as the base type. If the specified type is one that is defined by a plug-in, pluginName must be prefixed to the type name, such as pluginName#typeName.
This seems to imply that the name attribute of the type element must be a systemName? If this is true how do I get the system to recognize/honor the wfbSimpleBase as a systemName appropriate to extend to a child component?
John Seiberling

Hi,
It is very much possible to plan Non-Stock & stok items & also services in a single work order. Even you can plan stock & non-stock items for a single operation also by providing Item categories L: Stock Item & N: Non- Stock item.
Yatharth

Similar Messages

  • Error while creating data type

    Hi
    I am creating data type for the scenario from File to IDOC
    Namespace urn:xiworkshop:groupxx:legacy is not defined in the software component version NEWPRODUCT , 100 of sap Object Message Type Vendor | urn:xiworkshop:groupxx:legacy references the inactive object Data Type Vendor | urn:xiworkshop:groupxx:legacy
    Please help me

    Hi;
    First activate your namespace and then create the data type.
    Namespace + default datatypes should be activated together.
    Then your data type
    Mudit

  • Software Component does not support selected Development Component Type...

    Hi,
    I have a problem, i want create a new project of Mobile Service Component, but, when i want select MyComponents [demo.sap.com], in the top appear:
    "Software Component does not support selected Development Component Type. Required DCs are located in an SC that is not visible from the selected SC "
    Why?
    Thanks in advance,
    Regards,

    Hi Victor,
    the issue is that the archive pool in your NWDS is not set up properly. Could you check the configuration of the development configuration? I guess you are developing in Local Development, right? Please check in the "Component Browser" that the two Software Components "NWMCLIENT" and "XOCA" are present and contain some DCs inside them. If this is not true, than something went wrong with your setup of the IDE. The modifications of the default.confdef are most likely not right.
    Please come back to me if you don´t know how to proceed.
    Regards,
    Stefan

  • How to find what are  the  support-teams map with particular componant type

    hi experts,
    i am new in solution manager.. My requirement is when creating the support message in crmd_order t-code i have to give the componant type in transaction data after that in fast entry screen i have to assign support team for that componant type .. here i have to give only valid support team which are map with particular componant type .. when save the support message here i have to check that support team is map with that particular componant type (i.e that support team is belong to that componant type ) .. thats what i have to do in abap development .. so how to find the what are all the support teams mapped with particular componant type .. whether it is stored in any table or ?.. Please give solutions ..
    Regards,
    Kumar..

    Hi Kumaresan-
    I'm not sure I fully understand your requirement but I will try to help out. If you are trying to determine / associate the relevant support team according to which component they are responsible for, this might help.
    The determination of the support team is maintained by configuring rule 13200137 in transaction PFAC_RESPO.
    Click on the Responsibilities Tab
    Create your responsibility based on your support team requirements
    Assign the appropriate Support Team, this data will be taken from the settings you have maintained when creating your org chart in ppoma_crm
    Highlight a responsibility and click Change
    In this table you will see an entry for SAP Component, this is where you identify which support team will be determined based on component

  • Dynamically create a type

    Hi,
    is it possible to create dynamically a type ? I take a look on class CL_ABAP_TYPEDESCR but i can't create a new type, so is there a solution ?
    Cheers

    With all due respect to all, I think he means to create dynamic data types by means of RTTS.
    @ ToraTora
    Like this
    "example table
    DATA: BEGIN OF it OCCURS 3,
            pernr TYPE persno,
            kostl TYPE kostl,
            endda TYPE endda,
          END OF it.
    "data references
    DATA: r_type_struct TYPE REF TO cl_abap_structdescr,
          r_type_table  TYPE REF TO cl_abap_tabledescr,
          r_data_tab    TYPE REF TO data,
          r_data_str    TYPE REF TO data.
    " 1. ------------- filling example table IT
    it-pernr = '12345678'.
    it-kostl = '0112345678'.
    it-endda = sy-datum.
    APPEND it.
    it-pernr = '45678909'.
    it-kostl = '3452345678'.
    it-endda = sy-datum - 1.
    APPEND it.
    " 2. ------------ components structure type
    gs_comp-name = 'PERNR'.
    gs_comp-type ?= cl_abap_elemdescr=>describe_by_name( 'PERSNO' ).
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'KOSTL'.
    gs_comp-type ?= cl_abap_elemdescr=>describe_by_name( 'KOSTL' ).
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'BEGDA'.
    gs_comp-type ?= cl_abap_elemdescr=>describe_by_name( 'BEGDA' ).
    APPEND gs_comp TO gt_comp.
    " 3. ------------- create structure type
    TRY.
        r_type_struct = cl_abap_structdescr=>create(
                                  p_components = gt_comp ).
      CATCH cx_sy_struct_creation .
    ENDTRY.
    " 4. ------------- create table type
    TRY.
        r_type_table = cl_abap_tabledescr=>create( r_type_struct ).
      CATCH cx_sy_table_creation .
    ENDTRY.
    " 5. -------------- create table based on RTTS types
    CREATE DATA: r_data_tab TYPE HANDLE r_type_table,
                 r_data_str TYPE HANDLE r_type_struct.
    FIELD-SYMBOLS: <fs_table> TYPE INDEX TABLE,
                   <fs_wa>    TYPE ANY.
    ASSIGN: r_data_tab->* TO <fs_table>,
            r_data_str->* TO <fs_wa>.
    You can also create any component you want without knowledge about data element it is refering to (without using methods describe_by_name or describe_by_data ).
    So the 2nd step could be replaced with
    gs_comp-name = 'PERNR'.
    gs_comp-type ?= cl_abap_datadescr=>get_n( 8 ).   "PERNR if of type N(8)
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'KOSTL'.
    gs_comp-type ?= cl_abap_elemdescr=>get_c( 10 ).  "C(10)
    APPEND gs_comp TO gt_comp.
    gs_comp-name = 'BEGDA'.
    gs_comp-type ?= cl_abap_elemdescr=>get_d( ).   "D
    APPEND gs_comp TO gt_comp.
    Regards
    Marcin

  • Component type table

    dear sir,
    in solution manager the component type is stored in dswp_csncomp table while creating the  support desk message.. but in R/3 system component type stored it where (which table )  .. please reply..
    Regards,
    kumar

    Hi Kumar,
    I hope, that I understand your question correctly.
    When creating a support desk message in satellite systems, the proposed component is derived from technical information of the transaction.
    The application component is assigned to the package, which is visible on tab "Properties". You can the display the assignment of a transaction as follows:
    - execute transaction
    - choose System -> Status
    - double click on field "Transaction"
    - double click on field "Package"
    - tab "Properties" shows the assigned Application Component
    I don't know the table.
    Regards,
    Ruediger
    Message was edited by: Ruediger Stoecker (Grammar corrected)

  • Error(12,61): Parse of component type files failed,

    I got this error when i wanted to deploy CreditCardValidation
    Error(12,61): Parse of component type files failed, check the adf-config.xml file : "java.lang.reflect.InvocationTargetException"
    how i can resolve this.

    Make sure CreditCardValidation was created using TP3 update 1. You can't deploy an earlier version.
    Heidi.

  • Fetching component_name of created component in component_usage

    hello,
    I got another problem too.
    I make a single Component_Usage and create a component to this component_usage.
    anzulegende_comp_usage =   wd_this->wd_cpuse_usage_z_itf_cid_a( ).
        IF anzulegende_comp_usage->has_active_component( ) IS INITIAL.
          anzulegende_comp_usage->create_component( COMPONENT_NAME = 'component_xyz' ).
        ENDIF.
    but after this I can´t access the name of my created component 'component_xyz' via my  component_usage.
    If I use a component_usage_group I can access the component-names but this should be possible with a single component_usage too. or am I wrong?
    the solution could be to use the structure-type "wdapi_component_usage" but I want to know if this is possible with a single component_usage too?

    Hi Thorsten.
    You can use the following trick.
    l_ref_cmp_usage           TYPE REF TO if_wd_component_usage,
    lr_usage                  type ref to cl_wdr_component_usage,
    lr_component              type ref to if_wd_component.
    when you have the reference to the usage in l_re_cmp_usage just cast it to cl_wdr_component_usage and call get_child_component.
      l_ref_cmp_usage =   wd_this->wd_cpuse_soptions( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      lr_usage ?= l_ref_cmp_usage.
      lr_component = lr_usage->get_child_component( ).
    Then you have the used component and can use the component info to get the name.
    Cheers,
    Sascha

  • Need help creating component with 'application.createComponent'

    I am trying to create a button component by doing the following
    application.createcomponent("javax.faces.command") ;
    However it does not seem to work. I can create pretty much any other component by this method but for some reason I am unable to do this with the 'javax.faces.command' component family. Shouldn't this work?

    I think that the component type of the commandButton is "javax.faces.HtmlCommandButton"

  • CRM 2007 Upgrade - Component Type is Missing in Structure

    Hi,
    we found that structure /1CRMG0/CNBCCPSAP005 has empty data type for each of its component types. this causes error each time we try to activate the structure and we can't proceed the upgrade to 2007.
    we try to maintain the component type, but we encounter message "Object can only be created in package of namespace /1CRMG0/". even we try to maintain in the suggested package, it prompts error System setting does not allow you to change R3TR TTYP /1CRMG0/CCPSAP005001T. we can't proceed further at this point.
    we implemented sap note 0000817539 & 0000643510, but still no success.
    any lead is really appreciated
    JD

    Dear JD,
    hopefully you have already solved your problem. If not perhaps the following information is helpful:
    These Function Modules are created when the Sbdoc is generated
    using the report CND_MAST_GEN_TRANSFER_OBJECTS.
    Please check if the Sbdoc is generated correctly in your system or not.
    You can check this in transaction SBDM.
    The Sbdoc name is CNBCRMPRSAP005.
    If the Sbdoc is not created correctly please use the report above to
    generate and activate it.
    In any case if the problem is solved, please close the thread!
    Regards, Gerhard
    Moderator

  • NWDS: can't select dev. component type

    Hello Community,
    I'm using a NWDI System in Version 7.4 SP9.
    I want to develop for my PO System 7.4 SP6, so I selected the NWDI version 7.3-EHP1-SP11-PAT0010.
    The NWDI is configured with CMS. It's attached to the SLD of the PO-dev system.
    I created a  track for my project and created a SC with the wizard and selected "Composite Application 7.40 (with Business Process Management)" from the templates, so the dependencies should be set correctly.
    I imported the configuration in my NWDS but I can't select a development component type. No one is active. See attached screenshot:
    I want to use Java EE.
    How can I fix this?
    best regards
    Bastian

    Hi Bastian,
    this is becaus if missing SC imports in CMS webui (Transport Studio).
    See more at :
    1584553 - Cannot create DC project due to DC types being grayed out in NWDS DC project creation wizard
    Best Regards,
    Ervin

  • Problem in Tax Exexpiton for Newly created Wage type

    Dear Gurus,
    I Have tried to create a  New Wage type for Allowance with Exemption IT582 created Amount. In pay roll results the IT582 Exemption amount is coming. In Wage type /132 Monthly Exemptions it says the Entire Amount which it created for the Particular wage type.
    Example:
    Newly created wage type 1010 : 10,000
    Exemption Created : 6000
    Payroll Results:
    /132 : showing 10,000+800 Conveyance
    MCAX : 6000 - Custom Allowance
    MCMX :6000 - Custom Allowance.
    By the above result the Gross value reduced to -10,000.
    Please suggest me to complete this process.
    Thanks in Advanc.
    Anbu.

    Hi Anbu,
    I am lil bit confused abt the explanation u had given. anyway i will explain the configuration n step u need to perform-
    configure a wage type in V_T7INA9 and V_T7INT9 view first.
    maintain the amount, which employee has submitted as claim.
    then pass the value in infotype 8 or 14 or 15 through the same wage type u have configure.
    now minimum of 3(entry in V-T7INT9, infotype 8 or 15 or 14 and entry maintained in infotype 582) will b the exemption amount.
    Regards,
    Praveen
    Edited by: Praveen-Sapping in SAP World on Mar 26, 2009 10:11 PM

  • Want to create a type at runtime

    Hi all ,
    I am trying to create a type at run time within my scheme by making use of a table loop.
    [code]
    Report test_data.
    data :
        llv_imp type table of RSIMP,
        gt_imp_par type string occurs 0.
    Field-Symbols :
        <fs_imp_par> like RSIMP,
        <fs_struct> type string.
    Form inst_par_types
      Changing
      lv_imp like llv_imp
      lt_imp_par like gt_imp_par.
    Data :
        lv_str(72)  type c ,
        lv_line     type I ,
        lv_delim    type C value ',' .
    Describe table lv_imp lines lv_line.
    Loop at lv_imp assigning <fs_imp_par>.
        if sy-tabix = lv_line.
           lv_delim = '.'.
        endif.
          if <fs_imp_par>-default is not initial.
            concatenate <fs_imp_par>-parameter 'TYPE' <fs_imp_par>-typ
            'VALUE' <fs_imp_par>-default lv_delim into
            lv_str SEPARATED BY space.
          else.
            concatenate <fs_imp_par>-parameter 'TYPE' <fs_imp_par>-typ
            lv_delim into lv_str SEPARATED BY space.
          endif.
      append lv_str to lt_imp_par.
      clear lv_str.
    endloop.
    Types :
            Begin of l_tabname ,
               <b><i>{T$lt_imp_par$$$&lt_imp_par&$$}</i></b>
            End of l_tabname.
    EndForm.
    [/code]
    But when i instantiate this scheme it dumps as the highlighted line creates 2 different definitions of same variable lt_imp_par (1 as var & another one as table).
    What shall I do to get the solution?

    Please do not post multiple treads for the same question.
    Please refer to other thread.
    want to create an internal table at runtime
    Regards,
    Rich Heilman

  • Getting error while creating condition type in SPRO

    Hi ,
    can somebdy tell me why i am getting the following error while creating condition type in SPRO
    No valid change license available for message /sapcnd/
    and also while rule determination using condition type we are getting the following error.
    system error:system cannot read the structure for table
    reg
    venkat

    Hi Venkat,
    Do you have the error number code!?
    Regards,
    Michel  Bohn

  • Hello Guru's  Error MSG while creating Material Type HERS

    Hello Guru's,
    While creating material type HERS the system is showing the following error *"The field orign acceptance is defined as a required field; it does't contain an entry'"* will any one give solution.
    even i have filled orign field in info record also still it is giving same error message,  will anyone give solution.
    full points for the answer.

    hers is for the mpn
    note the techincal name of that field and then go to oms9 and there make that filed for the filed selection key of hers as optional
    u can get the field selcton key of hers from the tcode oms2

Maybe you are looking for

  • There were no results for How can I tell if an iPhone was stollen and if it is, can I still activate it

    There were no results for How can I tell if an iPhone was stollen and if it is, can I still activate it

  • IDOC SEGMENTS TRANSPORT REQUEST

    Hi Experts,     I am new to IDoc Concept.     There are some list of PREDEFIND  SEGMENTS like EEP001 , EEp00002 , etc...present in WE30  .     Earlier in my project some people created Customizsed segments like ZBANK ,  ZT0001P , etc... in WE31 & add

  • Guest Access for Windows Services

    Hi, I need to access my shared files through a "Guest" access, without a password. I understand it is not a safe way to work, but I do not have a choice : I am using a device named mediagate, which is supposed to be able to read the shared files on m

  • Multiple files do not open in alphabetical order in Photoshop CS4

    When I open multiple files at once in Photoshop, they never open in alphabetical order. The order is completely unpredictable. As far as I know - it's not an issue of Photoshop, cause when using Bridge to open files, they open in correct order.

  • Firing bullets in space invaders game

    hey guys, I am trying to work out the logic and the code required for firing a bullet in a space invaders style game. I have a space ship on a stage that moves around freely using the arrow keys and I want to use the space bar to release a bullet. So