Wednesday, February 8, 2012

How To Create Transaction Code In SAP Using SE93

Once we’ve finished creating a program, we must assign a TCODE (Transaction Code) to that program so the user knows how to call it again. To do this we can create the transaction code using TCODE SE93, the step is quite simple actually, all you need to do is create a tcode and assign it to your target program (Pool or Report Program)
Now here’s how you do it.
1. First execute tcode SE93
2. Type in your desire TCODE name, to make a custom TCODE you must start the tcode with the letter Z or Y. In this example I will type in ZTEST123 as my new tcode.
3. Click on Create, on the next screen you can 2 see several start object options, the 2 most commons option would be Program and Selection Screen (This is for report type program) and the other one is Program And Screen (This is for pool type program using Screen number element), for this example let’s select the Program And Selection Screen option (the second option), click OK (Check button) or just press enter.
4. Now you need to provide the program name. In this case I will use ZTEST.
5. Click on the Save Button, after that you will see the message that the tcode has been saved.
6. Now your tcode is ready, you can execute the tcode.

No comments: