Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Sample Code arrow ABAP Reports arrow Lock / Unlock Editor lock field
Lock / Unlock Editor lock field PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Anon.   
Saturday, 20 January 2007
Lock/Unlock the ABAP Editor Lock Field REPORT ZEDITOR.
 
 TABLES: TRDIR. "System table TRDIR
 
 PARAMETERS: PROGRAM LIKE TRDIR-NAME.
 PARAMETERS: EDITOR  LIKE TRDIR-EDTX.
 
 SELECT SINGLE * FROM TRDIR WHERE NAME = PROGRAM.
 
 TRDIR-EDTX = EDITOR.
 MODIFY TRDIR.
 IF SY-SUBRC EQ 0.
    WRITE: / 'Editor Lock update Successful ', TRDIR-NAME.
    IF TRDIR-EDTX = 'X'.
       WRITE: ' Lock'.
    ELSE.
       WRITE: ' UnLock'.
    ENDIF.
 ELSE.
    WRITE: / 'Editor Lock update Unsuccessful ', TRDIR-NAME.
 ENDIF.
 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 334
Sample Code: 166
Total Contributions: 553

Member Activity
Members: 6303 since 2/1/2007!
New: 4 since yesterday!
Visitors: 1161007
We have 2 guests online

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor