cancel
Showing results for 
Search instead for 
Did you mean: 

Personalize Table ALV POWL in the Portal Travel

former_member215786
Participant
0 Kudos

Dear Expert.

I am working Travel for ESS with BP 1.41. In this moment I need hide and show a columns of the application FITV_POWL_TRIPS.

[Image|http://img547.imageshack.us/img547/112/travel.jpg]

I made this personalization using Ctrl+Right Clic : And this work fine in the client DEV. However we not can transport the personalization between client of portal because SAP with Netweaver 701 not allow transport personalization. We write to SAP and this was the response.

I tested using Web Dynpro Configuration Editor But I don't know if this is posible using this.

Or How can show this columns using source code?

Thanks in advance

Regards

Carmen.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hallo Carmen,

Programtically you can do the ALV columns adjusted in the following way.

data: 
        l_ref_cmp_usage type ref to if_wd_component_usage,
        l_salv_wd_table type ref to iwci_salv_wd_table,
        l_table         type ref to cl_salv_wd_config_table,
        lt_columns      type  salv_wd_t_column_ref.
  
  field-symbols <wa_colum> like line of lt_columns.
        
        
  l_ref_cmp_usage =   wd_this->wd_cpuse_alv( ). "i assume alv is name used of ALV component usage
        
  if l_ref_cmp_usage->has_active_component( ) is initial.
    l_ref_cmp_usage->create_component( ).
  endif.

  l_salv_wd_table = wd_this->wd_cpifc_alv( ).
  l_table = l_salv_wd_table->get_model( ).
  
  lt_columns = l_table->if_salv_wd_column_settings~get_columns( ).
  
  loop at lt_columns[] assigning <wa_colum>.  
      when ''. " here code your column ID to show.
      when others. "Delete from list
        l_table->if_salv_wd_column_settings~delete_column( id = <wa_colum>-id ).    
  endloop.

former_member215786
Participant
0 Kudos

In What Method can I find this for do debugging and change this?

Is posible use Web Dynpro Configuration Editor for solve my issue?

Regards

Carmen

Former Member
0 Kudos

Hi,

I am not sure if Configuration editor would help you.

i do not know how

FITV_POWL_TRIPS application constructed. Find out which component and interface view is being called .

You need to find out where ALV is configured and initialized. So,

Search in the component controller and views for a method like Configure_ALV or init_alv.

In this method you can write your code.

PS: Once you do that programmatic means then the flexibility of using alv to personalization purpose is defeated.

former_member215786
Participant
0 Kudos

Hello.

I checked the following post"

But my question is:

Where Can I find the feeder class? I know that the class are displayed in the t.code se24.

Regards

Former Member
0 Kudos

Hi carmen,

what you can do is to open the application node until you reach application configuration.

Launch the application configuration, it will open a explorer window.

Press a display button, that leads you to the component configuration editor.

Select a component and press button "go to component configuration" and press the DISPLAY button in that screen.

select a UIIB and you can see a "UIBB configuration" button higlighted . Press that and you can see there which Feeder class is being used.

former_member215786
Participant
0 Kudos

Dear Experts.

I created un enhacement implicit for the method IF_POWL_FEEDER~GET_FIELD_CATALOG using

SE24 =>CL_FITV_POWL_FEEDER_TRIPS.

In the client QAS the changes are taked, but in the portal DEV not. In this client(DEV) I have created personalization for hide columns of the POWL.

My question is:

How can Cleaning Up Personalization created in the client portal DEV?

I check the following link:

/people/daniel.wroblewski/blog/2006/06/17/cleaning-up-personalization

But this not work, and not delete the personalization in Dev for my user.

Thanks

Thanks in advance ,

Regards

Carmen G

Former Member
0 Kudos

Go to transaction SICF and follow the path to make sure this service is active.

sap/bc/webdynpro/sap/wd_analyze_config_user

Launch the service and you'll see a table listing the Webdynpro ABAP changes.

Here you can maintain the personalization entries.

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

follow the steps in note 1124779

note that

The iview personalization you do in portal are customizings, therefore

stored in customizing transports. These customizings are client-

dependent. Could you please check whether the settings you made to the

tabs have been really transport into the correct client in QA system.

read note 1174312

former_member215786
Participant
0 Kudos

DearSiddharth Rajora, the Note 1124779 - ESS EHP Deactivate unused POWL queries in Travel Management, is used when I want hide the TAB in the POWL but not for hide or show more columns in this query.

The note not apply because we have implement the release SAPKB70106.

Thanks you,

Regards