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: 

Transaction (customized) calling an external program

Former Member
0 Kudos
104

Hello Guru,

I am looking for a way to add a path specification somehow on the sap-Settings.

The problem that I'v defined a transaction called "ZDOO"

This Transaction call an external Program e.g. located there "c:\nothing\dummyprog.exe"

Because the Package where this transaction is defined, will be propagated and updated on different machines and on different clients.

The external program is no longer static and the change (path) must be specified by the user without having the authorization and the will to change any kind of hard-code.

In my case, if I add an option somehow on sap, so can the client change this option by specifing the new associated path of the external application.

Ps. If this unclear, please reply by specifing the uncleared part.

Thanks.

Best regards,

Kais

3 REPLIES 3

nagarajan_ramudu
Active Participant
0 Kudos
62

Custom program with selection screen (Specific file path provided by user) and call method EXECUTE in the class CL_GUI_FRONTEND_SERVICES

Hope this helps.

Thanks

Nagarajan

LucianoBentiveg
Active Contributor
0 Kudos
62

You can add a parameter, in user profile (SU3 Transaction), with that path, and read it in your app with get parameter statement.

Regards.

0 Kudos
62

Thanks Peluka,

How can I exactally define a parameter in my profile ? It's not implicitally allowed and it seems that there's a restriction on the length.

Also, how can I get the value on my ABAP program ?

Do you have some links so can I quickly find a solution.

Thanks for your help.

Regrads,

Kais