Skip to Content

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

Standard buttons and Enabling mode in Table Control Wizard

Hi Table Control Wizard Experts,

My requirement is to enter input values in Table Control Wizard and save those entries in DB.
Its working fine.

My doubt is:

1. But When ever I'm clicking Table Control Wizard's standard buttons: TC_WIZ1_TOP/TC_WIZ1_NEXT/TC_WIZ1_PREVIOUS/TC_WIZ1_BOTTOM,
my entries are appending.

I can refresh my ITAB at PBO, but SY-UCOMM values (P-/P--/P+/P++) are not coming at PBO.

How to restrict them and where should i insert the logic.


2. Whenever I'm filling 1st row and clicked "ENTER" button in Table Control Wizard,
only the input entry row is in editable mode, the rest of the Rows are in disable mode.

I need all the rows in TCW in editable even though I will click ENTER.

What will be the logic and where should i insert it.

With Regards,

Sudhir.

replied

Hi All,

Problem 2 been resolved. Find the solution below.

Inside the below standard code, insert a statement saying that table control lines.

Then the entire TCW will be in editable mode for the input.

*****************************************************************************************

   *&SPWIZARD: OUTPUT MODULE FOR TC 'TC_WIZ1'. DO NOT CHANGE THIS LINE!
*&SPWIZARD: UPDATE LINES FOR EQUIVALENT SCROLLBAR
MODULE TC_WIZ1_CHANGE_TC_ATTR OUTPUT.
  DESCRIBE TABLE LT_ZPM_WHY_WHY LINES TC_WIZ1-lines.
  TC_WIZ1-lines = 20.
ENDMODULE.

*****************************************************************************************

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question