on 07-01-2011 6:52 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.