06-26-2008 9:36 AM
hi how to print traffic lights on selection screen in alv reports
06-28-2008 2:46 PM
hi,
go for
INCLUDE <icon>.
WRITE: /
'field1',
icon_led_green AS ICON.
regards,
pritam.
06-26-2008 9:42 AM
Hi,
Welcome To SDN!!.
try to search in the forum there are lot of theards are available for the same.
Refer one of the theard
https://forums.sdn.sap.com/click.jspa?searchID=13357074&messageID=5605332
Regards
Kiran Sure
06-26-2008 9:49 AM
HI,
check below code
TYPE-POOLS : icon.
types: BEGIN OF ty_display,
status TYPE icon-id,
bukrs TYPE bseg-bukrs,
gjahr TYPE bseg-gjahr,
monat TYPE monat,
work_order TYPE z_work_order,
glaccount TYPE saknr,
message TYPE string,
END OF ty_display.
data : it_display TYPE TABLE OF ty_display,
wa_display TYPE ty_display.
WRITE icon_led_green AS ICON TO wa_display-status.
wa_display-gjahr = p_year.
wa_display-bukrs = p_cc.
wa_display-monat = p_period.
wa_display-work_order = v_aufnr.
wa_display-glaccount = wa_bseg-hkont.
APPEND wa_display TO it_display.
WRITE icon_led_red AS ICON TO wa_display-status.
wa_display-gjahr = p_year.
wa_display-bukrs = p_cc.
wa_display-monat = p_period.
wa_display-work_order = v_aufnr.
wa_display-glaccount = wa_bseg-hkont.
wa_display-message = text-010.
APPEND wa_display TO it_display.
change the icon color based on your requirement and append it to the internal table which you have to display in ALV.
reward points if it is helpful.
Regards,
Srilatha
06-26-2008 9:57 AM
07-16-2008 9:17 AM
in MSKU,MSEG,MBEW,KNMT,MAKT
for the above tables i want to common matnr valu plzzzzzzzzzzzzz
06-26-2008 3:34 PM
Check out this code:
Before executing got to the following path:
Go to ->Text Elements ->Selection Texts
now for P_VBELN add "@0A@ Sales Order with Errors"
report ztest.
PARAMETERS: p_vbeln LIKE vbak-vbeln.
Now test it, the icon will display at selection screen.
06-28-2008 12:01 PM
06-28-2008 2:46 PM
hi,
go for
INCLUDE <icon>.
WRITE: /
'field1',
icon_led_green AS ICON.
regards,
pritam.
07-16-2008 9:19 AM
in MSKU,MSEG,MBEW,KNMT,MAKT
for the above tables i want to common matnr valu plzzzzzzzzzzzzz