on 08-30-2017 9:44 AM
Hi panel, I wish this e-mail finds you in good health.
I have developed a module pool program, with a screen. In the screen, I have created by wizard a Table Control, which created by default some fields in the program.
I have done this before and everything went well. But in this case I don't understand what is wrong, when I try to activate the include where the Forms are defined, system gives the error "Type CXTAB_CONTROL is unknown "; when I double click on this type I can see the Type Group CXTAB active. Below are part of the code, where the error line is bolded:
FORM fcode_insert_row
USING P_TC_NAME TYPE DYNFNAM
P_TABLE_NAME .
*&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
DATA L_LINES_NAME LIKE FELD-NAME.
DATA L_SELLINE LIKE SY-STEPL.
DATA L_LASTLINE TYPE I.
DATA L_LINE TYPE I.
DATA L_TABLE_NAME LIKE FELD-NAME.
FIELD-SYMBOLS <TC> TYPE CXTAB_CONTROL.
FIELD-SYMBOLS <TABLE> TYPE STANDARD TABLE.
FIELD-SYMBOLS <LINES> TYPE I.
*&SPWIZARD: END OF LOCAL DATA------------------------------------------*
ASSIGN (P_TC_NAME) TO <TC>.
I look forward to hearing from you.
Kind regards
Hi Raymond , Hi experts,
I'm using 730 version.
I'll check all your suggestion.
kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then, you shouldn't need TYPE-POOLS statement.
Did you link your program with type pool with a TYPE-POOLS statement (old Abap version, else obsolete since somewhere between 701 and 731) or your class in the class attributen, what's your version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good idea, I forgot TYPE-POOLS statement meanwhile.
Unbelievable, indeed, since CXTAB_CONTROL is a type from type group CXTAB, a TYPE reference to it should work in every situation. Try to activate the module pool despite the error and check again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.