Tablecontrol-cols

hi all,
i just want to know how is this tablecontrol-cols is used.....
if i can get any examples then it will be great.

Hi Syed,
    Tablecontrol-cols property represents the columns of a table control in a module pool programming. Using this property,
we can enable or disable the colums dynamically
Check the program
DEMO_DYNPRO_TABCONT_LOOP_AT   
Regards,
Charumathi.B

Similar Messages

  • How to change TableControl-COLS data

    Hi ,expert ,
        I create a screen to show day1~day31 data .
    and  I want to disabled  field day31 base month days.
    I  know i can set
         TC-cols[31]-INVISIBLE = 'X' .
    The field day31 will be disappeared .
    but I don't know how to change data in deep structure .
    some cane tell me how to do it ?
    thanks for your help .

    share...
    DATA: I_COLS LIKE LINE OF TC_PLAN-COLS.
               LOOP AT TC_PLAN-COLS INTO I_COLS .
                CASE W_LAST .
                  WHEN 31 .
                    I_COLS-INVISIBLE = '' .
                  WHEN 30 .
                    IF I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD31' .
                      I_COLS-INVISIBLE = 'X' .
                    ENDIF.
                  WHEN 29 .
                    IF I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD31' OR I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD30' .
                      I_COLS-INVISIBLE = 'X' .
                    ENDIF.
                  WHEN 28 .
                    IF I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD31' OR I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD30' OR I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD29'.
                      I_COLS-INVISIBLE = 'X' .
                    ENDIF.
                ENDCASE .
                MODIFY TC_PLAN-COLS FROM I_COLS INDEX SY-TABIX.
               ENDLOOP .

  • Help needed in the code

    Hi all,
    I need help in acquiring this
    I have a table control,in which i have 3 columns out of which 2 are input/outfields and one is output field.
    say i have fld1 fld2 fld3
    i entera value for fld1 and fld2 then it bring value in fld3.
    but sometimes i.e certain values of fld1 the fld2 should be NA and the fld3 should open up for input.
    say fld1 = def is exception
    first i enter
    fld1 = abc and fld2 =aaa then it brings fld3 =bbb
    next i enter
    fld1 = def and hit enter then fld2 = NA and fld3 should be available for input.
    I have the following code written for this
    CONTROLS: TABLECONTROL TYPE TABLEVIEW USING SCREEN 9002.
    DATA  W_TABLECONTROL LIKE LINE OF TABLECONTROL-COLS.
    ITAB IS MY TABLE CONTROL INTERNAL TABLE I.E MY TABLE CONTROL FIELDS ARE ITAB-FLD1,ITAB-FLD2,ITAB-FLD3.
    loop at TABLECONTROL-cols into w_TABLECONTROL.
      IF w_cTABLECONTROL-screen-group4 = 'NAM'.
      loop at iTAB.
        IF ITAB-FLD1 EQ 'DEF'.
            w_TABLECONTROL-SCREEN-INPUT = '1'.
         else.
            w_TABLECONTROL-SCREEN-INPUT = '0'.
        ENDIF.
    modify TABLECONTROL-cols from w_TABLECONTROL.
       ENDLOOP.
    ENDIF.
    ENDLOOP.
    WHAT I SEE NOW WITH THIS CODE IS WHEN I ENTER THE FIRST RECORD IN
    ITAB-FLD1 AS DEF AND HIT ENTER THE FLD2 IS NA AND FLD3 IS READY FOR OUTPUT
    NOW THE SECOND ROW FLD3 IS AVAILABLE FOR INPUT WHICH I DON'T WANT BECAUSE MY FLD1 OF SECOND IS NOT YET KNOW AGAIN IFITS DEF THEN IT SHOULD BE AVAILABLE FOR INPUT OTHERWISE IT SHOULD GREY OUT.
    HELP ME IN ACHEIVING THIS.
    THANKS

    Hi,
    Have this code inside the LOOP AT ...ENDLOOP of the PBO..
    PROCESS BEFORE OUTPUT.
    LOOP AT ITAB INTO WA..
      <b>MODULE UPDATE_DATA..</b>
    ENDLOOP.
    MODULE UPDATE_DATA.
      LOOP AT SCREEN.
       IF WA-FIELD1 = 'DEF'.
    Add the group for the field3 in the attributes..    
         IF SCREEN-GROUP1 = 'G1'.
    Enable for input...
            SCREEN-INPUT = '1'.
            MODIFY SCREEN.
         ENDIF.
       ELSE.
         IF SCREEN-GROUP1 = 'G1'.
    disable for input for other values.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
         ENDIF.
       ENDIF.
      ENDLOOP.
    ENDLOOP.
    Thanks,
    Naren

  • How to set column attributes in table control?

    I have the following requirement to build a table by using table control:
    if content of col 1 = 'Y', enable input for col 2 for that line only.
    if content of col 1 = 'N', disable input for col 2 for that line only.
    So the input attribute for col 2 in each line can be different.
    How can I achieve this?
    I have tried using loop at screen or loop at tablecontrol-cols into wa_cols statements,
    but these will change the entire column attributes to either on or off, and not on individual line.
    Instead of changing the COLUMN attributes, I think I should change the CELL attributes. 
    What is the syntax for that, is there something like tablecontrol-field?
    Thanks for any help in advance.

    I still not able to get the field attributes set on individual lines.
    These are my codes, can you help again.
    PROCESS BEFORE OUTPUT.
      MODULE pbo_0200.
      MODULE zitem_change_tc_attr.
      LOOP AT   lt_asset_item
           INTO ls_asset_item
           WITH CONTROL zitem
           CURSOR zitem-current_line.
        MODULE ZITEM_CHANGE_FIELD_ATTR.
        MODULE zitem_get_lines.
      ENDLOOP.
    MODULE zitem_change_field_attr OUTPUT.
    loop at screen.
      if ls_asset_item-replace_asset = 'X'.
         if screen-group1 EQ 'FR4'.        "these are the columns I want to turn input ON or OFF.
          screen-input = '1'.
          modify screen.
         endif.
      endif.
    endloop.
    Endmodule.
    At debug mode, the screen-input did change to '1'.  Can I check the return code of the MODIFY SCREEN statement?
    I tried to initialize the colums to be output only at screen definition, but it still doesn't help.
    I don't think I have to do anything at the PAI event.
    PROCESS AFTER INPUT.
    MODULE save_cursor_position.
      LOOP AT lt_asset_item.
       FIELD ls_asset_item-replace_asset
         MODULE get_replace_asset ON REQUEST.
        CHAIN.
         FIELD LS_ASSET_ITEM-REPLACE_ASSET.
         FIELD ls_asset_item-replace_cost.
          MODULE zitem_modify ON CHAIN-REQUEST.
        ENDCHAIN.
        FIELD ls_asset_item-mark
          MODULE zitem_mark ON REQUEST.
      ENDLOOP.
      MODULE zitem_user_command.
    Thanks again.

  • Set all checkboxes of the selected column by user at run time

    Hi ,
    I have a table control tab_500 with the 3 columns of checkboxes. When user selects particular column, and click on the buttone 'Select All', all the checkboxes of that column should get selected.
    loop at tab_500-cols into cols_500.
      if cols_500-SELECTED = 'X'.
      endif.
    endloop.
    How to do this.
    Thanks in advance,
    Regards,
    Madhuri

    Hi,
    In PAI write this code..
    DATA wa_table TYPE cxtab_column.
    IF SY-UCOMM EQ 'SELALL'.
         LOOP AT <tablecontrol>-cols INTO wa_table.
            IF wa_table-screen-name CS <checkbox colume name in upper case>
               AND  wa_table-selected = 'X'.
              itab-check1 = 'X'.      " Check box field set to X
              MODIFY itab TRANSPORTING check1 WHERE check1 = space . " modify the internal table
            ENDIF.
          ENDLOOP.
    ENDIF.

  • Transaction programming - Making screen fields 'output only'

    Hi all,
    I have a problem concerning a screen - it is so that the screen is used by several transactions - Create 'plan', Display 'plan' and Change 'plan'.
    When it's called from the 'Display' transaction I want the screen to be output-only. So I wrote something like this:
    MODULE modify_screen OUTPUT.
    if sy-tcode = 'ZAF03'.
    loop at screen.
    if screen-name cp 'I_AFPL*'.
    screen-input = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    ENDMODULE.
    The problem is that this screen contains a tabstrip control. The subscreens on the pages of the tabstrip control contain table controls, and the table controls refer to some internal tables in the program.
    All the fields which I want to make 'output only' are fields of internal tables beginning with 'I_AFPL' that's why the condition...
    This works very well for the fields on the main screen, but not for the fields of the table controls on the tabstrip control... and I'm calling that module from the main screen and also from the subscreens of the 'pages' of the tabstrip control. In the debugger I see that the input is set to 0 but when the screen 'comes on screen' I can still do input in those fields...
    Can anyone tell me what I'm doing wrong?
    Thanks,

    Hi Ashish,
    for table control to disable a column we use the cols property in the screen'..the tablecontrol-cols is set to zero to inactivate a column
    Now assume the name of your table control is ZTABLECONT..double click on the screen painter on the table control..these 2 names must be the same....
    if you need to disable columns of table control as a part of user action..like say click of a button..it can be entered in PAI by checking the sy-ucomm
    data declaration:
    data : cols like line of ZTABLECONT-cols.
    Case sy-ucomm.
    when 'PUSH'.
    loop at ZTABLECONT-cols into cols.
    if cols-screen-input = '1'.
    cols-screen-input = '0'.
    endif.
    modify ZTABLECONT-cols from cols index sy-tabix.
    endloop.
    endcase.
    This will disable all the columns
    for a particular column do the following
    For this imagine you have 5 columns
    in the below code
    index = 1 => column 1
    index = 2 => column 2
    index = 3 => column 3
    index = 4 => column 4
    index = 5 => column 5
    in the below code , only column2 will be disabled....
    so whicever column you want to disable ..just give the index
    for multiple disabling..just write the code accordingly
    LOOP AT ZTABLECONT-cols INTO cols WHERE index = 2.
    IF cols-screen-input = '1'.
    cols-screen-input = '0'.
    ENDIF.
    MODIFY ZTABLECONT-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    Pls check and revert....
    Regards
    Byju

  • TableControl Wizard Problem

    I use SAP Netweaver 7.01 ABAP Trial version<br />
    For creating screens I use Screen Painter. When I want to create Table control I use TableControl Wizard.
    My problem:
    One of the steps in wizard says:
    "If you want to include a selection column, you can specify if you want to allow single-line or
    multiple-line selection."
    <b>But chceckBox "line selection col." is disabled </b>
    <b>Radio buttons "Single" and "Multiple" are disabled </b>
    Everything is disabled in Line selectability...
    What should I do to enable them?

    Hi,
       If you are abaper while working with Dialog programing if you have used any table control in those screens.
    You need to write a simple code as:
    Select PBO module status & click on that.
    Just you write a code after normal code as:
    TABLECONTROLNAME-LINES = SY-DBCNT.(this will enable the table control vertical scroll bar.)
    Normal code before above statement is(for eg.),
    MOVE WA-EBELN TO EKKO-EBELN.
    MOVE WA-AEDAT TO EKKO-AEDAT.
    Regards,
    BBR.

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to add or delete rows in tablecontrol?

    Hi,
    I am using a tablecontrol to enter data records.
    I want to use 2 buttons, one to insert a row into a tablecontrol and another to delete a selected row of a tablecontrol.
    How do I insert or delete rows of a tablecontrol?
    Thanks.

    Hi Kumar,
    Please look at the below sections......
    ADDING BLANK LINES
    To add blank lines to table control we do not need to change any of the fields of the structure CXTAB_CONTROL simply adding blank lines to the internal table will do.
    INSERT INITIAL LINE INTO itab.
    DELETING SELECTED ROWS
    Deletion of selected rows is simple. To delete selected rows first we will determine the rows which have been selected through selection column .
    FOR SINGLE ROW SELECTION
    IF mark EQ 'X' .             "mark is the name of selection column field
    DELETE itab FROM workarea . 
    ENDIF.
    FOR MULTIPLE ROW SELECTION
    *To deetermine the rows selected we will use the selection column field to loop
    *through the internal table.
    LOOP AT itab WHERE mark EQ 'X'.  "mark is the name of selection column field
    DELETE itab                                    " and is part of the internal table .
    ENDLOOP.
    Thanks,
    Ravi Kanth

  • FSCM-COL program FDM_COLL_SEND_ITEMS checks business partner in KNA1

    We have a requirement to create a Business partner in FSCM-COL without creating any Customer master in FI (KNA1 table).  For each Customer invoice we have populated the Business partner (UDM_BP) in a free field (BSEG table).  Say customer ABC invoice #10000 will have the business partner XYZ assigned in BSEG field XREF1.  XYZ is not created as Customer in KNA1 but is created as Business partner in UDM_BP only. 
    For sending FI-AR data to FSCM, we have changed the BADI logic of determination of Branch/Payer to get the Business partner from BSEG-XREF1 field not from KUNNR.   When FI-AR data is sent to FSCM using the program FDM_COLL_SEND_ITEMS, system checks whether Business partner XYZ is created in KNA1 table.  Is there any way to avoid creating XYZ as Customer in KNA1 since we would be duplicating 5k+ customer records.
    Request your ideas on this.
    Thanks,
    Siva Parvathala

    Hi,
    This is kind of strange as to why you want to do this.  Anyway you have 1 customer in FI-AR for whom you are generating the invoices.  So there is already a customer ABC.  You also have a BP XYZ.  Now why not use the standard itself and link the customer ABC with XYZ which is going to save all the efforts required for custom modifications.  For linking BP and Customer, it is not necessary that both should have the same number range.
    Also I don't think you can do the transfer without linking customer and BP.  Anyway I will check this and let you know.  But I am sure this is redundant work and you can use the standard itself for this.
    Regards,
    Ravi

  • How to read the content of a blob col along with other cols as pipe delimit

    Hi,
    I would like to read the blob content along with the other columns . Assume table TAB1 has columns Response_log, Empcode and Ename. Here Response_log col is a blob data type, and the content of the blob is an xml file.Now i would like to read the content of the xml file of response_log column along with Empcode and Ename as pipe delimited . or else the best option would be to write to a text file with name extract.txt with the data being pipe delimited .
    create  table tab1(
    response_log blob,
    empcode  number,
    ename  varchar2(50 byte)
    )Sample code goes something like the one below .
    select xmltype( response_log, nls_charset_id( 'char_cs' ) ).getclobval() || '|' || empcode || '|' || ename
    from tab1 Can I have any other alternate way for this.
    Please advice

    Just Now one example is given in HOW TO WRITE ,SAVE A FILE IN BLOB COLUMN

  • Bug in "SELECT @sResult = CASE_WHEN LEN(@sResult) = 0 THEN col ELSE @sResult + ',' + col END "

    Hello, I want to
    report a bug in all versions of SQL
    Server
    The database I
    set collation: SQL_Czech_CP1250_CI_AS
    The following script
    will return 3:
    DECLARE @sResult nvarchar(4000) -- variable to store the resulting string
    DECLARE @tab table(col varchar(10) , id int)
    --DECLARE @tab table(col nvarchar(10) , id int) -- It works well, but the column in the database is varchar
    SET @sResult = ''
    insert into @tab(col, id) values ('1',1)
    insert into @tab(col, id) values ('2',2)
    insert into @tab(col, id ) values ('3',3)
    SELECT @sResult = CASE WHEN LEN(@sResult) = 0 THEN col ELSE @sResult + ',' + col END
    FROM
    @tab
    ORDER BY id,col -- works incorrectly
    --ORDER BY col -- works incorrectly
    --ORDER BY id -- works correctly
    SELECT @sResult
    When I set
    the database Collation: Czech_CI_AS, the script
    returns the correct result: 1,2,3.
    Stanislav Skalický
    pracovník IT
    EFG CZ spol. s r.o.
    Na Jarově 4, 130 00 Praha
    Tel.:     +420 222 746 337
    Mobil: +420 775 864 814
    Czech Republic

    That is not a good way to concatenate a comma delimited string. There are known issues with the method. 
    DECLARE @sResult nvarchar(4000) -- variable to store the resulting string
    DECLARE @tab table(col varchar(10) , id int)
    SET @sResult = ''
    insert into @tab(col, id) values ('1',1)
    insert into @tab(col, id) values ('2',2)
    insert into @tab(col, id ) values ('3',3)
    SELECT @sResult = CASE WHEN LEN(@sResult) = 0 THEN col ELSE @sResult + ',' + col END
    FROM
    @tab
    -- ORDER BY id,col -- 1,2,3
    -- ORDER BY col -- 1,2,3
    -- ORDER BY id -- 1,2,3
    -- ORDER BY col COLLATE SQL_Czech_CP1250_CI_AS -- 3
    -- ORDER BY id, col COLLATE SQL_Czech_CP1250_CI_AS -- 3
    -- ORDER BY col COLLATE Czech_CI_AS -- 3
    -- ORDER BY newid() -- 3
    -- no ORDER BY 1,2,3
    SELECT @sResult
    Use the XML PATH method instead:
    http://www.sqlusa.com/bestpractices/training/scripts/commadelimitedlist/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to print the smartform as in the data of tablecontrol...?

    Hi,
    1.I create 2 tabs in Modulepool Programming.
    2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
    3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
    4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
    5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
    6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
    without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
    should be displayed in smartform as of Tablecontrol.
    where I want to write these code....? and what code i want 2 write...?
    can anybody help me
    Moderator message - Cross and duplicate posting is not allowed in the forum. This is at least the second post of yours that I have locked for this reason. If you continue, your userid may be deleted - thread locked
    Edited by: Rob Burbank on May 12, 2010 3:23 PM

    Did u look at the system fields of smartform ?
    Look at the structure SFSY.
    Amandeep

  • Custom CSS-Applying selected background for all the cols in the report

    Hi,
    I am trying to set a particular background for all the columns in the report(not for all the projects,so that I can avoid option of manually setting background color for complete report.For this I thought custom CSS is best option.So edited custom.css(C:\OBI11g_Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\b_mozilla_4) file with below code and went to the Answers-> Criteria->Choose Column->style-> check "Use Custom CSS Class"->MyCell
    Code used in custom.css
    .MyCell { background-color: #00ff00; font-style:italic; font-weight: bold;}
    Somehow I dont see the background color applied to any of the columns in report.Can anyone had successful attempt of this Custom CSS.Thanks in Advance.

    I am trying both the solutions.
    User 979493,
    I started manually writing the code instead of pasting and almost worked.In the mentioned below paths I dont have custom.css file,so I created one and manually entered below code.But does it work for only that particular column and not for all the columns.Is it supposed to work for all the columns or just that column.
    For example: I have 2 cols in the report,I used "Use Custom CSS Class" -> MyCell for the first column and when I ran results it shows background color for only col1 and not for col2.I thought this feature will apply background color for all the columns in the report.Please correct me if I am wrong.
    custom.css file content:
    .MyCell{background-color: #00ff00;font-style:italic;font-weight:bold;}

  • What is the code for entering data in tablecontrol as in smartform....?

    Hi
    1.I create 2 tabs in Modulepool Programming.
    2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
    3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
    4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
    5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
    6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
       without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
       should be displayed in smartform as of Tablecontrol.
    where I want to write these code....? and what code i want 2 write...?
    can anybody help me

    >
    dileepbandla wrote:
    > Hi
    >

    > 1.I create 2 tabs in Modulepool Programming.
    > 2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
    > 3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
    > 4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
    > 5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
    > 6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
    >    without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
    >    should be displayed in smartform as of Tablecontrol.
    You need to read the table control data along with Custom table data before you call the smartform and passing data to smartform.
    > where I want to write these code....? and what code i want 2 write...?
    >
    In PAI. What code? - Probably, loop at table control and get the data into another internal table then pass this data into smartform interface.
    >
    >  can anybody help me

Maybe you are looking for

  • Expanding Text Glossary Terms into Popup windows

    I am using RH6 and I have a help project that uses expanding text glossary terms throughout all the topics. When the topic is printed out, the glossary terms are auto expanded and it disrupts the flow of the text. My questions are: Is there a way to

  • Customer Address Data

    Hello I am trying to extract customers from ECC to MDM using XI I am sending the DEBMDM idoc but it doesn't contain the adress data E1KNB1M doesnt have the STRAS field when I check on SE16 the KNA1 table I see the adresses of all the customers any id

  • Can flash record audio in .mp3 format?

    I have an Audio Recorder created in flash. Currently it records audio  and saves it in .flv format.(I am using AS2.0 and Red5 server) My question is: Is there  any way by which I can record and save audio in .mp3 format, directly? Thanks in advance.

  • Slow to save when working on network

    Hey, I am using Dreamweaver 5.5, and are experiencing very slow save times. From I hit ctrl + s and until the document is saved it took 5-6 seconds on Vista, and 2-3 seconds on Win7. Other developers who are working on the same network and files (and

  • Selection-Screen and Search Help

    Hi I'm trying to show a Search Help (using trabstrip) from an internal table, but when I execute the code, search help is showed twice. SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME. SELECT-OPTIONS: