Hi,
This code is generated automatically when creating a form Class (I copied Form Levels from 2
different Form Classes). However, when activating a custom Application Form (which uses this new
custom form class) - I get the following error message:
The "TABLES" parameter "T_CORRESP2" does not match category "USING" of formal
parameter "X_SEL".
I believe that it is from this part of the code - I don't understand what the problem means:
&----
*& Form read_form READ_CORRESP1
&----
*& Use the selection object X_SEL to fill table YT_CORRESP1
*& from the DB-table DFKKCOH
*&
*& X_SEL contains the components:
*& from_date like sy-datum => start date
*& to_date like sy-datum => end date
*& ranges like efg_ranges occurs 0 => selection table 0
*& ranges1 like efg_ranges occurs 0 => selection table 1
*& ranges2 like efg_ranges occurs 0 => selection table 2
*& ...
*& ranges9 like efg_ranges occurs 0 => selection table 9
&----
*& --> X_SEL *
*& <-- YT_CORRESP1 *
&----
FORM READ_CORRESP1
TABLES
YT_CORRESP1 TYPE G_TYPE_TAB_CORRESP1
USING
X_SEL TYPE EFG00_SELECTION.
DATA: L_RANGES LIKE EFG_RANGES.
REFRESH YT_CORRESP1.
CLEAR YT_CORRESP1.
========================================================================================
Please help. What could the problem be? where is the problem located and how do I go about fixing it?
This is very important.
Thank You,
John