Skip to Content

Check table in a field catalog

Hello everyone,

I have created an editable Alv but i need some input checks in it.

Can i somehow add a check table for the right values in my fieldcatalog?

If it is possible could you provide some examples?

Best Regards,

Mikhail

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 15 at 05:10 AM

    0Hi Mikhail Gudkov,

    YES, You can use Check-table options in the Field-Catalog.

    *Sample Logic: 
    FIELDCAT-FIELDNAME = 'BUKRS'. 
    FIELDCAT-CHECKTABLE = 'T001'.

    (OR)

    If you are going with Oops ALV then you can refer this Program Name: BCALV_EDIT_04,

    if you use Check-table and give incorrect i/p then it will throw a Dump.

    so they used FIELDCAT-CHECKTABLE = '!'.

    (this avoids check table check, if required you can refer to that program)

    Hope this helped you.

    Thanks & Regards,

    Niyas

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Mikhail Gudkov,

      Goto SE11, Type Group : SLIS

      then, search for table word (around line number 366), just double click on the structure dfies, in that you will find the component called CHECKTABLE.

      and also delcare the wa_fieldcat_slis as type slis_seldis1_alv



      Hope this helped you.

      Thanks & Regards

      Niyas