Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute tcodes within a programm

joerg0046
Discoverer
0 Kudos

Hi mates,

Can someone tell me how to execute a specific tcode within a self written program?

A very simple example:

- I create a new program via SE80.

- By executing this program, a specific tcode should be executed (for example PFCG)

Thank you guys in advance!

1 ACCEPTED SOLUTION

GK817
Active Contributor

Please explore CALL TRANSACTION and SUBMIT

GK

4 REPLIES 4

GK817
Active Contributor

Please explore CALL TRANSACTION and SUBMIT

GK

FredericGirod
Active Contributor

CALL TRANSACTION ... WITH AUTHORITY-CHECK

otherwise, there is no control on the TCODE

Sandra_Rossi
Active Contributor
0 Kudos

same answer as Gaurav?

former_member1716
Active Contributor
0 Kudos

oops Just Checked, yes it is.. I will delete Mine 🙂

Tx!