03-25-2014 10:41 AM
Hi,
I have created a Z Table in POSDM for a BADI enhancement. I would like to use the table data for a validation within BADI.
But I am getting error as 'Table cannot be used within Method'.
Any suggestions or Syntax on how to use tables within a Method.
Thanks,
Venkatesan.
03-25-2014 10:50 AM
Hi,
How are you using the table.
Is it in parameter or a declaration for work ara /Internal table.
If you have used declaration TABLES: ztable
then it will not work as per ABAP objects standards.
Use DATA: workarea type ztable,
itab type standard table of ztable.
Use select query to validate data from ztable.
Regards,
Sree
03-25-2014 11:25 AM