Dynamically editable cells in a table control

...Previous

PROCESS BEFORE OUTPUT.
*&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'TC_2000'
  
MODULE TC_2000_CHANGE_TC_ATTR.
*&SPWIZARD: MODULE TC_2000_CHANGE_COL_ATTR.
  
LOOP  AT   IT_EMP_DETAILS
       
INTO WA_EMP_DETAILS
       
WITH CONTROL TC_2000
       
CURSOR TC_2000-CURRENT_LINE.
    
MODULE TC_2000_GET_LINES.
*&SPWIZARD:   MODULE TC_2000_CHANGE_FIELD_ATTR
  
ENDLOOP.

 
MODULE STATUS_2000.
*
PROCESS AFTER 
INPUT.
*&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TC_2000'
  
LOOP AT IT_EMP_DETAILS.
    CHAIN.
      
FIELD WA_EMP_DETAILS-PERNR.
      
FIELD WA_EMP_DETAILS-GENDER.
      
FIELD WA_EMP_DETAILS-INPUT.
      
MODULE TC_2000_MODIFY ON CHAIN-REQUEST.
    endchain.
    
FIELD WA_EMP_DETAILS-SEL
      
MODULE TC_2000_MARK ON REQUEST.
  
ENDLOOP.
  
MODULE TC_2000_USER_COMMAND.
*&SPWIZARD: MODULE TC_2000_CHANGE_TC_ATTR.
*&SPWIZARD: MODULE TC_2000_CHANGE_COL_ATTR.

 
MODULE USER_COMMAND_2000.

  IF IT_EMP_DETAILS IS INITIAL.
    
APPEND WA_EMP_DETAILS TO IT_EMP_DETAILS.
  
ENDIF.

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image