Context binding between different components using component interface cont

Please tell me the procedure how to do context mapping between different components ......
Please post the procedure ASAP.

Hi Koti,
           Check this
<a href="/people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice:///people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice
<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects%28componentization%29&">https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects%28componentization%29&</a>
regards
Sumit

Similar Messages

  • How to generate single move order for same components amongs different job using component pick release

    Hi all,
           I am new in manufacturing and we want to implement functionality of generating single move order for same component among different job using component pick release. Can any one help in this.
    we are using oracle R 12.1.3 version.
          For example. We create finish good XYZ which is build in WIP item. We create discrete jobs for XYZ suppose JOB1,JOB2,JOB3 multiple job we can create for XYZ item. in these JOB suppose component abc is similar with 5 quantity. so our goal is to generate 1 move order for all three JOBS with 15 quantity of abc component.
    please help me to achieve this goal. Immediate  Reply will be appreciated.
    Thanks & Regards
    user11152750

    PranitSaha
            Thanks For your reply. Can you please tell me in detail how can I group as I am new. How using MRP we can group same component from different job in single move order for delivering that component to shop floor.
    Thank you..

  • What is relationships between Different components of SAP NETWEAVER.

    Hi all
    What is relationships between Different components of SAP NETWEAVER like
    SAP EP, SAP XI, SAP BW , SAP WAS ,SAP MI.
    or What is link between  Different components of SAP NETWEAVER.
    Thanks in advance.
    Naresh-

    Refer this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/275c42b4e05542e10000000a1550b0/frameset.htm
    Regards,
    ravi

  • Using component interface in Java

    i know working and programming with component interface but no knowledge about java
    please give me steps to use component interface in java.
    Shiv

    1. Identify/Create Component Interface which you want to access in Java
    2. Apply security for your Component Interface
    3. Open the Component Interface in Application Designer
    4. In Application Designer, select Build > PeopleSoft APIs
    5. A dialog box comes with caption "Build PeopleSoft API Bindings"
    6. Select Build checkbox for Java Classes Frame and give a target directory
    7. Select OK, This will generate PeopleSoft API classes, dont panic if it takes some time
    8. Right click on component interface, select Generate Java Template, this step will generate Java Template
    9. If you are not familiar with compiling and setting up CLASSPATH in Java then it is better you ask any of your colleagues who knows Java.
    10. Once CLASSPATH is set properly you can compile the generate Java Template without any problems
    11.after compilation you will get a .class file and you need to execute that .class file
    12. When you execute the .class file it will ask application server name, application server port, application user name and application password.
    If you give all the information correctly then you will be accessing CI in Java.
    Let me know if you need more help on this.
    Jayaprakash Tedla

  • To access a dynamic context node defined in a Used Component

    Hi Gurus,
    I need your help with something.
    I have a dynamic context node in ComponentA. I want it in Component B too.
    Component B uses Component A, but I am not able to get access to the context node.
    Is it possible to do this? Any suggestions how to proceed.
    PS: I am trying to do a dynamic mapping. The initial scenario was here, Set data into Model Node on Navigating from a View
    Thanks in advance,
    Anjana R.
    Message was edited by:
            Anjana Raghav

    Hi Gurus,
    Its working now. Earlier, the code was something like this....
    IWDNodeInfo compNode = wdThis.wdGet<i>Comp</i>Interface().wdGetAPI().getContext().getRootNodeInfo().getChild(nodeNm);
    viewNodeInfo.setMapping(compNode,true);
    and was trying to map it using
    iewNodeInfo.addMappedAttribute("order",".<i>Comp</i>."+ nodeNm + ".order");     
    Now, I am mapping like this.
    viewNodeInfo.addMappedAttribute("order","order");
    Thanks,
    Anjana R.

  • Context Exception for context mapping between 2 components

    Hi Guys,
    Currently I am working on ess FPM applications,
    I have 2 componets, VcComp1 & FcComp2, the data entered on the VcComp1 view should be passed to FcComp2.
    I defined context attribute in FcComp2 Interface controller, and then I mapped it to the context value attribute of VcCompl1's view controller, then bind the input field with that context value attribute.
    FcComp2 is added to the "used component" of VcComp1, all other mappings are also done.
    but when i run the appl to display the view in VcComp1, always this error comes out:
    com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(VcComp1View.attribute1): does not have a simple type.
    Even I changed the type of FcComp2 into a local dictionary simple type, then do context mapping again, this error is still there.
    Please help , I  have been stuck for 2 days on this small issue.
    Thanks with high rewarding points!
    Regards,
    Guo Feng

    hi,
    If you are trying to access the values in SVS or EVS and  passing it to the  Comp controller this errror will occur.
    Create a context attr and copy that vaue into it and bind it to the comp value attr.
    If not  chk out the following link,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78f23b
    Regards
    Jayapriya

  • How to switch between different instances of component usage?

    Hi All,
    Need your help.
    My application is about "Program Management", there is a table on the upper level which displays several program header data. in the lower level of the screen, I have a view container in which I embed another component to display program details.For instance,if you make a lead selection on one row of the table above, then the lower part will display the program detail.
    Here is the problem: e.g. first, I make a selection on program '001', then I'll create a component usage of the program detail and I put it into a component uage group, second, I make a selection on program '002', then the same like above, I create another component usage and put it into a component usage group. Now I have two instances of program detail component usage, when I select program '001' again, how can I switch back to program '001' detail.
    So, I'm trying to achieve multiple instances of program detail so that user don't need to wait for loading program details everytime.
    Thanks in advance.
    Regards,
    Aaron
    Edited by: Aaron Shen No.2 on Sep 22, 2009 3:44 AM

    Hi Aaron,
    As you are using two separate components, they would be having two separate views to display the required information.
    In the onleadselect of your main view ( where you are using the individual views of the other components via the viewcontainerUI ), you have to embed the following code:
      DATA lo_api_main TYPE REF TO if_wd_view_controller.
      lo_api_main = wd_this->wd_get_api( ).
      CALL METHOD LO_API_MAIN->FIRE_PLUG
        EXPORTING
         PARAMETERS =
          PLUG_NAME  = 'OP_TO_TWO'
    Create two outbound plugs in your window, and link them to the inbound plugs of the individual views of used components.
    I am embedding the code of my onleadselection:
    method ONACTIONSELECTED .
        DATA lo_nd_table_data TYPE REF TO if_wd_context_node.
        DATA lo_el_table_data TYPE REF TO if_wd_context_element.
        DATA ls_table_data TYPE wd_this->element_table_data.
        DATA lt_table_data TYPE wd_this->elements_table_data.
        data lv_selected_index type i.
      navigate from <CONTEXT> to <TABLE_DATA> via lead selection
        lo_nd_table_data = wd_context->get_child_node( name = wd_this->wdctx_table_data ).
      get element via lead selection
        lo_el_table_data = lo_nd_table_data->get_element(  ).
         CALL METHOD LO_EL_TABLE_DATA->GET_INDEX
           RECEIVING
             MY_INDEX = lv_selected_index
    case lv_selected_index.
    when 1.
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_comp_one( ).
    if lo_cmp_usage->has_active_component( ) is initial.
       lo_cmp_usage->create_component( ).
    endif.
       DATA lo_api_main TYPE REF TO if_wd_view_controller.
      lo_api_main = wd_this->wd_get_api( ).
      CALL METHOD LO_API_MAIN->FIRE_PLUG
        EXPORTING
         PARAMETERS =
          PLUG_NAME  = 'OP_TO_ONE'
    clear lo_cmp_usage.
    when 2.
    DATA lo_api_main TYPE REF TO if_wd_view_controller.
      lo_api_main = wd_this->wd_get_api( ).
      CALL METHOD LO_API_MAIN->FIRE_PLUG
        EXPORTING
         PARAMETERS =
          PLUG_NAME  = 'OP_TO_TWO'
      data lo_cmp_usage type ref to if_wd_component_usage.
       lo_cmp_usage =   wd_this->wd_cpuse_comp_two( ).
       if lo_cmp_usage->has_active_component( ) is initial.
         lo_cmp_usage->create_component( ).
       endif.
    endcase.
    endmethod.
    Regards,
    Prosenjit.

  • How to share a GB file between different computers (using dropbox).

    Me and a friend are trying to share Garageband '09 files using a shared folder with dropbox. He saves a .band file and then saves it to the shared folder. After it loads on my side I open it, but it is empty. Does GB even have this capability? Can it save a file with no dependencies? I do not want to export to mp3 or other format. I am trying to share the actual GB file. I don't want to zip or archive at all. We have the space and the forum for sharing, I just need to know how to save it properly in GB, if GB even has this capability. If not, does Logic Express?

    Robert Leffel wrote:
    Me and a friend are trying to share Garageband '09 files using a shared folder with dropbox. He saves a .band file and then saves it to the shared folder. After it loads on my side I open it, but it is empty. Does GB even have this capability? Can it save a file with no dependencies? I do not want to export to mp3 or other format. I am trying to share the actual GB file. I don't want to zip or archive at all. We have the space and the forum for sharing, I just need to know how to save it properly in GB, if GB even has this capability. If not, does Logic Express?
    You should be able to save the file with no (external) dependencies and share the actual GB file. The .band file is actually a collection of components.
    Why not Save As Archive and Zip it? It might travel better when zipped. It can be unzipped and reconstituted upon receipt.

  • Is there a way to switch between different tabs using your keyboard (eg CTRL+T) instead of clicking with the mouse?

    I would like to you use the keyboard to switch between tabs but I couldn't find if this is possible.

    Ctrl + Tab

  • Copying app between different servers using CopyApp into EPM architectur

    Hi,
    I have Hyperion Planning System 9.3 EPM arch.
    I want to migrate from my dev server to another prod server.
    I have used the tool CopyApp without problems in Hyperion Planning System 9.3 not EPM.
    Anybody knows if there will be any problem using the tool CopyAPP in EPM arch., or if you have to do some another steps to can migrate with this tool???

    I am in the process of copying.
    There are some pre-requisties:
    Create DSN (planning server)
    Create basic planning app in planning using the DSN created
    Please make sure you use uppercase for everything before the = sign on copyapp.properties file.
    copyapp runs and creates the essbase cubes, rdbms tables.
    Also the log files says OLAP data is not copied (need to export/import),
    target application will not be registered with HSS nor have it's users provisioned.
    At this point I am thinking I need to refresh data in planning, register app in HSS and provision users -

  • Using local interfaces for EJB (session bean)

    Hi,
    I�ve a question regarding when to use the Local interfaces(EJBLocal and EJBLocalHome) of a enterprise bean. I understand that calls to enterprise bean can be made locally if the client which is invoking is in the same JVM as that of EJB. I�ve written a web client (servlet) which is packaged in a EAR and this servlet is trying to invoke a session bean which is in a �different� EAR using local interfaces. Both the EARs have been deployed in a single server (websphere 6.0 server). It didn�t work for me this way�..If I package the servlet in the same EAR of session bean then it works fine.
    So is this to say that both EARs are not running on the same JVM? Or should it work even if the client and the session bean are in different EARs but in same server?
    Can anyone explain me the fundamentals behind this.
    Thanks in advance

    Local access is only portable within the same .ear. For example, the Java EE SDK and SUN's
    application servers have never supported local EJB access from a web/EJB component in a different
    .ear. One issue is that local access requires that both the caller and target EJB have the same
    classloader. By definition, different Java EE applications have distinct classloaders. In addition,
    in Java EE 5 persistence context propagation does not span applications, so it wouldn't work in the
    local case.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Binding between two compoents?

    hi friends
    i'm not able bind between two components...
    im sending my code please help me...
    how to approach using metadata or waht?
    got stuck here
    ***************************** main application*******************
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
         <ns1:mypanel x="100" y="100">
        </ns1:mypanel>
    </mx:WindowedApplication>
    ********************************* component 1*****************************
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
         width="400" height="300"
         creationComplete="init();">
    <mx:Script>
         <![CDATA[
            [Bindable]
            public var mystring:String;
            public function init():void
            mystring = "prajnith";
        ]]>
    </mx:Script>
    </mx:Canvas>
    ************************************component 2***************************************
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
          width="400" height="300"
          creationComplete="init()">
        <mx:Script>
            <![CDATA[
            import mx.controls.Alert;
            public     var callcanvas:mycanvas = new mycanvas();
             public function init():void
                Alert.show(callcanvas.mystring);
            ]]>
        </mx:Script>
    </mx:Panel>

    hi
    try this
    Alert.Show(FlexGlobals.topLevelApplication.callCanvas.myString);
    I assume component one is instantiated as callCanvas.
    David.

  • Question about insertitem in component interface

    Hi:
    I'm using component interface in my work and face a question. When I use InsertItem function in peoplecode, I'm confused about its relationship with ActiveRowCount property of Row class. I need to check the data inserted in the record, so I put logic in component fieldchange event, uses ActiveRowCount to loop in the record to check every one row .
    In the PIA, if we insert one row(by click add button) for some record, ActiveRowCount seems include the row you just insert even if you have not click save button. But when I use InsertItem and triggered a FieldChange event, ActiveRowCount in this event seems not include the new row inserted by InsertItem function. It is quite different from inserting in PIA. I'm not sure whether I uses InsertItem in a wrong way or it is just a mechanism that component interface implemented to exclude InsertItem inserted row in ActiveRowCount ? Hope someone can help me. Thanks a lot.

    That doesn't make sense to me. Regardless of whether you are going through the PIA or through a Component Interface, your ActiveRowCount should increment the same.
    Is it possible that maybe your CI code is inserting into a different RowSet than what you are doing online through the PIA?
    I don't know if this terminology helps --
    Online via PIA | Component Interface
    RowSet = Collection
    ActiveRowCount = Count
    Row = Collection
    Field = Property
    Also be sure that your FieldChange is getting triggered after you insert the row. I am not sure how you are viewing the ActiveRowcount. If it is a message, I would assume that shows up in the message collection. The message collection will just queue the messages and you can check them at the end. So, what could happen is that your field change is getting triggered first and the message gets added to the collection. Then, you could insert the row. Then, you could check messages and see the count from before the row insert yet it looks like after the row insert. You might consider printing all your messages from the collection right before the row insert and deleting any pending messages.
    If you would like to post some of your code, maybe we can help more. Hope that much helps.

  • Issue while calling COBOL program from Component Interface in PeopleSoft HRMS 9.2

    In HRMS 9.2, I am facing problem while calling the remote call function through component interface. In GP_ABS_EESS_REQ (Navigation Main Menu > Self Service > Time Reporting > Report Time > Absence Request) component, we have “Forecast Balance” button as shown below:
    This button checks for eligibility for leave being applied. While using component interface, it executes FORCAST_PB field change event peoplecode which contains a remote call to a cobol program as below:
    RemoteCall("PSRCCBL", "PSCOBOLPROG", "GPPOLRUN", "NET_RETURN_CD", &NET_RETURN_CD, "NET_TXN_ID", &NET_TXN_ID, "NET_TXN_NUM", &NET_TXN_NUM, "NET_MSG_ID", &NET_MSG_ID, "NET_MSG_PRM_CNT", &NET_MSG_PRM_CNT, "NET_MSG_PRM1", &NET_MSG_PRM1, "NET_MSG_PRM2", &NET_MSG_PRM2, "NET_MSG_PRM3", &NET_MSG_PRM3);
    I am getting following error while executing it via component interface:
    (2,148) - Think-time PeopleCode event (RemoteCall), but a SQL update has occurred in the commit interval. (2,148) FUNCLIB_GP_ABS.FCST_PB.FieldFormula Name:Abs_ForecastExec  PCPC:5311  Statement:60
    Called from:GP_ABS_EESS_REQ.GBL.DERIVED_ABS_SS.FCST_PB.FieldChange  Statement:26
    (91,34) - Error changing value. {Z_GP_ABS_EESS_REQ_CI.FCST_PB} (91,34)
    (18,2) - Data being added conflicts with existing data. (18,2)
    (91,37) - Error saving Component Interface. {Z_GP_ABS_EESS_REQ_CI} (91,37)
      After commenting out this line of code, I was able to save the CI successfully. But I need to execute this statement before saving CI so that I can check the eligibility for leave being applied. Can anyone help me on this issue?

    When I tried to read the file using `CAT -vt <filename>`, I could see that the file contains special characters such as ^M and ^I. This may be because of the file transfer mode(but I transferred in ASCII mode, still the special characters where appearing).
    I opened a VI editor and pasted the same script. Save the file, tried to run the script, It was working fine.
    I still didn't get how the special characters appeared. I used notepad++ as my editor.

  • How to use a context between two components at the runtime

    Hi Experts,
    My Web dynpro component is over the Generation limit (size of generated load is > 2 MB) so it always gets Warning when I active it. That why I have separated my application into two components and use the ViewContainerUIElement in order to show views of each other.
    In the application, I use also the TimeTrigger to refresh pages, all views have a TimeTrigger and the DELAY property of TimeTriggers is bounden into the same context attribute. I use a component to set up (change) the value of context attribute that is mapped with the Delay property. I want to change the Delay value on a component and other component will understand the changing.
    My problem is how I can use the same context attribute between components at the runtime?
    Let give me your advice on this.
    Many thanks,
    Ken

    Hi Ken,
    You can use [external context mapping|https://cw.sdn.sap.com/cw/docs/DOC-27901] to share data between two or more components using context.
    Thanks,
    Duy

Maybe you are looking for

  • Installer problem - Oracle 11g on Redhat ES 5.1 (x86)

    Hi, I'm trying to run the "runInstaller" script to install Oracle 11g onto my Redhat ES 5.1 (x86) machine and the following error is being reported: Starting Oracle Universal Installer... Checking Temp space: must be greater than 80 MB. Actual 1409 M

  • I phone zoom's to and i can't get it back without hard booting

    Twice today my i phone zoomed and I couldn't get it back.  The first time I went to a Verizon store and she did a hard boot to get it back.  Tonight it happen again.  I did a hard boot (she showed me how) and I got it back. The first time it happened

  • Help on Purchasing Document

    Hi friends Do we need to manually create PO,Confirmation and Invoice in EBP similar to that of Backend system in classic scenario & viceversa in extended classic scenario or Is there any Badi or report with which we can get PO,Confirmation and Invoic

  • JavaScript in WD

    Hi everyone, I am trying to get JavaScript running with my WD application. In the interface view, I created an Outbound plug called Exit. I added that interface view to my Main view. This is how I call the outbound plug :    wdThis.wdGetMyAppInterfac

  • MDM 5.5 Services on server

    Hi SDNers, What all services are required to be started on server for functioning of MDM. Please let me know the number of services and their names. Regards, Gautam Purohit