Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Chaining Table Control columns

Hi developers,

in my first post ever I have this challenge to offer:

Is there, in ABAP dynpro programming of table controls, in analogy to the PAI construct

  LOOP AT field_attrib_tab.
    CHAIN.
    FIELD crms_es_attr_data_scrn-field_id,
              crms_es_attr_data_scrn-select_ind.
      MODULE check_attribute ON CHAIN-REQUEST.
    ENDCHAIN.
  ENDLOOP.

in which each line of of the table control is checked in CHECK_ATTRIBUTE

and maybe and error-message is thrown therein, which would unlock the

current line for correcting;

an anlogue construct for complete columns in a table control?

I mean a way of telling the table control to unlock two complete columns for correction

after an error-message occurred, and not only a single row.

I already tried the following things without success:

1. Using an i-message instead of an e-message would leave all fields open, but it also triggers again a PBO and (in my case) navigates then away from the screen. An information message here would also not be to the point.

2. Calling CHECK_ATTRIBUTE outside of the loop simply would lock all fields of the

table since they are not grouped in chains.

3. Within the loop, calling

     field CRMS_ES_ATTR_DATA_SCRN-select_ind
    MODULE check_attribute on chain-input.

would simply lock the complete table after the error occurred, although select_ind certainly

is a part of the table control structure used.

I am not sure whether I really reached a dead-end of ABAP programming, since I think I might have seen a customizing-dialog with a table control that was able to unlock a complete column after an error. But I am not sure about this.

Do you perhaps have an idea?

Many thanks & best regards,

Konrad

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question