SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Просмотр исходного кода программ, защищенного *@#@@[SAP]



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP Dictionary
View previous topic :: View next topic  
Author Message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1640

PostPosted: Mon Aug 04, 2008 1:51 pm    Post subject: Просмотр исходного кода программ, защищенного *@#@@[SAP] Reply with quote

Note: Вся отвестенность за использовании программы лежит на Вас!
Do not use this program to read in SAPMSYST. This is not possible, as for any other protected program.

Code:
*********************************************************************
*    Bernhard Lanner, 2006.08.31
*    zcon IT-Consulting GmbH
*    www.zcon.at
*--------------------------------------------------------------------
*    Editor fьr alle Fдlle
*        Mit diesem Editor kann jeglicher Source eingefьgt werden.
*
*        Insbesondere die Zeichenfolge
*        *@#@@[SAP]
*        Steht diese in der ersten Zeile eines ABAPS, kann der
*        Source nicht mehr zur Anzeige gebracht werden. Diese
*        Zeichenfolge kann nicht mit den Standard Editoren eingegeben
*        werden. Die SAP schьtzt mit dieser Technik z.B. das Programm
*        SAPMSYST.
*
*        Fьr das Editieren der Programme ist kein Entwicklerschlьssel
*        erforderlich und kann bei Bedarf auf der Produktion
*        erfolgen. Weiters ist kein Transportauftrag erforderlich.
*        BerechtigungsmдЯig genьgt das Recht zur Ausfьhren dieses
*        Programmes.
*********************************************************************

REPORT yzcon_edit LINE-SIZE 80.
TYPES: BEGIN OF gy_code,
         line(80),
       END OF gy_code.
DATA: gt_code TYPE TABLE OF gy_code.

PARAMETERS program TYPE trdir-name.

START-OF-SELECTION.
* Read
  READ REPORT program INTO gt_code.
  WRITE: / 'Read:    ', sy-subrc.
  IF sy-subrc EQ 0.
    WRITE: 'OK'.
  ELSE.
    WRITE: 'Error when reading program.'.
    EXIT.
  ENDIF.
* Edit
  EDITOR-CALL FOR gt_code.
  WRITE: / 'Edit:    ', sy-subrc.
  IF sy-subrc EQ 0.
    WRITE: 'OK'.
  ELSE.
    WRITE: 'Error when editing program.'.
    EXIT.
  ENDIF.
* Insert
  INSERT REPORT program FROM gt_code.
  WRITE: / 'Insert:  ', sy-subrc.
  IF sy-subrc EQ 0.
    WRITE: 'OK'.
  ELSE.
    WRITE: 'Error when inserting program.'.
    EXIT.
  ENDIF.
* Activate
  GENERATE REPORT program.
  WRITE: / 'Generate:', sy-subrc.
  IF sy-subrc EQ 0.
    WRITE: 'OK'.
  ELSE.
    WRITE: 'Error when generating program.'.
    EXIT.
  ENDIF.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP Dictionary All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.