|
Diagnosis
Example: Converting a checkbox into a radio button. Example: Converting to a step loop. Under the Modification Assistant, these actions are only allowed forscreen elements that are not SAP original elements. However, the element that you selected is an original element. System Response Procedure you must do it without the Modification Assistant. You can do this bychoosing Edit -> Modification -> Switch off assistant. You should, however, be certain that this change is really necessary,and consider the possible consequences in the screen flow logic. You must also switch off the Modification Assistant if you want todelete an original element. In most cases, you do not need to deletethe original element. Instead, you can reduce its size or make itinvisible. To make a screen element invisible at runtime, set the "Invisible"display attribute. In this case, values are still transported from theprogram to the screen at runtime, so the danger of unwanted changes ismuch less. You can set the display attribute to "invisible" within the PROCESSBEFORE OUTPUT TYPE-POOLS: cxtab. DATA: col_wa TYPE cxtab_column. READ TABLE tc_name-cols WITH KEY screen-name = 'COL_NAME' INTO col_wa. col_wa-invisible = '1'. MODIFY tc_name-cols FROM col_wa INDEX sy-tabix. LOOP AT screen WHERE name = 'COL_NAME'. screen-invisible = '1'. MODIFY screen. ENDLOOP. |