0% found this document useful (0 votes)
13 views5 pages

Understanding Internal Program Environment

The document discusses the SAP "Internal Program Environment" utility which allows users to analyze the existing code in a program. It can be used to find details like subroutines, screens, messages, external objects like reports and transactions, and database operations like SELECT, UPDATE, and MODIFY. The example shows how it can retrieve function module calls and database operations from a sample report program, demonstrating its usefulness for requirements involving replacing or finding certain elements in program code.

Uploaded by

eswarscribd
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Understanding Internal Program Environment

The document discusses the SAP "Internal Program Environment" utility which allows users to analyze the existing code in a program. It can be used to find details like subroutines, screens, messages, external objects like reports and transactions, and database operations like SELECT, UPDATE, and MODIFY. The example shows how it can retrieve function module calls and database operations from a sample report program, demonstrating its usefulness for requirements involving replacing or finding certain elements in program code.

Uploaded by

eswarscribd
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

What is "Internal Program Environment"?

By Rahul Manoj Mahajan, John Deere India Introduction: Sometimes we get a requirement where we need to do some analysis based on the existing code. Lets say we want to replace a SELECT statement in a program with new SELECT or we want to find out the DATABASE Operations happening in a program like MODIFY, UPDATE etc. In order to find the list of all these things, we can use a facility provided by SAP called Internal Program Environment. Details: We will take the simple example in order to understand the utility provided by SAP. Create a sample report ZTEST_RM as follows.

Now if we want to find out the details in program such as all subroutines, screens, messages, some external objects such as FMs , Reports, Transaction codes, Some Database operations like SELECT,

UPDATE, MODIFY, or some internal table operations like READ, MODIFY. The answer is Internal Program Environment.

Since in my report there are no subroutines available, it wont give any result.

Lets select the FM and DB operations and see the result.

Please note that this very simple example but in complex scenarios when we have such requirement this utility can be useful.

You might also like