ALV: How to make a column color

Hi.
How to make a particular column of any one color in
list dispaly and grid display

Hi osk,
1. Row wise color is possible.
2. Not only the full row color,
  we can also manipulate the color in each cell.
3.
IMPORTANT THINGS
a. Extra field in internal table
clr TYPE slis_t_specialcol_alv,
(this field will contain the colour codes)
b. assign fieldname to alv layout
alvly-coltab_fieldname = 'CLR'
c. work area for colour
DATA : clrwa TYPE slis_specialcol_alv.
d. Populating the color
Once again
Loop at ITAB.
*********logic
if itab-field < 0 "---negative
clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
clrwa-color-col = 6. <------- COLOUR 0-9
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP.
5. just copy paste in new program
6.
REPORT abc .
NECESSARY / MUST
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
ITAB DECLARATION
DATA : prg TYPE sy-repid.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : clname(3) TYPE c,
clr TYPE slis_t_specialcol_alv,
END OF itab.
DATA : clrwa TYPE slis_specialcol_alv.
PARAMETERS : a TYPE c.
DATA : flname TYPE slis_fieldname.
SELECT
START-OF-SELECTION.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE itab..
LOOP AT itab..
IF SY-TABIX <= 5.
itab-clname = 'C50'.
ELSE.
itab-clname = 'C30'.
ENDIF.
MODIFY itab.
ENDLOOP.
LOOP AT ITAB.
check itab-bukrs = '1000'
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 4.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
ENDLOOP.
prg = sy-repid.
flname = 'CLNAME'.
alvly-info_fieldname = 'CLNAME'.
alvly-coltab_fieldname = 'CLR'.
LOOP AT ITAB.
if sy-tabix = 3.
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 1.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
minimum
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
extra
sy-uname = 'XYZAB'.
prg = sy-repid.
Excluding
DATA : excl TYPE slis_t_extab.
DATA : exclwa TYPE slis_extab.
exclwa = '&OUP'.
APPEND exclwa TO excl.
exclwa = '&ODN'.
APPEND exclwa TO excl.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid
is_layout = alvly
i_callback_user_command = 'ITAB_USER_COMMAND'
it_excluding =
excl
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form itab_user_command
text
-->WHATCOMM text
-->WHATROW text
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
BREAK-POINT.
ENDFORM. "itab_user_command
regards,
amit m.

Similar Messages

  • How to make 1st column as header in ALV grid

    Hi Experts,
    How to make 1st column as header in ALV grid as attached. Please help.
    Thanks in advance.

    Hi manoj,
    Try with,
    FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
    Regards,
    Venkat.

  • How to make a column in Table popin read only

    Hi Everyone
    Could anyone let me know how to make a column in table popin read only.
    Regards

    if you ar eusing an ALV table
    try this
      DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
            r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
    * get reference to ALV component interface
      lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
    * get ConfigurationModel from ALV Component
      wd_this->r_table = lr_salv_wd_table->get_model( ).
    * init ColumnSettings
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_col_header TYPE REF TO cl_salv_wd_column_header.
      lr_column_settings ?= wd_this->r_table.
    * get table of column settings - each line one column
      DATA: lt_columns TYPE salv_wd_t_column_ref.
      lt_columns = lr_column_settings->get_columns( ).
    * loop over table - in each loop another column can be modified
      DATA: ls_column TYPE salv_wd_s_column_ref.
    * define visible columns (fields) by naming them,
    * exclude others by setting visibility to none
      DATA: ls_tooltip TYPE string.
      LOOP AT lt_columns INTO ls_column.
        " get header of column
        lr_col_header = ls_column-r_column->get_header( ).
        " do settings here
    ENDLOOP.
    Or see this document for more tips.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
    regards,
    Joris

  • How to make text columns with adobe muse

    Hi,How to make text columns with adobe muse (like InDesign)?

    Multiple columns can be acheived with CSS - http://www.w3schools.com/css/css3_multiple_columns.asp
    div
    -moz-column-count:3; /* Firefox */
    -webkit-column-count:3; /* Safari and Chrome */
    column-count:3;
    I'm surprised that Muse does not support text columns yet, but perhaps the custom CSS can be added in style tags on page properties. Haven't tried it, but don't see why it wouldn't work.

  • In ALV, how do u get alternate colors in output

    In ALV, how do u get alternate colors in output

    For a non OO ALV...
    TYPE-POOLS:  slis.
    DATA:   xfield    TYPE slis_t_fieldcat_alv,
    gs_layout TYPE slis_layout_alv.
    In your data structure you have tu put a field for the color, example:
    DATA: BEGIN OF xdata OCCURS 1.
    DATA:   ebeln          LIKE ekko-ebeln,
            name1          LIKE lfa1-name1,
            txz01          LIKE ekpo-txz01,
            color_line(4)  TYPE c,           " <==== this is the color line
    END OF xdata.
    You have create a form for the layout like this:
    FORM init_layout.
      gs_layout-info_fieldname = 'COLOR_LINE'. "<==the name of de field of the structure
    ENDFORM.
    Perform the init_layout in the initialization.
    Your call alv function, have to be like this:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active         = 'X'
          i_callback_program      = 'YOUR_PROGRAM'
          i_callback_user_command = 'USER_COMMAND'
          is_layout                = gs_layout
          it_fieldcat              = xfield[]
        TABLES
          t_outtab                 = xdata
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.

  • How to make a column in a tabular form required?

    How to make a column in a tabular form required ?

    the column name is test_id , and the debug report is :
    0.00000
    0.00000
    ...NLS: Set Decimal separator="."
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    Metadata: Fetch application definition and shortcuts
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=ar-eg
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    alter session set nls_language="EGYPTIAN"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    alter session set nls_territory="EGYPT"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    NLS: CSV charset=AR8MSWIN1256
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.01500
    A C C E P T: Request="CREATE"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    ...NLS: Set NLS Group separator=","
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    ...NLS: Set g_nls_date_format="DD/MM/RR"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    ...NLS: Set g_nls_timestamp_format="DD/MM/RR HH12:MI:SSXFF PM"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    ...NLS: Set g_nls_timestamp_tz_format="DD/MM/RR HH12:MI:SSXFF PM TZR"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    ...Setting session time_zone to +02:00
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.00000
    0.00000
    ...metadata, fetch translated app info
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...fetch session state from database
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    fetch items
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...fetched 14 session state items
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Check session 8341322256175063 owner
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Check for session expiration:
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Metadata: Fetch Page, Computation, Process, and Branch
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Session: Fetch session header information
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...metadata, fetch page info
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Validate item page affinity.
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Validate hidden_protected items.
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Check authorization security schemes
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Initialize tabular form column mapping
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Session State: Save form items and p_arg_values
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Save "P38_CLIENT_ID" - saving same value: ""
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Saved Item "P38_CLIENT_NAME" New Value="asdf"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Saved Item "P38_AGE" New Value="23"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Saved Item "P38_SEX" New Value="ذكر"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Saved Item "P38_PHONE" New Value="23"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Save "P38_EMAIL" - saving same value: ""
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Saved Item "P38_DOC_NAME" New Value="adsf"
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Save "P38_NOTES" - saving same value: ""
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Save "P38_CLIENT_ID_NEXT" - saving same value: ""
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Save "P38_CLIENT_ID_PREV" - saving same value: ""
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Session State: Save "P38_CLIENT_ID_COUNT" - saving same value: ""
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Processing point: On Submit Before Computation
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Branch point: Before Computation
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Computation point: After Submit
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Tabs: Perform Branching for Tab Requests
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Branch point: Before Validation
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Validations:
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    Perform basic and predefined validations:
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Validate is not null for P38_CLIENT_NAME
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.00000
    ...Validate is not null for P38_AGE
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.01500
    0.01600
    ...Validate is not null for P38_PHONE
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.03100
    0.00000
    ...Validate is not null for P38_DOC_NAME
    4
    http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
    0.03100
    0.00000
    Perform custom validations:

  • How to make a column as command link

    hi,
    how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
    thanks in advance

    JDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
        public void commandButton_action2(ActionEvent event) {
    // make the clicked row the current
      //Get access to the value binding
       ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
       DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
      //the command link is a child of af:column, which is a child of af:table
      CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
      //access the row data, to obtain the Row object and the formatted key string
      JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
      String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
    //set the current row in the binding
      dciter.setCurrentRowWithKey(rowKey);
    // open dialog
            FacesContext fctx = FacesContext.getCurrentInstance();
            AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
            UIViewRoot viewRoot = new UIViewRoot();
            viewRoot.setViewId("/yourDialogPage.jspx");
            HashMap properties = new HashMap();
            properties.put("width",300);
            properties.put("height",200);       
            adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
      }If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
    Frank

  • How to make few columns of single record inactive in Table conrol?

    Hi all,
    Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular  record , now table control  should contain ten records , but nine records are in editable state and one record in non editable state .
    How to make few columns of single record inactive in Table conrol?
    Thanks in advance.

    hi there...
    select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
    if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
    dont forget to modify sscreen after setting the attribute values.
    i hope this helps.
    do reward if helpful.

  • How to make a column as buttion alv oops

    i need have a buttion at every row end (ie last column) in the oops alv grid,
    when i click on this button some functionality should run.
    i have taken last field of internal table as some icon , currently in grid icons are displaying
    now how to catch the function code? and how to trigger the functionality

    Hi Tummala,
    You can add a checkbox as suggested by others.
    Or if in case your requirement is to call any transaction,
    you could make any column as 'Hotspot' and when you would
    click on that it would call that transaction.
    Hope you may find this helpful.
    If your requirement is this and you require more help,
    revert back.
    Sumit

  • How to switch off column coloring of alv grid printouts?

    Hello World!
    Is there any possibility (a customizing option or a parameter) to switch off cell/column coloring of alv grid printouts?
    It is very useful to see colored columns in screens, but they are darkened in printouts. How to avoid it?
    Thanks and regards,
    Vladimir

    Hi,
    You can have different layouts for a ALV report and each layout the look and feel can be different.
    So, the manual activity is the user will have to switch to the B/W layout before printing. I am not sure if you have enabled the LAYOUT option for the user to change it by himself.
    I hope I am able to get across my point.
    If you are using OO ALV control, you can dynamically change the layout using set_frontend_layout  method. The user can also change the layout --
    choose Change layout or Settings ® Layout ® Change.
    The Change Layout dialog box shows you which columns are currently displayed and which additional columns can be displayed.
    Regards,
    Ravi
    Note - Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • How to make custom icc color profile work as default for all users?

    Hi!
    I've calibrated two monitors for the machine running Mavericks OS X. I've managed to move these custom icc color profiles to ColorSync folder in HDD Library, so that that they are available for all the users. However, I cannot figure out how to make these icc profiles work as default profiles for all users and not only the one I used to calibrate monitors.
    Is there a specific place I have to put custom icc profile to make it system default?
    Thank you!

    If you put the profiles in the root /Library/ColorSync/Profiles/ folder, then each user needs to select them in their account. There isn't a way to apply them globally so each account automatically comes up that way.

  • How to make excel columns width autofit  ?

    Hello  Experts ,
    I download data from an internal table  to create an excel attached file and send it to customers by mail. The excel sheet looks untidy .
    the columns width of excel are not autofit .
    It's default 8.43 character .  Costomers can not use equally excel tools. eg.  format->column->autofit selection in excel.
    I was wondering how to make all excel columns' width autofit by means of ABAP . Is there any way to reach this property of excel via SAP  when I send excel attached files from an internal table .
    suggestions will be rewarded .
    Regards ,

    Hi Rajkumar or all,
    If any one able to display the records more than 65k line in Bex report v7.0..
    Pls reply with detail expalination.. Thanks in advance.. will give the reward points..
    Waiting urgently for your response..

  • How to make a column editable

    Hi all,
             I want a column to have checkboxes in my table where user can select at runtime.
    I added one colum to my table with Checkboxes.But the checkboxes are comming in non Editable mode.
    How to make them editable???
    My context structure is already binded to my table..now i added one ValueNode with One attribute and i binded that texts property of checkbox to the Valueattribute
    The cardinality of my ValueNode is 1..1 and selection is 0..1
    Regards
    Chandrashekar.

    Hi,
    when you added the checkbox as cell editor, then go to it's property:
    set "enable"  as true.
    set "readonly" as false.
    and create a boolean attribute "checked" in the table bode and bind it to the check box value property.
    And in the onAction of checkbox wirte the code to select or deselect the checkbox.
    and set the value as follows:
    wdcontext.nodeTable().getcurrentElement().setAttribuiteValue("checked", true);
    Regards,
    Praveen

  • How to make the Text Color in Smartform

    Hi All , I have couple of  things.
    1)   I need to make text Red color for display in smartform.How can i go and display the text in the red color.
    2) For the same text i need two languages.ie if the vendor is English then text need to be displayed in English  .if the vendor is German then text need to be displayed in German.
        If any one have solution for above issues please help us.
    Regards
    Channappa Sajjanar

    Hi Channappa,
    For langauge translatios you have to use SE63 tcode.
    You have to choose red color for u r u r character formats.
    That changes you have to do in smart styles.
    To do the changes in u r smart style go to form attributes.Double click on form attributes.
    In style u will see u r smart style.
    Double click on smart style.
    There u can give u r desired character format.
    Let me know if you have any questions.
    Edited by: vinay raj on Apr 29, 2009 2:55 PM

  • How to make table column of the webdynpro application scrollable??

    Hi all,
    I want to make some columns of my table to be fixed and some to be scrollable...
    So if anybody know how to do it..
    Please do let me know...
    Thanks and regards..

    Shruti,
    If you are using NW 7.0 (NW04s) then check properties:
    -- Table.scrollableColCount
    -- Column.fixedPosition
    Both let you define number of of "fixed" columns at left/right and number of scrollable columns in between.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

Maybe you are looking for

  • What is the best Control board to buy for logic?

    anyone have any ideas or prices

  • Allocation of moulds cost to units produced....

    Hi All, I have an issue... need ur expert opinion on it.... Client is using the die for producing the material...one die is used for sometime...may be it produces 100 or 200 or 500 units...we dont know the exact quantity. Problem is that client want

  • Create a ipod or iphone version

    I try to create a ipod or iphone version of this movie but when I try the audio comes in fine but the picture is all white. Is there a fix for this?

  • Change main computer user name

    I purchased a computer that was on display. Someone had gone in and put in a user name I went to change the user name and it changed only for logging in. When I go to download something or save something that name is still there. How can I change it?

  • Labview crashes upon start

    Hello, I just installed Labview 2014 SP1 64-bit on my Dell laptop. When I try to start Labview, it crashes about 2 seconds later with Exception: Unknown (0xC06D007E) at EIP=0x000007FEFD29AAAD and offers to send an error report. I tried un-installing