Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

Internal Program Environment

$
0
0

Introduction:


Sometimes we get a requirement where we need to do some analysis based on the existing coding. Let’s 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 concept. Create a sample report ZTEST_RM as follows.

3.1.jpg

Now if we want to find out the details in program such as all subroutines, screens, messages, some external objects such as FM’s , Reports, Transaction codes, Some Database operations like SELECT,UPDATE,MODIFY, or some internal table operations like READ,MODIFY. The answer is “Internal Program Environment”.

 

3.2.jpg

3.3.jpg

Since in my report there are no subroutines available, it won’t give any result.

 

3.3.3.png

 

Let’s select the FM and DB operations and see the result.

 

3.4.jpg

3.6.jpg

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

 

I look forward for your Suggestions/discussions.

 

Thanks for reading!


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>