Thursday, July 26, 2007

Change layout format in ALV

Layout format in ALV defined in structure IS_LAYOUT as importing structure of ALV REUSE_ALV_LIST_DISPLAY.


CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
......
is_layout = wa_layout
......
EXCEPTIONS
program_error = 1
OTHERS = 2.


Commonly used field:

- IS_LAYOUT-ZEBRA: X=striped (zebra) pattern
- IS_LAYOUT-BOX_FIELDNAME: insert column checkbox for each row to select row.
How to inset checkbox:
1. insert new field with type C in internal table ALV data to record selection indicator (X:selected).
Example:

DATA: BEGIN OF t_alv OCCURS 1,
field1,
field2,
...
BOX,
END Of T_alv.

2. set IS_LAYOUT-BOX_FIELDNAME = fieldname in internal table ALV data.
Example:

IS_LAYOUT-BOX_FIELDNAME = 'BOX'.

3. At run time, t_alv-box will filled with 'X' for selected data.

CheckBox can be initiated in these ways:
1: selected, can not be changed
0: not selected, can not be changed
X: selected, can be changed
SPACE (blank):not selected, can be changed
-: disable check box

- IS_LAYOUT-COL_FIELDNAME
Cells can be colored individually using a color code which is contained in a column of the internal output table for the record containing the cell.
Assign the name of the field to this parameter.
The internal output table field must be of type SLIS_T_SPECIALCOL_ALV.
Principle: the color code field is entered for the record containing the cells to be colored. The field contains an internal table with the above structure, containing the field names of the cells to be colored and the color code. The cell coordinates are determined by the record position containing the color code and the column information in the color table.
The record structure of the internal color table of type SLIS_T_SPECIALCOL_ALV is as follows:
Color table-FIELDNAME = field name of the cell to be colored
Color table-COLOR-COL = color number (1 - 9)
Color table-COLOR-INT = bold (0 = off, 1 = on)
Color table-COLOR-INV = inverse (0 = off, 1 = on)
Color table-NOKEYCOL = ignore key coloring ('X' = yes, ' ' = no)
If the parameter color table-FIELDNAME is not filled, the coloring applies to all fields, so the entire record is colored.

25 comments:

dearbalaji said...

Please write more
Thanks
Balaji

Francisco Coutinho said...

In few seconds, i understood how to insert the select box.
Thank you very much !

Anonymous said...

Layouts provides greate flexibility to users for saving their own layouts which contains settings like - sum, subtotal, filter, sort etc. This provides a great degree of advantages to the ALV reports.

[url=http://www.researchproposalwriters.weebly.com]Research Proposal Writers[/url]

Unknown said...

Excellent post, some great resources. Styling Blog the right way is the key. However, people continue to load and everything mentioned topics shit and bad sources. You really wrote every little detail, you have to make some changes. Law Essay Help

Unknown said...

Your content is very helpful and your style of writing is revelent to the topic and no other misconception create with your topic great Information . Thanks
http://www.helpinpapers.com/write-my-college-paper-for-cheap

sameer said...

but also every other animal which feeds on the carcass. Humans have also been killed by coming in contact with poisoned meat, or by eating an animal which had fed on a poisoned carcass. This tool is also used to manage several caterpillars e.g. Spodoptera litura, fruit flies, snails and slugs, crabs etc.
شركة مكافحة حشرات بالاحساء شركة مكافحة النمل الابيض بالمدينه المنوره شركة مكافحة النمل الابيض بالرياض شركة رش مبيدات بالرياض شركة مكافحة حشرات بجدة شركة مكافحة النمل الابيض بجدة شركة رش مبيدات بجدة شركة مكافحة حشرات بالدمام

sameer said...



but also every other animal which feeds on the carcass. Humans have also been killed by coming in contact with poisoned meat, or by eating an animal which had fed on a poisoned carcass. This tool is also used to manage several caterpillars e.g. Spodoptera litura, fruit flies, snails and slugs, crabs etc. شركة مكافحة النمل الابيض بالرياض شركة رش مبيدات بالرياض شركة نقل عفش بالرياض شركة كشف تسربات المياه بالرياض شركة تسليك مجارى بالرياض شركة تنظيف فلل بالرياض

good good go

Unknown said...


but also every other animal which feeds on the carcass. Humans have also been killed by coming in contact with poisoned meat, or by eating an animal which had fed on a poisoned carcass. This tool is also used to manage several caterpillars e.g. Spodoptera litura, fruit flies, snails and slugs, crabs etc.شركة تنظيف بمكة ,شركة تنظيف بخميس مشيط , شركة تنظيف فلل بجدة
, شركة تنظيف شقق بالرياض


expertshelp said...

I really had no idea on how to change the layout format in ALV, until i came across this post. This is a page that have been created in a very professional manner, and its a post that i can actually revisit for more information. You need not to worry about creating more posts, since the best Article Writers for Hire are just a mouse click away.

Titan Gel asli said...

asu

Unknown said...

I was urgently looking for the procedure of changing the layout format in ALV and I am glad that I landed on this site which has the exact information I was looking for. I will implement the suggested procedure hoping that I will be able to change the layout. In case you will be in need of professional writing services, feel free to hire our writers by clicking on Critical Literature Review Writing.

Nashwa Mostafa said...

اسعار مظلات وسواتر الاختيار الاول
-مظلات قماش بي في سي كوري 80 ريال للمتر المربع.

-مظلات قماش بي في سي ألماني 120 ريال للمتر المريع.

-مظلات قماش بولي ايثلين 75 ريال للمتر المربع.

-برجولات 200 ريال للمتر المربع.

-مظلات قماش وطني 70 ريال للمتر المربع.

-سواتر قماش بولي اثيلين 90 ريال للمتر المربع.

شهادة تسجيل معتمدة من وزارة التجارة والاستثمار

Nashwa Mostafa said...

افضل محلات الاثاث بالمدينة المنورة
افضل شركة شراء اثاث مستعمل بالمدينة المنورة

افضل شركة شراء اثاث مستعمل بالمدينة المنورة

ارقام يشترون الاثاث المستعمل بالمدينة المنورة

ارقام تشترى الاثاث المستعمل بالمدينة المنورة

ارخص شركة نقل اثاث بالمدينة المنورة


ارخص شركة نقل عفش بالمدينة المنورة

Laurens99 said...

daftar idnpoker pulsa

Laurens99 said...

IDN POKER PULSA
A lot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one.

Laurens99 said...

http://www.markasdomino.info/

Laurens99 said...

http://www.negerijudi.net/

Laurens99 said...

Permainan poker menggunakan kartu remi yang berjumlah 52 buah kartu, dalam permainan ini setiap pemain harus tahu susunan-susunan kartu poker dari yang paling tinggi sampai dengan yang paling rendah. Tujuan dalam permainan ini adalah pemain mendapatkan susunan kartu yang paling tinggi maka dialah pemenangnya.Anda bisa menguji keberuntungan anda disini idn poker

Laurens99 said...

Saya sangat terkesan dengan bakat menulis Anda dan juga format untuk blog Anda.
Apakah ini subjek berbayar atau apakah Anda memodifikasinya sendiri?
Pokoknya teruskan penulisan berkualitas tinggi yang sangat baik,
jarang terlihat blog yang bagus seperti ini akhir-akhir ini idn poker..

Laurens99 said...

Hanya dengan 1 user ID resmi para bettors sudah bisa bermain games yang ada di IDNlive ini, selain itu dalam hal bertransaksi di idnlive online ini juga sangat mudah dan tidak rumit.

Laurens99 said...

Situs Agen osg777 Terpercaya menjadi sorotan umum yang paling banyak di cari belakangan ini.Brand yang satu ini menyajikan berbagai permainan menarik seperti slot online dan tembak ikan online.

Laurens99 said...

Agen joker388 atau bandar joker388 merupakan perwakilan dari situs judi ikan online joker123 yang telah ditunjuk dan diberikan kepercayaan penuh untuk membantu member dalam melakukan daftar joker388, deposit account joker388, withdraw joker388, serta membantu member yang sudah memiliki ID tetapi kesulitan saat login ke slot joker388

Laurens99 said...

http://www1.daftarindojago.net/

Laurens99 said...

Spesial untuk Pemula! Berikut Situs Judi Bola Resmi dengan Aman
5 Jenis Bonus yang Didapatkan Member dalam Link Sbobet88

Admin said...


موضوع متميز نشكرك عليه ونتمنى منك المزيد ونرجو ان تتقبل زيارة موقعنا انوار الحرمين لتتعرف على بعض الخدمات التى نقدمها نقل عفش شحن دولى نظافة عامة ومنها على سبيل المثال ما يلى:
نقل عفش من جد الى الاردن
شركة نقل عفش من جدة الى الاردن
شحن الاثاث من جدة الى الاردن
شركات نقل العفش من جدة للاردن
اجراءات نقل العفش للاردن
شحن من جدة الى عمان
شركات النقل البرى من جدة الى الاردن
شحن اثاث من السعودية الى الاردن
اجراءات نقل الاثاث من السعودية الى الاردن
الاوراق المطلوبة لنقل العفش من السعودية الى الاردن
شحن من جده للاردن
اسعار شحن الاثاث من السعودية الى الاردن
افضل شركات نقل الاثاث الى الاردن
نقل عفش من جدة الى الاردن انوار الحرمين
انوار الحرمين للشحن من جدة الى الاردن
نقل عفش من السعودية الى الاردن
شركة شحن من السعودية الى الاردن
شركة شحن عفش من جدة الى الاردن
شركات شحن للاردن من جدة
شركات الشحن من جدة الى الاردن