cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Layout for Create Change Display and Alv List

Former Member
0 Kudos

Hi All,

I am working on Custom Development WD Application for Maintain Employee.

I need to Get help/advice to hadle the two Problems.

1) In my application I have to provide Create,Change & display Employee.

Customer needs seperate Link/Application for all Create , Change and Display in Portal.

I thought I am planning to Create Three Application in the WD Component(Create,Change & Display) while Pressing the Application I have to find out what is the Application They Pressed in the Componenet Controller to Change the Layout/Field (Edit/Display/Visisble) according to Create/Change/Display Employee.

For this How to Find the Application name of the WD Componenet.

2) To show the Employee List I am having using ALV LIst.

But my List consuists of 35 Fields. Customer not ready for scrolling the List to see all columns.

I thought I am planning to provide Visible/Invisble columns after providing one button.

If they pressed this button It will next set of Columns with out scrollibng.

How to handle this ?

Kindly help/advise me for both the Problems to proceed further.

Thanks in advance.

Dav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

1.For this How to Find the Application name of the WD Componenet.

DATA:
  l_api                           type ref to if_wd_component,
  l_application_api               type ref to if_wd_application,
  l_application_info              type ref to if_wd_rr_application,
 lv_name                            type string.

  l_api              = wd_this->wd_get_api( ).
  l_application_api  = l_api->get_application( ).
  l_application_info = l_application_api->get_application_info( ).

  lv_name = l_application_info->get_name( ).

> 2) To show the Employee List I am having using ALV LIst.

>

> But my List consuists of 35 Fields. Customer not ready for scrolling the List to see all columns.

Are they planning to buy Wide Screen monitor ??

I am not really fan of the solution you propose, at the same time i am not having better idea. I would get the customer on table and see how they would like to have the presentation of 35 columns without scrolling.

ALV provides customization, in that way users can select their own list of columns.

Former Member
0 Kudos

Hi Bask,

Thanks for the help.

I have solved my first issue.

In the second part ALV list they need half of the list first and second half of the list below the first list or

they need to provide button in ALV list for getting fields as a set.

Pl help/advice me.

Dav

Former Member
0 Kudos

>

> In the second part ALV list they need half of the list first and second half of the list below the first list or

> they need to provide button in ALV list for getting fields as a set.

1.I have not tried this, You could define 2 structures and bind to 2 alv tables respectively with same data but the problem would be that how do you go about filter,sort,selection ..etc. ?

> they need to provide button in ALV list for getting fields as a set.

i have no idea about what they meaning, is it different than ALV layout customization ?.

Former Member
0 Kudos

Hi Bask,

I have to add button while pressin the button few fields I have hide few fields I have to show.

I did in Webdynpro Java like this for one of the client.

I thought I am planning to do here also.'

Thanks,

dav