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

Run Time Error

Former Member
0 Likes
653

Hi,

We have created a Custom Transaction ZSE16 which is like Transaction SE16.

This Transaction ZSE16 Calls a function Module ZRS_TABLE_LIST_CREATE which is like Function Module RS_TABLE_LIST_CREATE.

This Function Module RS_TABLE_LIST_CREATE is used by Transaction SE16 while displaying tables.

We have copied the same function module to ZRS_TABLE_LIST_CREATE to display tables as displayed by the TCODE SE16.

Now, We are Executing our programe or TCODE ZSE16 with Table "ZBW_BOMEQ".

we are getting a Runtime Error when this following line is executed in the programe.

SUBMIT (P_PNAME) VIA SELECTION-SCREEN AND RETURN.

This line is Calling the programe "/1BCDWB/DBZBW_BOMEQ"

This Error Comes in the line 2040 of the program "/1BCDWB/DBZBW_BOMEQ".

The Error Log Says: "The database view "ZBW_BOMEQ" is write-protected, so it cannot be changed."

But the same Table "ZBW_BOMEQ" works fine with the TCODE SE16.

Can any one help me in this issue.

Thanks and Regards,

Venki.

Edited by: Venky Naga on Jun 24, 2009 4:45 PM

Edited by: Venky Naga on Jun 24, 2009 4:50 PM

Edited by: Venky Naga on Jun 25, 2009 9:11 AM

4 REPLIES 4
Read only

Former Member
0 Likes
604

hi,

maybe you must have kept a session which is using your table on. so try to close all the sessions and then simply execute your tcode.

Hope this will help you!!!

Thanks & regardsm

punit raval.

Read only

0 Likes
604

HI Punit,

No All other sessions are closed.

Thanks

venki.

Read only

0 Likes
604

Hi,

Check in the view's 'maint. status' tab access is given as 'Read only'. If so change it to 'Read, change, delete, insert'.

Regards,

Soumya.

Read only

Former Member
0 Likes
604

Hi friends,

Thank you very Much for solving this for me.

Thanks and Regards,

Venki.