cancel
Showing results for 
Search instead for 
Did you mean: 

how to communicate between two diff DC

Former Member
0 Kudos

Hi,

I want to communicate between two DC's .( output from one is input to other.

First DC contains an input form and second DC contains an output form which displays the data entered in ofirst DC. Can someone tell the procedure or required weblogs? How to proceed for this.

I know that it is possible through interface controller. But what to write in that?

Wat does getDescription and execute method do?

Please explain in detail

Regards,

Piyush

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Piyush,

What i could get is that you have two applications. One as a form to get input from user in different fields and the other as to display the summary of the entered data. I dont think adding dependency of dcs would help in this case. You can attain this either using guided procedures where you have getDescription, execute and complete methods or through portal navigation. But this wont serve the purpose either as this is for a workflow process based on user's portal role. You can reach GUIDED PROCEDURES for this and get relevant articles and blogs on it.

For you i think use of WDPortalNavigation API would suit the best. Using this you would be able to navigate from one application to other and pass parameters as well. You will get sufficient blogs and forums on SDN of how to use this method for passing parameters from source to target application and then how to catch the parameters in the init of the target application. In your case i would suggest you to pass string array instead of individual strings as the no of parameters to be passed i expect is large.

Regards,

Tushar Sinha

Former Member
0 Kudos

Hi Dear

As my Knowledge..

Communication Between 2 DC's

First u have to Create Public Part in First DC and Next That Public part Name Calls to Second DC By Using "Used DC"

Just go thought this Link...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1f4df00-0801-0010-6298-8fd...

Regards

Vijay Kalluri

Former Member
0 Kudos

HI Friend,

As Long as its about sharing the data between two different DC's (Development Components) i don't think the concept of Componentization applies here. This is purely about two different DC's you must have to create public part of one DC and access it from other DC. Componentization is about modularity of your one DC in which you can have more then one Components and to communicate between 2 or more components within 1 DC you don't need to create any public part. you can use the data of different component within the DC by used components. For communication between 2 components of same DC you can use above provided pointers of Componentization Exercises. ANd for Other option I mean Communication Between Two DC's (Development components) Following Pointers will be very helpful.

[Webdynpro DCs in CE 7.1|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8881] [original link is broken] [original link is broken] [original link is broken];

[Web Dynpro Java for Experts: Web Dynpro Component|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/800b7206-9c6d-2910-f78e-ce4034716c56]

[Web Dynpro Component Interface Defintions in Practice|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487f82c]

This One Is for Componentization.(Communication Within One Single DC)

[Componentization of Webdynpro Application in CE7.1|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8748] [original link is broken] [original link is broken] [original link is broken];

And follow these simple step for proceeding further.

1. DC Metadata

2. Public Parts> New Public Part><name> and select provides and API for developing and compiling other DCs> select entity type as webdypro components and select the entity from the below list also check the checkbox stating add the entity to public part as source>Finish

3. Build your DC

4. Move to another DC

5. DC MetaData>DC Definition>Used DCs and select Add Used DCs--> and select the public part created above

6. Now open your window in the same DC and select embedd view and select embedd the interface view of a component instance>Next>Now expand the hierarchy and select the interface view of the above DC.

7. You will get a default inbound plug with this DC. Just provide a navigation link from some view of this DC to the interface view.

Regards

Jeetendra

Former Member
0 Kudos
Former Member
0 Kudos