Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

coping error report

Former Member
0 Likes
360

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.

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
320

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

Read only

Former Member
0 Likes
320

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