cancel
Showing results for 
Search instead for 
Did you mean: 

service embedded in a view

Former Member
0 Kudos

Hi Experts

I am analysing a Web Dynpro application. I have 2 doubts in regarding the application:

1. In a view container I am seeing the embedded part as a SERVICE and a TABLE. The properties of these are Name-Service Type-Embedded Interface view View Usage-Service_usage1 and Name-TABLE Type-Embedded Interface view View Usage-Service_usage1 respectively. Could u tell me what is the role of this ?

2. In the same applicationtheir is a assistance class also in the controller named "CL_WD_COMPONENT_ASSISTANCE". What is the role of this?

Please explain in detail, as I dont have any Idea on this 2 things..

Thanks in advance

Gaurav

Edited by: GauravKaneria on Jul 1, 2011 7:58 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member199125
Active Contributor
0 Kudos

Gaurav,

Assistance class means, in the name it self it is saying assistance... It is assisting the webydnpro Component. In assistance class we can write methods ( to write business logic i mean writing statements like data fetching..............) and to store text messages

Its like normal class in se24 but assistance class has derived from super class name cl_wd_assistance( i dont remember exact class name ).

View container is UI element used to include the views of other webdynpro components. i think TABLE is name of view of salv_Wd_table component.

if you want to know complete details about that view.....

double Click on corresponding window( view which contains view containter " ) then expand the view and select "table" now you will see the TABLE details on below of the window.

Regards

Srinivas

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Srinivas,

Thank you again, Could you tell me what is the usage of this service. I have assigned the outbound plug of a button to the inbound plug of this SERVICE, but it shows a blank screen when the outbound plug is fired.Cud we add any UI in this service?

Thanks and Regards

Gaurav

Former Member
0 Kudos

Dear Srinivas

Thanks for the reply. This is not the inforamation I am seeking for. I know, how to embed a view in view container. but in my application there is a "SERVICE" and "TABLE" Embedded in the view container. I have found the table in the Component Usage but I cant find this "SERVICE" anywhere. Any Ideas?

Thanks

Gaurav

former_member199125
Active Contributor
0 Kudos

Gaurav,

Service is also a interface view of Alv component. you can see the service by following below steps.

Double click on window> view> view container.. right click on view container and select embed.

now you will get small popup ... if you press F4 on view field , there you will get........ 3 views like

Control view

Service

Table.

Regards

Srinivas

Former Member
0 Kudos

Dear Kris,

Thanks for ur reply. But my doubt is not regarding the ALV component. The doubt is, in the displayed view there is no Table related UI element, but while testing the application I can see a table displayed. I Checked the details of displayed view in the browser.

Thanks

Gaurav

Aisurya
Participant
0 Kudos

Hi Gaurav ,

A viewUIelement container not only shows the other componet view , but also u can embed the view of the same component also.

In the runtime it shows the actuall output but in display mode in Layout u wont find.

Go through the standard component..

Regards

Aisurya

Former Member
0 Kudos

1 more doubt in the same application. when I test the application the webpage displays an alv table. When I check for the view which is displayed here in this page, I found that the view is not having any table in it, and no such UI element(container) also is there. Could u tell, from where this table could be coming?

Former Member
0 Kudos

Hi Gaurav,

If you want to know about ALV just goto SALV_WD_TABLE. it is a standard component to display in ALV format.

Everything is done in this, you have to do just binding your node to DATA node of that component.

If you want more details.. just go through component SALV_WD_TABLE.

Cheers,

Kris.

former_member199125
Active Contributor
0 Kudos

Gaurav,

You cannot see the alv table in view,

As i said abt view container... view container is used to include the views of another components.So during time it will take the view from component.

By seeing view you cannot see the table...you can see only one element called view container.

If you want to include any view in view container... double click on window, and select view--> view container...

now right cilck on view container and select EMBED option, then you have to select which view u want to include from other component.

You will understand everything, once learn completly.

Regards

Srinivas

Former Member
0 Kudos

View container is UI element used to include the views of other webdynpro components. i think TABLE is name of view of salv_Wd_table component.

if you want to know complete details about that view.....

double Click on corresponding window( view which contains view containter " ) then expand the view and select "table" now you will see the TABLE details on below of the window.

Dear Srinivas,

Actually I checked all the details already, Yes that is an ALV table, but what about the SERVICE then?

Thanks

Gaurav

former_member199125
Active Contributor
0 Kudos

Gaurav,

Service is also part of alv component only, and am not good at that. Service is some kind of interface between alv component to webydnpro component.

Regards

Srinivas