on 03-12-2008 12:07 PM
Hi have an application APP with 2 used components COMP1 and COMP2.
COMP1 and COMP2 have an interface context node called DATA which is to be shared between COMP1 and COMP2. How should this be done?
So far I could map COMP1.DATA to APP.DATA but when I try to map this from APP.DATA to COMP2.DATA it doesn't work. SE80 says the node is "already mapped". Can I not do multiple mappings and if not, how do I replicate data between shared components with programatically copying data around!?
Hi ,
in comp1 and comp2 set the property input element ( ext ) for the node ( data ) .
then as u have declared the usage ... for comp1 and comp2 in comp(main) ... go to the interfacecontroller_usage of comp1
( usage) and in that ... declare comp(main) as a usage... so that it will be available for u to map then map the node data of comp1 to the node data of comp(main)........do the same for comp2( usage)........
I hope this will solve ur problem..... for reference search the external context mapping in help.samp.com .
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash
It looks like you've done this sort of thing before. I find it confusing however. I followed your steps and got stuck at this point:
go to the interfacecontroller_usage of comp1 ( usage) and in that ... declare comp(main) as a usage
Do you mean that I have to add APP to COMP1 and basically say "COMP1 uses APP"? This seems backwards to me because APP uses COMP1 actually...
No its doesnt mean that......
It means that the interfacecontroller usage of COMP1 IN COMP needs a usage of COMP to do external mapping....
so in your scenario .
u have declared COMP1 as a used component in COMP say name 'COMP1_USAGE'.
so in COMP go to the component usage in the heirarchy and select the usage COMP1_USAGE and inside this there is a entity called as interfacecontroller_usage click on that... and then in the controller usage add the COMP as usage ..so that the nodes of COMP will be available for mapping.. then do the mapping for the node of COMP1_USAGE with the COMP.
Regards
Yash
Hi Yash
I'm sorry, I don't know what you mean by "COMP". I have referred to 3 components in my question:
COMP1
COMP2
APP
I assumed you mean "APP" when you say "COMP" but this can't be right - you say:
so in COMP go to the component usage in the heirarchy and select the usage COMP1_USAGE and inside this there is a entity called as interfacecontroller_usage click on that... and then in the controller usage add the COMP as usage ..so that the nodes of COMP will be available for mapping.. then do the mapping for the node of COMP1_USAGE with the COMP.
When I go to APP and to the Component Usage -> COMP1 I cannot navigate any further ("Operation not supported by the selected object").
We have SAP_BASIS release 700 level 12 and I'm just not seeing what you describe...
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.