Tag Archives: alv

Dropdown by key or Dropdown by index, that is the question of a WDA developer

Introduction

During my experience as a Web Dynpro for ABAP developer, I often had  the doubt if it was better to use the UI element DropDownByKey or its brother DropDownByIndex.

In these last days, I realized that I always prefer and use the DropDownByKey, it doesn’t matter if the list is inside a table, an ALV table or a simple element in a view.

Clearly the index approach is also working well but I feel it as a more complex task that requires spending more time, and I’m wondering to know about your experience.

As a reference, I’m sharing below the step-by-step guide to build a DDL even without necessarily entering the fixed values ​​associated to a domain of the field.

Continue reading Dropdown by key or Dropdown by index, that is the question of a WDA developer

SALV Generator – The easy way to customize ALV for WebDynpro ABAP

One of the most complicated activities for WebDynpro ABAP newbie and one of the most boring activities for expert developer is the customization of ALV.

Activities are really simple if you know Abap OO but very repetitive, you have always to code pretty the same piece of code.

So here is the SALV Generator, the first tool for the creation of ALVs in WDA in just a few steps and with no coding required 🙂

I recorded this video in order to give you a quick demo.

SALV Generator is available at http://ww.plinky.it/abap/SALVGenerator/salvGenerator.php

Next to come:

  • Cell Editor
  • Column Header
  • Custom Functions
  • Table settings

Any feedback is really appreciated. Post yours on SDN.

ALV Generator v0.87

Released the new version of my ALV Generator.

What’s new:

  1. Added the possibility to use a custom dictionary structure
  2. It’s possible to choose to generate an ALV with a screen dynnr or without
  3. You can display all the columns without adding in the ALV Generator
  4. Prettier generated code

http://www.plinky.it/abap/alvGenerator.php

Alv Generator v0.85

I added the possibility to sort the columns and changed the ABAP Class used to generate the ALV, now I use CL_GUI_ALV_GRID instead of CL_SALV_TABLE.

No screen have to be created now; few clicks and copy & paste!!!

http://www.plinky.it/abap/alvGenerator.php

Technical info:

  • Javascript have to be enabled
  • Tested on Windows XP Home Edition with Firefox 2.0.0.12 and IE 7.0 (resolution 1024×768 and 1280×800).
  • Tested on SAP 7.00

Alv Generator v0.8 released!

After few weeks from the first alpha version, I’m proud to announce a new release of my ALV Generator.

ALV Generator

I hope that the new graphic and friendly wizard could help everyone to make a great ALV in a few clicks.

I’m working on the next versions, I have more ideas in my mind (column sorting, summarize, custom queries, color editor and ALV tree).

Please report any bug and enhancement I’ll try to make it better.

http://www.plinky.it/abap/alvGenerator.php

Technical info:

  • Javascript have to be enabled
  • Tested on Windows XP Home Edition with Firefox 2.0.0.12 and IE 7.0 (resolution 1024×768 and 1280×800).
  • Tested on SAP 7.00

See you soon.

Ivan