Skip to Content
author's profile photo Former Member
Former Member

Which SAP table stores the ABAP program Source Code

Hi All,

Which SAP table stores the ABAP source code .

Is it possible to retrieve the abap program code from database table

wherein it is stored .

Scenario :

In our project SAP got decommissioned and SAP database is migrated to Oracle . As SAP is decomissioned , we are not able to access the SAP frontend . But we need a program code to service a request . Is it possible to retrieve the program code from the database

which is migrated to oracle .

Thanks

Shikha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 07:40 PM

    hi check the table REPOSRC ..give the name of the program name ---see the code..

    regards,

    venkat.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      Thanks for your reply. But the table REPOSRC does not exist in SAP database . I am using SAP 4.6 Version .

      Does this table exist in higher version ?

      Can we get the program code by any other table / or by any other means through database . Sap database is migrated to oracle 10g.

      Thanks

      Shikha

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 07:44 PM

    You must do it like this...

    DATA: BEGIN OF SOURCE_TABLE OCCURS 0,
          LINE(150) TYPE C.
    DATA: END OF SOURCE_TABLE.
    
    DATA: NAME LIKE TRDIR-NAME.
    
    NAME = 'Z_PROGRAM'.
    
    READ REPORT NAME INTO SOURCE_TABLE.
    
    LOOP AT SOURCE_TABLE.
    WRITE:/ SOURCE_TABLE-LINE.
    ENDLOOP.
    

    Greetings,

    Blag.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.