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 found error

Former Member
0 Likes
375

Hi experts,

I have created a module pool pogram by using table control wizard.

But when i am trying to execute it, it is going to short dump saying that table control was searched but not found.

PROCESS BEFORE OUTPUT.

*&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'BANK_DET_TC'

MODULE BANK_DET_TC_CHANGE_TC_ATTR.

*&SPWIZARD: MODULE BANK_DET_TC_CHANGE_COL_ATTR.

LOOP AT IT_BANK_DETAILS

INTO WA_BANK_DETAILS

WITH CONTROL BANK_DET_TC

CURSOR BANK_DET_TC-CURRENT_LINE "getting error here"

*&SPWIZARD: MODULE BANK_DET_TC_CHANGE_FIELD_ATTR

ENDLOOP.

  • MODULE STATUS_0100.

PROCESS AFTER INPUT.

*&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'BANK_DET_TC'

LOOP AT IT_BANK_DETAILS.

CHAIN.

FIELD WA_BANK_DETAILS-KUNNR.

FIELD WA_BANK_DETAILS-ORT01.

FIELD WA_BANK_DETAILS-BANKL.

FIELD WA_BANK_DETAILS-BANKN.

FIELD WA_BANK_DETAILS-KOINH.

endchain.

ENDLOOP.

*&SPWIZARD: MODULE BANK_DET_TC_CHANGE_TC_ATTR.

*&SPWIZARD: MODULE BANK_DET_TC_CHANGE_COL_ATTR.

MODULE USER_COMMAND_0100.

Please help me.

thanks in advance

brs

2 REPLIES 2
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
340

How you have defined the CONTROL BANK_DET_TC ??

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
340

Hi,

Do you have table control in the screen?

Check this link. IN this, I am explaining database manipulations using table control.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-code-sam...