Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Control in Module Pool

Former Member
0 Likes
548

hi all,

is it possible to update one screen field (which is not a field of d table control) in CHAIN ENDCHAIN of a table control.

plz suggest.

rgds,

Avijit

4 REPLIES 4
Read only

Former Member
0 Likes
532

sure is.. simply don't do it within the loop of the table control

Read only

0 Likes
532

hi paul,

i want 2 update d other field when validation fails 4 one table control field and cursor is on that table control field and error msg is showing.

plz help.

rgds,

Avijit

Read only

0 Likes
532

Thats different then what you first asked, but you should be able to do this


  LOOP AT wt_zlmpers.
    CHAIN.
      FIELD wt_zlmpers_rec-fname.
      FIELD wt_zlmpers_rec-lname.
      FIELD wt_zlmpers_rec-birthdat.
      FIELD wt_zlmpers_rec-hobby.
        MODULE EDIT_ME.      "<== in this module if edit fails.. update your other field
    ENDCHAIN.
    FIELD wt_zlmpers_rec-sel
      MODULE tblclt_zlmpers_mark ON REQUEST.  " <== maybe here.. not sure exactly
  ENDLOOP.

Read only

0 Likes
532

hi paul,

thnks 4 ur reply.

kindly explain in detail.

i am updating d other fld as u have suggested but it is not getting updated as error msg is showing and PBO is not firing and the other fld is not in chain-endchain block of table control.

plz help.

rgds,

Avijit