Relationship between Program an Transaction code in sap

Problem : Some SAP Training students have questions on how to find out the transaction codes for some transactions in SPRO. Some students have asked questions about the direct relationship between the transaction code and abap program associated with it. Also, as part of the SAP Live Project, in order to debug certain user exits the associated program needed to be known.

solution : Typically, very few transactions under SPRO ( Customizing ) are remembered. And most of the times transaction codes do NOT exist for customizing transactions. If you look at the SAP GUI Navigation video, you would have observed that the transaction code and program are available in the bottom right corner. For example, for a Sales Order Create transaction, the program is SAP MV45A and tcode is [VA01] and

AS discussed in the SAP GUI class, a transaction code is just a shortcut to execute an “executable” program. In order to find out the mapping between the transaction code and the program, go to tcode [SE93] and enter the name of the Transaction code to find out the name of the program.

Enter the Transaction code as shown below and click on display.

The associated program will be displayed.

On the contrary if you want to find out the t-code associated with the program, there are a couple of methods ( Like SE80 and then where used etc ). The easiest method is to go to the database table TSTC. Enter the name of the Program and hit execute. ( SAP Data Browser )

The associated transaction code ( if any ) will be displayed. As you can see, there are many transaction codes associated with the program SAP MV45A depending on the screen that is being called and the mode in which it is called.

Some examples in SD configuration transactions that are commonly referred by SAP consultants in real life are as follows.

[VOK0]  – Pricing Overview
[VOPAN] – SAP Partner Determination
[VOK2] – Output Overview
[VOTXN] – SAP Text Determination
[V/05] – Display Pricing Condition Tables
[V/06] – SAP Pricing Condition Types
[V/07] – SAP Pricing Access Sequences
[V/08] – SAP Pricing Procedure
[VKOA] – SAP Account Determination

Exercises

1. List out the Program associated with Delivery Creation Transaction

2. List out the program associated with PGI Reversal

3. List out the transaction code associated with the program SAPMV80Z

4. List ouf some of the transaction codes associated with the program SAPMV50A

Advertisements

2 thoughts on “Relationship between Program an Transaction code in sap

  1. Manish NYC says:

    Q1. List out the Program associated with Delivery Creation Transaction.

    A1. SAPMB50A

    Q2. List out the program associated with PGI Reversal.

    A2. RVV50L09

    Q3. List out the transaction code associated with the program SAPMV80Z

    A3.VOK0 (Pricing In Customizing)

    Q4. List ouf some of the transaction codes associated with the program SAPMV50A

    A4. VL01N,VLO2N,VL03N (Create, Change, Display Outbound Delivery WRT outbound delivery)

    VL31N,VL32N,VL33N (Create, Change, Display Inbound Delivery)

    VLPOD, VLPODA (POD – Change/Display Outbound Delivery)

    VLUNIV – Change Delivery (General)

    And Many More Like…V01,VL02,VL03,VL42,VL43 etc…

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s