Component to Componet

Hi,
I am trying communicate from Parent comp to child comp.
I would like to know few things here:
I created Node for the ParentComp,
In parent i want to use childcomp as a used comp, I declared in Parentcomp , child comp as used comp , my question is , do i need to create a context for the ChildCompoentController or ChildCompInterfaceController ?
If I need to create a context in childComp is it same as in ParentComp (I mean structure, naming,data types..)
Please clarify this.
Krish

Hi Krish,
see my tutorials <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3">serverside Eventing Tutorial</a> and <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">designing Component-Based Web Dynpro Applications (38)</a>.
Regards, Bertram

Similar Messages

  • Event Fired when a mxml component is shown on screen

    hello,
    I have following application structure nested up to 2/3 level.
    Application
         linkbar connected to viewstack
         viewstack
              NavigatorContent
                   mxml Component
              NavigatorContent
                   mxml Component
    mxml componet in turn has similar structure
    componet
         linkbar connected to viewstack
         viewstack
              NavigatorContent
                   mxml Component
              NavigatorContent
                   mxml Component
    and end component is form which is shown and actions performed
    I want to execute specific code when the form is first time shown
    which will collect data from server and will show for further actions.
    User will edit/delete/update data with various button clicks.
    I tried activate event on end component but it seems that it wont get
    fired at all. End components are enclosed in BorderContainer or Group.
    To test activate event I have used Alert.show only but popup is not shown
    when I select link button on penutimate linkbar.
    If I am doing something wrong please let me know as well please
    guide me which event shall I use so that whenever linkbutton is
    pressed on linkbar it will fire that event. In that event I can check
    whether it has been called earlier by checking some variable which
    will be null in creation complete and set in event fired when linkbutton is pressed.
    Thanks and regards
    Raja

    I think 'creationComplete' is the closest event to what you are looking for.

  • CF Component work on local computer but not on actual web.

    I'm using CF9 on windows 7 professional. when ever i execute from a form to the action page i get this error:
    Could not find the ColdFusion component or interface VAFOINS_NEW.Componet.display. Ensure that the name is correct and that the component or interface exists.
    It works fine on my local computer, however the Componet is not invoking properly when on the actual web. Any suggestions?
    THE CFC syntax is below:
    <!--- Generated by Adobe Dreamweaver CS5 11.0.4.4993 [en] (Win32) - Fri Sep 23 2011 15:56:13 GMT-0400 (Eastern Daylight Time) --->
    <cfcomponent displayName="volno" hint="List all FCN, NS, FOID etc. Items By way of volno input">
    <cffunction name="volno" returntype="query">
    <cfquery name="volno"> select TRIM(CONCAT(name.fname,' ',name.xholy))AS Brother, name.foiid, fcn.*, nspay.*, Foidpay.*, otherpay.*, CONCAT(otherpay.othpayamt,' - ',otherpay.othpaytitle) AS otherpay, fcnsales.salesid,(fcnsales.salesamt) AS FCN_SOLD, salesdate
    FROM name, fcn, fcnsales, foidpay, nspay, otherpay
    WHERE 0=0
    AND Fcn.fcnvolno = '#form.volno#'
    AND name.foiid= fcnsales.salesfoiid
    AND FCN.fcnid= fcnsales.salesfcnid
    AND name.foiid= nspay.NSPAYfoiid
    AND nspay.nspaydate= fcnsales.salesdate
    AND name.foiid= FOIDPAY.foidpayfoiid
    AND FOIDPAY.foidpaydate= fcnsales.salesdate
    AND name.foiid= otherpay.othpayfoiid
    AND otherpay.othpaydate= fcnsales.salesdate
    ORDER BY name.city desc, name.foiid
    </cfquery>
    <cfreturn "#volno#">
    </cffunction>
    <!---NEW FUNCTION--->
    <cffunction name="total" returntype="query">
    <cfquery name="total">
    SELECT name.*, fcn.*, sum(fcnsales.salesamt) AS FCN_SOLD_This_Issue, salesdate
    FROM name, fcn, fcnsales
    WHERE 0=0
    AND Fcn.fcnvolno = '#form.volno#'
    AND name.foiid= fcnsales.salesfoiid
    AND FCN.fcnid= fcnsales.salesfcnid
    </cfquery>
    <cfreturn "#total#">
    </cffunction>
    <!---NEW FUNCTION--->
    <cffunction name="total_NS" returntype="query">
    <cfquery name="total_NS">
    SELECT SUM(nspay.nspayamt) AS total_ns
    FROM nspay
    WHERE 0=0
    AND nspay.nspayvolno= '#form.volno#'
    </cfquery>
    <cfreturn "#total_NS#">
    </cffunction>
    </cfcomponent>
    My action page which invokes the cfc has the code below:
    <cfinvoke
      component="VAFOINS_NEW.Componet.display"
      method="volno"
      returnvariable="volno">
    <!--- CFC Query --->
    </cfinvoke>
    <cfinvoke
      component="VAFOINS_NEW.Componet.display"
      method="total"
      returnvariable="total">
    <!--- CFC Query --->
    </cfinvoke>
    <cfinvoke
      component="VAFOINS_NEW.Componet.display"
      method="total_NS"
      returnvariable="total_NS">
    <!--- CFC Query --->
    </cfinvoke>
    <cfquery name="total_FOID" >
    SELECT SUM(foidpay.foidpayamt) AS total_foid
    FROM foidpay
    WHERE 0=0
    <!---AND foidpay.foidpaycity='richmond'--->
    AND foidpay.foidpayvolno= '#form.volno#'
    </cfquery>
    <cfquery name="total_other" >
    SELECT SUM(otherpay.othpayamt) AS total_other
    FROM otherpay
    WHERE 0=0
    <!---AND otherpay.othpaycity='richmond'--->
    AND otherpay.othpayvolno= '#form.volno#'
    </cfquery>
    <cfquery name="total_FOIClass_Attendance" >
    SELECT COUNT(CLASSFOIID) AS foic_attendance
    FROM foiclass
    WHERE 0=0
    <!---AND foiclass.classcity='richmond'--->
    AND foiclass.classvolno= '#form.volno#'
    </cfquery>
    <cfquery name="List_Class_Attendance" >
    select trim(CONCAT(name.type,': ',name.fname,' ',name.xholy,' ',name.slave))AS Brother, name.foiid, foiclass.classfoiid FROM name LEFT JOIN foiclass ON foiclass.classfoiid= name.foiid WHERE foiclass.classvolno='#form.volno#' order by name.type, brother
    </cfquery>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>VOL NO Results</title>
    </head>
    <body>
    <!---CFML Below--->
    </body>
    </html>

    My guess is a problem with the dot path notation. I'm always fighting with this. Most likly your local computer is using a virtual directory named VAFOINS_NEW (http://127.0.0.1/VAFOINS_NEW/) and your production site points directly to the VAFOINS_NEW directory (http://somesite.com/). On your live site the dot path notation you are using is expecting http://somesite.com/VAFOINS_NEW/. Dot paths are a pain and whoever invented them should retire as he or she has done enough damage.
    I usually do something like this (I'm typing from memory so there will most likely be syntax error or two but hopefully you'll get the idea):
    <cfset variables.dotpath="" />
    <cfif listFindNoCase(cgi.script_path,"VAFOINS_NEW","/")>
         <cfset variables.dotpath="VAFOINS_NEW." />
    </cfif>
    <cfinvoke component="#variables.dotpath#Componet.display"... />

  • Select-options for date field.

    Hi all,
    i need to give select options for Date field.How can i give that.
    Thanks & Regards
    Ravi.

    Hi Ravi,
    Use the Component WDR_SELECT_OPTIONS to include select options in Web Dynpro ABAP. Follow these steps:
    1. In your Component , "Used Componet" tab add Component WDR_SELECT_OPTIONS . Component Use can be any name that you want to give, eg SELECT_OPTIONS
    2. Go to the View where you want to include the Date Select Options. I am assuming that you already have an Attribute of Type DATS in your context.
    3. View: Properties Tab:Create Controller Usage and select
    SELECT_OPTIONS     WDR_SELECT_OPTIONS                   
    SELECT_OPTIONS     WDR_SELECT_OPTIONS     INTERFACECONTROLLER
    4. View Layout Tab:Include a View Container. In this view container we will show the Date Select Options.
    5. View Attributes Tab: Create Following two attributes:
    M_HANDLER type IF_WD_SELECT_OPTIONS
    M_WD_SELECT_OPTIONS type IWCI_WDR_SELECT_OPTIONS
    6: View Methods Tab: Create a method eg CREATE_SELECTION_SCREEN. Call this method in the WDDOINIT of the view.
    7:CREATE_SELECTION_SCREEN: Write following Code:
    * Data Declaration
      data:
            lt_range_table TYPE REF TO DATA.
      data:
            lr_componentcontroller TYPE REF TO IG_COMPONENTCONTROLLER,
            lr_componentusage TYPE REF TO IF_WD_COMPONENT_USAGE.
    * Execution
    *  Create Used Component
      lr_componentusage = wd_this->wd_cpuse_select_options( ).
      if LR_COMPONENTUSAGE->HAS_ACTIVE_COMPONENT( ) is initial.
        lr_componentusage->create_component( ).
      endif.
    *  Get pointer to interface controller of select options
      wd_this->M_WD_SELECT_OPTIONS = wd_this->wd_cpifc_select_options( ).
    * initialize selction screen
      wd_this->M_HANDLER = wd_this->M_WD_SELECT_OPTIONS->init_selection_screen( ).
    *  Create Range Table for: Date
      CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
        EXPORTING
          I_TYPENAME     = 'DATS'
        RECEIVING
          RT_RANGE_TABLE = lt_range_table.
    * Add Selection Field for: Date
      CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
        EXPORTING
          I_ID                         = '<name of date attribute in the context>'
    *      I_WITHIN_BLOCK               = MC_ID_MAIN_BLOCK
    *      I_DESCRIPTION                =
    *      I_IS_AUTO_DESCRIPTION        = ABAP_TRUE
          IT_RESULT                    = lt_range_table
    *      I_OBLIGATORY                 = ABAP_FALSE
    *      I_COMPLEX_RESTRICTIONS       =
    *      I_USE_COMPLEX_RESTRICTION    = ABAP_FALSE
    *      I_NO_COMPLEX_RESTRICTIONS    = ABAP_FALSE
    *      I_VALUE_HELP_TYPE            = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE
    *      I_VALUE_HELP_ID              =
    *      I_VALUE_HELP_MODE            =
    *      I_VALUE_HELP_STRUCTURE       =
    *      I_VALUE_HELP_STRUCTURE_FIELD =
    *      I_HELP_REQUEST_HANDLER       =
    *      I_LOWER_CASE                 =
    *      I_MEMORY_ID                  =
    *      I_NO_EXTENSION               = ABAP_FALSE
    *      I_NO_INTERVALS               = ABAP_FALSE
    *      I_AS_CHECKBOX                = ABAP_FALSE
    *      I_AS_DROPDOWN                = ABAP_FALSE
    *      IT_VALUE_SET                 =
    *      I_READ_ONLY                  = ABAP_FALSE
    *      I_DONT_CARE_VALUE            =
    *      I_EXPLANATION                =
          I_TOOLTIP                    = 'Select Date'.
    8: To Fetch Data entered in the selection field, write following code on action of button click:
      data:
            lt_date type REF TO DATA.
    FIELD-SYMBOLS:
                     <fs_date> TYPE table.
      *  retrieve Date from Select Options
      CALL METHOD WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD
        EXPORTING
          I_ID           = '<attrib_name>'
        RECEIVING
          RT_RANGE_TABLE = lt_date.
    *  assign Date Field Symbol
      ASSIGN lt_date->* to <fs_date>.
    9: Windows Window Tab: In the View Conatiner, embed the WND_SELECTION_SCREEN view from SELECT_OPTIONS component Usage of  WDR_SELECT_OPTIONS component.
    Regards,
    Reema.

  • BOM Items Delete

    Is there any BAPI or RFC to delete only the ITEMS of the BOM.
    Please help.Its urgent.

    check this fm...........CSAP_MAT_BOM_MAINTAIN
    sample code..........
    gt_stpo_api03-id_item_no = '0010'.
    gt_stpo_api03-FLDELETE = 'X'.
    gt_stpo_api03-component = 'Pass componet'.
    APPEND gt_stpo_api03.
    CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'
    EXPORTING
    material = tbl_mat_centro-matnr
    plant = tbl_mat_centro-werks
    bom_usage = stlan
    valid_from = datuv
    fl_bom_create = ' '
    fl_new_item = ' '
    FL_COMPLETE = ' '
    i_stko = gs_stko_api01
    IMPORTING
    fl_warning = fl_warning
    o_stko = o_stko
    TABLES
    t_stpo = gt_stpo_api03
    EXCEPTIONS
    error = 1
    OTHERS = 2.

  • CSAP_MAT_BOM_MAINTAIN change/create subitems

    Hi,
    I am 'trying' to write a program that can change / create subitems for components in existing bom's. I use  CSAP_MAT_BOM_MAINTAIN but it just doesn't work.
    Already searched the forum and tried all the tips ... no succes
    Does anybody have experience with this or can provide me some example code ?
    with regards
    Erik

    hi
    good
    gt_stpo_api03-id_item_no = '0010'.
    gt_stpo_api03-FLDELETE = 'X'.
    gt_stpo_api03-component = 'Pass componet'.
    APPEND gt_stpo_api03.
    Try to use comitt work after FM.
    Check the FM IDOC_INPUT_BOMMAT ,this fm use CSAP_MAT_BOM_MAINTAIN FM
    thanks
    mrutyun^

  • Adding a new link to workcenter group

    Hi
    I have to add a link of 'competitors' to the UI in the accounts workcenter group. I have created a component for the competitors but am not able to make out how do i link it to the 'Accounts' workcenter group.
    Can anyone help me out please.
    Thanks and Regards,
    Radhika

    Hi Radhika,
    if your requirements are not matched by customizing the navigation bar/ workcenter you have to enhance the worcenter page. For this you need an enhancement set. Then enhance the standard component. There go to the runtime rep. editor:
    1. add component usage
    2.assigne your component to viewset
    3. goto browser component structure and configure the view
    Prerequisites: Please check your component if you have created a component interface in the runtime rep. editor and if your view is already added to the MainWindow of your component (browser componet structure).
    Best Regards
    Michael
    Edited by: Michael Kiesel on Jul 29, 2008 3:22 PM

  • Cfreturn variable is not recognized when outputing content

    I have a page that i wish to display total invoices paid to a particular contractor. This Page is Runnign CF9. I'm using a CFC page to write my queries and a action page to display the output via a search box from a search page. Whenever i input the invoice id, coldfusion throws the error: Variable RECENT_INVOICE is undefined"  Am i missing something? my syntax is written below:
    <!---CFC PAGE--->
    <cfcomponent>
    <cffunction name="getinvoice" access="public" returntype="query">
    <cfquery name="recent_invoice" datasource="w9">
    SELECT invoice.*, project.*, bid.*, CONCAT(w9.w9fname,' ', w9.w9lname,'  ', w9.w9businessname) AS Contractor, w9.*
    FROM invoice, project, bid, w9
    WHERE invid = #form.invid#
    AND INVOICE.invcontractor = W9.w9ID
    AND INVOICE.invproject = PROJECT.proID
    AND INVOICE.invproject = BID.bidproject
    AND INVOICE.invcontractor = BID.bidcontractor
    </cfquery>
    <cfreturn recent_invoice>
        </cffunction>
    </cfcomponent>
    <!---Display page that show the invoked query--->
    <cfinvoke
      component="invoice.componets.test"
      method="getinvoice"
      returnvariable="recent_invoice">
    <!--- CFC Query --->
    </cfinvoke>
    <!---OUTPUT Items Below--->
    <cfoutput>#recent_invoice.invdate# - #recent_invoice.invjob1# - #recent_invoice.invamt1#</cfoutput>

    Looks like you are referencing a form field in your query; form.invid.  You are not submitting a form, you are calling a cfc so you probably want to add an argument to your function and pass the value when you call it.  Change like so:
    <!---CFC PAGE--->
    <cfcomponent>
    <cffunction name="getinvoice" access="public" returntype="query">
    <cfargument name="invid" type="numeric" required="true" />
    <cfquery name="recent_invoice" datasource="w9">
    SELECT invoice.*, project.*, bid.*, CONCAT(w9.w9fname,' ', w9.w9lname,'  ', w9.w9businessname) AS Contractor, w9.*
    FROM invoice, project, bid, w9
    WHERE invid = <cfqueryparam cfsqltype="cf_sql_integer" value="#arguments.invid#" />
    AND INVOICE.invcontractor = W9.w9ID
    AND INVOICE.invproject = PROJECT.proID
    AND INVOICE.invproject = BID.bidproject
    AND INVOICE.invcontractor = BID.bidcontractor
    </cfquery>
    <cfreturn recent_invoice>
    </cffunction>
    </cfcomponent>
    <!---Display page that show the invoked query--->
    <cfinvoke
      component="invoice.componets.test"
      method="getinvoice"
      invid="#yourInvoiceNumber#"
      returnvariable="recent_invoice">
    <!--- CFC Query --->
    </cfinvoke>

  • Error while Deleting Software Component

    Hi All,
    I am getting following error while deleting Software Component Version:
    Unable to Delete object DELETEDEMO_COMPONENET, 1.0 of delete.
    You cannot delete a sotware component version if it contains imported interfaces.
    Is there any shortcut isntead of deleting all objets manuually?
    Sri

    Hi Sri.
    It's very simple
    Solution:
    Double Click on Software Component, On Right Hand side >Go to Software Component Version->Delete the software component.If all the necessary Objects have been properly deleted, there will be no problem in Deleting the Software Componet version
    1) Delete the created Data Types, Message Types, Message Interfaces, Message Mappings, and Interface Mappings.
    2) There should be no Imported SAP Objects in the Software Component. If any delete them and activate changes.
    3) Delete all namespaces in the editor using sign. Do not save the changes.
    4) Delete the two default data types that are created in the Interface Objects-->Data Types of the software component version (ExchangeFaultdata, ExchangeLogdata). Now save changes for the s/w component version and activate the changes. Ignore the warnings that pop-up.
    5) The radio button for u201CInterface import should be at u201CNot permittedu201D instead of u201CImport RFC and IDoc Interfaces from SAP Systems Permittedu201D.
    6) Now go to Software component version menu in the right hand pane. Click on delete and the software component vanishes from left hand pane 
    >> Is there any shortcut isntead of deleting all objets manuually?
    NO.. other way or any any shortcut for this
    Abid

  • FM to get table names for a given Apllication Component.

    Hai Friends,
    I have to create a function module which functions exactly as the INFORMATION SYSTEM button in se16 table help.
    i have written something like this but this is not giving exact results as INFORMATION SYSTEM IN SE16.
    for ex.  for componet sd-bil it gives 376 records where as in se16 you get only  30 to 40 table...
    So pls help me with the tables and logic...
    SELECT
              B~DEVCLASS
              INTO CORRESPONDING FIELDS OF TABLE IT_TDEVC
              FROM DF14L AS A
              INNER JOIN TDEVC AS B
              ON A~FCTR_ID = B~COMPONENT
              WHERE A~PS_POSID = COMPONENT.
      LOOP AT IT_TDEVC.
       SELECT TABNAME TABCLASS FROM DD02L
                      appending corresponding fields of table  TABLE_LIST
                      WHERE APPLCLASS = IT_TDEVC-DEVCLASS
                      AND ( TABCLASS = 'TRANSP'
                      OR TABCLASS = 'POOL' OR TABCLASS = 'CLUSTER')
                      AND AS4LOCAL = 'A'.
    *                  append table_list.
    * endselect.
       ENDLOOP.
    This is just a test program so ignore the performance issues .
    Waiting for your help..
    Reshali.

    Hi,
    Try the below code....
    REPORT  zsen_information_system.
    PARAMETER w_comp TYPE ufps_posid.
    TYPES : BEGIN OF y_tdevc ,
              devclass TYPE devclass,
            END OF y_tdevc.
    TYPES : BEGIN OF y_table ,
              tabname  TYPE tabname,
              tabclass TYPE tabclass,
            END OF y_table.
    DATA : it_tdevc TYPE STANDARD TABLE OF y_tdevc WITH HEADER LINE
         , it_tab_list TYPE STANDARD TABLE OF y_table WITH HEADER LINE
    SELECT b~devclass
      INTO TABLE it_tdevc
      FROM df14l AS a
      INNER JOIN tdevc AS b
      ON afctr_id = bcomponent
      WHERE a~ps_posid = w_comp.
    SELECT tabname FROM info_tabl
      INTO TABLE it_tab_list
      FOR ALL ENTRIES IN it_tdevc
      WHERE as4local IN ('L','A','N')
        AND tabclass IN ('TRANSP','VIEW','CLUSTER','POOL')
        AND devclass = it_tdevc-devclass.
    IF sy-subrc EQ 0.
      LOOP AT it_tab_list.
        WRITE /: it_tab_list-tabname.
      ENDLOOP.
    ENDIF.
    Hope this will solve your problem
    Thanks and regards,
    Senthil Kumar Anantham.

  • How to use a Development Component in One Project

    Hi All,
    In my WebDynPro Project I am using Different tranactions in one application.
    I am planning to create each tranaction as a seperate WebDynPro Component and calling in the Main Componet in a single Project and Application.
    The sub components are having different view and view sets.How to interface with the main component to call the views and view sets of sub components.
    is it any sample document for this type of application.
    Pl help me to solve .
    Thanks in advance.
    Regards,
    Ram

    Hi Ram,
    The following links will give more info about DCs.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro component reuse.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/help/sdn_nw04/saphelp_nw04/helpdata/en/05/8d982c6ec5ce4b90da74d3aa12bc87/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/help/sdn_nw04/saphelp_nw04/helpdata/en/05/8d982c6ec5ce4b90da74d3aa12bc87/content.htm
    WebDynpro DC and Usage
    Regards, Anilkumar

  • How to create custom component in CRM 2007

    Hi.
    I am new for the CRM 2007 Web UI.
    Here we have CRM_UI_FRAME.
    Like this so many Components are there.
    I want how to create our own component.
    I created it as follows.
    Open the Transaction code bsp_wd_cmpwb.
    Provide Z Name in the Component.
    Zcomponent
    Press Create button.
    Go to Run Time Repository.
    Press Change Mode.
    Create a MODEL as ALL.
    GO to Browser Component Structre.
    Select View.
    Provide View name.
    Create the View.
    Go to view Layout.
    Provide the code like this.
    <%@page language="abap"%>
    <%@ extension name="htmlb" prefix="htmlb"%>
    <%@ extension name="xhtmlb" prefix="xhtmlb"%>
    <%@ extension name="crm_bsp_ic" prefix="crmic"%>
    <%@ extension name="bsp" prefix="bsp"%>
    <cthmlb:overviewFormConfig/>
    Create the context under the context.
    Go to Configuration tab.
    Assigne the Attributes to the Screen.
    GO to the Run Time Repository.
    press change mode.
    Assigne the view name to the Window.
    Save it.
    Test the Componet. But it is not diaply anything on the screen.
    How i will get the data into the web UI.
    Can anybody expalin about this one to me with screen shorts if possible.
    I want add some fields into the web UI. Provide some values into that. Capture the values.
    Navigate the data from one screen to another screen. How it is possible. I did not understand. 
    If i am changing any screens in the pre define component it shows dump.
    So, now i need Custom component with adding of the fields.
    Please give me proper information regarding this one.
    Thank You.
    Krishna. B.

    Hi,
    Try put the htmlb to show a field:
    <thtmlb:label design="LABEL" for="//<context>/<field>" text="<field>"/>
    <thtmlb:inputField  id="<field>" maxlength="31" size="20" value="//<context>/<field>"/>
    In order to get value, you can write a simple code in the event_handler:
    LR_BOL                      type ref to IF_BOL_BO_PROPERTY_ACCESS
    LR_BOL = ME->TYPED_CONTEXT-><context>->COLLECTION_WRAPPER->get_current()
    var1 = LR_BOL->GET_PROPERTY_AS_STRING('FIELD').
    take a look at lr_bol methods so that you can see the set and get methods.
    Regards,
    Renato.

  • Error in product costing cost component structure with quantity...

    Dear sap gurus
    I am creating material cost estimation with quantity structure while doing in T CODE CK11N the following error is coming Message no. 213 Cost component structure z9 is not active. But I am not using the particular Cost component structure z9. I am using the standard Cost component structure 01 and I have activated it at OKTZ and the z9 is deactivated. Plz, tell me where I can fix this error
    Awaiting for you kind reply.
    Naveen

    Hai MoH
    Thanks for yuor reply, yes you are correct. i have checked in OKKN where i found that the cost component structure z9 is assigned to my co. code that is not mine i am using the standard cost componet structure. plz, tell me where i should go and change the assignment plz, give the T.CODE
    regards
    Naveen

  • Navigation between different componets in IC Web Client for CRM 7.0

    Once the user click save button in component ICCMP_BT_BUTTON I need to navigate to component ICCMP_BT_SVO that displays the Service Order Data and display the new Service Request that was created.
    How can I do navigation between different componets in IC Web Client for CRM 7.0?
    Thanks.
    Rodolfo Miã

    Hello,
    You can find detailed presentations in the learning maps available on the SAP Service Marketplace http://service.sap.com/rkt-crm for release CRM 2006s, CRM 2007, or CRM 7.0. In case I didn't mention it before, Intent-Driven Interaction (IDI) was first introduced and is only available starting with CRM 2006s and above. In the Interaction Center area, there is a presentation called "Rule Based Automation and Guidance" which covers IDI. I'm not sure if you can access the URL directly, but just in case here it is: [https://websmp104.sap-ag.de/~sapidb/011000358700001162852007E].
    Warm regards,
    John

  • Cost element 7000218 is not assigned to a cost component in CostCompStruct

    Dear All,
    How to change the standard price in MR21 for materials with Price Determination Control 3 ( header level V & 3) (Split level S & 3)
    In MR21, when I am updating the price for initial stock uploading.
    It throws me a error Cost element 7000218 is not assigned to a cost component in CostComp Struct 01
    Actually the cost component structure 01 is not active. we are using OP cost component structure & it is active , further the  assigned to  the company code level.
    Cost element 7000218 is assigned to the cost component structure OP.
    please suggest why it result in above error, even though we are not using cost component structure 01.
    Regards
    Subbu.

    Hi,
    Did you change the cost component structure assignment for the plant ?
    This error could be produced due to the fact that for this plant the cost component struture was changed from 01
    But ML tables makes reference to the old cost component structure.
    You can check table CKMLKEV.
    During the creation of the material the system creates data for the current, previous and last period of the last year (12 2010).
    Therefore the system tries/ needs to create also a cost componet split for the period 12 2010. For this it must used the cost component structure for this period 12 2010 (maybe 01).
    In such a case you have to define the cost element in '01' as well.
    Please do read note 434873 carefully for the side effect and correct procedure to change cost component structure.
    regards
    Waman

Maybe you are looking for

  • Permissions problem with External Hardrive

    Sorry to drag up this old topic, but I have a situation on a friends iMac that I cannot correct following the steps here. It has an external drive connected that is data only, no MacOS. I have followed step #3 by typing the following chmod 775/Volume

  • MIDP in Palm

    Hi, I'm development a software that will run in a Palm m-100. In this softwares the users must entering information during all the day and, in the end of the day, connect the Palm in the PC (using direct serial connect) and store the day's data in th

  • TREX content search MSG (msoutlook)

    Hi all, I have a problem with content search of MSG files... TXT, HTML, PDF, XLS, DOC, PPT... all is working, but MSG do not. I added into TREXValidMimeTypes.ini row with application/msoutlook and (just to be sure) application/vnd.ms-outlook. Into TR

  • Will iOS 7 be for iPod touch 4gen

    Will iOS 7 be for iPod touch 4gen please tell me it will

  • Image setting under export

    Under file:export I no longer have the option to change the image setting, (eg the resolution) Has it been moved to another part of lightroom or is there a way to bring it back under Export?