‎2006 Dec 06 4:18 AM
friends,
i have written an exit in zxmbcu02...when i check the include, it says a target area has to be specified and i have declared the table in the tables work area..when i activate, it says there are syntax errors and says the ztable that i have declared in teh tables work area has already been declared...whether i include or remove, it gives the same error..where am i wrong? thanks all
‎2006 Dec 06 4:20 AM
Satish,
Probably, you can avoid using the TABLES statement and declare a workarea explicitly and use that workarea.
That way you are clear as to which variable you are using and you will not get in to this.
There might be other includes in the same user exit, which might be using the same TABLES statement with the same Z table.
I would recommed to create a explicit work area.
Regards,
Ravi
‎2006 Dec 06 4:19 AM
Hi,
Try activating the entire program with the include you modified.
‎2006 Dec 06 4:20 AM
Satish,
Probably, you can avoid using the TABLES statement and declare a workarea explicitly and use that workarea.
That way you are clear as to which variable you are using and you will not get in to this.
There might be other includes in the same user exit, which might be using the same TABLES statement with the same Z table.
I would recommed to create a explicit work area.
Regards,
Ravi
‎2006 Dec 06 4:24 AM
Hi satish,
Try to create an include in zxmbcu02.then inside this include write the code.Also remove the tables statement and declare an workarea like ur ztable and then activate...
Regards,
nagaraj
‎2006 Dec 06 4:33 AM
Hi,
Do not make the syntax check just activate the userexit. before this remove the tables declaration. if possible create the Workarea of type Ztables and then try to make use of it.
BR,
Ravi