Component to component communication
Hi
i have aDC with two components comp1 and comp2 i want to call amethod present in comp1 from comp2,can you please tell me how to do it.
thanks
rahul
Hi,
I have done the below steps as mentioned :
1. Defined used component comp1 in comp2
2. linkd the interface controller of comp1 in comp2
and 3. calling the method : wdThis.wdgetFlexInterface().refreshFlexcomp() ; This refresh Flex comp() is existing in comp1 interface controller.
This looks fine with no compile errors in test server. When I try to activate to D using NWDI then it is returning compile error as below:
symbol : method wdGetFlexInterface ()
[javac] location: interface com.deloitte.component.newhire.healthplan.wdp.IPrivateNew_Hire_HealthPlan
[javac] wdThis.wdGetFlexInterface().refreshFlexComp();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error
Can you please let me know if I am missing anything here?
Thanks for your time!!
Regards,
Madhavi
Similar Messages
-
Component SF40 & Component IAG
Dear Oracle Developer Community & Support Team!
In problem reports on Oracle Forms bugs are classified by
"components" (Component SF40 & Component IAG for example).
Where could I find the description what does each one mean?
Sincerely yours,
Ilja.
nullHi Brad,
I don't think there is a standard way to do it.
I suppose that you can make a custom program using a BAdI that will adjust the Order everytime there is a Goods Receipt for the Order.
For example, you can use BAdI MB_DOCUMENT_BADI and when the material document 101 is done for the order you make the calculation and adjust the quantity of the components in the order using a BAPI.
If you adjust the quantity for the components, I can confirm the quantity of the components will be adjusted and the dependent requirmenet will be adjusted in MD04. You should be able to do it. The problem is that the backflush will be done without taking into account the changes introduced by you.
Kind Regards,
Mariano -
What is the different between component and component type in extract struc
Hi All,
What is the different between component and component type in the Extract Structure?
I used them, but I never really know the different between them yet.
Thanks,
GraceThe difference between Component and Component Type are:
Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables). -
Table for Component and Component Description in CS03
Hi,
I want to know the table associated with CS03 Transaction.I mean from which table we can get component and component description. And Is there any way that we can pull all the characterstic Values for that particular component.
Thanks in advanceHi
see the tables
MAST
STKO and
STPO
all related to BOM
Bill of materials
to pull all characteristic values
use tables CAWN and AUSP or
Use the following BAPI's:
BAPI_OBJCL_GETDETAIL
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
Regards
ANJI
Message was edited by:
Anji Reddy Vangala -
Component triggering and communication
I have recently been tasked with learning flex for our
project and for the life of me, I cant seem to get my head around a
couple things. I want to ask one question here regarding
communication between components.
Is it possible to call a function (if its public) from one
component by another one if both components are in the same
view?Thanks for the reply Peter. I watched a video on this last
night and can't wait to get started. I created a PrintDataGrid
component and am going to try to pass the items from the list into
it and use a while loop and the validNextPage property. My code
looks something like this: 3 files
--- Print Data Grid Component---
<mx:PrintDataGrid id="PrintMeetings">
<mx:columns>
<mx:DataGridColumn
dataField="meeting"/> // Not
really sure which value to use here because the list contains an
itemRenderer that inserts objects from a meetingItem class
</mx:columns>
</mx:PrintDataGrid>
--- Header Component ---
<mx:Button id="btnPrint"
click="Print();" />
Trying to
call the print function in the page comonent here. There is no
print function in the header
--- Page Component ---
<mx:List id="lstMeetings"
dataProvider="{CommunityModelLocator.getInstance().meetingList}"
itemRenderer="view.meeting.MeetingListItem" />
I know Cairngorm is advanced, but I have been tasked with
figuring it out because our projects are using it. Thank you for
any help you can offer. -
I recently upgraded my set of custom data flow components to use the SQL 2014 SDK as we are upgrading to SQL Server 2014 RTM. The only change I made to my custom components was to change the references to the following DLLs from version 11.0 to version
12.0:
Microsoft.SqlServer.DTSPipelineWrap
Microsoft.SQLServer.DTSRuntimeWrap
Microsoft.SQLServer.ManagedDTS
Microsoft.SqlServer.PipelineHost
After rebuilding my assembly, adding it to the GAC, and placing it in the appropriate directory structure (the 120\DTS\PipelineComponents directory for both the x86 and x64 versions), my components no longer display in the SSIS toolbox in SSDT. In
addition, whether loading up my packages in SSDT or executing them via the SSIS catalog (in SQL 2014), I get the series of error messages below. I do have a PerformUpgrade method implemented in my packages that has worked successfully through previous
component upgrades. I also found this seemingly relevant thread (Custom
SSIS Connection Manager error message in SSIS 2014 (RTM): The connection manager '' is not properly installed on this computer.) and tried modifying the extensions.xml script, but I was unsuccessful with this approach (though I could have done so
incorrectly).
Validation error. DFT Process Changes: DFT Process Changes: The component metadata for "xxx, clsid {874F7595-FB5F-40FF-96AF-FBFF8250E3EF}" could not be upgraded to the newer version of the component. The PerformUpgrade method failed.
Error loading xxx.dtsx: The "xxx" failed to cache the component metadata object and returned error code 0x80131600.
Error loading xxx.dtsx: Component xxx, clsid {874F7595-FB5F-40FF-96AF-FBFF8250E3EF} failed to initialize due to error 0xC0047067 "The "%1" failed to cache the component metadata object and returned error code 0x%2!8.8X!.".
Error loading xxx.dtsx: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "".
Error loading xxx.dtsx: The component metadata for "xxx" could not be upgraded to the newer version of the component. The PerformUpgrade method failed.
Validation error. DFT Process Changes SSIS.Pipeline: The component metadata for "xxx, clsid {874F7595-FB5F-40FF-96AF-FBFF8250E3EF}" could not be upgraded to the newer version of the component. The PerformUpgrade method failed.
Thanks in advance,
BenHi Ben,
Please also update the reference to the SSIS assembly Microsoft.SqlServer.Dts.Design located in C:\Program Files (x86)\Microsoft SQL Server\120\SDK\Assemblies folder to the version 12.0.0.0. Besides, rename IDTSxxxx110 objects to IDTSxxxx120.
It may also be the factor that the custom mapping file is not created correctly. You can make a copy of the built-in mapping.xml.sample file, rename its extension to XML, and then edit its <ExtensionMapping> attribute:
<ExtensionMapping tag="mycustom extension"
oldAssemblyStrongName="MyCustomAssembly.MyCustomTask, MyCustomAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
newAssemblyStrongName="MyCustomAssembly.MyCustomTask, MyCustomAssembly, Version=2.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
Then, we need to upgrade the packages, and SSIS will read all the XML mapping files placed in this directory during upgrade.
References (although the blogs are written for SSIS 2008 by Matt, we can still refer to them for SSIS 2014):
http://blogs.msdn.com/b/mattm/archive/2008/02/01/custom-extensions-in-sql-server-2008.aspx
http://blogs.msdn.com/b/mattm/archive/2007/06/05/katmai-custom-components-and-upgrade.aspx
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
To fetch data from a standard component through Component Controller
Hi,
I have a requirement in which i have to access and display a standard view of a standard component in a Custom Component.
I am able to display or configure that view on Custom Component by using Component Usage and Component Interface. But unable to populate the data in that view. Although i have exposed a context node in the standard component and created the same context node in my custom component in the Component Controller and using its method WD_USAGE_INITIALIZE to bind them.Please, provide some pointers on it.
Cheers,
SharadHi Sharad,
The data will show up only if you put them there. May be the standard component itself gets the data from some where else. Usually, these data are provided by the component controller. For example, the component controller contains the header entity and the used component has access to the header entity via binding and shows all item entries fetched via relations(usually this is done in on_new_focus method). If the binding is there, but no data ia available, it will stay empty.
Check a standard main component which uses the standard component that you are using and look at how they are establishing the connections.( component/custom controller bindings, on_new_focus methods,,)
Regards,
Arun Prakash -
Component to Component Navigation
Hi All
I am trying to navigate from one component to another.
I created a new component and added this component as a view area in CRMCMP_BPIDENT.
In my new component I have a view with a button called "goto callists". When I click on this I want to navigate to the call list component that is configured as an Item on the navigation bar.
In my do_handle event of the view I call the outbound plug of my new component.
in the component window plug i have the following code
ME->FIRE_OUTBOUND_PLUG( IV_OUTBOUND_PLUG = 'CALL_LIST'
IV_DATA_COLLECTION = lr_Collection ).
I don't know what to put in the outbound plug of the component window to get it to navigate to the call list item on the navigation bar.
Do I have to do some config or some additional code ?
Any help would be greatly appreciated
ThanksHi Darren,
Try creating a Navigation Link in the Runtime repository to navigate to the Target Component.
Call the Navigation link in the Outbound Plug of the Window like this:
me->view_manager->navigate( source_rep_view = me->rep_view
outbound_plug = 'TOCOMPONENTB'
data_collection = iv_data_collection ).
You can also look into any of the standard navigations. -
RE: Component to Component navigation in WD for Java
hi all,
Can anybody tell me the advantages of navigation between the different components in the same application.
what is the use of using many components in WD Java....Hi
Its because of Reusability of the components.For example if i have a seperate component like EmpSearch Component.I can use when ever a employee information is required in any other applications.
The generic functionality normally we implemented as a seperate components(DCs or a seperate webdynpro comp)
This can be used any where else.
Regards
Kalyan -
How does one Component access another Component via Component Interface ?
Folks,
Hello. I have developed my project as 2 Components ( A and B). I have created a Search Record and a Component Interface for each Component.
Now, a push button in a page in Component A needs to access all pages in Component B via its Component Interface. What are the steps to do for Component A to access Component B via their Component Interface ?
Thanks.You could define the PeopleCode to make the Component Interface work on the FieldChange event of that push button you were talking about, but it would be better to put your PeopleCode in a Save event. To do that, you would use the DoSaveNow() function on the button's FieldChange event. Then, that would trigger a save, and you could put your code on the SavePostChange of any field or on the Component itself.
Once you decide on an event, the easiest way to start is to open the blank PeopleCode window. Also, place the Component Interface in your project. Next, drag the Component Interface from the Project and drop it into your PeopleCode editor window. This will generate a bunch of PeopleCode that you can use as a starting place.
The Component Interface allows you to remote control a component as if your code were a user sitting at the Browser. So, when coding the program that uses the Component Interface, you have to have that mindset. It helps me to open a browser and walk through what I want my code to do. Then, I code each step as I do it online.
There is probably a lot more that you need to know, but is this a good starting point? Is it somewhat on track with what you were asking? Let me know were to go from here with more information. -
WDA Component configuration - 'Component-Defined' is not enable?
Hi,
I create a web dynpro abap component and then a component configuration, but is not possible to modify
tab 'Component-Defined'.
Could you please tell me why 'Component-Defined' is not enable?
Thank you.
Best regards.
Al
Edited by: Alberto Baracco on Feb 15, 2011 11:30 AMHi,
my WDA implements a POWL application and uses the component POWL_UI_COMP.
I have copied in the context of the custom controller the node CONF_DATA of the custom controller POWL_CONFIG.
Now tab 'Component-Defined' of my component configuration is enabled and it contains the parameters of node CONF_DATA.
Thank you.
Best regards.
Al -
Component/Shared component install failed
Making a fresh install of CS3 on a new computer, I get the following: Component Install Failed, and Shared Component Install Failed.
Nobody can help you with some exact system info... "New computer" means nothing, though of course it implies that it's running Win 7 or Win 8 and the bad news for you then is that there are all sorts of compatibility issues to be expected....
Mylenium -
Name of used component in component interface
Hi,
I have a component interface which can be implemented by many components. How can I find dynamically the name of the Z used component?
If I use name attribute of comp. usage attribute or info, I can only get the name which is either the statically defined name (for first usage) or freely assigned dynamical name. However, I need the Z name of the component. Like in this example:
IF...
* first usage
lo_comp_usage = wd_this->wd_cpuse_if_usage( ). "statical name 'IF_USAGE'
ELSE.
* clones
lo_comp_usage = lo_comp_usage->create_comp_usage_of_same_type( 'FREELY_ASSIGNED_NAME' ).
ENDIF.
lo_comp_usage->create_component( 'ZUSED_COMPONENT' ).
*Now I'd like to get used component name from lo_comp_usage.
*In this example, satisfactory result would be: 'ZUSED_COMPONENT'.
l_name = lo_comp_usage->name. "here I get 'IF_USAGE' or 'FREELY_ASSIGNED_NAME'
lo_info = lo_comp_usage->get_component_usage_info( ).
l_name = lo_info->get_name( ). "also 'IF_USAGE'... :-(
I know a workaround: I can create an attribute in component interface with used component name, but I would first like to try to do it properly, without workaround.
Thanks in advance!
KR,
IgorHi,
I'm on latest version of netwaeaver. Please check it out the method is alaready there.. that method returns this parameter
WDAPI_COMPONENT_USAGES which has fields in it -
COMPONENT_USAGE_NAME
USED_COMPONENT
EMBEDDING_POSITION
COMPONENT_USAGE
Regards,
Lekha. -
I keep getting this error below.
I did some research online (I always do before I post here). So, this makes no sense whatsoever. The Flat File Source is absolutely, completely, and totally linked to the flat file. I can't make it any MORE linked. I don't know what
this things wants, but this is the second time I've attempted to build this project, and this time, just like the first time, it's giving me nonsense errors, which make this impossible to debug. Something that should take a couple of
minutes to develop, easily takes days.
Any idea what could REALLY be wrong?
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.This is the work of the devil.
I'll delete this whole project and go do something else for a while. There's only so much SSIS that I can take in one day, and it's not very much.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Multiple Specification of the Name 'ATR_0003' as a Component Name (Component 2)
Hi Experts,
I am trying to configure Reporting Lane in HR Renewal landing Page. I have done the required activity/activation as mentioned here. I have done the settings for following:
Data Source: 0HR_PA_4
ODP: 0HCM_PA_T01
Query: 0HCM_PA_T01_Q0008
Now when I try to execute the query, I get following dump. I have seen some SAP notes which are very similar to this (one such is 1323444 - a correction note). So want to know if there is any such correction for HCM queries also.
ABAP Call Stack:
39 METHOD CL_ABAP_STRUCTDESCR===========CP CL_ABAP_STRUCTDESCR===========CM00I 104
CL_ABAP_STRUCTDESCR=>CHECK_COMPONENT_TAB
38 METHOD CL_ABAP_STRUCTDESCR===========CP CL_ABAP_STRUCTDESCR===========CM00C 10
CL_ABAP_STRUCTDESCR=>GET
37 METHOD CL_RSR========================CP CL_RSR========================CM01D 6
CL_RSR=>TYPE_FACTORY
36 METHOD CL_RSRTS_MD_READ_ODP==========CP CL_RSRTS_MD_READ_ODP==========CM008 55
CL_RSRTS_MD_READ_ODP=>_ADJUST_CMPOUND_ATR
35 METHOD CL_RSRTS_MD_READ_ODP==========CP CL_RSRTS_MD_READ_ODP==========CM009 131
CL_RSRTS_MD_READ_ODP=>_CREATE_ATRINFO
34 METHOD CL_RSRTS_MD_READ_ODP==========CP CL_RSRTS_MD_READ_ODP==========CM001 48
CL_RSRTS_MD_READ_ODP=>CONSTRUCTOR
33 METHOD CL_RSRTS_MD_READ_ODP==========CP CL_RSRTS_MD_READ_ODP==========CM002 4
CL_RSRTS_MD_READ_ODP=>IF_RSMD_RS_ACCESS~CREATE
32 METHOD CL_RSMD_RS_FACTORY_ACCESS=====CP CL_RSMD_RS_FACTORY_ACCESS=====CM001 33
CL_RSMD_RS_FACTORY_ACCESS=>GET_READER
31 FORM SAPLRRSI LRRSIF08 62
INITIALIZE
30 FUNCTION SAPLRRSI LRRSIU02 43
RRSI_VAL_SID_CONVERT
29 FORM SAPLRRS2 LRRS2F02 637
GET_SIDS
28 FORM SAPLRRS2 LRRS2F02 859
RANGE_GET_SID
27 FORM SAPLRRS2 LRRS2F02 60
VREP_FROM_VAR_VALUE
26 FUNCTION SAPLRRS2 LRRS2U02 74
RRS_VREP_FROM_VAR_FILL
25 METHOD CL_RSR_OLAP_VAR===============CP CL_RSR_OLAP_VAR===============CM003 33
CL_RSR_OLAP_VAR=>IF_RSR_VAR_RUNTIME~SUBMIT
24 METHOD CL_RSR_VAR_RUNTIME============CP CL_RSR_VAR_RUNTIME============CM00Q 13
CL_RSR_VAR_RUNTIME=>IF_RSR_VAR_RUNTIME~SUBMIT
23 FUNCTION SAPLRSR_VARIABLES LRSR_VARIABLESU05 91
RSR_VAR_SUBMIT
22 METHOD CL_BS_ANLY_SELECTION==========CP CL_BS_ANLY_SELECTION==========CM004 179
CL_BS_ANLY_SELECTION=>IF_BS_ANLY_SELECTION~CHECK
Best Regards,
BhaskarHi Bhaskar,
We got the same issue. Did you find a solution?
Thanks,
Laszlo
Maybe you are looking for
-
Hi, I have created test script and test configuration to upload customer master data (Tcode XD01) in DEV system. It is working fine. I saved them as local object. Now to transport test script and test configuration in QA, do i need to create request
-
HI Guys, Still not clear to me how/where should I monitor archived messages in PI 7.1. TO be honest is the first time I am facing such topic. It looks like the archive is based on archiving/date ad message id. Any way to monitor archive interface by
-
24F on Final Cut Express 3.5.1
I have a good deal of footage already filmed and plan on shooting more with my Canon XHA1 in HD 1080 24F. Will FCX 3.5. work with this format? If so, How do I set it up? I have played around with some of it, but it when I try to play my timeline in t
-
Hello SAP Gurus, Could you please take a look at the below fiscal year calendar and let me know if it looks correct. I am seeing a problem in my transferred assets when the are transferred in period 11. It's not calculating correctly. I am thinking i
-
How can I make my Mac automatically index a USB drive?
When I connect a USB drive, it shows up on my desktop, but Finder won't find anything on it because it doesn't get indexed. I'm running OS X 10.5.8 (9L31a) on an iMac G5 with a PowerPC G5 (3.0) processor. The drive in question is NTFS, but it also se