cancel
Showing results for 
Search instead for 
Did you mean: 

Getting started with cell variants in ALV

daniel_humberg
Contributor
0 Kudos

Is there any docu or example application for using cell variants in ALV?

It seems to be a very interesting and powerful concept, and I would like to explore it.

Accepted Solutions (0)

Answers (1)

Answers (1)

venkata_ramisetti
Active Contributor
0 Kudos

You are correct deniel. It enables many good features.

The example program is SALV_WD_TEST_TABLE_CV.

I am somehow not able to run the web dynpro application. But this is cell variant example for ALV web dynpros.

Thanks

Venkata Ramakrishna Ramisetti

daniel_humberg
Contributor
0 Kudos

I am not able to run the example either, and I am not able to find anything related to cell variants in the coding....

daniel_humberg
Contributor
0 Kudos

I found a way to use the example web dynpro application.

Copy the WD component to your local objects, and copy the code in the component controller from On_UPLOAD_COMPLETE to WDDOINIT.

Then, add these lines at line 18:


  IF lt_sflight IS INITIAL.
    SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE lt_sflight.
  ENDIF.