Application Development and Automation 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: 
Read only

SXPG_COMMAND_EXECUTE

Former Member
0 Likes
738

We have a custom .exe program that is working in our old R/3 46 system 32 bit system.

We are moving to ECC6 R/3 which is a 64 bit SAP system. We excute the same custom .exe executable via SXPG_COMMAND_EXECUTE and the program hangs.

We have tied various security setting and traps which indicate the parameter is passed and the .exe program starts but hungs

Any ideas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
685

For the two questions about the program:

The program executes on the App server the program is written in C++

6 REPLIES 6
Read only

Former Member
0 Likes
685

Is this .exe being executed on the App Server or on a local client?

Read only

0 Likes
685

And in what language is it written?

Read only

Former Member
0 Likes
686

For the two questions about the program:

The program executes on the App server the program is written in C++

Read only

0 Likes
685

I assume that the underlying OS of the App Server is 64-bit as well then.

In which, you will need to re-compile the source code on a 64-bit C++ compiler

OR

Write a new program... why not create the program in ABAP and eliminate future headaches?

Read only

0 Likes
685

OR

Speak to the OS vendor to see if they have a "translation utility" that will enable 32-bit apps to run in the new 64-bit environment.

Read only

Former Member
0 Likes
685

I believe the problem is caused by the value of the operatingsystem on the SXPG_COMMAND_EXECUTE. We used the SY-OPSYS value which is all upper case. Once we set it to 'Windows NT' it worked! Thanks for the help........