cancel
Showing results for 
Search instead for 
Did you mean: 

How to Pass values between one webdynpro application to another

ananth_anni
Participant
0 Kudos
391

Hi ,

I know How to Pass Values Between the Application by URL But For My Requirement NO need The Pass in URL Rather Than That Please any one TEll me How to GEt VAlues BEtween the application......

Thanks

ANANTH.

Accepted Solutions (0)

Answers (3)

Answers (3)

cdprasanna
Active Participant
0 Kudos

Hi,

Create a similar Interface Node in Component_B (used component) & then in Component A, declare usage of used controller B in Component Controller A & map the two nodes. so data flows automatically between the node of Comp-A to Component B & vice-versa. This should definitely provide resolution to your issue.

Thanks & Regards,

Prasanna CD

0 Kudos

Hi

How to pass values b/w one webdynpro application to another WDA through URl?

Ple help,any one known this.

Regards

Laxmikanth K

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Hi

> How to pass values b/w one webdynpro application to another WDA through URl?

> Ple help,any one known this.

>

>

> Regards

> Laxmikanth K

Please do not post new questions to an existing thread. You seem here that you are asking the same question already discussed by this thread. There is much discussion on this topic here. Why simply re-ask the same question? If there is some aspect you don't understand about what has been discussed, then be specific about what you need. Otherwise your just asking people to repeat what has already been posted.

Kiran_Valluru
Active Contributor
0 Kudos

Hi.,

I think you are looking for component usage.,

check this article : [WDA Component Usage|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f?quicklink=index&overridelayout=true]

hope this helps u.,

Thanks & Regards,

Kiran

ananth_anni
Participant
0 Kudos

Hi Kiran,

Thanks For you replay ,,,,, But See First Component Having Input Field = 1234 And when Test the Firts Component

and Click the Button it will show the second component With SAme Input put Field like first coponent , SO i need to get the value from First to Second Not through Passing values in URL ..............

Thanks ,

ANANth...

former_member199125
Active Contributor
0 Kudos

If you dont want to pass values through URL, then you must have to use component Usage with interface node.

Or you can try like this,

by appending field value to url,

Data w_url type string,

w_value type string.

      • get the url of calling aplication

call method cl_Wd_utilities->construct_wd_url

exporting application name = name of second application( to which u want to pass parameter )

importing out_absolute_url = w_url.

***Make the value type compatible that has to passed with url.

w_string = lv_pernr

***Now attach the parameter and its value with url that have to passed to 2nd application

call method cl_http_Server=>append_field_url

exporting name = 'pernr'

value = ' w_value'

changing url = w_url.

      • then popup window for 2nd application with above url

lo_window = lo_window_manager->create_external_application ( url = w_url ).

lo_window -> open( ).

***now in wddoinit of 2nd application

data lv_param type string

lv_param = wdr_task=>client_window->get_parameter( ' pernr ').

Now you can use lv_param in 2nd application.

Regards

srinivas

ananth_anni
Participant
0 Kudos

Hi Srinivas Thanks for your Replay But What You told already iam Tried IT That also Passing value to Second Application URL ,

BUt You Told we can do through component usage Tell that clearly But ..... Nodes Are Different 1.application Input Filed is vbeln

2. Application Input Field is String Field Now Tell ME How we PAss that value to String Input Field

Thanks.

former_member199125
Active Contributor
0 Kudos

Enable interface node property for vbeln node by selecting the interface node property and input element property of vbeln node.

Now this node will be available in interface controller.

Now reuse app1 component in app2 component. Now maintain external context mapping between interface node property and 2nd application input node.

Make some adjustment compatibility of both nodes.

Now you will get the same vbeln value in 2nd app input field.

Regard

Srinivas

ananth_anni
Participant
0 Kudos

HI ,

Iam Tried what To told Iam Getting error

External Mapping of Node ZPASSING#COMPONENTCONTROLLER.CONTEXT.VBAK Is Not Completed Yet

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Cross Component context binding (as suggested here) won't work unless the two components are running in the same user session. If you have two WD Applications that are started via URL directly or running in separate browser windows, they won't be able to share context mappings. This approach only really works for embedded components and when you perform navigation via navigation plugs (in which case you can use the plug parameters to pass data).

If you have separate user sessions consider the usage of shared memory objects (although this can get tricky if you have more than one application server) or server cookies. Server cookies were built for BSP, but also work fine within WDA as well.

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm

Former Member
0 Kudos

Hi,

Unique values you need to pass from one WDA to another WDA?

if that is the case means better you can try workflow.

Regards,

Srini.