on 07-18-2007 5:37 PM
hi,
Can any body tell me how to pass value from one application to another application.After calling the application from another application.i don't know how to pass the value to the another application.
can any one give the detail for the same.
Regards,
Ravi.
do following steps..
if ur creating a DC project.(local or on tracks)
<u>web dynpro project whr u want values..</u>
web dynpro comp-> comp controller-> interface view-> add parameter to default inbound plug....
create a context at componant controller to store coming value...(as user name came from login screen-> it`ll set parameter of inbound plug-> u assign that parameter value to context-> then access it in ur other screens(as at screen u cant access inbounf plug directly))
make public part of comp controller as a API package.... build it
-
<u>web dynpro project from whr u send values..</u>
add that public part in ur web dynpro project``s used dc`s.
in used web dynpro componant-> add ipublic part as used componant..
now u`ll get the corrsponding screen whr u want a value...
in window-> embed new view->embed interface view of componant instace
at next screen u hv to create on componant interface from used dc`s..
automaticall it`ll give u options..so ucan simply choose it.
create a outbound plug at ur screen, from whr ur sending parameters... and add that parameter in outbound plug..
open diagram view of window..whr u`ll get two view...just link the outbound plug to default inbound plug....
it works..........
if then also ur unable then tell me i`ll send u a ppt of steps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create a node(XYZ) in context of COMP1's component controller(CC) and set this node as interface node.
In the COMP2 you can make COMP1 as the part of component usage and map the same context node XYZ in COMP2's CC context. The data exchange is taken care by mapping.
You can further extend the context node(XYZ) mapping to the view from the coressponding CC context and set the values for the attributes.
Hope this should help you.
Rgds
Kartik
Message was edited by: Kartik
Karthick Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi,
I have created interface node in my comp1, this nodes attrbute is having sme value. now i hav mapped this interface node to the ui elements of second comp2.
here the ui element is inputfield. mapping is done. everythnig fine. but the value is not displaying in input field. still what the thing i hav to do for to view the value of the attribute in inputfield.
thanks in advance
Hi Nithy,
the interface node is capturing data. i am displaying it in my first application, its working fine. in my second application i binded this interface node with input field. but i m note getting value in inputfeild. y its showing in first application, but not in second. wether i need to write any code on second application or wat. pls tell me
hi,
I am facing some strange problem.can any one guide me to resolve the same.
In my first component<b>(comp1),i have created one interface node</b> and <b>passed the value to that node and displayed in the first componet(comp1).</b>Its working fine.
In the first component(comp1),by clicking prodno button ,it will navigate to the second component(comp2)
So,in my second component<b>(comp2</b>)-diff application,<b>i called the interface node of the first component(comp1) and binded into the input field of the second component.</b>
But in my <b>input field of second componen(comp2), no value are displaying.</b>if i am navigate from comp1 to comp2 by clicking the button in the comp1.
Advice me to solve this issue.
Thanks in Advance,
Regards,
Ravi.
Ravi,
please check the inter application navigation tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/webdynpro/wd%20java/wd%20tutorials/inter-application-navigation%20in%20web%20dynpro.pdf">Here</a>. It talks about passing parameters also from one to another.
Regards,
Shubhadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In my application,i am using navigation plug for communiting from one component to another component.
For eg. i want to pass value from COMP1 to COMP2 through the outbound plug in the COMP1.
can u give some ex.for how to pass value from outbound plug of COMP1 to COMP2.
And also tell the demo example application name for passing value between more than one component.
Thanks in Advance.
Regards,
Ravi.
Hi,
Thanks for your ex. application.but in that application i can't able to get how to pass the value between two component.
so per your suggestion,i followed the procedure.
In my first component Outbount Plug,i specififed as follows,
Parameter Refto Associated type
prd_num selected zibp_st_part_product_list-product_number.
here zibp_st_part_product is my structure and Product_number is my field name.
but i am getting the error like
<b>"The obligatory parmeter "PRD_NUM" had no value assigned to it.</b>
kind tell me where i am doing the mistake.
Thnaks in advance.
Regards,
Ravi.
hi Nithya,
Thanks for your timebeing help.now my previous problem has been resolved.
Now my doubt is,How to capture the value in the COMP2(ie.second comp)comming from the parameter of Outbound Plug-COMP1.
kindly suggest me,how can i capute the value in the second component(COMP2).
Thanks in Advance.
Regards,
Ravi.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.