‎2010 Aug 24 4:50 PM
hi SDnrs i am new to it field i have one requirement i copied one 'z'program which contain include file i copied all the includes all and i tried to execute the copied program it will display error like field "vbak-erdat" is unknown. it is neither in one of the specified tables nor defined by a "data" statement.this error was occurd and that original program is working fine.
how can achive this problem plz help me.
‎2010 Aug 24 4:55 PM
Sounds like you copied a complex module pool or report of the SAP standard, and my advice is, don't do it, or you are running into the problems as you are facing now, either right away or later during the next scheduled system upgrade.
Use enhancement techniques instead to include custom logic.
Thomas
‎2010 Aug 24 5:51 PM
Hi,
just see the program code which you have copied. and see where they used VBAK-ERDAT in progarm.. see the declaration of that variable was there in your copied program or not.... if not try to decalre to it...
revert back to me if you need any further help.
Regards,
Kiran