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

lock printers

christian_laber2
Participant
0 Likes
678

Hello together.

In the past I have made a little tool to lock all printers in a SAP 4.7 Enterprise System. (in a Test-System).

So and there is a problem. If I lock the printers manuelly (in transaction "spad") it is workling well.

But when I want to change the attributes in the table

TSP03D column - PADISABLED (with a little ABAP) it isn't working, although in both cases there are the same entries in the table TSP03D.

I hope someone can help me.


SELECT * FROM TSP03D.

  TSP03D-PADISABLED = 'X'.
  MODIFY TSP03D.
  WRITE: / TSP03D-NAME, 'locked!!!'.
 ENDIF.
 
.
.
.
.
endselect.


Thank you.
Christian




2 REPLIES 2
Read only

Former Member
0 Likes
531

Hi Christian,

there are two tables (TSP03C, TSP03D). Perhaps you

have to update both.

Be careful with hard-update, i think

it's better to make and BTCI.

Regards, Dieter

Read only

Former Member
0 Likes
531

Hi Christian,

is your problem solved?

regards, dieter